{
  "components": {
    "schemas": {
      "Essence.Consent.Core.Api.Controllers.AcceptThirdPartyConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "invitationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AcceptTranslationCommissionRequest": {
        "additionalProperties": false,
        "properties": {
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "estimatedTurnaroundHours": {
            "format": "int32",
            "type": "integer"
          },
          "indicativePriceMinor": {
            "format": "int64",
            "type": "integer"
          },
          "invitationToken": {
            "nullable": true,
            "type": "string"
          },
          "translatorRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AccountCaptureDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "accept": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AcknowledgePresentationRevocationRequest": {
        "additionalProperties": false,
        "properties": {
          "ackReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AppOwnershipActionResponse": {
        "additionalProperties": false,
        "properties": {
          "affected": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AppRescopeValidationResponse": {
        "additionalProperties": false,
        "properties": {
          "activeGrants": {
            "format": "int32",
            "type": "integer"
          },
          "authorisedForNewOwner": {
            "format": "int32",
            "type": "integer"
          },
          "blocked": {
            "format": "int32",
            "type": "integer"
          },
          "requiresReconsent": {
            "format": "int32",
            "type": "integer"
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AppSunsetExtensionRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AppSunsetMigrateNowResponse": {
        "additionalProperties": false,
        "properties": {
          "grantsEnded": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AppSunsetReminderRequest": {
        "additionalProperties": false,
        "properties": {
          "remindAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AppSunsetReminderResponse": {
        "additionalProperties": false,
        "properties": {
          "remindAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ApproveDocumentRequestRequestDto": {
        "additionalProperties": false,
        "properties": {
          "deliveryModel": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentDeliveryModel"
          },
          "fulfillingDocumentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AssistanceDeskActorRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AttestAssistanceDeletionRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "attestationReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AttestTranslationCommissionRequest": {
        "additionalProperties": false,
        "properties": {
          "attestationRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.AuthorizeEmergencyAccessRequestDto": {
        "additionalProperties": false,
        "properties": {
          "inactivityWaitDays": {
            "format": "int32",
            "type": "integer"
          },
          "legalBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.EmergencyAccess.EmergencyAccessLegalBasis"
          },
          "proofOfLifeCadenceDays": {
            "format": "int32",
            "type": "integer"
          },
          "releasableCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "trustedContactId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.BindTranslationCommissionRequest": {
        "additionalProperties": false,
        "properties": {
          "translatedDocumentRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.BulkCaptureConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "captureIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto": {
        "additionalProperties": false,
        "properties": {
          "accept": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reject": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "circles": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityCircleDto"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldKey": {
            "nullable": true,
            "type": "string"
          },
          "fieldLabel": {
            "nullable": true,
            "type": "string"
          },
          "hideFromCircleIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.BulkVisibilityCircleDto": {
        "additionalProperties": false,
        "properties": {
          "circleId": {
            "nullable": true,
            "type": "string"
          },
          "circleName": {
            "nullable": true,
            "type": "string"
          },
          "connectionCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.CaptureDecisionRequestDto": {
        "additionalProperties": false,
        "properties": {
          "allow": {
            "type": "boolean"
          },
          "noticeToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.CaptureEraseRequestDto": {
        "additionalProperties": false,
        "properties": {
          "noticeToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.CompleteHouseholdShareRequest": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ConfigureAssistanceCategoryRequest": {
        "additionalProperties": false,
        "properties": {
          "advanceNoticeHours": {
            "format": "int32",
            "type": "integer"
          },
          "carrierDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "carrierIataCode": {
            "nullable": true,
            "type": "string"
          },
          "isOffered": {
            "type": "boolean"
          },
          "requiresNote": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ConfigureAssistanceRetentionRequest": {
        "additionalProperties": false,
        "properties": {
          "carrierDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "carrierIataCode": {
            "nullable": true,
            "type": "string"
          },
          "postTripAccessGraceHours": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ConfirmInvitationOtpRequest": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "nullable": true,
            "type": "string"
          },
          "otp": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.CourtAuthorityAccessDecisionRequest": {
        "additionalProperties": false,
        "properties": {
          "deputyId": {
            "format": "uuid",
            "type": "string"
          },
          "scopeCategory": {
            "nullable": true,
            "type": "string"
          },
          "wardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.CreateDocumentRequestRequestDto": {
        "additionalProperties": false,
        "properties": {
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "documentName": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DeceasedConsentTeardownRequest": {
        "additionalProperties": false,
        "properties": {
          "actingExecutorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "basis": {
            "nullable": true,
            "type": "string"
          },
          "deceasedUserId": {
            "format": "uuid",
            "type": "string"
          },
          "estateId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DeceasedConsentTeardownResponse": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "nullable": true,
            "type": "string"
          },
          "basisRecorded": {
            "type": "boolean"
          },
          "completedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "deceasedUserId": {
            "format": "uuid",
            "type": "string"
          },
          "estateId": {
            "nullable": true,
            "type": "string"
          },
          "failedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "failedCount": {
            "format": "int32",
            "type": "integer"
          },
          "nominationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "pendingConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "pendingCount": {
            "format": "int32",
            "type": "integer"
          },
          "revokedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revokedCount": {
            "format": "int32",
            "type": "integer"
          },
          "skipped": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.DeceasedTeardown.DeceasedConsentTeardownSkip"
            },
            "nullable": true,
            "type": "array"
          },
          "skippedCount": {
            "format": "int32",
            "type": "integer"
          },
          "teardownId": {
            "format": "uuid",
            "type": "string"
          },
          "totalGrants": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DecideLawfulCompulsionAccessRequest": {
        "additionalProperties": false,
        "properties": {
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DeclineThirdPartyConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "invitationToken": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DenyThirdPartyConsentBySubjectRequest": {
        "additionalProperties": false,
        "properties": {
          "acceptedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "invitationToken": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DeskActorRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DiscloseNameChangeRequestDto": {
        "additionalProperties": false,
        "properties": {
          "deedPollDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "relyingPartyIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.DisclosePartnerScheduleRequest": {
        "additionalProperties": false,
        "properties": {
          "disclosedCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "scheduleDocumentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.EndCourtAuthorityRequest": {
        "additionalProperties": false,
        "properties": {
          "endReason": {
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.EndRepresentativeAuthorizationRequest": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.GrantStatusProjectionConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requesterOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.HouseholdShareSubjectRequest": {
        "additionalProperties": false,
        "properties": {
          "relationshipLabel": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.IngestCourtOrderRequest": {
        "additionalProperties": false,
        "properties": {
          "effectiveFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "effectiveUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuingCourt": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "orderMadeOn": {
            "format": "date-time",
            "type": "string"
          },
          "orderReference": {
            "nullable": true,
            "type": "string"
          },
          "orderType": {
            "nullable": true,
            "type": "string"
          },
          "reportingCadence": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.CourtAuthority.CourtAuthorityScopeInput"
            },
            "nullable": true,
            "type": "array"
          },
          "supervisionLevel": {
            "nullable": true,
            "type": "string"
          },
          "wardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.InitiateRecordsHandoverRequestDto": {
        "additionalProperties": false,
        "properties": {
          "acceptanceWindowDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "contextCiphertext": {
            "nullable": true,
            "type": "string"
          },
          "incomingKeeperId": {
            "format": "uuid",
            "type": "string"
          },
          "lawfulBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RecordsHandoverLawfulBasis"
          },
          "recordDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "retentionDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "subjectRef": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.IssueAccountCaptureRequestDto": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "format": "uuid",
            "type": "string"
          },
          "dataClassesRetained": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "dataClassesShared": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "domain": {
            "nullable": true,
            "type": "string"
          },
          "domainVerificationRef": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "organizationName": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "subjectEmailMasked": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.IssueCaptureRequestDto": {
        "additionalProperties": false,
        "properties": {
          "capturedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "contextCiphertext": {
            "nullable": true,
            "type": "string"
          },
          "escrowDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "escrowLifetimeDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "privateNoteCiphertext": {
            "nullable": true,
            "type": "string"
          },
          "subjectUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.LinkThirdPartyConsentGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.NameChangeIntakePolicyRequestDto": {
        "additionalProperties": false,
        "properties": {
          "acceptance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeAcceptanceMode"
          },
          "graceWindowDays": {
            "format": "int32",
            "type": "integer"
          },
          "requireDeedPollEvidence": {
            "type": "boolean"
          },
          "routingTeam": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.NotifyAssistanceNeedRequest": {
        "additionalProperties": false,
        "properties": {
          "arrivalAirportIata": {
            "nullable": true,
            "type": "string"
          },
          "article49TransferBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentArticle49TransferBasis"
          },
          "carrierIataCode": {
            "nullable": true,
            "type": "string"
          },
          "flightNumber": {
            "nullable": true,
            "type": "string"
          },
          "includesTravellerNote": {
            "type": "boolean"
          },
          "isCrossBorder": {
            "type": "boolean"
          },
          "needEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "needWrappedKeyForDesk": {
            "nullable": true,
            "type": "string"
          },
          "needWrappedKeyForTraveller": {
            "nullable": true,
            "type": "string"
          },
          "recipientJurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "scheduledArrivalUtc": {
            "format": "date-time",
            "type": "string"
          },
          "scheduledDepartureUtc": {
            "format": "date-time",
            "type": "string"
          },
          "tripReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.PredicateProofInput": {
        "additionalProperties": false,
        "properties": {
          "attributeCommitment": {
            "nullable": true,
            "type": "string"
          },
          "attributePath": {
            "nullable": true,
            "type": "string"
          },
          "disclosedAttributes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "issuerDID": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "operator": {
            "nullable": true,
            "type": "string"
          },
          "predicateHolds": {
            "type": "boolean"
          },
          "salt": {
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          },
          "thresholdValue": {
            "nullable": true,
            "type": "string"
          },
          "verificationMethodId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.PreviewHouseholdShareRequest": {
        "additionalProperties": false,
        "properties": {
          "additionalSubjects": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.HouseholdShareSubjectRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.PublishConsentPolicyTemplateRequest": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentLawfulBasisDto"
          },
          "maxDurationDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "onwardSharingAllowed": {
            "type": "boolean"
          },
          "recommendedCanDelete": {
            "type": "boolean"
          },
          "recommendedCanRead": {
            "type": "boolean"
          },
          "recommendedCanShare": {
            "type": "boolean"
          },
          "recommendedCanWrite": {
            "type": "boolean"
          },
          "recommendedDurationDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "recommendedOnwardSharing": {
            "type": "boolean"
          },
          "recommendedRevocationPolicy": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RaiseTranslationCommissionFailureRequest": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "failure": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ReconcileVerifiedChangeRequestDto": {
        "additionalProperties": false,
        "properties": {
          "memberIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeBatchRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "notificationIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.SpecialAssistanceStatus"
          },
          "unavailableReason": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.AssistanceUnavailableReason"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.SpecialAssistanceStatus"
          },
          "unavailableReason": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.AssistanceUnavailableReason"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordCapacityDeterminationRequest": {
        "additionalProperties": false,
        "properties": {
          "closurePolicy": {
            "nullable": true,
            "type": "string"
          },
          "determinationReference": {
            "nullable": true,
            "type": "string"
          },
          "determinedOn": {
            "format": "date-time",
            "type": "string"
          },
          "determiningBody": {
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordCourtAuthorityVariationRequest": {
        "additionalProperties": false,
        "properties": {
          "effectiveUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "reportingCadence": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.CourtAuthority.CourtAuthorityScopeInput"
            },
            "nullable": true,
            "type": "array"
          },
          "supervisionLevel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordCrossBorderConsentGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevelReliedUpon": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "minimumRequiredLoa": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectStandingCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordDisclosureRevealRequestDto": {
        "additionalProperties": false,
        "properties": {
          "accessExpiry": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealAccessExpiry"
          },
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientLabel": {
            "nullable": true,
            "type": "string"
          },
          "stage": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealStage"
          },
          "workEntityId": {
            "format": "uuid",
            "type": "string"
          },
          "workEntryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureBasisRequest": {
        "additionalProperties": false,
        "properties": {
          "claimRef": {
            "nullable": true,
            "type": "string"
          },
          "courtOrderRef": {
            "nullable": true,
            "type": "string"
          },
          "deceasedRef": {
            "nullable": true,
            "type": "string"
          },
          "demandRef": {
            "nullable": true,
            "type": "string"
          },
          "executorUserId": {
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "scopeFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureScopeAuditRequest": {
        "additionalProperties": false,
        "properties": {
          "claimRef": {
            "nullable": true,
            "type": "string"
          },
          "disclosedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "scopeFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "withheldGroupKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "withinScope": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordExternalDisclosureRequest": {
        "additionalProperties": false,
        "properties": {
          "claimRef": {
            "nullable": true,
            "type": "string"
          },
          "evidenceRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "externalRecipientRef": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "sealedPayload": {
            "nullable": true,
            "type": "string"
          },
          "shareExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordFitToFlyDecisionRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "infoRequest": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.FitToFlyInfoRequest"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.FitToFlyClearanceStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordLawfulCompulsionBasisRequest": {
        "additionalProperties": false,
        "properties": {
          "authorityId": {
            "nullable": true,
            "type": "string"
          },
          "authorityName": {
            "nullable": true,
            "type": "string"
          },
          "fromDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "instrumentReference": {
            "nullable": true,
            "type": "string"
          },
          "instrumentType": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "recordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "statedPurpose": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "toDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordPredicateAttestationRequest": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "predicate": {
            "nullable": true,
            "type": "string"
          },
          "proof": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PredicateProofInput"
          },
          "relyingPartyName": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "thresholdYears": {
            "format": "int32",
            "type": "integer"
          },
          "trustFramework": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureOpenedRequest": {
        "additionalProperties": false,
        "properties": {
          "fieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureRequest": {
        "additionalProperties": false,
        "properties": {
          "ackMethod": {
            "nullable": true,
            "type": "string"
          },
          "disclosedFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Presentation.DisclosedFieldInput"
            },
            "nullable": true,
            "type": "array"
          },
          "disclosureKind": {
            "nullable": true,
            "type": "string"
          },
          "presentationGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordPropagationPushRequestDto": {
        "additionalProperties": false,
        "properties": {
          "recipients": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationRecipientDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordPropagationPushResponseDto": {
        "additionalProperties": false,
        "properties": {
          "pushId": {
            "format": "uuid",
            "type": "string"
          },
          "pushedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recipientCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordPropagationRecipientDto": {
        "additionalProperties": false,
        "properties": {
          "fieldsRedacted": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldsShared": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "governingGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantVersion": {
            "format": "int32",
            "type": "integer"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RecordStopRelyingDeliveryRequest": {
        "additionalProperties": false,
        "properties": {
          "failed": {
            "type": "boolean"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RegisterRepresentativeAuthorizationRequest": {
        "additionalProperties": false,
        "properties": {
          "authorityKind": {
            "nullable": true,
            "type": "string"
          },
          "authorityName": {
            "nullable": true,
            "type": "string"
          },
          "authorizationReference": {
            "nullable": true,
            "type": "string"
          },
          "basisKind": {
            "nullable": true,
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "organisationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "representativeRef": {
            "nullable": true,
            "type": "string"
          },
          "restrictions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "route": {
            "nullable": true,
            "type": "string"
          },
          "scopeRecordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "sourceAuthorizationId": {
            "nullable": true,
            "type": "string"
          },
          "statedPurpose": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RejectConsentBundleRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RepointConsentsForRenewalRequest": {
        "additionalProperties": false,
        "properties": {
          "previousDocumentId": {
            "format": "uuid",
            "type": "string"
          },
          "replacementDocumentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ReportTripArrivalRequest": {
        "additionalProperties": false,
        "properties": {
          "actualArrivalUtc": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RequestConsentChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "message": {
            "nullable": true,
            "type": "string"
          },
          "requestedChange": {
            "nullable": true,
            "type": "string"
          },
          "requestedExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RequestCrossInstanceRevocationRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RequestInvitationOtpRequest": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RequestTranslationCommissionRequest": {
        "additionalProperties": false,
        "properties": {
          "grantExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "originalDocumentRef": {
            "nullable": true,
            "type": "string"
          },
          "sourceLanguage": {
            "nullable": true,
            "type": "string"
          },
          "targetLanguage": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RescindReciprocalExchangeRequest": {
        "additionalProperties": false,
        "properties": {
          "cause": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest": {
        "additionalProperties": false,
        "properties": {
          "resolutionNote": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RespondReciprocalExchangeRequest": {
        "additionalProperties": false,
        "properties": {
          "counterpartyFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "decline": {
            "type": "boolean"
          },
          "declineReason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RespondToInvitationRequest": {
        "additionalProperties": false,
        "properties": {
          "accept": {
            "type": "boolean"
          },
          "acceptedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "identityBindingToken": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ResumeInFlightActionRequest": {
        "additionalProperties": false,
        "properties": {
          "achievedAssuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "achievedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "achievedVerificationId": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeConnectionConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "cause": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeConsentBundleRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeDisclosureVisibilityRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeExternalDisclosureRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeQRCodeRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeSecretDelegationRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.RevokeThirdPartyConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.SetPreviousNameDispositionRequestDto": {
        "additionalProperties": false,
        "properties": {
          "choice": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.VerifiedChange.PreviousNameDispositionChoice"
          },
          "disposition": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.SetPropagationPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "defaultSyncType": {
            "nullable": true,
            "type": "string"
          },
          "inheritable": {
            "type": "boolean"
          },
          "propagationModel": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "scopeRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.SetSelfSyncPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "approvalRequired": {
            "type": "boolean"
          },
          "defaultCircles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "syncType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.ShareFitToFlyClearanceRequest": {
        "additionalProperties": false,
        "properties": {
          "airlineDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "airlineOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "article49TransferBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentArticle49TransferBasis"
          },
          "article9Condition": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentArticle9Condition"
          },
          "attestationCertificateId": {
            "nullable": true,
            "type": "string"
          },
          "carrierIataCode": {
            "nullable": true,
            "type": "string"
          },
          "clearanceEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "clearanceWrappedKey": {
            "nullable": true,
            "type": "string"
          },
          "clinicalEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "clinicalWrappedKey": {
            "nullable": true,
            "type": "string"
          },
          "disclosureLevel": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.FitToFlyDisclosureLevel"
          },
          "flightNumber": {
            "nullable": true,
            "type": "string"
          },
          "isCrossBorder": {
            "type": "boolean"
          },
          "recipientJurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "scheduledDepartureUtc": {
            "format": "date-time",
            "type": "string"
          },
          "sourceCertificateId": {
            "nullable": true,
            "type": "string"
          },
          "tripReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.SubjectConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "attestationRef": {
            "nullable": true,
            "type": "string"
          },
          "granted": {
            "nullable": true,
            "type": "boolean"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.SubjectEscrowDecisionRequest": {
        "additionalProperties": false,
        "properties": {
          "acceptedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "invitationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.SyncWalletClaimConsentsRequest": {
        "additionalProperties": false,
        "properties": {
          "records": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.WalletClaimConsent.WalletClaimConsentInput"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.TerminateConsentBundleOnEventRequest": {
        "additionalProperties": false,
        "properties": {
          "eventReference": {
            "nullable": true,
            "type": "string"
          },
          "eventType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.UpdateOrgInvitationTtlRequest": {
        "additionalProperties": false,
        "properties": {
          "invitationTtlDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.VerifyQRCodeRequest": {
        "additionalProperties": false,
        "properties": {
          "verificationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.WithdrawFitToFlyShareRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.WithdrawInvitationRequest": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "email": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Api.Controllers.WithdrawLawfulCompulsionBasisRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppOwnership.AppOwnerChangeDetailView": {
        "additionalProperties": false,
        "properties": {
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "appName": {
            "nullable": true,
            "type": "string"
          },
          "billingConfirmationOutstanding": {
            "type": "boolean"
          },
          "billingRelationshipChanged": {
            "type": "boolean"
          },
          "effectiveAt": {
            "format": "date-time",
            "type": "string"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppOwnership.AppOwnerChangeGrantView"
            },
            "nullable": true,
            "type": "array"
          },
          "newOrgId": {
            "format": "uuid",
            "type": "string"
          },
          "newOrgName": {
            "nullable": true,
            "type": "string"
          },
          "posture": {
            "nullable": true,
            "type": "string"
          },
          "previousOrgId": {
            "format": "uuid",
            "type": "string"
          },
          "transferId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppOwnership.AppOwnerChangeGrantView": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "changeId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantStatus": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppOwnership.AppOwnerChangeSummaryView": {
        "additionalProperties": false,
        "properties": {
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "appName": {
            "nullable": true,
            "type": "string"
          },
          "billingConfirmationOutstanding": {
            "type": "boolean"
          },
          "billingRelationshipChanged": {
            "type": "boolean"
          },
          "effectiveAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantCount": {
            "format": "int32",
            "type": "integer"
          },
          "heldGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "newOrgId": {
            "format": "uuid",
            "type": "string"
          },
          "newOrgName": {
            "nullable": true,
            "type": "string"
          },
          "outstanding": {
            "type": "boolean"
          },
          "posture": {
            "nullable": true,
            "type": "string"
          },
          "revokedGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "transferId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppSunset.AppSunsetCohortRowView": {
        "additionalProperties": false,
        "properties": {
          "endedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "extensionRequested": {
            "type": "boolean"
          },
          "grantCount": {
            "format": "int32",
            "type": "integer"
          },
          "notifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppSunset.AppSunsetCohortView": {
        "additionalProperties": false,
        "properties": {
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "appName": {
            "nullable": true,
            "type": "string"
          },
          "daysRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "deadlineAt": {
            "format": "date-time",
            "type": "string"
          },
          "deprecationId": {
            "format": "uuid",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppSunset.AppSunsetCohortRowView"
            },
            "nullable": true,
            "type": "array"
          },
          "truncated": {
            "type": "boolean"
          },
          "unattributedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppSunset.AppSunsetDetailView": {
        "additionalProperties": false,
        "properties": {
          "activeGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "appName": {
            "nullable": true,
            "type": "string"
          },
          "daysRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "deadlineAt": {
            "format": "date-time",
            "type": "string"
          },
          "deprecationId": {
            "format": "uuid",
            "type": "string"
          },
          "exportAvailable": {
            "type": "boolean"
          },
          "extensionRequested": {
            "type": "boolean"
          },
          "remindAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sharedItems": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppSunset.AppSunsetSharedItemView"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppSunset.AppSunsetSharedItemView": {
        "additionalProperties": false,
        "properties": {
          "allowDownload": {
            "type": "boolean"
          },
          "available": {
            "type": "boolean"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantActive": {
            "type": "boolean"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "noticeState": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.AppSunset.AppSunsetSummaryView": {
        "additionalProperties": false,
        "properties": {
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "appName": {
            "nullable": true,
            "type": "string"
          },
          "daysRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "deadlineAt": {
            "format": "date-time",
            "type": "string"
          },
          "deprecationId": {
            "format": "uuid",
            "type": "string"
          },
          "extensionRequested": {
            "type": "boolean"
          },
          "grantCount": {
            "format": "int32",
            "type": "integer"
          },
          "remindAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult": {
        "additionalProperties": false,
        "properties": {
          "becomesOrgManaged": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.OwnershipDataClassRow"
            },
            "nullable": true,
            "type": "array"
          },
          "capabilities": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.CaptureCapabilityStatement"
            },
            "nullable": true,
            "type": "array"
          },
          "domain": {
            "nullable": true,
            "type": "string"
          },
          "domainVerifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationName": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "scopedRoleName": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "staysYours": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.OwnershipDataClassRow"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectEmailMasked": {
            "nullable": true,
            "type": "string"
          },
          "verifiedByName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureDecisionResult": {
        "additionalProperties": false,
        "properties": {
          "captureRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "receipt": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.CaptureConsentReceiptDto"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.AccountCaptureStatus"
          },
          "statusName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult": {
        "additionalProperties": false,
        "properties": {
          "accountId": {
            "format": "uuid",
            "type": "string"
          },
          "captureRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "dataClassesRetained": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "dataClassesShared": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "domain": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "noticeAccessToken": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "organizationName": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "purposeName": {
            "nullable": true,
            "type": "string"
          },
          "receiptId": {
            "nullable": true,
            "type": "string"
          },
          "scopedRoleTemplate": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.AccountCaptureStatus"
          },
          "statusName": {
            "nullable": true,
            "type": "string"
          },
          "subjectEmailMasked": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.AccountCapture.CaptureCapabilityStatement": {
        "additionalProperties": false,
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "statement": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.AccountCapture.CaptureConsentReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "dataClassesRetained": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "dataClassesShared": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "decision": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.AccountCaptureStatus"
          },
          "decisionName": {
            "nullable": true,
            "type": "string"
          },
          "domain": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "organizationName": {
            "nullable": true,
            "type": "string"
          },
          "presentationAttestation": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "purposeName": {
            "nullable": true,
            "type": "string"
          },
          "receiptId": {
            "nullable": true,
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "subjectEmailMasked": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.AccountCapture.OwnershipDataClassRow": {
        "additionalProperties": false,
        "properties": {
          "dataClass": {
            "nullable": true,
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "side": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Bundle.AttachBundleSubscriptionCommand": {
        "additionalProperties": false,
        "properties": {
          "attachedBy": {
            "format": "uuid",
            "type": "string"
          },
          "attachedByOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "bundleId": {
            "format": "uuid",
            "type": "string"
          },
          "maxSyncs": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "subscriptionId": {
            "format": "uuid",
            "type": "string"
          },
          "syncType": {
            "nullable": true,
            "type": "string"
          },
          "validFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "validTo": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Bundle.CreateConsentBundleCommand": {
        "additionalProperties": false,
        "properties": {
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "isRegulatedData": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.CreateConsentBundleItemInput"
            },
            "nullable": true,
            "type": "array"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "policyAllowDownload": {
            "type": "boolean"
          },
          "policyAllowForward": {
            "type": "boolean"
          },
          "policyAllowPrint": {
            "type": "boolean"
          },
          "policyExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "policyMaxAccessCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "terminatesOnEventReference": {
            "nullable": true,
            "type": "string"
          },
          "terminatesOnEventType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Bundle.CreateConsentBundleItemInput": {
        "additionalProperties": false,
        "properties": {
          "authTagBase64": {
            "nullable": true,
            "type": "string"
          },
          "documentDescription": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "nonceBase64": {
            "nullable": true,
            "type": "string"
          },
          "sharedBlobReference": {
            "nullable": true,
            "type": "string"
          },
          "wrappedSharingKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Connection.AcceptConnectionConsentCommand": {
        "additionalProperties": false,
        "properties": {
          "accepterDisclosesFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "accepterId": {
            "format": "uuid",
            "type": "string"
          },
          "accountVerified": {
            "type": "boolean"
          },
          "connectionRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "credentialState": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requesterDisclosesFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "requesterId": {
            "format": "uuid",
            "type": "string"
          },
          "trustResolution": {
            "nullable": true,
            "type": "string"
          },
          "verificationStubId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationEvidence": {
        "additionalProperties": false,
        "properties": {
          "coRecipientIdentifiersIncluded": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "noticeDispatched": {
            "type": "boolean"
          },
          "noticeRecipientCount": {
            "format": "int32",
            "type": "integer"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "recordedInConsentHistory": {
            "type": "boolean"
          },
          "skipReason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationResponse": {
        "additionalProperties": false,
        "properties": {
          "errors": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationEvidence"
            },
            "nullable": true,
            "type": "array"
          },
          "failedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "failedRevocations": {
            "format": "int32",
            "type": "integer"
          },
          "pendingConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "pendingRevocations": {
            "format": "int32",
            "type": "integer"
          },
          "revocationBatchId": {
            "format": "uuid",
            "type": "string"
          },
          "revokedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "skippedConsents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationSkip"
            },
            "nullable": true,
            "type": "array"
          },
          "skippedRevocations": {
            "format": "int32",
            "type": "integer"
          },
          "successfulRevocations": {
            "format": "int32",
            "type": "integer"
          },
          "totalRequested": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationSkip": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "legalHoldId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevokeConsentsCommand": {
        "additionalProperties": false,
        "properties": {
          "cascadeRevocation": {
            "type": "boolean"
          },
          "consentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "type": "string"
          },
          "sendNotifications": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.CourtAuthority.CourtAuthorityScopeInput": {
        "additionalProperties": false,
        "properties": {
          "categoryKey": {
            "nullable": true,
            "type": "string"
          },
          "displayLabel": {
            "nullable": true,
            "type": "string"
          },
          "orderClause": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.CrossInstance.RequestConsentMirrorCommand": {
        "additionalProperties": false,
        "properties": {
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "correlationId": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorRegion": {
            "nullable": true,
            "type": "string"
          },
          "originGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientRegion": {
            "nullable": true,
            "type": "string"
          },
          "targetInstanceId": {
            "nullable": true,
            "type": "string"
          },
          "transferJustification": {
            "nullable": true,
            "type": "string"
          },
          "transferMechanism": {
            "nullable": true,
            "type": "string"
          },
          "wrappedFileKey": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WrappedFileKeyEnvelopeDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.DeceasedTeardown.DeceasedConsentTeardownSkip": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "legalHoldId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto": {
        "additionalProperties": false,
        "properties": {
          "authorizedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inactivityWaitDays": {
            "format": "int32",
            "type": "integer"
          },
          "lastProofOfLifeAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.EmergencyAccess.EmergencyAccessLegalBasis"
          },
          "legalBasisLabel": {
            "nullable": true,
            "type": "string"
          },
          "proofOfLifeCadenceDays": {
            "format": "int32",
            "type": "integer"
          },
          "proofOfLifeCount": {
            "format": "int32",
            "type": "integer"
          },
          "releasableCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.EmergencyAccess.EmergencyAccessStatus"
          },
          "trustedContactId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.InFlightActions.PersistInFlightActionCommand": {
        "additionalProperties": false,
        "properties": {
          "encryptedInputPayload": {
            "nullable": true,
            "type": "string"
          },
          "journeyKey": {
            "nullable": true,
            "type": "string"
          },
          "ownerId": {
            "format": "uuid",
            "type": "string"
          },
          "requiredAssuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "stepKey": {
            "nullable": true,
            "type": "string"
          },
          "ttlMinutes": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.LegalNameChange.DisclosureResultDto": {
        "additionalProperties": false,
        "properties": {
          "auditEventId": {
            "format": "uuid",
            "type": "string"
          },
          "disclosedAt": {
            "format": "date-time",
            "type": "string"
          },
          "notifiedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto": {
        "additionalProperties": false,
        "properties": {
          "acceptance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeAcceptanceMode"
          },
          "authoredBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "configuredAt": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "graceWindowDays": {
            "format": "int32",
            "type": "integer"
          },
          "requireDeedPollEvidence": {
            "type": "boolean"
          },
          "routingTeam": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.MutualDisclosure.OpenMutualDisclosureExchangeCommand": {
        "additionalProperties": false,
        "properties": {
          "matterId": {
            "format": "uuid",
            "type": "string"
          },
          "partnerAId": {
            "format": "uuid",
            "type": "string"
          },
          "partnerBId": {
            "format": "uuid",
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requiredCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Presentation.DisclosedFieldInput": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "disclosureDigest": {
            "nullable": true,
            "type": "string"
          },
          "fieldKey": {
            "nullable": true,
            "type": "string"
          },
          "signingKeyRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.CompleteQRCodeSessionCommand": {
        "additionalProperties": false,
        "properties": {
          "nonce": {
            "nullable": true,
            "type": "string"
          },
          "qrCodeShareId": {
            "format": "uuid",
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeCommand": {
        "additionalProperties": false,
        "properties": {
          "allowedScanners": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "brandingColor": {
            "nullable": true,
            "type": "string"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "customMessage": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiryMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "isOneTimeUse": {
            "type": "boolean"
          },
          "logoUrl": {
            "nullable": true,
            "type": "string"
          },
          "maxScans": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "notifyOnScan": {
            "type": "boolean"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requireAuthentication": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeResponse": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "isOneTimeUse": {
            "type": "boolean"
          },
          "maxScans": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "qrCodeImageData": {
            "nullable": true,
            "type": "string"
          },
          "qrCodeShareId": {
            "format": "uuid",
            "type": "string"
          },
          "verificationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeCommand": {
        "additionalProperties": false,
        "properties": {
          "qrCodeShareId": {
            "format": "uuid",
            "type": "string"
          },
          "scannerId": {
            "format": "uuid",
            "type": "string"
          },
          "scannerPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "startE2ESession": {
            "type": "boolean"
          },
          "verificationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeResponse": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "encryptedDataToken": {
            "nullable": true,
            "type": "string"
          },
          "grantorPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "qrCodeShareId": {
            "format": "uuid",
            "type": "string"
          },
          "scanCount": {
            "format": "int32",
            "type": "integer"
          },
          "scannedAt": {
            "format": "date-time",
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionCommand": {
        "additionalProperties": false,
        "properties": {
          "qrCodeShareId": {
            "format": "uuid",
            "type": "string"
          },
          "scannerPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "scannerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "sessionDurationMinutes": {
            "format": "int32",
            "type": "integer"
          },
          "verificationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionResponse": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantorPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "nonce": {
            "nullable": true,
            "type": "string"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Reciprocal.InitiateReciprocalExchangeCommand": {
        "additionalProperties": false,
        "properties": {
          "counterpartyId": {
            "format": "uuid",
            "type": "string"
          },
          "initiatorFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "initiatorId": {
            "format": "uuid",
            "type": "string"
          },
          "offerLifetimeDays": {
            "format": "int32",
            "type": "integer"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requestedFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Renewal.RenewalGrantOutcome": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "disposition": {
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.Renewal.RenewalRepointResult": {
        "additionalProperties": false,
        "properties": {
          "awaitingReconfirmation": {
            "format": "int32",
            "type": "integer"
          },
          "carriedForward": {
            "format": "int32",
            "type": "integer"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Renewal.RenewalGrantOutcome"
            },
            "nullable": true,
            "type": "array"
          },
          "leftAlone": {
            "format": "int32",
            "type": "integer"
          },
          "previewOnly": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.SpecialAssistance.AssistanceOutcomeBatchFailureDto": {
        "additionalProperties": false,
        "properties": {
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.SpecialAssistance.AssistanceOutcomeBatchResultDto": {
        "additionalProperties": false,
        "properties": {
          "skipped": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.SpecialAssistance.AssistanceOutcomeBatchFailureDto"
            },
            "nullable": true,
            "type": "array"
          },
          "updated": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.ThirdParty.InviteThirdPartyConsentCommand": {
        "additionalProperties": false,
        "properties": {
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "dataSubjectId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegationExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "delegationIssuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "delegationType": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "granteeEmail": {
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "invitationLifetimeDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "issuingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "organizationName": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requestedFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ThirdParty.RequestedFieldInput"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectContact": {
            "nullable": true,
            "type": "string"
          },
          "subjectDisplayName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.ThirdParty.RequestedFieldInput": {
        "additionalProperties": false,
        "properties": {
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.VerifiedChange.ContactPreviousNameVisibilityDto": {
        "additionalProperties": false,
        "properties": {
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "governingGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.VerifiedChange.PreviousNameVisibilityState"
          },
          "stateDescription": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult": {
        "additionalProperties": false,
        "properties": {
          "changeId": {
            "format": "uuid",
            "type": "string"
          },
          "choice": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.VerifiedChange.PreviousNameDispositionChoice"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "dispositionId": {
            "format": "uuid",
            "type": "string"
          },
          "recomputations": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.ContactPreviousNameVisibilityDto"
            },
            "nullable": true,
            "type": "array"
          },
          "redactedCount": {
            "format": "int32",
            "type": "integer"
          },
          "visibleCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeMemberOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "governingGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "memberId": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.VerifiedChange.VerifiedChangeRecipientOutcome"
          },
          "reason": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.VerifiedChange.VerifiedChangeExclusionReason"
          },
          "reasonDescription": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult": {
        "additionalProperties": false,
        "properties": {
          "changeId": {
            "format": "uuid",
            "type": "string"
          },
          "excluded": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeMemberOutcomeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "excludedCount": {
            "format": "int32",
            "type": "integer"
          },
          "reconciledAt": {
            "format": "date-time",
            "type": "string"
          },
          "reconciliationId": {
            "format": "uuid",
            "type": "string"
          },
          "willReceive": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeMemberOutcomeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "willReceiveCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Commands.WalletClaimConsent.WalletClaimConsentInput": {
        "additionalProperties": false,
        "properties": {
          "dedupeToken": {
            "nullable": true,
            "type": "string"
          },
          "disclosureRef": {
            "nullable": true,
            "type": "string"
          },
          "sealAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "sealedConsent": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ApproveDocumentRequestResultDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorHash": {
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "deliveryModel": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentDeliveryModel"
          },
          "documentRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "fulfillingConsentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "fulfillingGrantVersion": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.BulkCaptureConsentResultDto": {
        "additionalProperties": false,
        "properties": {
          "notices": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureNoticeIssueDto"
            },
            "nullable": true,
            "type": "array"
          },
          "reachedNoOne": {
            "readOnly": true,
            "type": "boolean"
          },
          "requested": {
            "format": "int32",
            "type": "integer"
          },
          "skipped": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.BulkCaptureConsentSkipDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.BulkCaptureConsentSkipDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Bundle.BundleSubscriptionPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "maxSyncs": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "syncType": {
            "nullable": true,
            "type": "string"
          },
          "syncsUsed": {
            "format": "int32",
            "type": "integer"
          },
          "validFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "validTo": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Bundle.BundleSubscriptionStatusDto": {
        "additionalProperties": false,
        "properties": {
          "bundleId": {
            "format": "uuid",
            "type": "string"
          },
          "eligible": {
            "type": "boolean"
          },
          "maxSyncs": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "routing": {
            "nullable": true,
            "type": "string"
          },
          "subscriptionId": {
            "format": "uuid",
            "type": "string"
          },
          "syncType": {
            "nullable": true,
            "type": "string"
          },
          "syncsRemaining": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "syncsUsed": {
            "format": "int32",
            "type": "integer"
          },
          "validFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "validTo": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto": {
        "additionalProperties": false,
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "activeItemCount": {
            "format": "int32",
            "type": "integer"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "expiredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isRegulatedData": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "rejectedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rejectionReason": {
            "nullable": true,
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "submittedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "subscriptionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "subscriptionPolicy": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.BundleSubscriptionPolicyDto"
          },
          "terminatedOnEventAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "terminatesOnEventReference": {
            "nullable": true,
            "type": "string"
          },
          "terminatesOnEventType": {
            "nullable": true,
            "type": "string"
          },
          "totalItemCount": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleItemDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentDescription": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "isRevoked": {
            "type": "boolean"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sortOrder": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureDecisionResultDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "receipt": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureReceiptDto"
          },
          "releasedContactId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.CaptureEscrowStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureHoldingEntryDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "capturedAt": {
            "format": "date-time",
            "type": "string"
          },
          "consentRequestCount": {
            "format": "int32",
            "type": "integer"
          },
          "counterparty": {
            "nullable": true,
            "type": "string"
          },
          "counterpartyRole": {
            "nullable": true,
            "type": "string"
          },
          "counterpartyUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "escrowExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "eventContext": {
            "nullable": true,
            "type": "string"
          },
          "eventContextCiphertext": {
            "nullable": true,
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "payloadPurged": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureHoldingsCoverageDto": {
        "additionalProperties": false,
        "properties": {
          "capturesIHoldWithNoLinkedSubject": {
            "format": "int32",
            "type": "integer"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectLinkage": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureHoldingsDto": {
        "additionalProperties": false,
        "properties": {
          "coverage": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureHoldingsCoverageDto"
          },
          "heldAboutMe": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureHoldingEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "iHold": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureHoldingEntryDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureNoticeDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "capturedAt": {
            "format": "date-time",
            "type": "string"
          },
          "capturedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "capturerId": {
            "format": "uuid",
            "type": "string"
          },
          "contextCiphertext": {
            "nullable": true,
            "type": "string"
          },
          "escrowExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "privateNoteCiphertext": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.CaptureEscrowStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureNoticeIssueDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "escrowExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "noticeToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CaptureReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "capturedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "capturerId": {
            "format": "uuid",
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "receiptHash": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ChangeRequest.ConsentChangeRequestDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "message": {
            "nullable": true,
            "type": "string"
          },
          "requestedChange": {
            "nullable": true,
            "type": "string"
          },
          "requestedExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "resolutionNote": {
            "nullable": true,
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ChannelPreferenceDto": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "optIn": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CommunicationChannelStateDto": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "optedIn": {
            "type": "boolean"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto": {
        "additionalProperties": false,
        "properties": {
          "channels": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationChannelStateDto"
            },
            "nullable": true,
            "type": "array"
          },
          "lastAnchorTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "lastWithdrawalSource": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ComplianceReportDto": {
        "additionalProperties": false,
        "properties": {
          "consents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentSummaryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "endDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reportId": {
            "format": "uuid",
            "type": "string"
          },
          "reportType": {
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "statistics": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceStatisticsDto"
          },
          "summary": {
            "nullable": true,
            "type": "string"
          },
          "violations": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceViolationDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ComplianceStatisticsDto": {
        "additionalProperties": false,
        "properties": {
          "activeConsents": {
            "format": "int32",
            "type": "integer"
          },
          "averageAccessesPerConsent": {
            "format": "double",
            "type": "number"
          },
          "averageConsentLifespanDays": {
            "format": "double",
            "type": "number"
          },
          "earliestConsentDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expiredConsents": {
            "format": "int32",
            "type": "integer"
          },
          "latestConsentDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revocationRate": {
            "format": "double",
            "type": "number"
          },
          "revokedConsents": {
            "format": "int32",
            "type": "integer"
          },
          "totalAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "totalConsents": {
            "format": "int32",
            "type": "integer"
          },
          "totalRevocations": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ComplianceViolationDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "detectedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recommendedAction": {
            "nullable": true,
            "type": "string"
          },
          "severity": {
            "nullable": true,
            "type": "string"
          },
          "violationType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Connection.ConnectionConsentAcceptanceDto": {
        "additionalProperties": false,
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "accepterDisclosesFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "accepterId": {
            "format": "uuid",
            "type": "string"
          },
          "accountVerified": {
            "type": "boolean"
          },
          "connectionRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "credentialState": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "pairedGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "receipt": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConsentReceiptDto"
          },
          "requesterDisclosesFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "requesterId": {
            "format": "uuid",
            "type": "string"
          },
          "revokeCause": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "trustResolution": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "verificationStubId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Connection.ConnectionSyncTransparencyDto": {
        "additionalProperties": false,
        "properties": {
          "connectionConsentId": {
            "format": "uuid",
            "type": "string"
          },
          "counterpartyId": {
            "format": "uuid",
            "type": "string"
          },
          "evaluatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fieldsCounterpartySees": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.SyncFieldVisibilityDto"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldsCounterpartyShares": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.SyncFieldVisibilityDto"
            },
            "nullable": true,
            "type": "array"
          },
          "isLive": {
            "type": "boolean"
          },
          "pairedGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "propagationNote": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Connection.ConsentReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "accepterDisclosesScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "accountVerified": {
            "type": "boolean"
          },
          "credentialState": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "receiptNumber": {
            "nullable": true,
            "type": "string"
          },
          "requesterDisclosesScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "trustResolution": {
            "nullable": true,
            "type": "string"
          },
          "verificationStubId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Connection.SyncFieldVisibilityDto": {
        "additionalProperties": false,
        "properties": {
          "fieldGroup": {
            "nullable": true,
            "type": "string"
          },
          "propagatesOnEdit": {
            "type": "boolean"
          },
          "visibleNow": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ConsentChangeRecordDto": {
        "additionalProperties": false,
        "properties": {
          "changeType": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "ipAddress": {
            "nullable": true,
            "type": "string"
          },
          "newStatus": {
            "nullable": true,
            "type": "string"
          },
          "performedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "previousStatus": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "relatedEntityId": {
            "nullable": true,
            "type": "string"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          },
          "userAgent": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ConsentHistoryDto": {
        "additionalProperties": false,
        "properties": {
          "accessFrequency": {
            "format": "double",
            "type": "number"
          },
          "changes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentChangeRecordDto"
            },
            "nullable": true,
            "type": "array"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "consentLifespan": {
            "$ref": "#/components/schemas/System.TimeSpan"
          },
          "currentVersion": {
            "format": "int32",
            "type": "integer"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "historyHash": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "initialCreationDate": {
            "format": "date-time",
            "type": "string"
          },
          "isExpired": {
            "type": "boolean"
          },
          "isRevoked": {
            "type": "boolean"
          },
          "lastModifiedDate": {
            "format": "date-time",
            "type": "string"
          },
          "stateTransitionCount": {
            "format": "int32",
            "type": "integer"
          },
          "totalAccessCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ConsentHistoryStatisticsDto": {
        "additionalProperties": false,
        "properties": {
          "activeConsents": {
            "format": "int32",
            "type": "integer"
          },
          "averageAccessesPerConsent": {
            "format": "double",
            "type": "number"
          },
          "averageLifespanDays": {
            "format": "double",
            "type": "number"
          },
          "expiredConsents": {
            "format": "int32",
            "type": "integer"
          },
          "highFrequencyConsents": {
            "format": "int32",
            "type": "integer"
          },
          "revokedConsents": {
            "format": "int32",
            "type": "integer"
          },
          "totalAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "totalConsents": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ConsentStateAsAtDto": {
        "additionalProperties": false,
        "properties": {
          "asAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveStatus": {
            "nullable": true,
            "type": "string"
          },
          "effectiveVersion": {
            "format": "int32",
            "type": "integer"
          },
          "existed": {
            "type": "boolean"
          },
          "lastChangeAtUtc": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lastChangeType": {
            "nullable": true,
            "type": "string"
          },
          "lastChangedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ConsentSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "accessCount": {
            "format": "int32",
            "type": "integer"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "isRegulatedData": {
            "type": "boolean"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtAuthorityAccessDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "authorityId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "granted": {
            "type": "boolean"
          },
          "orderReference": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtAuthorityScopeDto": {
        "additionalProperties": false,
        "properties": {
          "categoryKey": {
            "nullable": true,
            "type": "string"
          },
          "displayLabel": {
            "nullable": true,
            "type": "string"
          },
          "orderClause": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "deputyId": {
            "format": "uuid",
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "endNote": {
            "nullable": true,
            "type": "string"
          },
          "endReason": {
            "nullable": true,
            "type": "string"
          },
          "endedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inForce": {
            "type": "boolean"
          },
          "issuingCourt": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "lastVariationNote": {
            "nullable": true,
            "type": "string"
          },
          "lastVariedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "nextReportDueOn": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "orderMadeOn": {
            "format": "date-time",
            "type": "string"
          },
          "orderReference": {
            "nullable": true,
            "type": "string"
          },
          "orderType": {
            "nullable": true,
            "type": "string"
          },
          "reportingCadence": {
            "nullable": true,
            "type": "string"
          },
          "reportingPeriodEnd": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reportingPeriodStart": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtAuthorityScopeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supervisionLevel": {
            "nullable": true,
            "type": "string"
          },
          "variationCount": {
            "format": "int32",
            "type": "integer"
          },
          "wardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CourtAuthority.DeputyshipAuthorityTerminationDto": {
        "additionalProperties": false,
        "properties": {
          "accessCeasedAt": {
            "format": "date-time",
            "type": "string"
          },
          "action": {
            "nullable": true,
            "type": "string"
          },
          "authorityId": {
            "format": "uuid",
            "type": "string"
          },
          "deputyId": {
            "format": "uuid",
            "type": "string"
          },
          "orderReference": {
            "nullable": true,
            "type": "string"
          },
          "wasActivated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CourtAuthority.DeputyshipTerminationNoticeDto": {
        "additionalProperties": false,
        "properties": {
          "anyStillInForce": {
            "type": "boolean"
          },
          "authorities": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
            },
            "nullable": true,
            "type": "array"
          },
          "endReason": {
            "nullable": true,
            "type": "string"
          },
          "endedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "handoverTo": {
            "nullable": true,
            "type": "string"
          },
          "notifyParties": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "preservationBasis": {
            "nullable": true,
            "type": "string"
          },
          "recordsPreserved": {
            "type": "boolean"
          },
          "wardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CourtAuthority.DeputyshipTerminationOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "authorities": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.DeputyshipAuthorityTerminationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "determinationOutcome": {
            "nullable": true,
            "type": "string"
          },
          "determinationReference": {
            "nullable": true,
            "type": "string"
          },
          "determinedOn": {
            "format": "date-time",
            "type": "string"
          },
          "determiningBody": {
            "nullable": true,
            "type": "string"
          },
          "handoverTo": {
            "nullable": true,
            "type": "string"
          },
          "notifyParties": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "preservationBasis": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recordsPreserved": {
            "type": "boolean"
          },
          "wardId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CreateDocumentRequestResultDto": {
        "additionalProperties": false,
        "properties": {
          "documentRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "requesterVisibleStatus": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentRequestRequesterVisibleStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CrossBorder.CrossBorderConsentGrantDto": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevelReliedUpon": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "minimumMet": {
            "type": "boolean"
          },
          "minimumRequiredLoa": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectStandingCode": {
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CrossBorder.JurisdictionTransferDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "grantorRegion": {
            "nullable": true,
            "type": "string"
          },
          "isAllowed": {
            "type": "boolean"
          },
          "isCrossBorder": {
            "type": "boolean"
          },
          "isIntraRegion": {
            "type": "boolean"
          },
          "mechanism": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "recipientRegion": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CrossBorder.RecipientLegalBasisDto": {
        "additionalProperties": false,
        "properties": {
          "heading": {
            "nullable": true,
            "type": "string"
          },
          "legalBasisCode": {
            "nullable": true,
            "type": "string"
          },
          "plainLanguage": {
            "nullable": true,
            "type": "string"
          },
          "recipientClass": {
            "nullable": true,
            "type": "string"
          },
          "revocable": {
            "type": "boolean"
          },
          "subjectStanding": {
            "nullable": true,
            "type": "string"
          },
          "withdrawalMeaning": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.CrossInstance.CrossInstanceConsentMirrorDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "correlationId": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "failureMessage": {
            "nullable": true,
            "type": "string"
          },
          "failureReasonCode": {
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorRegion": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdictionReasonCode": {
            "nullable": true,
            "type": "string"
          },
          "originGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "originInstanceId": {
            "nullable": true,
            "type": "string"
          },
          "recipientRegion": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revocationRequestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revocationRequestedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "targetInstanceId": {
            "nullable": true,
            "type": "string"
          },
          "transferJustification": {
            "nullable": true,
            "type": "string"
          },
          "transferMechanism": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DeliverCaptureNoticeResultDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "consentRequestCount": {
            "format": "int32",
            "type": "integer"
          },
          "escrowExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "inAppDelivery": {
            "nullable": true,
            "type": "string"
          },
          "noticeUrl": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DisclosureRevealAuditEntryDto": {
        "additionalProperties": false,
        "properties": {
          "accessExpiry": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealAccessExpiry"
          },
          "auditAnchorHash": {
            "nullable": true,
            "type": "string"
          },
          "changeType": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentChangeType"
          },
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientLabel": {
            "nullable": true,
            "type": "string"
          },
          "revealId": {
            "format": "uuid",
            "type": "string"
          },
          "revealedAt": {
            "format": "date-time",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "stage": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealStage"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealGrantStatus"
          },
          "verifierLink": {
            "nullable": true,
            "type": "string"
          },
          "workEntityId": {
            "format": "uuid",
            "type": "string"
          },
          "workEntryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DisclosureRevealResultDto": {
        "additionalProperties": false,
        "properties": {
          "accessExpiry": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealAccessExpiry"
          },
          "auditAnchorHash": {
            "nullable": true,
            "type": "string"
          },
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientLabel": {
            "nullable": true,
            "type": "string"
          },
          "revealId": {
            "format": "uuid",
            "type": "string"
          },
          "revealedAt": {
            "format": "date-time",
            "type": "string"
          },
          "stage": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealStage"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealGrantStatus"
          },
          "verifierLink": {
            "nullable": true,
            "type": "string"
          },
          "workEntityId": {
            "format": "uuid",
            "type": "string"
          },
          "workEntryId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DisclosureRevealRevokeResultDto": {
        "additionalProperties": false,
        "properties": {
          "revealId": {
            "format": "uuid",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealGrantStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DocumentRequestAuditRecordDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorHash": {
            "nullable": true,
            "type": "string"
          },
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "documentName": {
            "nullable": true,
            "type": "string"
          },
          "documentRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentRequestRequesterVisibleStatus"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "requesterId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DocumentRequestContactDecisionResultDto": {
        "additionalProperties": false,
        "properties": {
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "documentRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentRequestStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto": {
        "additionalProperties": false,
        "properties": {
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "deliveryModel": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentDeliveryModel"
          },
          "documentName": {
            "nullable": true,
            "type": "string"
          },
          "documentRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fulfillingDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "requesterId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentRequestStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.DocumentRequestOutboundDto": {
        "additionalProperties": false,
        "properties": {
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "deliveryModel": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentDeliveryModel"
          },
          "documentName": {
            "nullable": true,
            "type": "string"
          },
          "documentRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fulfillingConsentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DocumentRequestRequesterVisibleStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureBasisDto": {
        "additionalProperties": false,
        "properties": {
          "basisKind": {
            "nullable": true,
            "type": "string"
          },
          "claimRef": {
            "nullable": true,
            "type": "string"
          },
          "courtOrderRef": {
            "nullable": true,
            "type": "string"
          },
          "deceasedRef": {
            "nullable": true,
            "type": "string"
          },
          "demandRef": {
            "nullable": true,
            "type": "string"
          },
          "executorUserRef": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "scopeAudits": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureScopeAuditDto"
            },
            "nullable": true,
            "type": "array"
          },
          "scopeFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureScopeAuditDto": {
        "additionalProperties": false,
        "properties": {
          "basisId": {
            "format": "uuid",
            "type": "string"
          },
          "claimRef": {
            "nullable": true,
            "type": "string"
          },
          "disclosedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "outOfScopeFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reportMatchesRecord": {
            "type": "boolean"
          },
          "reportedWithinScope": {
            "type": "boolean"
          },
          "scopeFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "withheldGroupKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "withinScope": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ExternalDisclosure.ExternalDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "claimRef": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "evidenceRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "externalRecipientRef": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "shareExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sharePublished": {
            "type": "boolean"
          },
          "shareRef": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ExternalDisclosure.SharedExternalDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "sealedPayload": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyConsumptionDto": {
        "additionalProperties": false,
        "properties": {
          "accessedAt": {
            "format": "date-time",
            "type": "string"
          },
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "scopeUnwrapped": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDeskQueueItemDto": {
        "additionalProperties": false,
        "properties": {
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "consumptions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyConsumptionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "decisionRecordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "disclosureLevel": {
            "nullable": true,
            "type": "string"
          },
          "flightDesignator": {
            "nullable": true,
            "type": "string"
          },
          "hasClinicalRecord": {
            "type": "boolean"
          },
          "infoRequest": {
            "nullable": true,
            "type": "string"
          },
          "nonRetentionAttested": {
            "type": "boolean"
          },
          "remainingAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "scheduledDepartureUtc": {
            "format": "date-time",
            "type": "string"
          },
          "shareId": {
            "format": "uuid",
            "type": "string"
          },
          "sharedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tripReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "allowDownload": {
            "type": "boolean"
          },
          "allowForward": {
            "type": "boolean"
          },
          "allowPrint": {
            "type": "boolean"
          },
          "clearanceEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "clearanceWrappedKey": {
            "nullable": true,
            "type": "string"
          },
          "clinicalEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "clinicalWrappedKey": {
            "nullable": true,
            "type": "string"
          },
          "nonRetentionAttested": {
            "type": "boolean"
          },
          "remainingAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "scopeUnwrapped": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyShareDto": {
        "additionalProperties": false,
        "properties": {
          "accessCount": {
            "format": "int32",
            "type": "integer"
          },
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "airlineDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "airlineOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "allowDownload": {
            "type": "boolean"
          },
          "allowForward": {
            "type": "boolean"
          },
          "allowPrint": {
            "type": "boolean"
          },
          "article49TransferBasis": {
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "nullable": true,
            "type": "string"
          },
          "consumptions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyConsumptionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "decisionRecordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "disclosureLevel": {
            "nullable": true,
            "type": "string"
          },
          "flightDesignator": {
            "nullable": true,
            "type": "string"
          },
          "infoRequest": {
            "nullable": true,
            "type": "string"
          },
          "isCrossBorder": {
            "type": "boolean"
          },
          "nonRetentionAttested": {
            "type": "boolean"
          },
          "nonRetentionAttestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "recipientJurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "remainingAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "scheduledDepartureUtc": {
            "format": "date-time",
            "type": "string"
          },
          "shareId": {
            "format": "uuid",
            "type": "string"
          },
          "sharedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tripReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Handover.ClosureHandoverReportDto": {
        "additionalProperties": false,
        "properties": {
          "closureId": {
            "format": "uuid",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Handover.ClosureHandoverReportEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "legalHoldCount": {
            "format": "int32",
            "type": "integer"
          },
          "reportId": {
            "format": "uuid",
            "type": "string"
          },
          "subjectDisplayName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Handover.ClosureHandoverReportEntryDto": {
        "additionalProperties": false,
        "properties": {
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeRef": {
            "format": "uuid",
            "type": "string"
          },
          "legalHold": {
            "type": "boolean"
          },
          "revocationOutcome": {
            "nullable": true,
            "type": "string"
          },
          "shareStateAtClosure": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Handover.ClosureLinkStateDto": {
        "additionalProperties": false,
        "properties": {
          "consentState": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeRef": {
            "format": "uuid",
            "type": "string"
          },
          "legalHold": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.HouseholdShare.AdditionalDataSubjectDto": {
        "additionalProperties": false,
        "properties": {
          "consentStatus": {
            "nullable": true,
            "type": "string"
          },
          "relationshipLabel": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.HouseholdShare.HouseholdSharePreviewDto": {
        "additionalProperties": false,
        "properties": {
          "additionalSubjects": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.HouseholdShare.AdditionalDataSubjectDto"
            },
            "nullable": true,
            "type": "array"
          },
          "blocked": {
            "type": "boolean"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "detectionPending": {
            "type": "boolean"
          },
          "documentId": {
            "nullable": true,
            "type": "string"
          },
          "householdId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.HouseholdShare.HouseholdShareResultDto": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "nullable": true,
            "type": "string"
          },
          "gateDecisionAuditId": {
            "format": "uuid",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "householdId": {
            "nullable": true,
            "type": "string"
          },
          "sharedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.InFlightActions.PersistInFlightActionResponse": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "inFlightActionId": {
            "format": "uuid",
            "type": "string"
          },
          "resumeToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.InFlightActions.ResumeInFlightActionResponse": {
        "additionalProperties": false,
        "properties": {
          "encryptedInputPayload": {
            "nullable": true,
            "type": "string"
          },
          "inFlightActionId": {
            "format": "uuid",
            "type": "string"
          },
          "journeyKey": {
            "nullable": true,
            "type": "string"
          },
          "resumedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "stepKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.InitiateRecordsHandoverResultDto": {
        "additionalProperties": false,
        "properties": {
          "acceptanceExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "handoverId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RecordsHandoverStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.IssueCaptureResultDto": {
        "additionalProperties": false,
        "properties": {
          "captureId": {
            "format": "uuid",
            "type": "string"
          },
          "escrowExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "noticeToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionAccessDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "authorised": {
            "type": "boolean"
          },
          "basisId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "outOfScopeRecordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "refusalGround": {
            "nullable": true,
            "type": "string"
          },
          "requestedRecordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionBasisDto": {
        "additionalProperties": false,
        "properties": {
          "accessDecisions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionAccessDecisionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "authorityId": {
            "nullable": true,
            "type": "string"
          },
          "authorityName": {
            "nullable": true,
            "type": "string"
          },
          "basisKind": {
            "nullable": true,
            "type": "string"
          },
          "fromDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "instrumentReference": {
            "nullable": true,
            "type": "string"
          },
          "instrumentType": {
            "nullable": true,
            "type": "string"
          },
          "isUnbounded": {
            "type": "boolean"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "recordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "statedPurpose": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "toDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "withdrawalReason": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.LegalHold.LegalHoldReleaseRequestDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "daysAwaitingAdjudication": {
            "format": "int32",
            "type": "integer"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "legalHoldAppliedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legalHoldExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legalHoldId": {
            "format": "uuid",
            "type": "string"
          },
          "legalHoldOwner": {
            "nullable": true,
            "type": "string"
          },
          "legalHoldReason": {
            "nullable": true,
            "type": "string"
          },
          "requestReason": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "requestedBy": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.AuthorizeGranteeFieldRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "fieldKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.CreateMultiGranteeGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "affirmationStatement": {
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentArticle9Condition"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "explicitlySpecialCategoryFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantees": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.GranteeScopeRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "purposeLimitation": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.GranteeAccessDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "enforcementPoint": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.GranteeAccessOutcome"
          },
          "permitted": {
            "type": "boolean"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.GranteeScopeDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "documentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "effectiveFieldScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "excludedFieldScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.PartyType"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.GranteeScopeStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.GranteeScopeRequest": {
        "additionalProperties": false,
        "properties": {
          "documentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "excludedFieldScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldScope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.PartyType"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.MultiGranteeGrantDto": {
        "additionalProperties": false,
        "properties": {
          "affirmationStatement": {
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentArticle9Condition"
          },
          "consentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "readOnly": true,
            "type": "array"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "enforcementPoint": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantees": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.GranteeScopeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "purposeLimitation": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "specialCategoryFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.MultiGranteeGrantStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MutualDisclosure.MutualDisclosureExchangeDto": {
        "additionalProperties": false,
        "properties": {
          "becameReciprocalAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "bothDisclosed": {
            "type": "boolean"
          },
          "canProceedToExecution": {
            "type": "boolean"
          },
          "cancelReason": {
            "nullable": true,
            "type": "string"
          },
          "cancelledAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "equivalent": {
            "type": "boolean"
          },
          "executedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "executedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "matterId": {
            "format": "uuid",
            "type": "string"
          },
          "partnerA": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.PartnerDisclosureStatusDto"
          },
          "partnerAId": {
            "format": "uuid",
            "type": "string"
          },
          "partnerB": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.PartnerDisclosureStatusDto"
          },
          "partnerBId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requiredCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MutualDisclosure.PartnerDisclosureStatusDto": {
        "additionalProperties": false,
        "properties": {
          "coversAllRequired": {
            "type": "boolean"
          },
          "disclosed": {
            "type": "boolean"
          },
          "disclosedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "disclosedCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "partnerId": {
            "format": "uuid",
            "type": "string"
          },
          "scheduleDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "visibilityActive": {
            "type": "boolean"
          },
          "visibilityRevokeReason": {
            "nullable": true,
            "type": "string"
          },
          "visibilityRevokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.MutualDisclosure.ReciprocityStatusDto": {
        "additionalProperties": false,
        "properties": {
          "bothDisclosed": {
            "type": "boolean"
          },
          "canProceedToExecution": {
            "type": "boolean"
          },
          "equivalent": {
            "type": "boolean"
          },
          "exchangeId": {
            "format": "uuid",
            "type": "string"
          },
          "matterId": {
            "format": "uuid",
            "type": "string"
          },
          "partnerA": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.PartnerDisclosureStatusDto"
          },
          "partnerB": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.PartnerDisclosureStatusDto"
          },
          "requiredCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgGrantorSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "activeGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "totalGrantCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgInvitationTtlDto": {
        "additionalProperties": false,
        "properties": {
          "invitationTtlDays": {
            "format": "int32",
            "type": "integer"
          },
          "maxInvitationTtlDays": {
            "format": "int32",
            "type": "integer"
          },
          "minInvitationTtlDays": {
            "format": "int32",
            "type": "integer"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "pendingEscrowCount": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgOversightSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantsByStatus": {
            "additionalProperties": {
              "format": "int32",
              "type": "integer"
            },
            "nullable": true,
            "type": "object"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "thirdPartyInvitationsByStatus": {
            "additionalProperties": {
              "format": "int32",
              "type": "integer"
            },
            "nullable": true,
            "type": "object"
          },
          "topGrantors": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgGrantorSummaryDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PolicyTemplate.ConsentPolicyTemplateDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lawfulBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PolicyTemplate.ConsentPolicyTemplateLawfulBasisDto"
          },
          "maxDurationDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "onwardSharingAllowed": {
            "type": "boolean"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "recommendedCanDelete": {
            "type": "boolean"
          },
          "recommendedCanRead": {
            "type": "boolean"
          },
          "recommendedCanShare": {
            "type": "boolean"
          },
          "recommendedCanWrite": {
            "type": "boolean"
          },
          "recommendedDurationDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "recommendedOnwardSharing": {
            "type": "boolean"
          },
          "recommendedRevocationPolicy": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PolicyTemplate.ConsentPolicyTemplateLawfulBasisDto": {
        "additionalProperties": false,
        "properties": {
          "article6Basis": {
            "nullable": true,
            "type": "string"
          },
          "articleReference": {
            "nullable": true,
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "retentionDaysAfterEnd": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "withdrawalStopsProcessing": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "attributesRevealed": {
            "additionalProperties": {
              "type": "boolean"
            },
            "nullable": true,
            "type": "object"
          },
          "fieldsDisclosed": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issuerDid": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "predicate": {
            "nullable": true,
            "type": "string"
          },
          "proofVerification": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyName": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "result": {
            "type": "boolean"
          },
          "thresholdYears": {
            "format": "int32",
            "type": "integer"
          },
          "trustFramework": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateComplianceAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "attestationId": {
            "format": "uuid",
            "type": "string"
          },
          "attributesRevealed": {
            "additionalProperties": {
              "type": "boolean"
            },
            "nullable": true,
            "type": "object"
          },
          "fieldsDisclosed": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "howToVerify": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateProofVerificationInstructionsDto"
          },
          "issuerDid": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "predicate": {
            "nullable": true,
            "type": "string"
          },
          "proof": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateProofEnvelopeDto"
          },
          "proofVerification": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyName": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "result": {
            "type": "boolean"
          },
          "statement": {
            "nullable": true,
            "type": "string"
          },
          "thresholdYears": {
            "format": "int32",
            "type": "integer"
          },
          "trustFramework": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateProofEnvelopeDto": {
        "additionalProperties": false,
        "properties": {
          "attributeCommitment": {
            "nullable": true,
            "type": "string"
          },
          "attributePath": {
            "nullable": true,
            "type": "string"
          },
          "issuerDID": {
            "nullable": true,
            "type": "string"
          },
          "operator": {
            "nullable": true,
            "type": "string"
          },
          "salt": {
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          },
          "thresholdValue": {
            "nullable": true,
            "type": "string"
          },
          "verificationMethodId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateProofVerificationInstructionsDto": {
        "additionalProperties": false,
        "properties": {
          "body": {
            "nullable": true,
            "type": "string"
          },
          "expect": {
            "nullable": true,
            "type": "string"
          },
          "method": {
            "nullable": true,
            "type": "string"
          },
          "path": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Presentation.DisclosedFieldProvenanceDto": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "disclosureDigest": {
            "nullable": true,
            "type": "string"
          },
          "fieldKey": {
            "nullable": true,
            "type": "string"
          },
          "firstOpenedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "signingKeyRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "ackMethod": {
            "nullable": true,
            "type": "string"
          },
          "ackReference": {
            "nullable": true,
            "type": "string"
          },
          "ackState": {
            "nullable": true,
            "type": "string"
          },
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "cannotGuaranteePurge": {
            "type": "boolean"
          },
          "commitmentAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "disclosedFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.DisclosedFieldProvenanceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "presentationGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "receipt": {
            "nullable": true,
            "type": "string"
          },
          "receiptAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "receiptKeyId": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Propagation.BlastRadiusCircleDto": {
        "additionalProperties": false,
        "properties": {
          "circleId": {
            "nullable": true,
            "type": "string"
          },
          "circleName": {
            "nullable": true,
            "type": "string"
          },
          "connectionCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Propagation.BlastRadiusPreviewDto": {
        "additionalProperties": false,
        "properties": {
          "affectedCircleCount": {
            "format": "int32",
            "type": "integer"
          },
          "affectedConnectionCount": {
            "format": "int32",
            "type": "integer"
          },
          "fieldLabel": {
            "nullable": true,
            "type": "string"
          },
          "perCircle": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Propagation.BlastRadiusCircleDto"
            },
            "nullable": true,
            "type": "array"
          },
          "remainingCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "topUpRequired": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Propagation.PropagationPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "defaultSyncType": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inheritable": {
            "type": "boolean"
          },
          "propagationModel": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "scopeRef": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PropagationAuditDto": {
        "additionalProperties": false,
        "properties": {
          "pushId": {
            "format": "uuid",
            "type": "string"
          },
          "pushedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recipients": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PropagationRecipientOutcomeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.PropagationRecipientOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "fieldsRedacted": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldsShared": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "governingGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantVersion": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "pushedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeHalfDto": {
        "additionalProperties": false,
        "properties": {
          "committed": {
            "type": "boolean"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "isViewer": {
            "type": "boolean"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          },
          "verificationLevel": {
            "nullable": true,
            "type": "string"
          },
          "verificationSource": {
            "nullable": true,
            "type": "string"
          },
          "verified": {
            "type": "boolean"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto": {
        "additionalProperties": false,
        "properties": {
          "blockedOnRole": {
            "nullable": true,
            "type": "string"
          },
          "committedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "counterOfferedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "declineReason": {
            "nullable": true,
            "type": "string"
          },
          "declinedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "exchangeId": {
            "format": "uuid",
            "type": "string"
          },
          "initiatorHalf": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeHalfDto"
          },
          "lifecycle": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalLifecycleEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "offerExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "offeredAt": {
            "format": "date-time",
            "type": "string"
          },
          "ownerService": {
            "nullable": true,
            "type": "string"
          },
          "pairedTransactionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "rescind": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalRescindDto"
          },
          "responderHalf": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeHalfDto"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "viewerRole": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalLifecycleEntryDto": {
        "additionalProperties": false,
        "properties": {
          "actorRole": {
            "nullable": true,
            "type": "string"
          },
          "at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "audited": {
            "type": "boolean"
          },
          "event": {
            "nullable": true,
            "type": "string"
          },
          "inProgress": {
            "type": "boolean"
          },
          "notified": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalRescindDto": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "byRole": {
            "nullable": true,
            "type": "string"
          },
          "byUserId": {
            "format": "uuid",
            "type": "string"
          },
          "cause": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto": {
        "additionalProperties": false,
        "properties": {
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "disclosureRecordHash": {
            "nullable": true,
            "type": "string"
          },
          "handoverId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RecordsHandoverStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RecordsHandoverDto": {
        "additionalProperties": false,
        "properties": {
          "acceptanceExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "disclosedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "disclosureRecordHash": {
            "nullable": true,
            "type": "string"
          },
          "handoverId": {
            "format": "uuid",
            "type": "string"
          },
          "incomingKeeperId": {
            "format": "uuid",
            "type": "string"
          },
          "initiatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lawfulBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RecordsHandoverLawfulBasis"
          },
          "outgoingKeeperId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "recordDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "retentionDays": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RecordsHandoverStatus"
          },
          "subjectRef": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Renunciation.RenunciationScopePreviewDto": {
        "additionalProperties": false,
        "properties": {
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Renunciation.RenunciationScopedGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "legalHoldReason": {
            "nullable": true,
            "type": "string"
          },
          "liveGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "teardownCaseId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "validityCeilingDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Renunciation.RenunciationScopedGrantDto": {
        "additionalProperties": false,
        "properties": {
          "alreadyWithdrawn": {
            "type": "boolean"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Renunciation.StopRelyingAuditDto": {
        "additionalProperties": false,
        "properties": {
          "cascadedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "evidencedCount": {
            "format": "int32",
            "type": "integer"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "legalHoldBlockedCount": {
            "format": "int32",
            "type": "integer"
          },
          "notices": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Renunciation.StopRelyingNoticeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "pendingCount": {
            "format": "int32",
            "type": "integer"
          },
          "registeredAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "teardownCaseId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Renunciation.StopRelyingNoticeDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "deliveredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "isEvidenced": {
            "type": "boolean"
          },
          "noticeId": {
            "format": "uuid",
            "type": "string"
          },
          "notifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "relyingPartyRef": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "validityCeilingAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.AssignRepairTechnicianRequest": {
        "additionalProperties": false,
        "properties": {
          "technicianLabel": {
            "nullable": true,
            "type": "string"
          },
          "technicianRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.CreateRepairAccessGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "bundle": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairBundleItemRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "deviceLabel": {
            "nullable": true,
            "type": "string"
          },
          "deviceRef": {
            "nullable": true,
            "type": "string"
          },
          "durationModel": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "repairerDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "repairerOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "warrantyAtGrant": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.WarrantyStateSnapshotRequest"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.DeviceRevocationPropagationDto": {
        "additionalProperties": false,
        "properties": {
          "crlPublishedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "ocspConfirmedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.IssueRepairShareCodeRequest": {
        "additionalProperties": false,
        "properties": {
          "rotationSeconds": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.LogRepairRequest": {
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "repairSummaryRef": {
            "nullable": true,
            "type": "string"
          },
          "warrantyAtCompletion": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.WarrantyStateSnapshotRequest"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.RecordRepairAccessRequest": {
        "additionalProperties": false,
        "properties": {
          "deviceRef": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessEventDto": {
        "additionalProperties": false,
        "properties": {
          "accessId": {
            "format": "uuid",
            "type": "string"
          },
          "actorLabel": {
            "nullable": true,
            "type": "string"
          },
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "authorityExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "deviceRef": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto": {
        "additionalProperties": false,
        "properties": {
          "accessEvents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessEventDto"
            },
            "nullable": true,
            "type": "array"
          },
          "assignedTechnicianLabel": {
            "nullable": true,
            "type": "string"
          },
          "assignedTechnicianRef": {
            "nullable": true,
            "type": "string"
          },
          "bundle": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairBundleItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "deviceLabel": {
            "nullable": true,
            "type": "string"
          },
          "deviceRef": {
            "nullable": true,
            "type": "string"
          },
          "durationModel": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "onwardSharingPermitted": {
            "type": "boolean"
          },
          "ownerId": {
            "format": "uuid",
            "type": "string"
          },
          "propagation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.DeviceRevocationPropagationDto"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "repairLoggedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "repairOutcome": {
            "nullable": true,
            "type": "string"
          },
          "repairSummaryRef": {
            "nullable": true,
            "type": "string"
          },
          "repairerDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "repairerOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "shareCode": {
            "nullable": true,
            "type": "string"
          },
          "shareCodeExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "shareCodeRotationSeconds": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "technicianAssignedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "warrantyAtCompletion": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.WarrantyStateSnapshotDto"
          },
          "warrantyAtGrant": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.WarrantyStateSnapshotDto"
          },
          "warrantyPreserved": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.RepairBundleItemDto": {
        "additionalProperties": false,
        "properties": {
          "itemRef": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.RepairBundleItemRequest": {
        "additionalProperties": false,
        "properties": {
          "itemRef": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.ReportDeviceRevocationPropagationRequest": {
        "additionalProperties": false,
        "properties": {
          "crlPublishedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "ocspConfirmedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.RevokeRepairAccessRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.WarrantyStateSnapshotDto": {
        "additionalProperties": false,
        "properties": {
          "capturedAt": {
            "format": "date-time",
            "type": "string"
          },
          "policySource": {
            "nullable": true,
            "type": "string"
          },
          "stance": {
            "nullable": true,
            "type": "string"
          },
          "stateDigest": {
            "nullable": true,
            "type": "string"
          },
          "warrantyEndsOn": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "warrantyRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepairAccess.WarrantyStateSnapshotRequest": {
        "additionalProperties": false,
        "properties": {
          "policySource": {
            "nullable": true,
            "type": "string"
          },
          "stance": {
            "nullable": true,
            "type": "string"
          },
          "stateDigest": {
            "nullable": true,
            "type": "string"
          },
          "warrantyEndsOn": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "warrantyRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationAccessDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "authorizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "authorizationReference": {
            "nullable": true,
            "type": "string"
          },
          "granted": {
            "type": "boolean"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationDto": {
        "additionalProperties": false,
        "properties": {
          "authorityKind": {
            "nullable": true,
            "type": "string"
          },
          "authorityName": {
            "nullable": true,
            "type": "string"
          },
          "authorizationReference": {
            "nullable": true,
            "type": "string"
          },
          "basisKind": {
            "nullable": true,
            "type": "string"
          },
          "basisRegistrationRef": {
            "nullable": true,
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "type": "string"
          },
          "endReason": {
            "nullable": true,
            "type": "string"
          },
          "endedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "inForce": {
            "type": "boolean"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "representativeRef": {
            "nullable": true,
            "type": "string"
          },
          "restrictions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "route": {
            "nullable": true,
            "type": "string"
          },
          "scopeRecordTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "sourceAuthorizationId": {
            "nullable": true,
            "type": "string"
          },
          "statedPurpose": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RevealProofStatusDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorHash": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revealId": {
            "format": "uuid",
            "type": "string"
          },
          "revealedAt": {
            "format": "date-time",
            "type": "string"
          },
          "stage": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealStage"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RevealGrantStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RevocationExposure.RevocationExposureBoardDto": {
        "additionalProperties": false,
        "properties": {
          "affectedVerifications": {
            "format": "int32",
            "type": "integer"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "maxDwellHours": {
            "format": "int32",
            "type": "integer"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RevocationExposure.RevocationExposureRowDto"
            },
            "nullable": true,
            "type": "array"
          },
          "totalLiveShares": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.RevocationExposure.RevocationExposureRowDto": {
        "additionalProperties": false,
        "properties": {
          "dwellBand": {
            "nullable": true,
            "type": "string"
          },
          "dwellHours": {
            "format": "int32",
            "type": "integer"
          },
          "liveShareCount": {
            "format": "int32",
            "type": "integer"
          },
          "verificationRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SelfSync.SelfSyncPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "approvalRequired": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "defaultCircles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "deviceClass": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "syncType": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceCategoryOptionDto": {
        "additionalProperties": false,
        "properties": {
          "advanceNoticeHours": {
            "format": "int32",
            "type": "integer"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "iataCode": {
            "nullable": true,
            "type": "string"
          },
          "isOffered": {
            "type": "boolean"
          },
          "requiresNote": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceDeletionReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "accessEnded": {
            "type": "boolean"
          },
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "carrierDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "deletionAttestationRef": {
            "nullable": true,
            "type": "string"
          },
          "deletionAttested": {
            "type": "boolean"
          },
          "deletionAttestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "flightDesignator": {
            "nullable": true,
            "type": "string"
          },
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "outcomeRecordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "timesRead": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceDeskAccessDto": {
        "additionalProperties": false,
        "properties": {
          "accessedAt": {
            "format": "date-time",
            "type": "string"
          },
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceNeedDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "allowDownload": {
            "type": "boolean"
          },
          "allowForward": {
            "type": "boolean"
          },
          "includesTravellerNote": {
            "type": "boolean"
          },
          "needEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "needWrappedKeyForDesk": {
            "nullable": true,
            "type": "string"
          },
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "remainingAccesses": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto": {
        "additionalProperties": false,
        "properties": {
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "accesses": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceDeskAccessDto"
            },
            "nullable": true,
            "type": "array"
          },
          "arrivalAirportIata": {
            "nullable": true,
            "type": "string"
          },
          "awaitingDeletionAttestation": {
            "type": "boolean"
          },
          "deletionAttested": {
            "type": "boolean"
          },
          "deletionAttestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "flightDesignator": {
            "nullable": true,
            "type": "string"
          },
          "includesTravellerNote": {
            "type": "boolean"
          },
          "isCrossBorder": {
            "type": "boolean"
          },
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "notifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "outcomeRecordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "recipientJurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "remainingAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "scheduledArrivalUtc": {
            "format": "date-time",
            "type": "string"
          },
          "scheduledDepartureUtc": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tripReference": {
            "nullable": true,
            "type": "string"
          },
          "unavailableReason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.CarrierAssistanceCatalogueDto": {
        "additionalProperties": false,
        "properties": {
          "carrierDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "carrierIataCode": {
            "nullable": true,
            "type": "string"
          },
          "carrierOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "lastConfiguredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "maxPostTripAccessGraceHours": {
            "format": "int32",
            "type": "integer"
          },
          "options": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceCategoryOptionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "postTripAccessGraceHours": {
            "format": "int32",
            "type": "integer"
          },
          "publishedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SpecialAssistance.SpecialAssistanceNotificationDto": {
        "additionalProperties": false,
        "properties": {
          "accessCount": {
            "format": "int32",
            "type": "integer"
          },
          "accessEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "accesses": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceDeskAccessDto"
            },
            "nullable": true,
            "type": "array"
          },
          "actualArrivalUtc": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "allowDownload": {
            "type": "boolean"
          },
          "allowForward": {
            "type": "boolean"
          },
          "arrivalAirportIata": {
            "nullable": true,
            "type": "string"
          },
          "article49TransferBasis": {
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "nullable": true,
            "type": "string"
          },
          "carrierDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "carrierOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "deletionAttestationRef": {
            "nullable": true,
            "type": "string"
          },
          "deletionAttested": {
            "type": "boolean"
          },
          "deletionAttestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "flightDesignator": {
            "nullable": true,
            "type": "string"
          },
          "includesTravellerNote": {
            "type": "boolean"
          },
          "isCrossBorder": {
            "type": "boolean"
          },
          "needEnvelopeRef": {
            "nullable": true,
            "type": "string"
          },
          "needWrappedKeyForTraveller": {
            "nullable": true,
            "type": "string"
          },
          "notificationId": {
            "format": "uuid",
            "type": "string"
          },
          "notifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "outcomeRecordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "postTripAccessGraceHours": {
            "format": "int32",
            "type": "integer"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientJurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "remainingAccesses": {
            "format": "int32",
            "type": "integer"
          },
          "scheduledArrivalUtc": {
            "format": "date-time",
            "type": "string"
          },
          "scheduledDepartureUtc": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tripReference": {
            "nullable": true,
            "type": "string"
          },
          "unavailableReason": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SubjectExportCategoryScopeDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "estimatedBytes": {
            "format": "int64",
            "type": "integer"
          },
          "recordCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SubjectExportEntryDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "data": {
            "additionalProperties": {},
            "nullable": true,
            "type": "object"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SubjectExportPageDto": {
        "additionalProperties": false,
        "properties": {
          "capturedAt": {
            "format": "date-time",
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SubjectExportEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "hasMore": {
            "type": "boolean"
          },
          "scopeNotice": {
            "nullable": true,
            "type": "string"
          },
          "skip": {
            "format": "int32",
            "type": "integer"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "take": {
            "format": "int32",
            "type": "integer"
          },
          "totalCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.SubjectExportScopeDto": {
        "additionalProperties": false,
        "properties": {
          "activeGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "categories": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SubjectExportCategoryScopeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "measuredAt": {
            "format": "date-time",
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.AccountlessWithdrawalReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchor": {
            "nullable": true,
            "type": "string"
          },
          "autoUpdateHalted": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "purgedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.AutoUpdateEventDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchor": {
            "nullable": true,
            "type": "string"
          },
          "consentValidatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "disclosedAt": {
            "format": "date-time",
            "type": "string"
          },
          "fieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.AutoUpdateEventListDto": {
        "additionalProperties": false,
        "properties": {
          "autoUpdateHalted": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "events": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.AutoUpdateEventDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.ConfirmInvitationOtpResponse": {
        "additionalProperties": false,
        "properties": {
          "bound": {
            "type": "boolean"
          },
          "identityBindingToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.InvitationRequestedFieldView": {
        "additionalProperties": false,
        "properties": {
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.InviteThirdPartyConsentResponse": {
        "additionalProperties": false,
        "properties": {
          "consent": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
          },
          "invitationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.PurgeReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchor": {
            "nullable": true,
            "type": "string"
          },
          "autoUpdateHalted": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "purgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "purgedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.RecordAutoUpdateDisclosureRequest": {
        "additionalProperties": false,
        "properties": {
          "fieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.RequestedFieldDto": {
        "additionalProperties": false,
        "properties": {
          "consented": {
            "nullable": true,
            "type": "boolean"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.RespondToInvitationResponse": {
        "additionalProperties": false,
        "properties": {
          "accepted": {
            "type": "boolean"
          },
          "consentedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "respondedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "thirdPartyConsentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.SubjectShareDto": {
        "additionalProperties": false,
        "properties": {
          "autoUpdateEvents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.AutoUpdateEventDto"
            },
            "nullable": true,
            "type": "array"
          },
          "autoUpdateHalted": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "invitationExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "invitedAt": {
            "format": "date-time",
            "type": "string"
          },
          "isContactAddressed": {
            "type": "boolean"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requestedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.SubjectSharesDto": {
        "additionalProperties": false,
        "properties": {
          "shares": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.SubjectShareDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto": {
        "additionalProperties": false,
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "consentedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dataSubjectDeceasedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "dataSubjectId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "dataSubjectNotified": {
            "type": "boolean"
          },
          "dataSubjectNotifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "dataSubjectObjected": {
            "type": "boolean"
          },
          "delegationType": {
            "nullable": true,
            "type": "string"
          },
          "delegationVerified": {
            "nullable": true,
            "type": "boolean"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invitationExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "invitedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requestedFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.RequestedFieldDto"
            },
            "nullable": true,
            "type": "array"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyInvitationView": {
        "additionalProperties": false,
        "properties": {
          "accountlessResponseEnabled": {
            "type": "boolean"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "delegationType": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "invitedAt": {
            "format": "date-time",
            "type": "string"
          },
          "invitedEmailMasked": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "requestedFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.InvitationRequestedFieldView"
            },
            "nullable": true,
            "type": "array"
          },
          "respondentRole": {
            "nullable": true,
            "type": "string"
          },
          "tokenReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto": {
        "additionalProperties": false,
        "properties": {
          "attestationRef": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "estimatedTurnaroundHours": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "failure": {
            "nullable": true,
            "type": "string"
          },
          "failureDetail": {
            "nullable": true,
            "type": "string"
          },
          "grantExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "indicativePriceMinor": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "originalDocumentRef": {
            "nullable": true,
            "type": "string"
          },
          "requesterId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sourceLanguage": {
            "nullable": true,
            "type": "string"
          },
          "stage": {
            "nullable": true,
            "type": "string"
          },
          "targetLanguage": {
            "nullable": true,
            "type": "string"
          },
          "translatedDocumentRef": {
            "nullable": true,
            "type": "string"
          },
          "translatorInvitationExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "translatorInvitationToken": {
            "nullable": true,
            "type": "string"
          },
          "translatorJoinedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "translatorRef": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "viewerRole": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.UpdateCommunicationsConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "channels": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ChannelPreferenceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dedupeToken": {
            "nullable": true,
            "type": "string"
          },
          "disclosureRef": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "sealAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "sealedConsent": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentGranularityDto": {
        "additionalProperties": false,
        "properties": {
          "claimCount": {
            "format": "int32",
            "type": "integer"
          },
          "disclosureRef": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "withdrawnCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentSyncResultDto": {
        "additionalProperties": false,
        "properties": {
          "alreadyRecorded": {
            "format": "int32",
            "type": "integer"
          },
          "received": {
            "format": "int32",
            "type": "integer"
          },
          "recorded": {
            "format": "int32",
            "type": "integer"
          },
          "records": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Merge.ConsentMergePlan": {
        "additionalProperties": false,
        "properties": {
          "allDispositionsTerminal": {
            "readOnly": true,
            "type": "boolean"
          },
          "carriedCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "droppedCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Merge.ConsentMergePlanEntry"
            },
            "nullable": true,
            "type": "array"
          },
          "executed": {
            "type": "boolean"
          },
          "lapsedCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "mergeSessionId": {
            "format": "uuid",
            "type": "string"
          },
          "mergedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "mode": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Merge.MergeRepointMode"
          },
          "reconfirmCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "reconfirmRequiredCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "repointedCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "retiredAccountId": {
            "format": "uuid",
            "type": "string"
          },
          "survivingAccountId": {
            "format": "uuid",
            "type": "string"
          },
          "suspendedCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "totalCount": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Merge.ConsentMergePlanEntry": {
        "additionalProperties": false,
        "properties": {
          "disposition": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Merge.MergeGrantDisposition"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "lapsedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Merge.MergeGrantOutcome"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "reconfirmationDueAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "regulated": {
            "type": "boolean"
          },
          "role": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Merge.MergeGrantRole"
          },
          "sharedDataLabel": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "suspendedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "thirdParty": {
            "format": "uuid",
            "type": "string"
          },
          "thirdPartyType": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.PartyType"
          },
          "timeInStateSeconds": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.ConsentHistory.GenerateComplianceReportQuery": {
        "additionalProperties": false,
        "properties": {
          "endDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "format": {
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "includeAccessHistory": {
            "type": "boolean"
          },
          "includeExpiredConsents": {
            "type": "boolean"
          },
          "includeRevokedConsents": {
            "type": "boolean"
          },
          "startDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.CounterpartyChanges.CounterpartyChangeDto": {
        "additionalProperties": false,
        "properties": {
          "authorisingEventTitle": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "corporateEventId": {
            "format": "uuid",
            "type": "string"
          },
          "grantLabel": {
            "nullable": true,
            "type": "string"
          },
          "newControllerName": {
            "nullable": true,
            "type": "string"
          },
          "newLawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "previousControllerName": {
            "nullable": true,
            "type": "string"
          },
          "schemeReference": {
            "nullable": true,
            "type": "string"
          },
          "transitionedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.DisclosureRecipients.DisclosureRecipientDto": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "currentlyActive": {
            "type": "boolean"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "partyId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "partyType": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "sourceIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.DisclosureRecipients.DisclosureRecipientsResult": {
        "additionalProperties": false,
        "properties": {
          "completeness": {
            "nullable": true,
            "type": "string"
          },
          "coveredScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "fieldKey": {
            "nullable": true,
            "type": "string"
          },
          "recipients": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.DisclosureRecipients.DisclosureRecipientDto"
            },
            "nullable": true,
            "type": "array"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "unreconciledChannels": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "unreconciledReasons": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.DisclosureRecipients.UnreconciledChannelDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.DisclosureRecipients.UnreconciledChannelDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.CloseoutSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "changeId": {
            "format": "uuid",
            "type": "string"
          },
          "completedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "pending": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "relyingPartiesNotified": {
            "format": "int32",
            "type": "integer"
          },
          "relyingPartiesTotal": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantRef": {
            "format": "uuid",
            "type": "string"
          },
          "deedPollDocumentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "openUrl": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.DisclosureTargetDto": {
        "additionalProperties": false,
        "properties": {
          "alreadyDisclosed": {
            "type": "boolean"
          },
          "onOldName": {
            "type": "boolean"
          },
          "relyingPartyId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.IntakeQueueMemberDto": {
        "additionalProperties": false,
        "properties": {
          "cascadeState": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeCascadeState"
          },
          "changeId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "decidedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "decision": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeDecision"
          },
          "deedPollDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "disclosedAt": {
            "format": "date-time",
            "type": "string"
          },
          "evidenceVisible": {
            "type": "boolean"
          },
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "memberId": {
            "format": "uuid",
            "type": "string"
          },
          "policyVersionInForce": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorId": {
            "nullable": true,
            "type": "string"
          },
          "auditAnchored": {
            "type": "boolean"
          },
          "canonicalPayload": {
            "nullable": true,
            "type": "string"
          },
          "decisionCount": {
            "format": "int32",
            "type": "integer"
          },
          "exportId": {
            "format": "uuid",
            "type": "string"
          },
          "exportedAt": {
            "format": "date-time",
            "type": "string"
          },
          "exportedBy": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "payloadDigest": {
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          },
          "signatureAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "signingKeyId": {
            "nullable": true,
            "type": "string"
          },
          "verification": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportVerificationDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchored": {
            "type": "boolean"
          },
          "decisionCount": {
            "format": "int32",
            "type": "integer"
          },
          "exportId": {
            "format": "uuid",
            "type": "string"
          },
          "exportedAt": {
            "format": "date-time",
            "type": "string"
          },
          "exportedBy": {
            "format": "uuid",
            "type": "string"
          },
          "orgId": {
            "format": "uuid",
            "type": "string"
          },
          "payloadDigest": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportVerificationDto": {
        "additionalProperties": false,
        "properties": {
          "digestMatches": {
            "type": "boolean"
          },
          "signatureValid": {
            "type": "boolean"
          },
          "verified": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.Permissions.ConsentPermissionDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fieldNames": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "level": {
            "nullable": true,
            "type": "string"
          },
          "permissionId": {
            "format": "uuid",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "schemaId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.QRCode.QRCodeVerificationResult": {
        "additionalProperties": false,
        "properties": {
          "canScan": {
            "type": "boolean"
          },
          "errorMessage": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          },
          "remainingScans": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.Queries.RepairAccess.RepairStaffAccessRowDto": {
        "additionalProperties": false,
        "properties": {
          "access": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessEventDto"
          },
          "deviceLabel": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "withinAuthority": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.StatusProjection.StatusProjectionConsentDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "hasActiveConsent": {
            "type": "boolean"
          },
          "projection": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Application.StatusProjection.StatusProjectionConsentDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "credentialIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "holderId": {
            "format": "uuid",
            "type": "string"
          },
          "projection": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requesterOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ActivateScopeOfAuthorityRequest": {
        "additionalProperties": false,
        "properties": {
          "evidenceRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ActivationComplianceSnapshotDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "attestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "auditAnchorReference": {
            "nullable": true,
            "type": "string"
          },
          "auditAnchored": {
            "type": "boolean"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "lifecycleEventOccurredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lifecycleEvidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          },
          "releasedScope": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "scopeAttestationVerified": {
            "type": "boolean"
          },
          "scopeDigest": {
            "nullable": true,
            "type": "string"
          },
          "scopeDigestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "scopeItemCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ActivationConditionDto": {
        "additionalProperties": false,
        "properties": {
          "evidenceRef": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "requiresEvidence": {
            "type": "boolean"
          },
          "satisfiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "satisfiedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AddGranteeRosterMemberRequest": {
        "additionalProperties": false,
        "properties": {
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AddPermissionRequest": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fieldNames": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "level": {
            "nullable": true,
            "type": "string"
          },
          "schemaId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgeAssuranceDto": {
        "additionalProperties": false,
        "properties": {
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "level": {
            "nullable": true,
            "type": "string"
          },
          "method": {
            "nullable": true,
            "type": "string"
          },
          "resultState": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentActivityEntryDto": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "actorKind": {
            "nullable": true,
            "type": "string"
          },
          "agentLabel": {
            "nullable": true,
            "type": "string"
          },
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "delegationId": {
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "documentType": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "performedAt": {
            "format": "date-time",
            "type": "string"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentActivityReportDto": {
        "additionalProperties": false,
        "properties": {
          "agentLabel": {
            "nullable": true,
            "type": "string"
          },
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "allowedCount": {
            "format": "int32",
            "type": "integer"
          },
          "deniedCount": {
            "format": "int32",
            "type": "integer"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentActivityEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "from": {
            "format": "date-time",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentDelegationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "to": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentCapabilityReferenceDto": {
        "additionalProperties": false,
        "properties": {
          "capabilityId": {
            "format": "uuid",
            "type": "string"
          },
          "delegationDepth": {
            "format": "int32",
            "type": "integer"
          },
          "holderKeyThumbprint": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentCapabilityRevocationResultDto": {
        "additionalProperties": false,
        "properties": {
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "allPrincipals": {
            "type": "boolean"
          },
          "capabilitiesRevoked": {
            "format": "int32",
            "type": "integer"
          },
          "revocationReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentDelegationDto": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "agentDelegateId": {
            "format": "uuid",
            "type": "string"
          },
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "automatedDecisionMaking": {
            "type": "boolean"
          },
          "automatedDecisionNote": {
            "nullable": true,
            "type": "string"
          },
          "documentTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "forceRevokedForIncidentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isActionable": {
            "type": "boolean"
          },
          "issuedCapability": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDto"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "liveCapabilityCount": {
            "format": "int32",
            "type": "integer"
          },
          "operatorRole": {
            "nullable": true,
            "type": "string"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentDelegationForceRevocationResultDto": {
        "additionalProperties": false,
        "properties": {
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "allPrincipals": {
            "type": "boolean"
          },
          "alreadyEnded": {
            "format": "int32",
            "type": "integer"
          },
          "complianceSnapshotIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "delegationsRevoked": {
            "format": "int32",
            "type": "integer"
          },
          "revocationReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AgentScopeTemplateDto": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "defaultDurationDays": {
            "format": "int32",
            "type": "integer"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "documentTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AmendSuccessionTermsRequest": {
        "additionalProperties": false,
        "properties": {
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "pricePerShareMinor": {
            "format": "int64",
            "type": "integer"
          },
          "shareClass": {
            "nullable": true,
            "type": "string"
          },
          "shareCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AnswerClosureTransferAskRequest": {
        "additionalProperties": false,
        "properties": {
          "answer": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AppendProtectionCaseProvenanceEntryRequest": {
        "additionalProperties": false,
        "properties": {
          "basisDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "confidence": {
            "nullable": true,
            "type": "string"
          },
          "event": {
            "nullable": true,
            "type": "string"
          },
          "evidencePath": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "recipientOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordCompleteness": {
            "nullable": true,
            "type": "string"
          },
          "reviewOutcome": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ApplyModuleSwitchConsentRescopeRequest": {
        "additionalProperties": false,
        "properties": {
          "decisions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeDecisionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "legalAttestation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeLegalAttestationDto"
          },
          "policy": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ApprovalChallengeResponse": {
        "additionalProperties": false,
        "properties": {
          "challenge": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ApproveConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "challenge": {
            "nullable": true,
            "type": "string"
          },
          "credentialPublicKeyJwk": {
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AssignDonorRegisterCaseRequest": {
        "additionalProperties": false,
        "properties": {
          "assigneeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AssignExecutorOfficerRequest": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "officerUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AssignOriginRecordsCaseRequest": {
        "additionalProperties": false,
        "properties": {
          "assigneeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AssuranceEstablishmentConsentDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.AttorneyVisibilityPreviewDto": {
        "additionalProperties": false,
        "properties": {
          "attorneyId": {
            "format": "uuid",
            "type": "string"
          },
          "donorId": {
            "format": "uuid",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "outOfScopeCategories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "staysPrivateFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeFieldDto"
            },
            "nullable": true,
            "type": "array"
          },
          "visibleFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeFieldDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BiometricProcessingConsentDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "noticeVersion": {
            "nullable": true,
            "type": "string"
          },
          "processorName": {
            "nullable": true,
            "type": "string"
          },
          "proofingSessionId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "retentionStatement": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BoundaryFieldDto": {
        "additionalProperties": false,
        "properties": {
          "accessStateNow": {
            "nullable": true,
            "type": "string"
          },
          "fieldName": {
            "nullable": true,
            "type": "string"
          },
          "guardianCouldSee": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BoundarySnapshotDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorRef": {
            "nullable": true,
            "type": "string"
          },
          "capturedAt": {
            "format": "date-time",
            "type": "string"
          },
          "contactCardId": {
            "format": "uuid",
            "type": "string"
          },
          "dataSubjectId": {
            "format": "uuid",
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BoundaryFieldDto"
            },
            "nullable": true,
            "type": "array"
          },
          "formerGuardianId": {
            "format": "uuid",
            "type": "string"
          },
          "snapshotId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BulkCreateDelegationsRequest": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDelegationRequest"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BulkReServeResultDto": {
        "additionalProperties": false,
        "properties": {
          "batchId": {
            "format": "uuid",
            "type": "string"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "locale": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "reServedCount": {
            "format": "int32",
            "type": "integer"
          },
          "totalConsents": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BulkRevokeDelegationsRequest": {
        "additionalProperties": false,
        "properties": {
          "delegateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegationIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BulkRevokePseudonymousConsentGrantsRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "subjectPseudonym": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.BulkRevokePseudonymousConsentGrantsResultDto": {
        "additionalProperties": false,
        "properties": {
          "revokedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revokedCount": {
            "format": "int32",
            "type": "integer"
          },
          "subjectPseudonym": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CapabilityPresentationDto": {
        "additionalProperties": false,
        "properties": {
          "capabilityId": {
            "format": "uuid",
            "type": "string"
          },
          "holderKeyThumbprint": {
            "nullable": true,
            "type": "string"
          },
          "presentation": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CapabilityRedemptionDto": {
        "additionalProperties": false,
        "properties": {
          "actionDigest": {
            "nullable": true,
            "type": "string"
          },
          "capabilityId": {
            "format": "uuid",
            "type": "string"
          },
          "exercisedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "operation": {
            "nullable": true,
            "type": "string"
          },
          "releasedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "remainingUses": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "replayed": {
            "type": "boolean"
          },
          "reservationExpiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "reservedAt": {
            "format": "date-time",
            "type": "string"
          },
          "rootAuthorityId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CapabilityStatusListDto": {
        "additionalProperties": false,
        "properties": {
          "freshnessSeconds": {
            "format": "int32",
            "type": "integer"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "statusList": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CareLinkValidationResultDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          },
          "linkDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CascadeVaultSplitConsentsRequest": {
        "additionalProperties": false,
        "properties": {
          "counterpartyId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ChildConsentRegisterDto": {
        "additionalProperties": false,
        "properties": {
          "childId": {
            "format": "uuid",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "releaseCount": {
            "format": "int32",
            "type": "integer"
          },
          "releases": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ChildRecordReleaseDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ChildRecordReleaseDto": {
        "additionalProperties": false,
        "properties": {
          "accessExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "authorityRule": {
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "childId": {
            "format": "uuid",
            "type": "string"
          },
          "courtNamedParentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "deniedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantors": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseGrantorDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "pendingApprovalId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scopeDescription": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ChildhoodConsentDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "provenanceLabel": {
            "nullable": true,
            "type": "string"
          },
          "recipient": {
            "nullable": true,
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAtIso": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ChildhoodConsentWithdrawResultDto": {
        "additionalProperties": false,
        "properties": {
          "auditRecordId": {
            "format": "uuid",
            "type": "string"
          },
          "withdrawnAtIso": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ClassifyImportContactRequest": {
        "additionalProperties": false,
        "properties": {
          "audience": {
            "nullable": true,
            "type": "string"
          },
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "processingBasisNote": {
            "nullable": true,
            "type": "string"
          },
          "tier": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ClosureTransferAskDto": {
        "additionalProperties": false,
        "properties": {
          "answeredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentGrantRef": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "recipientUserId": {
            "format": "uuid",
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "requesterUserId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ClosureTransferAskListDto": {
        "additionalProperties": false,
        "properties": {
          "asks": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferAskDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ClosureTransferConsentDto": {
        "additionalProperties": false,
        "properties": {
          "answeredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "closureId": {
            "format": "uuid",
            "type": "string"
          },
          "consentGrantRef": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "linkId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "recipientUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordedAtIso": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ClosureTransferConsentListDto": {
        "additionalProperties": false,
        "properties": {
          "consents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferConsentDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CoParentApprovalDto": {
        "additionalProperties": false,
        "properties": {
          "canUndo": {
            "type": "boolean"
          },
          "childId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "decidedByParentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "decisionReason": {
            "nullable": true,
            "type": "string"
          },
          "expectedApproverParentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "releaseId": {
            "format": "uuid",
            "type": "string"
          },
          "requestingParentId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "undoCount": {
            "format": "int32",
            "type": "integer"
          },
          "undoWindowExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "decisionId": {
            "format": "uuid",
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "grantorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "participantKey": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "withdrawalReason": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAtIso": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceListDto": {
        "additionalProperties": false,
        "properties": {
          "acceptances": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "decisionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionCapabilitiesDto": {
        "additionalProperties": false,
        "properties": {
          "digestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "purposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordType": {
            "nullable": true,
            "type": "string"
          },
          "supported": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "callerIsOrganiser": {
            "type": "boolean"
          },
          "decisionKey": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "myAcceptances": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "openedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "rollup": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionRollupDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionRollupDto": {
        "additionalProperties": false,
        "properties": {
          "acceptedParticipants": {
            "format": "int32",
            "type": "integer"
          },
          "asOfIso": {
            "nullable": true,
            "type": "string"
          },
          "digest": {
            "nullable": true,
            "type": "string"
          },
          "firstGrantedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "grantors": {
            "format": "int32",
            "type": "integer"
          },
          "lastGrantedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "liveGrants": {
            "format": "int32",
            "type": "integer"
          },
          "withdrawnParticipants": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDisclosedFieldDto": {
        "additionalProperties": false,
        "properties": {
          "assuranceLevel": {
            "nullable": true,
            "type": "string"
          },
          "disclosedAt": {
            "format": "date-time",
            "type": "string"
          },
          "disclosureId": {
            "format": "uuid",
            "type": "string"
          },
          "disclosureStatus": {
            "nullable": true,
            "type": "string"
          },
          "fieldKey": {
            "nullable": true,
            "type": "string"
          },
          "firstOpenedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDto": {
        "additionalProperties": false,
        "properties": {
          "anonymizedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "nullable": true,
            "type": "string"
          },
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "disclosedFields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDisclosedFieldDto"
            },
            "nullable": true,
            "type": "array"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "framework": {
            "nullable": true,
            "type": "string"
          },
          "isAnonymized": {
            "type": "boolean"
          },
          "mustRetainUntil": {
            "format": "date-time",
            "type": "string"
          },
          "snapshotId": {
            "format": "uuid",
            "type": "string"
          },
          "trigger": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentAccessReportDto": {
        "additionalProperties": false,
        "properties": {
          "accessCount": {
            "format": "int32",
            "type": "integer"
          },
          "accesses": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentGrantAccessDto"
            },
            "nullable": true,
            "type": "array"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "distinctAccessorCount": {
            "format": "int32",
            "type": "integer"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "maxAccessCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "recipientLawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "recipientLawfulBasisDeclaredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rosterGated": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentAccessRequestDto": {
        "additionalProperties": false,
        "properties": {
          "accessRequestId": {
            "format": "uuid",
            "type": "string"
          },
          "approvalExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "consumedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "requesterId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentCredentialDescriptorDto": {
        "additionalProperties": false,
        "properties": {
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentDelegatedAgencyDto": {
        "additionalProperties": false,
        "properties": {
          "accessLevel": {
            "nullable": true,
            "type": "string"
          },
          "engagementReference": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "filingPeriodId": {
            "nullable": true,
            "type": "string"
          },
          "roleId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentDocumentIssuanceEvidenceDto": {
        "additionalProperties": false,
        "properties": {
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "hasSourceImage": {
            "type": "boolean"
          },
          "isUserAttested": {
            "type": "boolean"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuerKeyFingerprint": {
            "nullable": true,
            "type": "string"
          },
          "issuerOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          },
          "signatureAlgorithm": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentGrantAccessDto": {
        "additionalProperties": false,
        "properties": {
          "accessedAt": {
            "format": "date-time",
            "type": "string"
          },
          "accessorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "rosterId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentGrantDto": {
        "additionalProperties": false,
        "properties": {
          "accessCount": {
            "format": "int32",
            "type": "integer"
          },
          "actingUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "cadence": {
            "nullable": true,
            "type": "string"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "complianceSnapshotId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "credentialDescriptor": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentCredentialDescriptorDto"
          },
          "credentialRevocation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SharedCredentialRevocationDto"
          },
          "dataCategory": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantType": {
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorType": {
            "nullable": true,
            "type": "string"
          },
          "isRegulatedData": {
            "type": "boolean"
          },
          "issuanceEvidence": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentDocumentIssuanceEvidenceDto"
          },
          "lastAccessedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legalHold": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LegalHoldDetailDto"
          },
          "maxAccessCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "organizationName": {
            "nullable": true,
            "type": "string"
          },
          "policy": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentPolicyDto"
          },
          "principalOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "receiptContext": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentReceiptContextDto"
          },
          "remainingAccessCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "requiredFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sensitivity": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "sharedBlobReference": {
            "nullable": true,
            "type": "string"
          },
          "sharedCredentialId": {
            "nullable": true,
            "type": "string"
          },
          "sharedFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supersedesConsentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "terminalComplianceSnapshotId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentGrantValidationResultDto": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantSubjectId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantSubjectType": {
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "isReportingOnlyPurpose": {
            "type": "boolean"
          },
          "isValid": {
            "type": "boolean"
          },
          "purposeLimitationDenied": {
            "type": "boolean"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentLawfulBasisDto": {
        "additionalProperties": false,
        "properties": {
          "article6Basis": {
            "nullable": true,
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "retentionDaysAfterEnd": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentModifiedResponse": {
        "additionalProperties": false,
        "properties": {
          "changeType": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentNoticeReServeDto": {
        "additionalProperties": false,
        "properties": {
          "batchId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "fromLocale": {
            "nullable": true,
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isAwaitingReAffirmation": {
            "type": "boolean"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "reAffirmedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reServedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reserveAuditRef": {
            "nullable": true,
            "type": "string"
          },
          "toLocale": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "allowDownload": {
            "type": "boolean"
          },
          "allowForward": {
            "type": "boolean"
          },
          "allowPrint": {
            "type": "boolean"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "maxAccessCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "requiresApproval": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentPresentationReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "nullable": true,
            "type": "string"
          },
          "keyId": {
            "nullable": true,
            "type": "string"
          },
          "presentationId": {
            "format": "uuid",
            "type": "string"
          },
          "receipt": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentProvenanceDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "exposedDataFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantorDisplayName": {
            "nullable": true,
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "recipientLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentReceiptContextDto": {
        "additionalProperties": false,
        "properties": {
          "filingType": {
            "nullable": true,
            "type": "string"
          },
          "identityAssurance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentReceiptIdentityAssuranceDto"
          },
          "journeySlug": {
            "nullable": true,
            "type": "string"
          },
          "publicDisclosureAcknowledged": {
            "type": "boolean"
          },
          "publicFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "anchoringState": {
            "nullable": true,
            "type": "string"
          },
          "anchoringStatement": {
            "nullable": true,
            "type": "string"
          },
          "cadence": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantorType": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasisJustification": {
            "nullable": true,
            "type": "string"
          },
          "presentationReceipts": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentPresentationReceiptDto"
            },
            "nullable": true,
            "type": "array"
          },
          "principalOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "receiptId": {
            "nullable": true,
            "type": "string"
          },
          "retentionDaysAfterEnd": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "revocable": {
            "type": "boolean"
          },
          "revoked": {
            "type": "boolean"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "sharedByLabel": {
            "nullable": true,
            "type": "string"
          },
          "specialCategoryCondition": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorDisclosure": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentReceiptSubProcessorDisclosureDto"
          },
          "withdrawalEffect": {
            "nullable": true,
            "type": "string"
          },
          "withdrawalEffectStatement": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentReceiptIdentityAssuranceDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorReference": {
            "nullable": true,
            "type": "string"
          },
          "level": {
            "nullable": true,
            "type": "string"
          },
          "plainStatement": {
            "nullable": true,
            "type": "string"
          },
          "provenance": {
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "stale": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentReceiptSubProcessorDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorDigest": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorDigestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorListAsOf": {
            "format": "date-time",
            "type": "string"
          },
          "subProcessorListVersion": {
            "format": "int32",
            "type": "integer"
          },
          "subprocessorChangePolicy": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentRosterRoutingDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "declaredAt": {
            "format": "date-time",
            "type": "string"
          },
          "declaredByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "rosterId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentSharingKeyDto": {
        "additionalProperties": false,
        "properties": {
          "authTagBase64": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "nonceBase64": {
            "nullable": true,
            "type": "string"
          },
          "sharedBlobReference": {
            "nullable": true,
            "type": "string"
          },
          "wrappedSharingKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentSpecialCategoryBasisDto": {
        "additionalProperties": false,
        "properties": {
          "affirmationStatement": {
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "nullable": true,
            "type": "string"
          },
          "purposeLimitation": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ConsentSubProcessorDisclosureDto": {
        "additionalProperties": false,
        "properties": {
          "appId": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorDigest": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorDigestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "subProcessorListAsOf": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "subProcessorListVersion": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "subprocessorChangePolicy": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ContactChangeGrantImpactDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "impact": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ContactChangeImpactDto": {
        "additionalProperties": false,
        "properties": {
          "affectedGrants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ContactChangeGrantImpactDto"
            },
            "nullable": true,
            "type": "array"
          },
          "assessedAt": {
            "format": "date-time",
            "type": "string"
          },
          "changeId": {
            "format": "uuid",
            "type": "string"
          },
          "committedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reviewRecommendedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CreateAgentDelegationRequest": {
        "additionalProperties": false,
        "properties": {
          "actions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "agentDelegateId": {
            "format": "uuid",
            "type": "string"
          },
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "automatedDecisionMaking": {
            "type": "boolean"
          },
          "automatedDecisionNote": {
            "nullable": true,
            "type": "string"
          },
          "capabilityMaxUses": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "disclosureCeiling": {
            "nullable": true,
            "type": "string"
          },
          "documentTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "holderPublicJwk": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "operatorRole": {
            "nullable": true,
            "type": "string"
          },
          "reviewDueAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "templateKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CreateDelegationRequest": {
        "additionalProperties": false,
        "properties": {
          "delegateId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "reviewDueAt": {
            "format": "date-time",
            "type": "string"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationScopeDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CreateDriverCredentialStatusShareRequest": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CreateOrgActOnBehalfGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "agentOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "effectiveFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "sourceReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CreateScopeOfAuthorityRequest": {
        "additionalProperties": false,
        "properties": {
          "attorneyId": {
            "format": "uuid",
            "type": "string"
          },
          "attorneyRole": {
            "nullable": true,
            "type": "string"
          },
          "authorityExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "categories": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeCategoryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeFieldDto"
            },
            "nullable": true,
            "type": "array"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CreateSupervisionControlTemplateRequest": {
        "additionalProperties": false,
        "properties": {
          "changeNote": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "majorityAge": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organisationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "thresholds": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionGraduationThresholdDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactDto": {
        "additionalProperties": false,
        "properties": {
          "recipients": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactRecipientDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactRecipientDto": {
        "additionalProperties": false,
        "properties": {
          "credentialIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientLabel": {
            "nullable": true,
            "type": "string"
          },
          "recipientType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CustodianGrantDto": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "format": "date-time",
            "type": "string"
          },
          "custodianOrgId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "extensionCount": {
            "format": "int32",
            "type": "integer"
          },
          "externalReference": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeUserId": {
            "format": "uuid",
            "type": "string"
          },
          "lastExtendedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "provisionedAt": {
            "format": "date-time",
            "type": "string"
          },
          "provisionedBy": {
            "format": "uuid",
            "type": "string"
          },
          "recordDomains": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revocationReasonCode": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.CustodianGrantListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CustodianGrantDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DecideCoParentApprovalRequest": {
        "additionalProperties": false,
        "properties": {
          "approve": {
            "type": "boolean"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DecideGuardianGrantedConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DeclareSharedCredentialRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "nullable": true,
            "type": "string"
          },
          "issuerOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DeferredGrantRegisterDto": {
        "additionalProperties": false,
        "properties": {
          "activatedCount": {
            "format": "int32",
            "type": "integer"
          },
          "dormantCount": {
            "format": "int32",
            "type": "integer"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DeferredGrantSummaryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "revokedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DeferredGrantSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "dashboardState": {
            "nullable": true,
            "type": "string"
          },
          "isDormant": {
            "type": "boolean"
          },
          "itemCount": {
            "format": "int32",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "preAuthorisedAt": {
            "format": "date-time",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          },
          "revealedItemCount": {
            "format": "int32",
            "type": "integer"
          },
          "revocable": {
            "type": "boolean"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "triggerCondition": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDetailDto": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDto"
          },
          "chain": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "redemptions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityRedemptionDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDto": {
        "additionalProperties": false,
        "properties": {
          "capabilityToken": {
            "nullable": true,
            "type": "string"
          },
          "credentialTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "delegateAgentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegateRef": {
            "nullable": true,
            "type": "string"
          },
          "delegationDepth": {
            "format": "int32",
            "type": "integer"
          },
          "disclosureCeiling": {
            "nullable": true,
            "type": "string"
          },
          "disclosureCeilingDescription": {
            "nullable": true,
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "holderKeyThumbprint": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isLive": {
            "type": "boolean"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuers": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "maxDepth": {
            "format": "int32",
            "type": "integer"
          },
          "maxUses": {
            "format": "int32",
            "type": "integer"
          },
          "operations": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "parentId": {
            "format": "uuid",
            "type": "string"
          },
          "parentKind": {
            "nullable": true,
            "type": "string"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "purposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "redemptionCount": {
            "format": "int32",
            "type": "integer"
          },
          "resources": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rootAuthorityId": {
            "format": "uuid",
            "type": "string"
          },
          "rootAuthorityKind": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationActionDto": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "nullable": true,
            "type": "string"
          },
          "delegateId": {
            "format": "uuid",
            "type": "string"
          },
          "delegationId": {
            "format": "uuid",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "performedAt": {
            "format": "date-time",
            "type": "string"
          },
          "surface": {
            "nullable": true,
            "type": "string"
          },
          "targetRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationBulkRevocationDto": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationBulkRevocationLineDto"
            },
            "nullable": true,
            "type": "array"
          },
          "operatorId": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "performedAt": {
            "format": "date-time",
            "type": "string"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestedCount": {
            "format": "int32",
            "type": "integer"
          },
          "revokedCount": {
            "format": "int32",
            "type": "integer"
          },
          "targetDelegateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationBulkRevocationLineDto": {
        "additionalProperties": false,
        "properties": {
          "closureRecord": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationClosureRecordDto"
          },
          "delegateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegationId": {
            "format": "uuid",
            "type": "string"
          },
          "result": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationCandidateDto": {
        "additionalProperties": false,
        "properties": {
          "delegateId": {
            "format": "uuid",
            "type": "string"
          },
          "delegationCount": {
            "format": "int32",
            "type": "integer"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "lastDelegatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationClosureRecordDto": {
        "additionalProperties": false,
        "properties": {
          "actionCount": {
            "format": "int32",
            "type": "integer"
          },
          "cachePurgeStatus": {
            "nullable": true,
            "type": "string"
          },
          "delegateId": {
            "format": "uuid",
            "type": "string"
          },
          "delegationId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationScopeDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationCollectionDto": {
        "additionalProperties": false,
        "properties": {
          "collectionRef": {
            "nullable": true,
            "type": "string"
          },
          "surface": {
            "nullable": true,
            "type": "string"
          },
          "usedInDelegations": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationDto": {
        "additionalProperties": false,
        "properties": {
          "cachePurgeStatus": {
            "nullable": true,
            "type": "string"
          },
          "delegateId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isActionable": {
            "type": "boolean"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "lastReconfirmedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "reconfirmCount": {
            "format": "int32",
            "type": "integer"
          },
          "reviewDueAt": {
            "format": "date-time",
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationScopeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationScopeDto": {
        "additionalProperties": false,
        "properties": {
          "capabilities": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "collectionRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "surface": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationTemplateDto": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationScopeDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DelegationValidationResultDto": {
        "additionalProperties": false,
        "properties": {
          "delegateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          },
          "principalId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "reviewDueAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DenyConsentAccessRequestRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DenyConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DonorCaseSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "assigneeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "assigneeName": {
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "donorRef": {
            "nullable": true,
            "type": "string"
          },
          "eraKey": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "lodgedAt": {
            "format": "date-time",
            "type": "string"
          },
          "regimeId": {
            "nullable": true,
            "type": "string"
          },
          "requested": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "requesterRef": {
            "nullable": true,
            "type": "string"
          },
          "reviewWeeks": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorReviewWeeksDto"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "stateChangedAt": {
            "format": "date-time",
            "type": "string"
          },
          "wantsSupportFirst": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DonorDisclosurePreferenceDto": {
        "additionalProperties": false,
        "properties": {
          "donorRef": {
            "nullable": true,
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "type": "string"
          },
          "effectiveTo": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isStatutoryReRegistration": {
            "type": "boolean"
          },
          "preferenceId": {
            "format": "uuid",
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "statutoryReRegistrationRef": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DonorReviewWeeksDto": {
        "additionalProperties": false,
        "properties": {
          "max": {
            "format": "int32",
            "type": "integer"
          },
          "min": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DonorWithholdingRequest": {
        "additionalProperties": false,
        "properties": {
          "groundCode": {
            "nullable": true,
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "plainReason": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          },
          "what": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.DriverCredentialStatusShareDto": {
        "additionalProperties": false,
        "properties": {
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "driverSubjectId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantRef": {
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "revocationBlockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.EndVehicleLeaseRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.EstablishRelianceRequest": {
        "additionalProperties": false,
        "properties": {
          "validUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "verificationId": {
            "nullable": true,
            "type": "string"
          },
          "verificationType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExecuteRingEnforcementRequest": {
        "additionalProperties": false,
        "properties": {
          "decidedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "enforcementDecisionId": {
            "format": "uuid",
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "ringId": {
            "format": "uuid",
            "type": "string"
          },
          "subjects": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementSubjectRequestDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExecutorAppointmentCaseDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "appointedAt": {
            "format": "date-time",
            "type": "string"
          },
          "assignedOfficerUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "clientId": {
            "format": "uuid",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "itemCount": {
            "format": "int32",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          },
          "revealedItemCount": {
            "format": "int32",
            "type": "integer"
          },
          "scopeWithheldWhileDormant": {
            "type": "boolean"
          },
          "stage": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExecutorAppointmentCaseloadDto": {
        "additionalProperties": false,
        "properties": {
          "awaitingOfficerCount": {
            "format": "int32",
            "type": "integer"
          },
          "cases": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecutorAppointmentCaseDto"
            },
            "nullable": true,
            "type": "array"
          },
          "dormantCount": {
            "format": "int32",
            "type": "integer"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "triggeredCount": {
            "format": "int32",
            "type": "integer"
          },
          "withdrawnCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExecutorBequestDonorGroupDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "donorId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExecutorBequestDto": {
        "additionalProperties": false,
        "properties": {
          "donors": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecutorBequestDonorGroupDto"
            },
            "nullable": true,
            "type": "array"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExecutorOfficerAccessDto": {
        "additionalProperties": false,
        "properties": {
          "actingOfficerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "actingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "action": {
            "nullable": true,
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "entryHash": {
            "nullable": true,
            "type": "string"
          },
          "itemId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "previousEntryHash": {
            "nullable": true,
            "type": "string"
          },
          "previousOfficerUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "rosterAttested": {
            "type": "boolean"
          },
          "sequence": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExerciseCapabilityRedemptionRequest": {
        "additionalProperties": false,
        "properties": {
          "actionDigest": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExtendCustodianGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "custodianOrgId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "externalReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ExtendVehicleLeaseRequest": {
        "additionalProperties": false,
        "properties": {
          "endsAtIso": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.FieldVisibilityGrantDto": {
        "additionalProperties": false,
        "properties": {
          "contactRef": {
            "nullable": true,
            "type": "string"
          },
          "field": {
            "nullable": true,
            "type": "string"
          },
          "groupLabel": {
            "nullable": true,
            "type": "string"
          },
          "householdId": {
            "nullable": true,
            "type": "string"
          },
          "memberRef": {
            "nullable": true,
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.FileVisitorConsentRecordRequest": {
        "additionalProperties": false,
        "properties": {
          "choices": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentChoicesDto"
          },
          "decidedVia": {
            "nullable": true,
            "type": "string"
          },
          "deviceAccessRule": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "notice": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentNoticeDto"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "nullable": true,
            "type": "string"
          },
          "regime": {
            "nullable": true,
            "type": "string"
          },
          "regimeIsGdprLawfulBasis": {
            "nullable": true,
            "type": "boolean"
          },
          "regimeSource": {
            "nullable": true,
            "type": "string"
          },
          "schema": {
            "nullable": true,
            "type": "string"
          },
          "subject": {
            "nullable": true,
            "type": "string"
          },
          "supersedesRecordId": {
            "nullable": true,
            "type": "string"
          },
          "symmetry": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentSymmetryDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ForceRevokeAgentDelegationsRequest": {
        "additionalProperties": false,
        "properties": {
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "incidentId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.FrameModuleSwitchConsentRescopeRequest": {
        "additionalProperties": false,
        "properties": {
          "incumbentGrants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeIncumbentGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "policy": {
            "nullable": true,
            "type": "string"
          },
          "sourceModuleId": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "targetModuleId": {
            "nullable": true,
            "type": "string"
          },
          "targetRequests": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeTargetRequestDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GivePurposeScopedGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "subjectReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GiveScamEvidenceDisclosureGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "claimReference": {
            "nullable": true,
            "type": "string"
          },
          "evidenceItemIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "receivingBankOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sendingBankOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GraduationThresholdDto": {
        "additionalProperties": false,
        "properties": {
          "ageYears": {
            "format": "int32",
            "type": "integer"
          },
          "capabilityUnlocked": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GrantCollectiveAcceptanceRequest": {
        "additionalProperties": false,
        "properties": {
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "participantKey": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "authTagBase64": {
            "nullable": true,
            "type": "string"
          },
          "cadence": {
            "nullable": true,
            "type": "string"
          },
          "complianceFramework": {
            "nullable": true,
            "type": "string"
          },
          "delegatedAgency": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentDelegatedAgencyDto"
          },
          "disclosedFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "explicitlySpecialCategoryFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantAsOrganisation": {
            "type": "boolean"
          },
          "grantRequestId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantType": {
            "nullable": true,
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "isRegulatedData": {
            "type": "boolean"
          },
          "issuanceEvidence": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentDocumentIssuanceEvidenceDto"
          },
          "lawfulBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentLawfulBasisDto"
          },
          "nonceBase64": {
            "nullable": true,
            "type": "string"
          },
          "policy": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentPolicyDto"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "receiptContext": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentReceiptContextDto"
          },
          "requiredFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "resumedInFlightActionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sharedBlobReference": {
            "nullable": true,
            "type": "string"
          },
          "specialCategoryBasis": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentSpecialCategoryBasisDto"
          },
          "subProcessorDisclosure": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentSubProcessorDisclosureDto"
          },
          "supersedesConsentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "wrappedSharingKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GrantConsentResponse": {
        "additionalProperties": false,
        "properties": {
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "complianceSnapshotId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GrantGuardianConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "ageAssurance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgeAssuranceDto"
          },
          "ageOfMajorityYears": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "childAgeYears": {
            "format": "int32",
            "type": "integer"
          },
          "childId": {
            "format": "uuid",
            "type": "string"
          },
          "graduationSchedule": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GraduationThresholdDto"
            },
            "nullable": true,
            "type": "array"
          },
          "jurisdictionCode": {
            "nullable": true,
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentProvenanceDto"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "scopeDescription": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GrantSecretDelegationRequest": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "holderId": {
            "format": "uuid",
            "type": "string"
          },
          "holderKind": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "secretId": {
            "format": "uuid",
            "type": "string"
          },
          "secretVersion": {
            "format": "int32",
            "type": "integer"
          },
          "wrappedSecretRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GrantVehicleLeaseRequest": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "deviceId": {
            "nullable": true,
            "type": "string"
          },
          "endsAtIso": {
            "nullable": true,
            "type": "string"
          },
          "operatorName": {
            "nullable": true,
            "type": "string"
          },
          "startsAtIso": {
            "nullable": true,
            "type": "string"
          },
          "vehicleLabel": {
            "nullable": true,
            "type": "string"
          },
          "windowUnit": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto": {
        "additionalProperties": false,
        "properties": {
          "activeMemberCount": {
            "format": "int32",
            "type": "integer"
          },
          "closedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "closedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterMemberDto"
            },
            "nullable": true,
            "type": "array"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "openedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GranteeRosterListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GranteeRosterMemberDto": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "addedAt": {
            "format": "date-time",
            "type": "string"
          },
          "addedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "removedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GuardianConsentDto": {
        "additionalProperties": false,
        "properties": {
          "ageAssurance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgeAssuranceDto"
          },
          "ageOfMajorityYears": {
            "format": "int32",
            "type": "integer"
          },
          "childAgeYears": {
            "format": "int32",
            "type": "integer"
          },
          "childId": {
            "format": "uuid",
            "type": "string"
          },
          "graduationSchedule": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GraduationThresholdDto"
            },
            "nullable": true,
            "type": "array"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "guardianId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdictionCode": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "majorityReachedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "projectedMajorityAt": {
            "format": "date-time",
            "type": "string"
          },
          "provenance": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentProvenanceDto"
          },
          "provenanceLabel": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "reconsentDecidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scopeDescription": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GuardianGrantedConsentDecisionResultDto": {
        "additionalProperties": false,
        "properties": {
          "auditRecordId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAtIso": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.GuardianGrantedConsentDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantedAtIso": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedByGuardianName": {
            "nullable": true,
            "type": "string"
          },
          "purposePlain": {
            "nullable": true,
            "type": "string"
          },
          "recipient": {
            "nullable": true,
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "urgent": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HandoverExecutorOfficerRequest": {
        "additionalProperties": false,
        "properties": {
          "fromOfficerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "toOfficerUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HolderDocumentStandingDto": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HolderDocumentVersionDto"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "latest": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HolderLatestAnswerDto"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HolderDocumentVersionDto": {
        "additionalProperties": false,
        "properties": {
          "href": {
            "nullable": true,
            "type": "string"
          },
          "sha256": {
            "nullable": true,
            "type": "string"
          },
          "text": {
            "nullable": true,
            "type": "string"
          },
          "textStatus": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HolderLatestAnswerDto": {
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "trigger": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HolderUnderstandingStatusDto": {
        "additionalProperties": false,
        "properties": {
          "documents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HolderDocumentStandingDto"
            },
            "nullable": true,
            "type": "array"
          },
          "mode": {
            "nullable": true,
            "type": "string"
          },
          "reconfirmBy": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "satisfied": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HouseholdConsentLogDto": {
        "additionalProperties": false,
        "properties": {
          "householdId": {
            "nullable": true,
            "type": "string"
          },
          "records": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IntraHouseholdConsentRecordDto"
            },
            "nullable": true,
            "type": "array"
          },
          "total": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.HouseholdMemberRevocationResultDto": {
        "additionalProperties": false,
        "properties": {
          "consentLogRecordId": {
            "nullable": true,
            "type": "string"
          },
          "guarantee": {
            "nullable": true,
            "type": "string"
          },
          "householdId": {
            "nullable": true,
            "type": "string"
          },
          "memberRef": {
            "nullable": true,
            "type": "string"
          },
          "purgeRequested": {
            "type": "boolean"
          },
          "replayed": {
            "type": "boolean"
          },
          "revokedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "revokedGrantCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ImportClassificationLedgerDto": {
        "additionalProperties": false,
        "properties": {
          "contacts": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ImportContactClassificationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "importId": {
            "format": "uuid",
            "type": "string"
          },
          "ownerId": {
            "format": "uuid",
            "type": "string"
          },
          "shareableCount": {
            "format": "int32",
            "type": "integer"
          },
          "totalClassified": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ImportContactClassificationDto": {
        "additionalProperties": false,
        "properties": {
          "audience": {
            "nullable": true,
            "type": "string"
          },
          "contactId": {
            "format": "uuid",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "importId": {
            "format": "uuid",
            "type": "string"
          },
          "ownerId": {
            "format": "uuid",
            "type": "string"
          },
          "processingBasisNote": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedReason": {
            "nullable": true,
            "type": "string"
          },
          "shareable": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tier": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.InjectionConsentValidationResultDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requesterId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "targetUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.IntraHouseholdConsentRecordDto": {
        "additionalProperties": false,
        "properties": {
          "granteeRef": {
            "nullable": true,
            "type": "string"
          },
          "grantorRef": {
            "nullable": true,
            "type": "string"
          },
          "householdId": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "occurredAtIso": {
            "nullable": true,
            "type": "string"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "scopeSummary": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.IssueChildCapabilityRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "delegateAgentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegateRef": {
            "nullable": true,
            "type": "string"
          },
          "disclosureCeiling": {
            "nullable": true,
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "holderPublicJwk": {
            "nullable": true,
            "type": "string"
          },
          "issuers": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "maxDepth": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "maxUses": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "operations": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "purposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "resources": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.IssueDelegatedCapabilityRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "delegateAgentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "delegateRef": {
            "nullable": true,
            "type": "string"
          },
          "disclosureCeiling": {
            "nullable": true,
            "type": "string"
          },
          "fields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "holderPublicJwk": {
            "nullable": true,
            "type": "string"
          },
          "issuers": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "maxDepth": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "maxUses": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "operations": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "parentId": {
            "format": "uuid",
            "type": "string"
          },
          "parentKind": {
            "nullable": true,
            "type": "string"
          },
          "purposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "resources": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.IssueOrganisationDisclosureGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "documentRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "externalReference": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientName": {
            "nullable": true,
            "type": "string"
          },
          "recipientRef": {
            "nullable": true,
            "type": "string"
          },
          "scopeDigest": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.IssueSelfExclusionCredentialRequest": {
        "additionalProperties": false,
        "properties": {
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.LeasePurgeReportDto": {
        "additionalProperties": false,
        "properties": {
          "accessRevokedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "attestation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehiclePurgeAttestationDto"
          },
          "auditAnchorId": {
            "nullable": true,
            "type": "string"
          },
          "deviceId": {
            "nullable": true,
            "type": "string"
          },
          "edgeErasedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "leaseId": {
            "format": "uuid",
            "type": "string"
          },
          "outcomes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurgeCategoryOutcomeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "vehicleLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.LegalHoldDetailDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "holdId": {
            "format": "uuid",
            "type": "string"
          },
          "owner": {
            "nullable": true,
            "type": "string"
          },
          "placedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.LodgeDonorRegisterCaseRequest": {
        "additionalProperties": false,
        "properties": {
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "donorRef": {
            "nullable": true,
            "type": "string"
          },
          "eraKey": {
            "nullable": true,
            "type": "string"
          },
          "identityProven": {
            "type": "boolean"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "regimeId": {
            "nullable": true,
            "type": "string"
          },
          "requested": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "requesterRef": {
            "nullable": true,
            "type": "string"
          },
          "reviewWeeks": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorReviewWeeksDto"
          },
          "wantsSupportFirst": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsApplicationRequest": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "agencyOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "evidenceConfirmed": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "items": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "regimeKey": {
            "nullable": true,
            "type": "string"
          },
          "requiresIntermediary": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsCaseRequest": {
        "additionalProperties": false,
        "properties": {
          "applicantRef": {
            "nullable": true,
            "type": "string"
          },
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "citableExemptions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCitableExemptionRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "identityProven": {
            "type": "boolean"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "regimeKey": {
            "nullable": true,
            "type": "string"
          },
          "requestedItems": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsRequestedItemRequest"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.MajorityReconsentRequest": {
        "additionalProperties": false,
        "properties": {
          "keep": {
            "type": "boolean"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.MakeRetainedAttestationRequest": {
        "additionalProperties": false,
        "properties": {
          "attestationType": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceReference": {
            "nullable": true,
            "type": "string"
          },
          "statementDigest": {
            "nullable": true,
            "type": "string"
          },
          "statementTemplate": {
            "nullable": true,
            "type": "string"
          },
          "supersedesId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.MinorConfidentialBreakGlassDto": {
        "additionalProperties": false,
        "properties": {
          "explanation": {
            "nullable": true,
            "type": "string"
          },
          "includedInSummary": {
            "type": "boolean"
          },
          "suppressedRecipients": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.MinorConfidentialConsentConfirmationDto": {
        "additionalProperties": false,
        "properties": {
          "breakGlass": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MinorConfidentialBreakGlassDto"
          },
          "categoryLabel": {
            "nullable": true,
            "type": "string"
          },
          "confirmedAt": {
            "format": "date-time",
            "type": "string"
          },
          "consentGrantRef": {
            "format": "uuid",
            "type": "string"
          },
          "created": {
            "type": "boolean"
          },
          "excludedGuardians": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MinorConfidentialExcludedGuardianDto"
            },
            "nullable": true,
            "type": "array"
          },
          "noNotificationSent": {
            "type": "boolean"
          },
          "recordRef": {
            "format": "uuid",
            "type": "string"
          },
          "statusMessage": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.MinorConfidentialExcludedGuardianDto": {
        "additionalProperties": false,
        "properties": {
          "displayLabel": {
            "nullable": true,
            "type": "string"
          },
          "guardianActorId": {
            "format": "uuid",
            "type": "string"
          },
          "proxyRole": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ModuleSwitchConsentRescopeDto": {
        "additionalProperties": false,
        "properties": {
          "application": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeApplicationDto"
          },
          "decisions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeDecisionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "framedAt": {
            "format": "date-time",
            "type": "string"
          },
          "incumbentGrants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeIncumbentGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "policy": {
            "nullable": true,
            "type": "string"
          },
          "sourceModuleId": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "switchId": {
            "format": "uuid",
            "type": "string"
          },
          "targetModuleId": {
            "nullable": true,
            "type": "string"
          },
          "targetRequests": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeTargetRequestDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ModuleSwitchEnvelopeOfEssence.Consent.Core.Contracts.DTOs.ModuleSwitchConsentRescopeDto": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ModuleSwitchConsentRescopeDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.MyLocaleAssessmentDto": {
        "additionalProperties": false,
        "properties": {
          "assessedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentNoticeReServeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "posture": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReServePostureDto"
          },
          "reAffirmationRequiredCount": {
            "format": "int32",
            "type": "integer"
          },
          "reServedCount": {
            "format": "int32",
            "type": "integer"
          },
          "reserveAuditRef": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "toLocale": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.NoticeCohortDto": {
        "additionalProperties": false,
        "properties": {
          "awaitingReAffirmationCount": {
            "format": "int32",
            "type": "integer"
          },
          "consentCount": {
            "format": "int32",
            "type": "integer"
          },
          "locale": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.NoticeCohortsDto": {
        "additionalProperties": false,
        "properties": {
          "cohorts": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.NoticeCohortDto"
            },
            "nullable": true,
            "type": "array"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "reServeMode": {
            "nullable": true,
            "type": "string"
          },
          "totalConsents": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OfficerAttributionExportDto": {
        "additionalProperties": false,
        "properties": {
          "activationEventReference": {
            "nullable": true,
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "chainHeadHash": {
            "nullable": true,
            "type": "string"
          },
          "chainIntact": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "donorId": {
            "format": "uuid",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecutorOfficerAccessDto"
            },
            "nullable": true,
            "type": "array"
          },
          "firstBrokenSequence": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          },
          "rosterBacked": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OpenCollectiveDecisionRequest": {
        "additionalProperties": false,
        "properties": {
          "decisionKey": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OpenGranteeRosterRequest": {
        "additionalProperties": false,
        "properties": {
          "reference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OpenSelfExclusionPresentationRequest": {
        "additionalProperties": false,
        "properties": {
          "exclusionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OpenSuccessionApprovalRequest": {
        "additionalProperties": false,
        "properties": {
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "companyId": {
            "format": "uuid",
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "deceasedShareholderId": {
            "format": "uuid",
            "type": "string"
          },
          "parties": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalPartyRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "pricePerShareMinor": {
            "format": "int64",
            "type": "integer"
          },
          "shareClass": {
            "nullable": true,
            "type": "string"
          },
          "shareCount": {
            "format": "int64",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfAuthorizationDto": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "authorised": {
            "type": "boolean"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "capability": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantDto": {
        "additionalProperties": false,
        "properties": {
          "acceptedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "agentOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "capabilities": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "effectiveFrom": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "principalOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requiresAgentAcceptance": {
            "type": "boolean"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedByOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sourceReference": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantListDto": {
        "additionalProperties": false,
        "properties": {
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantResultDto": {
        "additionalProperties": false,
        "properties": {
          "changed": {
            "type": "boolean"
          },
          "grant": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgExecutorCaseDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "activationOccurredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "assignedOfficerUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "awaitingOfficerAssignment": {
            "type": "boolean"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "donorId": {
            "format": "uuid",
            "type": "string"
          },
          "itemCount": {
            "format": "int32",
            "type": "integer"
          },
          "officerChainLength": {
            "format": "int32",
            "type": "integer"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          },
          "releaseTierBlockedReason": {
            "nullable": true,
            "type": "string"
          },
          "releaseTierSatisfied": {
            "type": "boolean"
          },
          "revealedItemCount": {
            "format": "int32",
            "type": "integer"
          },
          "rosterBacked": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgExecutorCaseloadDto": {
        "additionalProperties": false,
        "properties": {
          "cases": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgExecutorCaseDto"
            },
            "nullable": true,
            "type": "array"
          },
          "officerRosterAvailable": {
            "type": "boolean"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "tierBlockedCount": {
            "format": "int32",
            "type": "integer"
          },
          "unassignedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrgNoticeLocalePolicyDto": {
        "additionalProperties": false,
        "properties": {
          "highRiskPurposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "lastSetBy": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "reServeMode": {
            "nullable": true,
            "type": "string"
          },
          "supportedLocales": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureAccessEventDto": {
        "additionalProperties": false,
        "properties": {
          "accessedAt": {
            "format": "date-time",
            "type": "string"
          },
          "action": {
            "nullable": true,
            "type": "string"
          },
          "documentRef": {
            "nullable": true,
            "type": "string"
          },
          "eventId": {
            "format": "uuid",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "inspectorRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureAccessEventListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureAccessEventDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantCapabilitiesDto": {
        "additionalProperties": false,
        "properties": {
          "accessActions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "maxDocumentRefs": {
            "format": "int32",
            "type": "integer"
          },
          "maxValidityDays": {
            "format": "int32",
            "type": "integer"
          },
          "purposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordType": {
            "nullable": true,
            "type": "string"
          },
          "revocationReasons": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "supported": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantDto": {
        "additionalProperties": false,
        "properties": {
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "documentRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "externalGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "externalReference": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientName": {
            "nullable": true,
            "type": "string"
          },
          "recipientRef": {
            "nullable": true,
            "type": "string"
          },
          "revocationBlockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "revocationReasonCode": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "scopeDigest": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationGrantDto": {
        "additionalProperties": false,
        "properties": {
          "actingUserId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeType": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "principalOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "reassigned": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "stewardUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OrganisationGrantStewardReassignedDto": {
        "additionalProperties": false,
        "properties": {
          "grant": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationGrantDto"
          },
          "previousStewardUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsApplicationViewDto": {
        "additionalProperties": false,
        "properties": {
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "items": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "lodgedAt": {
            "format": "date-time",
            "type": "string"
          },
          "notifyOnDecision": {
            "type": "boolean"
          },
          "regime": {
            "nullable": true
          },
          "requiresIntermediary": {
            "type": "boolean"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "stateEnteredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsCapabilitiesDto": {
        "additionalProperties": false,
        "properties": {
          "canonicalPayloadVersion": {
            "format": "int32",
            "type": "integer"
          },
          "dispositions": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBases": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "maxRequestedItems": {
            "format": "int32",
            "type": "integer"
          },
          "preferenceScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "preferenceStates": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "refusalCodes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "supported": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsCaseDto": {
        "additionalProperties": false,
        "properties": {
          "applicantRef": {
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "citableExemptions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCitableExemptionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "gatedSubjectRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "identityProven": {
            "type": "boolean"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "lodgedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "regimeKey": {
            "nullable": true,
            "type": "string"
          },
          "requestedItems": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsRequestedItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "stateEnteredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsCaseSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "applicantRef": {
            "nullable": true,
            "type": "string"
          },
          "assigneeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "assigneeName": {
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "identityProven": {
            "type": "boolean"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "lodgedAt": {
            "format": "date-time",
            "type": "string"
          },
          "regimeId": {
            "nullable": true,
            "type": "string"
          },
          "requestedItems": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsRequestedItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "stateEnteredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsCitableExemptionDto": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "nullable": true,
            "type": "string"
          },
          "justificationRequired": {
            "type": "boolean"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsCitableExemptionRequest": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "nullable": true,
            "type": "string"
          },
          "justificationRequired": {
            "type": "boolean"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsItemDeterminationDto": {
        "additionalProperties": false,
        "properties": {
          "disposition": {
            "nullable": true,
            "type": "string"
          },
          "exemptionCode": {
            "nullable": true,
            "type": "string"
          },
          "itemId": {
            "nullable": true,
            "type": "string"
          },
          "justificationDigest": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsItemDeterminationRequest": {
        "additionalProperties": false,
        "properties": {
          "disposition": {
            "nullable": true,
            "type": "string"
          },
          "exemptionCode": {
            "nullable": true,
            "type": "string"
          },
          "itemId": {
            "nullable": true,
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsRequestedItemDto": {
        "additionalProperties": false,
        "properties": {
          "intermediaryGated": {
            "type": "boolean"
          },
          "itemId": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "relatedSubjectRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsRequestedItemRequest": {
        "additionalProperties": false,
        "properties": {
          "intermediaryGated": {
            "type": "boolean"
          },
          "itemId": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "relatedSubjectRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsVetoCheckDto": {
        "additionalProperties": false,
        "properties": {
          "checkedAt": {
            "format": "date-time",
            "type": "string"
          },
          "overrideJustificationDigest": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.OriginRecordsVetoCheckRequest": {
        "additionalProperties": false,
        "properties": {
          "overrideJustification": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ParentAccessConsentScopeRequest": {
        "additionalProperties": false,
        "properties": {
          "parentOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "subsidiaryOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ParentAccessConsentScopeResultDto": {
        "additionalProperties": false,
        "properties": {
          "checkedAt": {
            "format": "date-time",
            "type": "string"
          },
          "subjectsConsentingToParent": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PlaceScopeOfAuthorityOnStandbyRequest": {
        "additionalProperties": false,
        "properties": {
          "conditionKind": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PreAuthoriseReleaseOnDeathConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "authorityEvidenceRef": {
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "issuingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PrincipalGrantCountDto": {
        "additionalProperties": false,
        "properties": {
          "activeBundleCount": {
            "format": "int32",
            "type": "integer"
          },
          "activeGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "principalId": {
            "format": "uuid",
            "type": "string"
          },
          "revocableTotal": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ProcessingConsentDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "noticeVersion": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recordType": {
            "nullable": true,
            "type": "string"
          },
          "sourceId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceKind": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ProgrammeGrantDto": {
        "additionalProperties": false,
        "properties": {
          "basis": {
            "nullable": true,
            "type": "string"
          },
          "endReason": {
            "nullable": true,
            "type": "string"
          },
          "endedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "isConsent": {
            "type": "boolean"
          },
          "memberOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "memberType": {
            "nullable": true,
            "type": "string"
          },
          "programmeId": {
            "format": "uuid",
            "type": "string"
          },
          "programmeMemberId": {
            "format": "uuid",
            "type": "string"
          },
          "relation": {
            "nullable": true,
            "type": "string"
          },
          "requirementCodes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "sponsorOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ProgrammeGrantListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProgrammeGrantDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ProtectionCaseProvenanceEntryDto": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "actorRole": {
            "nullable": true,
            "type": "string"
          },
          "auditAnchor": {
            "nullable": true,
            "type": "string"
          },
          "basis": {
            "nullable": true,
            "type": "string"
          },
          "basisDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "nullable": true,
            "type": "string"
          },
          "confidence": {
            "nullable": true,
            "type": "string"
          },
          "entryDigest": {
            "nullable": true,
            "type": "string"
          },
          "entryId": {
            "format": "uuid",
            "type": "string"
          },
          "event": {
            "nullable": true,
            "type": "string"
          },
          "evidencePath": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "previousDigest": {
            "nullable": true,
            "type": "string"
          },
          "recipientOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordCompleteness": {
            "nullable": true,
            "type": "string"
          },
          "reviewOutcome": {
            "nullable": true,
            "type": "string"
          },
          "sequence": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ProvisionCustodianGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "custodianOrgId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "externalReference": {
            "nullable": true,
            "type": "string"
          },
          "granteeUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "recordDomains": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ProvisionPseudonymousConsentGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fieldScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "granteeAlias": {
            "nullable": true,
            "type": "string"
          },
          "granteeUserId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "sourceRef": {
            "nullable": true,
            "type": "string"
          },
          "subjectPseudonym": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "fieldScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeAlias": {
            "nullable": true,
            "type": "string"
          },
          "granteeUserId": {
            "format": "uuid",
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "provisionedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "sourceRef": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectPseudonym": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PublishCredentialDescriptorRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PurgeCategoryOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "erasedAtIso": {
            "nullable": true,
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "holdReference": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PurposeConsentCheckRequest": {
        "additionalProperties": false,
        "properties": {
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "subjectIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PurposeConsentCheckResultDto": {
        "additionalProperties": false,
        "properties": {
          "checkedAt": {
            "format": "date-time",
            "type": "string"
          },
          "consentingSubjectIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "excludedCount": {
            "format": "int32",
            "type": "integer"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requestedCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantCapabilitiesDto": {
        "additionalProperties": false,
        "properties": {
          "maxValidityDays": {
            "format": "int32",
            "type": "integer"
          },
          "purposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordType": {
            "nullable": true,
            "type": "string"
          },
          "supported": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantDto": {
        "additionalProperties": false,
        "properties": {
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "granteeOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "revocationBlockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.QRCodeSessionDto": {
        "additionalProperties": false,
        "properties": {
          "completedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dataExchanged": {
            "type": "boolean"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantorPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "qrCodeShareId": {
            "format": "uuid",
            "type": "string"
          },
          "scannerPublicKey": {
            "nullable": true,
            "type": "string"
          },
          "scannerUserId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.QRCodeSessionStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "customMessage": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isOneTimeUse": {
            "type": "boolean"
          },
          "lastScannedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lastScannedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "maxScans": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "qrCodeImageData": {
            "nullable": true,
            "type": "string"
          },
          "requireAuthentication": {
            "type": "boolean"
          },
          "scanCount": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.QRCodeStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReServePostureDto": {
        "additionalProperties": false,
        "properties": {
          "mode": {
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReactivateConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReassignOrganisationGrantStewardRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RebroadcastSelfExclusionBroadcastRequest": {
        "additionalProperties": false,
        "properties": {
          "operatorId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecheckPurgeCategoryRequest": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecipientRedactionPreviewDto": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "field": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RedactionPreviewOutcome"
          },
          "reason": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.RedactionPreviewReason"
          },
          "reasonDescription": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReconfirmDelegationRequest": {
        "additionalProperties": false,
        "properties": {
          "nextReviewDueAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordAssuranceEstablishmentConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "templateVersion": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "purpose",
          "templateVersion"
        ],
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordBiometricProcessingConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "noticeVersion": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "processorName": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "proofingSessionId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "retentionStatement": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "noticeVersion",
          "processorName",
          "proofingSessionId",
          "purpose",
          "retentionStatement"
        ],
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordClosureTransferConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "consentGrantRef": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "recipientUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "recordedAtIso": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordDelegationActionRequest": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "surface": {
            "nullable": true,
            "type": "string"
          },
          "targetRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordDonorDeterminationRequest": {
        "additionalProperties": false,
        "properties": {
          "caseId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "eraKey": {
            "nullable": true,
            "type": "string"
          },
          "laterObjectionHandling": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "preferenceAbsent": {
            "type": "boolean"
          },
          "preferenceCheckedAt": {
            "nullable": true,
            "type": "string"
          },
          "preferenceVersion": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "reasoning": {
            "nullable": true,
            "type": "string"
          },
          "regimeId": {
            "nullable": true,
            "type": "string"
          },
          "statuteRef": {
            "nullable": true,
            "type": "string"
          },
          "withholdings": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorWithholdingRequest"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordDonorDisclosurePreferenceRequest": {
        "additionalProperties": false,
        "properties": {
          "donorRef": {
            "nullable": true,
            "type": "string"
          },
          "effectiveFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "effectiveTo": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isStatutoryReRegistration": {
            "type": "boolean"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "statutoryReRegistrationRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordHolderAnswerRequest": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "locale": {
            "nullable": true,
            "type": "string"
          },
          "moment": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "sha256": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordMinorConfidentialConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "recordRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordOrganisationDisclosureAccessRequest": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "documentRef": {
            "nullable": true,
            "type": "string"
          },
          "inspectorRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordOriginRecordsDeterminationRequest": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsItemDeterminationRequest"
            },
            "nullable": true,
            "type": "array"
          },
          "noteToApplicant": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "vetoChecks": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsVetoCheckRequest"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordProcessingConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "noticeVersion": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "purpose": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "sourceId": {
            "format": "uuid",
            "type": "string"
          },
          "sourceKind": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "category",
          "noticeVersion",
          "purpose",
          "sourceId",
          "sourceKind"
        ],
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordRelianceRevokedRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordRevocationReviewDecisionRequest": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "revocationRef": {
            "nullable": true,
            "type": "string"
          },
          "snoozeUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordStatutoryDisclosureTransitionRequest": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "courtOrderRef": {
            "nullable": true,
            "type": "string"
          },
          "firstServedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "fromState": {
            "nullable": true,
            "type": "string"
          },
          "issueNumber": {
            "format": "int32",
            "type": "integer"
          },
          "itemCount": {
            "format": "int32",
            "type": "integer"
          },
          "matterId": {
            "nullable": true,
            "type": "string"
          },
          "requestId": {
            "nullable": true,
            "type": "string"
          },
          "scheduleId": {
            "nullable": true,
            "type": "string"
          },
          "toState": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RecordVehiclePurgeReportRequest": {
        "additionalProperties": false,
        "properties": {
          "attestation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehiclePurgeAttestationRequest"
          },
          "auditAnchorId": {
            "nullable": true,
            "type": "string"
          },
          "deviceId": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "leaseId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "outcomes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehiclePurgeOutcomeRequest"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RedeemCapabilityRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "fieldNames": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "issuerRef": {
            "nullable": true,
            "type": "string"
          },
          "operation": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientRef": {
            "nullable": true,
            "type": "string"
          },
          "resourceRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RegisterSelfExclusionBroadcastRequest": {
        "additionalProperties": false,
        "properties": {
          "electedTermDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "operators": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorRef"
            },
            "nullable": true,
            "type": "array"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "subjectMatchToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReleaseCapabilityRedemptionRequest": {
        "additionalProperties": false,
        "properties": {
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "evidenceSource": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReleaseGrantorDto": {
        "additionalProperties": false,
        "properties": {
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "parentId": {
            "format": "uuid",
            "type": "string"
          },
          "signedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "activationEventReference": {
            "nullable": true,
            "type": "string"
          },
          "activationOccurredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "assignedOfficerUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "authorityEvidenceRef": {
            "nullable": true,
            "type": "string"
          },
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "isOrganisationRecipient": {
            "type": "boolean"
          },
          "issuingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "officerAccessChain": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecutorOfficerAccessDto"
            },
            "nullable": true,
            "type": "array"
          },
          "preAuthorisedAt": {
            "format": "date-time",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "recipientKind": {
            "nullable": true,
            "type": "string"
          },
          "releaseTier": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemDto": {
        "additionalProperties": false,
        "properties": {
          "itemId": {
            "format": "uuid",
            "type": "string"
          },
          "itemKey": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "revealedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReleaseScopeItemRequest": {
        "additionalProperties": false,
        "properties": {
          "itemKey": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RelianceRevocationResultDto": {
        "additionalProperties": false,
        "properties": {
          "applied": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RelianceViewDto": {
        "additionalProperties": false,
        "properties": {
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "failedClosed": {
            "type": "boolean"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "isValid": {
            "type": "boolean"
          },
          "lapsedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "relianceStatus": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "verificationId": {
            "nullable": true,
            "type": "string"
          },
          "verificationType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RenameSupervisionControlTemplateRequest": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RenewSelfExclusionBroadcastRequest": {
        "additionalProperties": false,
        "properties": {
          "additionalDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RequestChildRecordReleaseRequest": {
        "additionalProperties": false,
        "properties": {
          "accessExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "authorityBasis": {
            "nullable": true,
            "type": "string"
          },
          "authorityRule": {
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "childId": {
            "format": "uuid",
            "type": "string"
          },
          "courtNamedParentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expectedApproverParentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientId": {
            "format": "uuid",
            "type": "string"
          },
          "scopeDescription": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RequestLegalHoldReleaseRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RescopeApplicationDto": {
        "additionalProperties": false,
        "properties": {
          "applicationNumber": {
            "format": "int32",
            "type": "integer"
          },
          "appliedAt": {
            "format": "date-time",
            "type": "string"
          },
          "appliedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "blockers": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "complete": {
            "type": "boolean"
          },
          "dispositions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeDispositionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "legalAttestation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RescopeLegalAttestationDto"
          },
          "policy": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RescopeDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "confirmedBy": {
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "granted": {
            "type": "boolean"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RescopeDispositionDto": {
        "additionalProperties": false,
        "properties": {
          "confirmedBy": {
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "disposition": {
            "nullable": true,
            "type": "string"
          },
          "equivalent": {
            "type": "boolean"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "newPurpose": {
            "nullable": true,
            "type": "string"
          },
          "oldPurpose": {
            "nullable": true,
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "scopeLabel": {
            "nullable": true,
            "type": "string"
          },
          "subjectNotificationRequired": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RescopeIncumbentGrantDto": {
        "additionalProperties": false,
        "properties": {
          "grantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legalBasis": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "scopeLabel": {
            "nullable": true,
            "type": "string"
          },
          "subjectRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RescopeLegalAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "nullable": true,
            "type": "string"
          },
          "basis": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RescopeTargetRequestDto": {
        "additionalProperties": false,
        "properties": {
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "scopeLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ResealSharedContentRequest": {
        "additionalProperties": false,
        "properties": {
          "authTagBase64": {
            "nullable": true,
            "type": "string"
          },
          "documentVersion": {
            "format": "int32",
            "type": "integer"
          },
          "nonceBase64": {
            "nullable": true,
            "type": "string"
          },
          "sharedBlobReference": {
            "nullable": true,
            "type": "string"
          },
          "wrappedSharingKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RetainedAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "attestationType": {
            "nullable": true,
            "type": "string"
          },
          "attestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "attesterUserId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "revocable": {
            "type": "boolean"
          },
          "sourceReference": {
            "nullable": true,
            "type": "string"
          },
          "statementDigest": {
            "nullable": true,
            "type": "string"
          },
          "statementTemplate": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supersededAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "supersededById": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "supersedesId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "withdrawalReason": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RetainedAttestationInForceDto": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "attestationId": {
            "format": "uuid",
            "type": "string"
          },
          "inForce": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RetainedAttestationListDto": {
        "additionalProperties": false,
        "properties": {
          "attestations": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RetainedAttestationResultDto": {
        "additionalProperties": false,
        "properties": {
          "attestation": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationDto"
          },
          "changed": {
            "type": "boolean"
          },
          "superseded": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReverseRingEnforcementSubjectRequest": {
        "additionalProperties": false,
        "properties": {
          "appealId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reversedByUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ReviseSupervisionControlTemplateRequest": {
        "additionalProperties": false,
        "properties": {
          "changeNote": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "majorityAge": {
            "format": "int32",
            "type": "integer"
          },
          "thresholds": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionGraduationThresholdDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevocationReviewDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "format": "date-time",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "decidedBy": {
            "format": "uuid",
            "type": "string"
          },
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "decisionId": {
            "format": "uuid",
            "type": "string"
          },
          "firstDecidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "requiresDecision": {
            "type": "boolean"
          },
          "revisionCount": {
            "format": "int32",
            "type": "integer"
          },
          "revocationRef": {
            "nullable": true,
            "type": "string"
          },
          "snoozeUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevocationReviewDecisionListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevocationReviewDecisionDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeAgentAuthorityRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeAgentAuthorityResultDto": {
        "additionalProperties": false,
        "properties": {
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "alreadyEnded": {
            "format": "int32",
            "type": "integer"
          },
          "capabilitiesRevoked": {
            "format": "int32",
            "type": "integer"
          },
          "delegationsRevoked": {
            "format": "int32",
            "type": "integer"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeCapabilitiesForAgentRequest": {
        "additionalProperties": false,
        "properties": {
          "agentReference": {
            "nullable": true,
            "type": "string"
          },
          "incidentId": {
            "format": "uuid",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeCustodianGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "custodianOrgId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "externalReference": {
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeDelegatedCapabilityRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeDelegatedCapabilityResultDto": {
        "additionalProperties": false,
        "properties": {
          "capabilityId": {
            "format": "uuid",
            "type": "string"
          },
          "descendantsRevoked": {
            "format": "int32",
            "type": "integer"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeDelegationRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeDepartingHouseholdMemberRequest": {
        "additionalProperties": false,
        "properties": {
          "actorRef": {
            "nullable": true,
            "type": "string"
          },
          "departureId": {
            "nullable": true,
            "type": "string"
          },
          "guarantee": {
            "nullable": true,
            "type": "string"
          },
          "managedDeviceRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeExecutorOfficerRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeHouseholdMemberRequest": {
        "additionalProperties": false,
        "properties": {
          "guarantee": {
            "nullable": true,
            "type": "string"
          },
          "managedDeviceRefs": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeImportContactClassificationRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeOrgActOnBehalfGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeOrganisationDisclosureGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "externalReference": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokePseudonymousConsentGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokePurposeScopedGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeReleaseOnDeathConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeScamEvidenceDisclosureGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RevokeScopeOfAuthorityRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RewrapSharingKeyRequest": {
        "additionalProperties": false,
        "properties": {
          "wrappedSharingKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RingEnforcementDto": {
        "additionalProperties": false,
        "properties": {
          "decidedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "enforcementDecisionId": {
            "format": "uuid",
            "type": "string"
          },
          "enforcementId": {
            "format": "uuid",
            "type": "string"
          },
          "executedByPrincipal": {
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "receivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "replayed": {
            "type": "boolean"
          },
          "ringId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjects": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementSubjectDto"
            },
            "nullable": true,
            "type": "array"
          },
          "totals": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementTotalsDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RingEnforcementGrantDto": {
        "additionalProperties": false,
        "properties": {
          "actedAt": {
            "format": "date-time",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "priorStatus": {
            "nullable": true,
            "type": "string"
          },
          "restoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RingEnforcementSubjectDto": {
        "additionalProperties": false,
        "properties": {
          "enforcementActionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "failureDetail": {
            "nullable": true,
            "type": "string"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "processedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "reversalAppealId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reversedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reversedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RingEnforcementSubjectRequestDto": {
        "additionalProperties": false,
        "properties": {
          "enforcementActionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "subjectUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RingEnforcementTotalsDto": {
        "additionalProperties": false,
        "properties": {
          "grantsFailed": {
            "format": "int32",
            "type": "integer"
          },
          "grantsNotRestorable": {
            "format": "int32",
            "type": "integer"
          },
          "grantsRestored": {
            "format": "int32",
            "type": "integer"
          },
          "grantsSuspended": {
            "format": "int32",
            "type": "integer"
          },
          "subjects": {
            "format": "int32",
            "type": "integer"
          },
          "subjectsCompleted": {
            "format": "int32",
            "type": "integer"
          },
          "subjectsFailed": {
            "format": "int32",
            "type": "integer"
          },
          "subjectsPartiallyFailed": {
            "format": "int32",
            "type": "integer"
          },
          "subjectsPending": {
            "format": "int32",
            "type": "integer"
          },
          "subjectsReversed": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RotateDelegatedSecretRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "reshares": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SecretReshareTarget"
            },
            "nullable": true,
            "type": "array"
          },
          "secretId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RotateDelegatedSecretResultDto": {
        "additionalProperties": false,
        "properties": {
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SecretDelegationGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "newVersion": {
            "format": "int32",
            "type": "integer"
          },
          "reSharedCount": {
            "format": "int32",
            "type": "integer"
          },
          "retiredVersion": {
            "format": "int32",
            "type": "integer"
          },
          "revokedCount": {
            "format": "int32",
            "type": "integer"
          },
          "secretId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto": {
        "additionalProperties": false,
        "properties": {
          "allDispositioned": {
            "type": "boolean"
          },
          "dispositions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationGrantDispositionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "legalHoldExceptionCount": {
            "format": "int32",
            "type": "integer"
          },
          "newKeyGeneration": {
            "nullable": true,
            "type": "string"
          },
          "oldKeyGeneration": {
            "nullable": true,
            "type": "string"
          },
          "pendingReviewCount": {
            "format": "int32",
            "type": "integer"
          },
          "reconciledAt": {
            "format": "date-time",
            "type": "string"
          },
          "revokedCount": {
            "format": "int32",
            "type": "integer"
          },
          "rotationCompletedAt": {
            "format": "date-time",
            "type": "string"
          },
          "rotationSessionId": {
            "format": "uuid",
            "type": "string"
          },
          "totalGrants": {
            "format": "int32",
            "type": "integer"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RotationGrantDispositionDto": {
        "additionalProperties": false,
        "properties": {
          "grantCreatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantStatus": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentStatus"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.Rotation.RotationGrantDispositionOutcome"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.RouteConsentToGranteeRosterRequest": {
        "additionalProperties": false,
        "properties": {
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "rosterId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScamClaimConsentStateDto": {
        "additionalProperties": false,
        "properties": {
          "activeGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "activeRecipients": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "asOf": {
            "format": "date-time",
            "type": "string"
          },
          "claimReference": {
            "nullable": true,
            "type": "string"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScamEvidenceAccessDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "allowed": {
            "type": "boolean"
          },
          "asOf": {
            "format": "date-time",
            "type": "string"
          },
          "claimReference": {
            "nullable": true,
            "type": "string"
          },
          "evidenceItemId": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "recipientRole": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantCapabilitiesDto": {
        "additionalProperties": false,
        "properties": {
          "maxEvidenceItems": {
            "format": "int32",
            "type": "integer"
          },
          "maxValidityDays": {
            "format": "int32",
            "type": "integer"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "recordType": {
            "nullable": true,
            "type": "string"
          },
          "supported": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantDto": {
        "additionalProperties": false,
        "properties": {
          "blockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "claimReference": {
            "nullable": true,
            "type": "string"
          },
          "evidenceItemIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "recipientOrganisations": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureRecipientDto"
            },
            "nullable": true,
            "type": "array"
          },
          "recipients": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "revocationBlockchainTransactionId": {
            "nullable": true,
            "type": "string"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "viewerRole": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantListDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureRecipientDto": {
        "additionalProperties": false,
        "properties": {
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScopeAuthorityDto": {
        "additionalProperties": false,
        "properties": {
          "authorityReference": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isVerified": {
            "type": "boolean"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScopeCategoryDto": {
        "additionalProperties": false,
        "properties": {
          "categoryKey": {
            "nullable": true,
            "type": "string"
          },
          "displayLabel": {
            "nullable": true,
            "type": "string"
          },
          "inScope": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScopeFieldDto": {
        "additionalProperties": false,
        "properties": {
          "categoryKey": {
            "nullable": true,
            "type": "string"
          },
          "displayLabel": {
            "nullable": true,
            "type": "string"
          },
          "fieldRef": {
            "nullable": true,
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto": {
        "additionalProperties": false,
        "properties": {
          "accessState": {
            "nullable": true,
            "type": "string"
          },
          "activationCondition": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ActivationConditionDto"
          },
          "attorneyId": {
            "format": "uuid",
            "type": "string"
          },
          "attorneyRole": {
            "nullable": true,
            "type": "string"
          },
          "authority": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeAuthorityDto"
          },
          "categories": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeCategoryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "createdAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "delegationType": {
            "nullable": true,
            "type": "string"
          },
          "donorId": {
            "format": "uuid",
            "type": "string"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeFieldDto"
            },
            "nullable": true,
            "type": "array"
          },
          "grantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isEffective": {
            "type": "boolean"
          },
          "revocationReason": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "standbyAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "visibleFieldCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SecretDelegationGrantDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "holderId": {
            "format": "uuid",
            "type": "string"
          },
          "holderKind": {
            "nullable": true,
            "type": "string"
          },
          "ownerId": {
            "format": "uuid",
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedReason": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "secretId": {
            "format": "uuid",
            "type": "string"
          },
          "secretVersion": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SecretDelegationHolderTableDto": {
        "additionalProperties": false,
        "properties": {
          "currentVersion": {
            "format": "int32",
            "type": "integer"
          },
          "grants": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SecretDelegationGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "ownerId": {
            "format": "uuid",
            "type": "string"
          },
          "secretId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SecretReshareTarget": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "holderId": {
            "format": "uuid",
            "type": "string"
          },
          "holderKind": {
            "nullable": true,
            "type": "string"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "wrappedSecretRef": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionAuditEntryDto": {
        "additionalProperties": false,
        "properties": {
          "anchored": {
            "type": "boolean"
          },
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "fieldsReleased": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "timestamp": {
            "format": "date-time",
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionAuditTrailDto": {
        "additionalProperties": false,
        "properties": {
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionAuditEntryDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastAssuranceDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedCount": {
            "format": "int32",
            "type": "integer"
          },
          "activeBroadcastCount": {
            "format": "int32",
            "type": "integer"
          },
          "enforcedCount": {
            "format": "int32",
            "type": "integer"
          },
          "fullyEnforced": {
            "type": "boolean"
          },
          "fullyResolved": {
            "type": "boolean"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "hasActiveBroadcast": {
            "type": "boolean"
          },
          "noAccountCount": {
            "format": "int32",
            "type": "integer"
          },
          "notifiedCount": {
            "format": "int32",
            "type": "integer"
          },
          "protectedUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "totalOperators": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto": {
        "additionalProperties": false,
        "properties": {
          "broadcastId": {
            "format": "uuid",
            "type": "string"
          },
          "canRequestWithdrawal": {
            "type": "boolean"
          },
          "expiryAlertRaisedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isExpiring": {
            "type": "boolean"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "liftReason": {
            "nullable": true,
            "type": "string"
          },
          "liftedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "minimumTermEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "operators": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorProtectionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "registeredAt": {
            "format": "date-time",
            "type": "string"
          },
          "renewalCount": {
            "format": "int32",
            "type": "integer"
          },
          "renewedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "termBasis": {
            "nullable": true,
            "type": "string"
          },
          "termDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          },
          "withdrawalCoolingOffEndsAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "withdrawalRequestedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastOperatorDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "broadcastId": {
            "format": "uuid",
            "type": "string"
          },
          "enforcedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "notifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "operatorId": {
            "nullable": true,
            "type": "string"
          },
          "operatorLabel": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastOperatorsDto": {
        "additionalProperties": false,
        "properties": {
          "operators": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastOperatorDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionCredentialDto": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "excludedAt": {
            "format": "date-time",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "selfExcluded": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          },
          "verificationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorProofDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "broadcastAt": {
            "format": "date-time",
            "type": "string"
          },
          "broadcastId": {
            "format": "uuid",
            "type": "string"
          },
          "enforcedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "operatorId": {
            "nullable": true,
            "type": "string"
          },
          "operatorLabel": {
            "nullable": true,
            "type": "string"
          },
          "proofToken": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorProtectionDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "broadcastCount": {
            "format": "int32",
            "type": "integer"
          },
          "enforcedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lastBroadcastAt": {
            "format": "date-time",
            "type": "string"
          },
          "notifiedAt": {
            "format": "date-time",
            "type": "string"
          },
          "operatorId": {
            "nullable": true,
            "type": "string"
          },
          "operatorLabel": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorRef": {
        "additionalProperties": false,
        "properties": {
          "operatorId": {
            "nullable": true,
            "type": "string"
          },
          "operatorLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionOversightDto": {
        "additionalProperties": false,
        "properties": {
          "checks": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "allowReinstatement": {
            "type": "boolean"
          },
          "coolingOffDays": {
            "format": "int32",
            "type": "integer"
          },
          "isDefault": {
            "type": "boolean"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "minExclusionDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionPresentationDto": {
        "additionalProperties": false,
        "properties": {
          "auditRef": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "fieldsReleased": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "paused": {
            "type": "boolean"
          },
          "presentationCode": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionRegisterExportDto": {
        "additionalProperties": false,
        "properties": {
          "broadcastId": {
            "format": "uuid",
            "type": "string"
          },
          "expiryAlertRaisedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "exportedAt": {
            "format": "date-time",
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "isExpiring": {
            "type": "boolean"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "minimumTermEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "operators": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorProtectionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "registeredAt": {
            "format": "date-time",
            "type": "string"
          },
          "renewalCount": {
            "format": "int32",
            "type": "integer"
          },
          "renewedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subjectId": {
            "format": "uuid",
            "type": "string"
          },
          "termBasis": {
            "nullable": true,
            "type": "string"
          },
          "termDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "validUntil": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionReinstatementDto": {
        "additionalProperties": false,
        "properties": {
          "coolingOffEndsAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "reinstatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SelfExclusionVerificationResult": {
        "additionalProperties": false,
        "properties": {
          "checkLoggedRef": {
            "nullable": true,
            "type": "string"
          },
          "excluded": {
            "type": "boolean"
          },
          "identityDisclosed": {
            "type": "boolean"
          },
          "pseudonymousRef": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "selfExcluded": {
            "type": "boolean"
          },
          "validUntil": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "verdict": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentDto": {
        "additionalProperties": false,
        "properties": {
          "accessType": {
            "nullable": true,
            "type": "string"
          },
          "agentPrincipalId": {
            "format": "uuid",
            "type": "string"
          },
          "asOf": {
            "format": "date-time",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "consentType": {
            "nullable": true,
            "type": "string"
          },
          "endedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "partnerAppId": {
            "format": "uuid",
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "sessionId": {
            "format": "uuid",
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "subjectUserId": {
            "format": "uuid",
            "type": "string"
          },
          "ticketReference": {
            "nullable": true,
            "type": "string"
          },
          "timeBoxMinutes": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentListDto": {
        "additionalProperties": false,
        "properties": {
          "consents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "accessType": {
            "nullable": true,
            "type": "string"
          },
          "agentPrincipalId": {
            "format": "uuid",
            "type": "string"
          },
          "approverUserId": {
            "format": "uuid",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "consentType": {
            "nullable": true,
            "type": "string"
          },
          "digestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "partnerAppId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "receiptDigest": {
            "nullable": true,
            "type": "string"
          },
          "scopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "terminalState": {
            "nullable": true,
            "type": "string"
          },
          "terminatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "ticketReference": {
            "nullable": true,
            "type": "string"
          },
          "timeBoxMinutes": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SetFieldVisibilityRequest": {
        "additionalProperties": false,
        "properties": {
          "contactRef": {
            "nullable": true,
            "type": "string"
          },
          "field": {
            "nullable": true,
            "type": "string"
          },
          "groupLabel": {
            "nullable": true,
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SetOriginRecordsDecisionNotificationRequest": {
        "additionalProperties": false,
        "properties": {
          "notifyOnDecision": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SetScopeCategoryRequest": {
        "additionalProperties": false,
        "properties": {
          "categoryKey": {
            "nullable": true,
            "type": "string"
          },
          "inScope": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SetScopeFieldVisibilityRequest": {
        "additionalProperties": false,
        "properties": {
          "categoryKey": {
            "nullable": true,
            "type": "string"
          },
          "fieldRef": {
            "nullable": true,
            "type": "string"
          },
          "visible": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SetSharedCredentialRoleRequest": {
        "additionalProperties": false,
        "properties": {
          "granteeRef": {
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SharedCredentialRevocationDto": {
        "additionalProperties": false,
        "properties": {
          "credentialLabel": {
            "nullable": true,
            "type": "string"
          },
          "institution": {
            "nullable": true,
            "type": "string"
          },
          "reasonCode": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleHistoryDto": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "nullable": true,
            "type": "string"
          },
          "records": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleHistoryRecordDto"
            },
            "nullable": true,
            "type": "array"
          },
          "total": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleHistoryRecordDto": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "credentialId": {
            "nullable": true,
            "type": "string"
          },
          "granteeRef": {
            "nullable": true,
            "type": "string"
          },
          "occurredAtIso": {
            "nullable": true,
            "type": "string"
          },
          "ownerRef": {
            "nullable": true,
            "type": "string"
          },
          "priorRole": {
            "nullable": true,
            "type": "string"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "scopeSummary": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleMatrixDto": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "nullable": true,
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleMatrixEntryDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleMatrixEntryDto": {
        "additionalProperties": false,
        "properties": {
          "granteeRef": {
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "sinceIso": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleResultDto": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "credentialId": {
            "nullable": true,
            "type": "string"
          },
          "effectiveRole": {
            "nullable": true,
            "type": "string"
          },
          "granteeRef": {
            "nullable": true,
            "type": "string"
          },
          "occurredAtIso": {
            "nullable": true,
            "type": "string"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "recorded": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SignOffSuccessionApprovalRequest": {
        "additionalProperties": false,
        "properties": {
          "statement": {
            "nullable": true,
            "type": "string"
          },
          "termsVersion": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SignedDonorDeterminationDto": {
        "additionalProperties": false,
        "properties": {
          "anchorReference": {
            "nullable": true,
            "type": "string"
          },
          "canonicalPayload": {
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "determinationId": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "payloadDigest": {
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "format": "date-time",
            "type": "string"
          },
          "signedByRef": {
            "nullable": true,
            "type": "string"
          },
          "signingKeyId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SignedOriginRecordsDeterminationDto": {
        "additionalProperties": false,
        "properties": {
          "auditAnchorId": {
            "nullable": true,
            "type": "string"
          },
          "canonicalPayload": {
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "caseReference": {
            "nullable": true,
            "type": "string"
          },
          "decisionMakerRef": {
            "nullable": true,
            "type": "string"
          },
          "determinationId": {
            "format": "uuid",
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsItemDeterminationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "noteDigest": {
            "nullable": true,
            "type": "string"
          },
          "regimeKey": {
            "nullable": true,
            "type": "string"
          },
          "signature": {
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "format": "date-time",
            "type": "string"
          },
          "signingKeyId": {
            "nullable": true,
            "type": "string"
          },
          "vetoChecks": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsVetoCheckDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.StartSelfExclusionReinstatementRequest": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureRequestDto": {
        "additionalProperties": false,
        "properties": {
          "courtOrderRef": {
            "nullable": true,
            "type": "string"
          },
          "elapsedFromFirstDemandToRulingSeconds": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "firstDemandAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issueNumber": {
            "format": "int32",
            "type": "integer"
          },
          "itemCount": {
            "format": "int32",
            "type": "integer"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "matterId": {
            "nullable": true,
            "type": "string"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "requestId": {
            "nullable": true,
            "type": "string"
          },
          "ruledAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "scheduleId": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "transitions": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureTransitionDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureRequestListDto": {
        "additionalProperties": false,
        "properties": {
          "matterId": {
            "nullable": true,
            "type": "string"
          },
          "requests": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureRequestDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureTransitionDto": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "courtOrderRef": {
            "nullable": true,
            "type": "string"
          },
          "fromState": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "sequence": {
            "format": "int32",
            "type": "integer"
          },
          "toState": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureTransitionResultDto": {
        "additionalProperties": false,
        "properties": {
          "recorded": {
            "type": "boolean"
          },
          "request": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureRequestDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.ApprovePerSyncConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.ApproveSubscriptionRequestDto": {
        "additionalProperties": false,
        "properties": {
          "notes": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.CancelSubscriptionRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.DeclineMoreSyncsRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.FieldSelectorDto": {
        "additionalProperties": false,
        "properties": {
          "excludedFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "includeAllByDefault": {
            "type": "boolean"
          },
          "includedFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.PerSyncConsentRequestDto": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "perSyncConsentId": {
            "format": "uuid",
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subscriberId": {
            "format": "uuid",
            "type": "string"
          },
          "syncId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.RejectSubscriptionRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.RequestMoreSyncsRequestDto": {
        "additionalProperties": false,
        "properties": {
          "requestedIncrement": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.RequestMoreSyncsResponseDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "requestId": {
            "format": "uuid",
            "type": "string"
          },
          "requestedIncrement": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subscriptionId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.RequestSubscriptionRequestDto": {
        "additionalProperties": false,
        "properties": {
          "boundary": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SubscriptionBoundaryDto"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "fieldSelector": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.FieldSelectorDto"
          },
          "perSyncApprovalTtlHours": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "policy": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SubscriptionPolicyDto"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "subscriberType": {
            "nullable": true,
            "type": "string"
          },
          "webhookSecret": {
            "nullable": true,
            "type": "string"
          },
          "webhookUrl": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.SubscriptionBoundaryDto": {
        "additionalProperties": false,
        "properties": {
          "maxSyncs": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "syncType": {
            "nullable": true,
            "type": "string"
          },
          "syncsUsed": {
            "format": "int32",
            "type": "integer"
          },
          "validFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "validTo": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.SubscriptionPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "autoRetry": {
            "type": "boolean"
          },
          "conflictStrategy": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "includeHistoricalData": {
            "type": "boolean"
          },
          "maxRetries": {
            "format": "int32",
            "type": "integer"
          },
          "maxUpdatesPerPeriod": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "notifyOnSync": {
            "type": "boolean"
          },
          "updateCount": {
            "format": "int32",
            "type": "integer"
          },
          "updateFrequency": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.SyncJobDto": {
        "additionalProperties": false,
        "properties": {
          "changeSetId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "completedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "errorMessage": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "maxRetries": {
            "format": "int32",
            "type": "integer"
          },
          "metrics": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncMetricsDto"
          },
          "nextRetryAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "resultHash": {
            "nullable": true,
            "type": "string"
          },
          "retryCount": {
            "format": "int32",
            "type": "integer"
          },
          "scheduledAt": {
            "format": "date-time",
            "type": "string"
          },
          "startedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subscriptionId": {
            "format": "uuid",
            "type": "string"
          },
          "workerId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.SyncMetricsDto": {
        "additionalProperties": false,
        "properties": {
          "averageLatencyMs": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "bytesTransferred": {
            "format": "int64",
            "type": "integer"
          },
          "conflictsDetected": {
            "format": "int32",
            "type": "integer"
          },
          "conflictsResolved": {
            "format": "int32",
            "type": "integer"
          },
          "durationMs": {
            "format": "int64",
            "type": "integer"
          },
          "recordsFailed": {
            "format": "int32",
            "type": "integer"
          },
          "recordsSucceeded": {
            "format": "int32",
            "type": "integer"
          },
          "successRate": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "throughputPerSecond": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalRecordsProcessed": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.Subscription.SyncSubscriptionDto": {
        "additionalProperties": false,
        "properties": {
          "approvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "approvedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "boundary": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SubscriptionBoundaryDto"
          },
          "cancellationReason": {
            "nullable": true,
            "type": "string"
          },
          "cancelledAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "failedSyncCount": {
            "format": "int32",
            "type": "integer"
          },
          "fieldSelector": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.FieldSelectorDto"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastSyncedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "nextSyncAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "policy": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SubscriptionPolicyDto"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "rejectionReason": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "subscriberId": {
            "format": "uuid",
            "type": "string"
          },
          "subscriberType": {
            "nullable": true,
            "type": "string"
          },
          "successfulSyncCount": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updatedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "webhookUrl": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalDto": {
        "additionalProperties": false,
        "properties": {
          "approvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "attestation": {
            "nullable": true,
            "type": "string"
          },
          "caseId": {
            "format": "uuid",
            "type": "string"
          },
          "companyId": {
            "format": "uuid",
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "deceasedShareholderId": {
            "format": "uuid",
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "openedAt": {
            "format": "date-time",
            "type": "string"
          },
          "openedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "parties": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalPartyDto"
            },
            "nullable": true,
            "type": "array"
          },
          "pricePerShareMinor": {
            "format": "int64",
            "type": "integer"
          },
          "shareClass": {
            "nullable": true,
            "type": "string"
          },
          "shareCount": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "termsAmendedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "termsAmendedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "termsVersion": {
            "format": "int32",
            "type": "integer"
          },
          "totalConsiderationMinor": {
            "format": "int64",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalPartyDto": {
        "additionalProperties": false,
        "properties": {
          "role": {
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalPartyRequest": {
        "additionalProperties": false,
        "properties": {
          "role": {
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto": {
        "additionalProperties": false,
        "properties": {
          "archivedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "createdAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "majorityAge": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organisationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supervisorId": {
            "format": "uuid",
            "type": "string"
          },
          "thresholds": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionGraduationThresholdDto"
            },
            "nullable": true,
            "type": "array"
          },
          "updatedAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          },
          "versionHistory": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateVersionDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "majorityAge": {
            "format": "int32",
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organisationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "updatedAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateVersionDto": {
        "additionalProperties": false,
        "properties": {
          "changeNote": {
            "nullable": true,
            "type": "string"
          },
          "createdAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "createdBy": {
            "format": "uuid",
            "type": "string"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "lawfulBasis": {
            "nullable": true,
            "type": "string"
          },
          "majorityAge": {
            "format": "int32",
            "type": "integer"
          },
          "thresholds": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionGraduationThresholdDto"
            },
            "nullable": true,
            "type": "array"
          },
          "versionNumber": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupervisionGraduationThresholdDto": {
        "additionalProperties": false,
        "properties": {
          "atAge": {
            "format": "int32",
            "type": "integer"
          },
          "consentHeldBy": {
            "nullable": true,
            "type": "string"
          },
          "isMajority": {
            "type": "boolean"
          },
          "unlocks": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupplierConsentBasisDto": {
        "additionalProperties": false,
        "properties": {
          "epoch": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupplierConsentCoverageRequest": {
        "additionalProperties": false,
        "properties": {
          "organizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "suppliers": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupplierConsentCoverageSubject"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SupplierConsentCoverageSubject": {
        "additionalProperties": false,
        "properties": {
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.SuspendConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "policy": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentPolicyDto"
          },
          "purposeDescription": {
            "nullable": true,
            "type": "string"
          },
          "removeFieldKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.UpdateDelegationScopeRequest": {
        "additionalProperties": false,
        "properties": {
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationScopeDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.UpdateScopeOfAuthorityRequest": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeCategoryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeFieldDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "highRiskPurposes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reServeMode": {
            "nullable": true,
            "type": "string"
          },
          "supportedLocales": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.UpsertSelfExclusionPolicyRequest": {
        "additionalProperties": false,
        "properties": {
          "allowReinstatement": {
            "type": "boolean"
          },
          "coolingOffDays": {
            "format": "int32",
            "type": "integer"
          },
          "coolingOffZeroIsDeliberate": {
            "type": "boolean"
          },
          "minExclusionDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ValidateCareLinkRequest": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "fieldId": {
            "nullable": true,
            "type": "string"
          },
          "processingContext": {
            "nullable": true,
            "type": "string"
          },
          "recipientType": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.PartyType"
          },
          "recipientUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "userId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ValidateDelegationGrantRequest": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "nullable": true,
            "type": "string"
          },
          "delegateUserId": {
            "format": "uuid",
            "type": "string"
          },
          "delegationGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "principalUserId": {
            "format": "uuid",
            "type": "string"
          },
          "surface": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.ValidateInjectionConsentRequest": {
        "additionalProperties": false,
        "properties": {
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "requesterId": {
            "format": "uuid",
            "type": "string"
          },
          "targetUserId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VaultSplitConsentCascadeResultDto": {
        "additionalProperties": false,
        "properties": {
          "counterpartyId": {
            "format": "uuid",
            "type": "string"
          },
          "documents": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VaultSplitDocumentCascadeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "notice": {
            "nullable": true,
            "type": "string"
          },
          "splitId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VaultSplitDocumentCascadeDto": {
        "additionalProperties": false,
        "properties": {
          "callerRole": {
            "nullable": true,
            "type": "string"
          },
          "cascadedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "type": "string"
          },
          "failedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "pendingConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "retainedGrantCount": {
            "format": "int32",
            "type": "integer"
          },
          "revocationBatchId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "revokedConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "skippedLegalHoldConsentIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VehicleProfileLeaseDto": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "deviceId": {
            "nullable": true,
            "type": "string"
          },
          "endsAtIso": {
            "nullable": true,
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "leaseId": {
            "format": "uuid",
            "type": "string"
          },
          "operatorName": {
            "nullable": true,
            "type": "string"
          },
          "startsAtIso": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "vehicleLabel": {
            "nullable": true,
            "type": "string"
          },
          "windowUnit": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VehicleProfileLeaseListDto": {
        "additionalProperties": false,
        "properties": {
          "leases": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehicleProfileLeaseDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VehiclePurgeAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "certificateSerial": {
            "nullable": true,
            "type": "string"
          },
          "signatureAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "signatureDisplay": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerified": {
            "type": "boolean"
          },
          "signedAtIso": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VehiclePurgeAttestationRequest": {
        "additionalProperties": false,
        "properties": {
          "certificateSerial": {
            "nullable": true,
            "type": "string"
          },
          "deviceId": {
            "nullable": true,
            "type": "string"
          },
          "leaseId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "payloadHash": {
            "nullable": true,
            "type": "string"
          },
          "signatureAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "signatureHex": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerified": {
            "type": "boolean"
          },
          "signedAt": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VehiclePurgeOutcomeRequest": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "erasedAt": {
            "nullable": true,
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "holdReference": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VerifySelfExclusionRequest": {
        "additionalProperties": false,
        "properties": {
          "attachPseudonymousRef": {
            "type": "boolean"
          },
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "operatorRef": {
            "nullable": true,
            "type": "string"
          },
          "presentationCode": {
            "nullable": true,
            "type": "string"
          },
          "verificationToken": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VisitorConsentChoicesDto": {
        "additionalProperties": false,
        "properties": {
          "analytics": {
            "nullable": true,
            "type": "boolean"
          },
          "functional": {
            "nullable": true,
            "type": "boolean"
          },
          "marketing": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VisitorConsentFilingDto": {
        "additionalProperties": false,
        "properties": {
          "contentDigest": {
            "nullable": true,
            "type": "string"
          },
          "receivedAt": {
            "nullable": true,
            "type": "string"
          },
          "replayed": {
            "type": "boolean"
          },
          "supersededByRecordId": {
            "nullable": true,
            "type": "string"
          },
          "supersedesOnFile": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VisitorConsentNoticeDto": {
        "additionalProperties": false,
        "properties": {
          "heading": {
            "nullable": true,
            "type": "string"
          },
          "introduction": {
            "nullable": true,
            "type": "string"
          },
          "purposes": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentNoticePurposeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "version": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VisitorConsentNoticePurposeDto": {
        "additionalProperties": false,
        "properties": {
          "consequence": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "summary": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VisitorConsentRecordDto": {
        "additionalProperties": false,
        "properties": {
          "choices": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentChoicesDto"
          },
          "decidedVia": {
            "nullable": true,
            "type": "string"
          },
          "deviceAccessRule": {
            "nullable": true,
            "type": "string"
          },
          "filing": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentFilingDto"
          },
          "jurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "notice": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentNoticeDto"
          },
          "recordId": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "nullable": true,
            "type": "string"
          },
          "regime": {
            "nullable": true,
            "type": "string"
          },
          "regimeIsGdprLawfulBasis": {
            "type": "boolean"
          },
          "regimeSource": {
            "nullable": true,
            "type": "string"
          },
          "schema": {
            "nullable": true,
            "type": "string"
          },
          "subject": {
            "nullable": true,
            "type": "string"
          },
          "supersedesRecordId": {
            "nullable": true,
            "type": "string"
          },
          "symmetry": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentSymmetryDto"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.VisitorConsentSymmetryDto": {
        "additionalProperties": false,
        "properties": {
          "acceptClassName": {
            "nullable": true,
            "type": "string"
          },
          "acceptClicks": {
            "format": "int32",
            "type": "integer"
          },
          "acceptElement": {
            "nullable": true,
            "type": "string"
          },
          "identicalClassName": {
            "type": "boolean"
          },
          "identicalClickCount": {
            "type": "boolean"
          },
          "identicalElement": {
            "type": "boolean"
          },
          "rejectClassName": {
            "nullable": true,
            "type": "string"
          },
          "rejectClicks": {
            "format": "int32",
            "type": "integer"
          },
          "rejectElement": {
            "nullable": true,
            "type": "string"
          },
          "symmetric": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.WithdrawCollectiveAcceptanceRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.WithdrawHolderUnderstandingRequest": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "locale": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.WithdrawOriginRecordsApplicationRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.WithdrawRetainedAttestationRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Contracts.DTOs.WrappedFileKeyEnvelopeDto": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "nullable": true,
            "type": "string"
          },
          "authTagBase64": {
            "nullable": true,
            "type": "string"
          },
          "ciphertextBase64": {
            "nullable": true,
            "type": "string"
          },
          "nonceBase64": {
            "nullable": true,
            "type": "string"
          },
          "recipientPublicKeyFingerprint": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Domain.Entities.EmergencyAccess.EmergencyAccessLegalBasis": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.EmergencyAccess.EmergencyAccessStatus": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeAcceptanceMode": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeCascadeState": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.LegalNameChange.IntakeDecision": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.MultiGrantee.GranteeDisclosureLine": {
        "additionalProperties": false,
        "properties": {
          "explicitlyExcludedFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "granteeId": {
            "format": "uuid",
            "type": "string"
          },
          "granteeScopeId": {
            "format": "uuid",
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "permittedReads": {
            "format": "int32",
            "type": "integer"
          },
          "refusedReads": {
            "format": "int32",
            "type": "integer"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "role": {
            "nullable": true,
            "type": "string"
          },
          "sharedFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.GranteeScopeStatus"
          },
          "withheldFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Domain.Entities.MultiGrantee.MultiGranteeDisclosureReport": {
        "additionalProperties": false,
        "properties": {
          "affirmationStatement": {
            "nullable": true,
            "type": "string"
          },
          "article9Condition": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentArticle9Condition"
          },
          "declaredFieldUniverse": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "enforcementPoint": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "grantedAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantees": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.MultiGrantee.GranteeDisclosureLine"
            },
            "nullable": true,
            "type": "array"
          },
          "grantorId": {
            "format": "uuid",
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
          },
          "purposeLimitation": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "specialCategoryFields": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.MultiGranteeGrantStatus"
          }
        },
        "type": "object"
      },
      "Essence.Consent.Core.Domain.Entities.Rotation.RotationGrantDispositionOutcome": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.VerifiedChange.PreviousNameDispositionChoice": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.VerifiedChange.PreviousNameVisibilityState": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.VerifiedChange.VerifiedChangeExclusionReason": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Entities.VerifiedChange.VerifiedChangeRecipientOutcome": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.AccountCaptureStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.AssistanceUnavailableReason": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.CaptureEscrowStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.ComplianceFramework": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          99
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.ConsentArticle49TransferBasis": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.ConsentArticle9Condition": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.ConsentChangeType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.ConsentPurpose": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.ConsentStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.DataResidencyRegion": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.DocumentDeliveryModel": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.DocumentRequestRequesterVisibleStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.DocumentRequestStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.FitToFlyClearanceStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.FitToFlyDisclosureLevel": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.FitToFlyInfoRequest": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.GranteeAccessOutcome": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.GranteeScopeStatus": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.MultiGranteeGrantStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.PartyType": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.PrmAssistanceCategory": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.QRCodeSessionStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.QRCodeStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RecordsHandoverLawfulBasis": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RecordsHandoverStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RedactionPreviewOutcome": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RedactionPreviewReason": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RevealAccessExpiry": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RevealGrantStatus": {
        "enum": [
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.RevealStage": {
        "enum": [
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.SpecialAssistanceStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Enums.TransferMechanism": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Merge.MergeGrantDisposition": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Merge.MergeGrantOutcome": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Merge.MergeGrantRole": {
        "enum": [
          0,
          1
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Consent.Core.Domain.Merge.MergeRepointMode": {
        "enum": [
          0,
          1,
          2
        ],
        "format": "int32",
        "type": "integer"
      },
      "Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto": {
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "nextCursor": {
            "nullable": true,
            "type": "string"
          },
          "pageSize": {
            "format": "int32",
            "type": "integer"
          },
          "previousCursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto": {
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
            },
            "nullable": true,
            "type": "array"
          },
          "nextCursor": {
            "nullable": true,
            "type": "string"
          },
          "pageSize": {
            "format": "int32",
            "type": "integer"
          },
          "previousCursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.ConsentGrantDto": {
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "nextCursor": {
            "nullable": true,
            "type": "string"
          },
          "pageSize": {
            "format": "int32",
            "type": "integer"
          },
          "previousCursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.OrganisationGrantDto": {
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "nextCursor": {
            "nullable": true,
            "type": "string"
          },
          "pageSize": {
            "format": "int32",
            "type": "integer"
          },
          "previousCursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Microsoft.AspNetCore.Mvc.ProblemDetails": {
        "additionalProperties": {},
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "instance": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Microsoft.AspNetCore.Mvc.ValidationProblemDetails": {
        "additionalProperties": {},
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "errors": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "nullable": true,
            "type": "object"
          },
          "instance": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "System.TimeSpan": {
        "additionalProperties": false,
        "properties": {
          "days": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "hours": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "microseconds": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "milliseconds": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "minutes": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "nanoseconds": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "seconds": {
            "format": "int32",
            "readOnly": true,
            "type": "integer"
          },
          "ticks": {
            "format": "int64",
            "type": "integer"
          },
          "totalDays": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalHours": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalMicroseconds": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalMilliseconds": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalMinutes": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalNanoseconds": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          },
          "totalSeconds": {
            "format": "double",
            "readOnly": true,
            "type": "number"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"",
        "in": "header",
        "name": "Authorization",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "contact": {
      "email": "support@essence.digital",
      "name": "Essence Platform",
      "url": "https://essence.digital"
    },
    "description": "Zero-knowledge consent management for secure document sharing",
    "title": "Essence Consent Management API",
    "version": "v1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/api/v1/Compliance/snapshots/consent/{consentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Compliance"
        ]
      }
    },
    "/api/v1/Compliance/snapshots/my": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Compliance"
        ]
      }
    },
    "/api/v1/Compliance/snapshots/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Compliance"
        ]
      }
    },
    "/api/v1/Compliance/snapshots/{id}/retention": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Compliance"
        ]
      }
    },
    "/api/v1/Consent": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "documentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Consent"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "423": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/check/{documentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "documentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "boolean"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/credential-impact": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CredentialConsentImpactDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/document/{documentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "documentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/grant": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantConsentResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "423": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/granted": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "documentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/granted-to-me": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "documentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/granted-to-my-org": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "documentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{consentId}/legal-hold/{holdId}/request-release": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "holdId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RequestLegalHoldReleaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RequestLegalHoldReleaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RequestLegalHoldReleaseRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeConsentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "423": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "Consent"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Consent"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentModifiedResponse"
                }
              }
            },
            "description": "Success"
          },
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateConsentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/access": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/approval-challenge": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApprovalChallengeResponse"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApproveConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApproveConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApproveConsentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/credential-descriptor": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PublishCredentialDescriptorRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PublishCredentialDescriptorRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PublishCredentialDescriptorRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/deny": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DenyConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DenyConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DenyConsentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/reactivate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReactivateConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReactivateConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReactivateConsentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/receipt": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/shared-credential": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DeclareSharedCredentialRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DeclareSharedCredentialRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DeclareSharedCredentialRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/sharing-key": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentSharingKeyDto"
                }
              }
            },
            "description": "Success"
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RewrapSharingKeyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RewrapSharingKeyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RewrapSharingKeyRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Consent/{id}/suspend": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuspendConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuspendConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuspendConsentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Consent"
        ]
      }
    },
    "/api/v1/Subscription": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestSubscriptionRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestSubscriptionRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestSubscriptionRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncSubscriptionDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/granted": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncSubscriptionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/my-subscriptions": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncSubscriptionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/pending-approvals": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncSubscriptionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/per-sync-consents/pending": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.PerSyncConsentRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/per-sync-consents/{requestId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.ApprovePerSyncConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.ApprovePerSyncConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.ApprovePerSyncConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/per-sync-consents/{requestId}/decline": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.CancelSubscriptionRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.CancelSubscriptionRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.CancelSubscriptionRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncSubscriptionDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.ApproveSubscriptionRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.ApproveSubscriptionRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.ApproveSubscriptionRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/per-sync-approval/{requestId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/per-sync-approval/{requestId}/decline": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclinePerSyncConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/reject": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RejectSubscriptionRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RejectSubscriptionRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RejectSubscriptionRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/request-more": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestMoreSyncsRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestMoreSyncsRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestMoreSyncsRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.RequestMoreSyncsResponseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/request-more/{requestId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/request-more/{requestId}/decline": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclineMoreSyncsRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclineMoreSyncsRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.DeclineMoreSyncsRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/Subscription/{id}/sync-jobs": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.Subscription.SyncJobDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Subscription"
        ]
      }
    },
    "/api/v1/account/capture-requests": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IssueAccountCaptureRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IssueAccountCaptureRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IssueAccountCaptureRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "AccountCapture"
        ]
      }
    },
    "/api/v1/account/capture-requests/by-token/{token}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureContextResult"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "AccountCapture"
        ]
      }
    },
    "/api/v1/account/capture-requests/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureRequestResult"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AccountCapture"
        ]
      }
    },
    "/api/v1/account/capture-requests/{id}/decision": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AccountCaptureDecisionDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AccountCaptureDecisionDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AccountCaptureDecisionDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureDecisionResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureDecisionResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.AccountCaptureDecisionResult"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "AccountCapture"
        ]
      }
    },
    "/api/v1/account/capture-requests/{id}/receipt": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.CaptureConsentReceiptDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.CaptureConsentReceiptDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.AccountCapture.CaptureConsentReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AccountCapture"
        ]
      }
    },
    "/api/v1/account/closure/{closureId}/handover-contacts/{linkId}/transfer-consent": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "closureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "linkId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ClosureTransferConsent"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "closureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "linkId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordClosureTransferConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordClosureTransferConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordClosureTransferConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ClosureTransferConsent"
        ]
      }
    },
    "/api/v1/account/closure/{closureId}/report": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "closureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "X-Api-Version",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Handover.ClosureHandoverReportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ClosureConsent"
        ]
      }
    },
    "/api/v1/account/closure/{closureId}/transfer-consents": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "closureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferConsentListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ClosureTransferConsent"
        ]
      }
    },
    "/api/v1/captures": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IssueCaptureRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IssueCaptureRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IssueCaptureRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.IssueCaptureResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.IssueCaptureResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.IssueCaptureResultDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/captures/consent-requests/bulk": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkCaptureConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkCaptureConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkCaptureConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.BulkCaptureConsentResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.BulkCaptureConsentResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.BulkCaptureConsentResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/captures/holdings": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureHoldingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureHoldingsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureHoldingsDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/captures/notices/{token}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureNoticeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureNoticeDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureNoticeDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/captures/{captureId}/decision": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "captureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CaptureDecisionRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CaptureDecisionRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CaptureDecisionRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureDecisionResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureDecisionResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CaptureDecisionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/captures/{captureId}/erase": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "captureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CaptureEraseRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CaptureEraseRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CaptureEraseRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/captures/{captureId}/notices/deliver": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "captureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DeliverCaptureNoticeResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DeliverCaptureNoticeResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DeliverCaptureNoticeResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "CaptureEscrow"
        ]
      }
    },
    "/api/v1/compliance/reporting/audit-trail": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "grantorId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "granteeId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/gdpr/validate/{grantorId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantorId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              },
              "text/json": {
                "schema": {}
              },
              "text/plain": {
                "schema": {}
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/generate": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.ConsentHistory.GenerateComplianceReportQuery"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.ConsentHistory.GenerateComplianceReportQuery"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.ConsentHistory.GenerateComplianceReportQuery"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/grantor/{grantorId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantorId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/my-summary": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceReportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/statistics": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "grantorId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "days",
            "schema": {
              "default": 30,
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceStatisticsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceStatisticsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceStatisticsDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/violations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "severity",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceViolationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceViolationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ComplianceViolationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/compliance/reporting/{reportId}/export": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "reportId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "grantorId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "granteeId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "default": "json",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ComplianceReporting"
        ]
      }
    },
    "/api/v1/connections/{id}/sync-transparency": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConnectionSyncTransparencyDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Connections"
        ]
      }
    },
    "/api/v1/consent-bundles": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "purpose",
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ConsentPurpose"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.CreateConsentBundleCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.CreateConsentBundleCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.CreateConsentBundleCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/items/{documentId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "documentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/reject": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RejectConsentBundleRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RejectConsentBundleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RejectConsentBundleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/revoke-all": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeConsentBundleRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeConsentBundleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeConsentBundleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/submit": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/subscription": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.BundleSubscriptionStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.AttachBundleSubscriptionCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.AttachBundleSubscriptionCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Bundle.AttachBundleSubscriptionCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/subscription/sync": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.BundleSubscriptionStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-bundles/{id}/terminate-on-event": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.TerminateConsentBundleOnEventRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.TerminateConsentBundleOnEventRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.TerminateConsentBundleOnEventRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Bundle.ConsentBundleDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentBundle"
        ]
      }
    },
    "/api/v1/consent-history/bulk-revoke": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevokeConsentsCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevokeConsentsCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevokeConsentsCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ConsentHistory.BulkRevocationResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-history/grantor/{grantorId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantorId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-history/my-consents": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "startDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "endDate",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-history/statistics": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryStatisticsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryStatisticsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryStatisticsDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-history/{consentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentHistoryDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-history/{consentId}/as-at": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "asAtUtc",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentStateAsAtDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentStateAsAtDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ConsentStateAsAtDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-history/{consentId}/export": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "default": "json",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentHistory"
        ]
      }
    },
    "/api/v1/consent-remaps": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Merge.ConsentMergePlan"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentMerge"
        ]
      }
    },
    "/api/v1/consent-remaps/{mergeSessionId}/summary": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "mergeSessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Merge.ConsentMergePlan"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentMerge"
        ]
      }
    },
    "/api/v1/consent/access-requests/pending": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentAccessRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ConsentAccessRequests"
        ]
      }
    },
    "/api/v1/consent/affected-by-contact-change/{changeId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ContactChangeImpactDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ContactChangeImpact"
        ]
      }
    },
    "/api/v1/consent/agent-delegations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "agentReference",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentDelegationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateAgentDelegationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateAgentDelegationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateAgentDelegationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentDelegationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/agent-delegations/agents/{agentReference}/activity": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "agentReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "from",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "to",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentActivityEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/agent-delegations/agents/{agentReference}/report": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "agentReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "from",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "to",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentActivityReportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/agent-delegations/agents/{agentReference}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "agentReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeAgentAuthorityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeAgentAuthorityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeAgentAuthorityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeAgentAuthorityResultDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/agent-delegations/authorize": {
      "post": {
        "deprecated": true,
        "responses": {
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "410": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/agent-delegations/force-revoke-for-agent": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ForceRevokeAgentDelegationsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ForceRevokeAgentDelegationsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ForceRevokeAgentDelegationsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentDelegationForceRevocationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Too Many Requests"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/agent-delegations/templates": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentScopeTemplateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "AgentDelegation"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "outstandingOnly",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppOwnership.AppOwnerChangeSummaryView"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes/rescope-validation": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "appId",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "toOrgId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppRescopeValidationResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes/{transferId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppOwnership.AppOwnerChangeDetailView"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes/{transferId}/acknowledge": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppOwnershipActionResponse"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes/{transferId}/confirm-billing": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppOwnershipActionResponse"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes/{transferId}/reconsent": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppOwnershipActionResponse"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-ownership-changes/{transferId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "transferId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppOwnershipActionResponse"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppOwnership"
        ]
      }
    },
    "/api/v1/consent/app-sunset": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppSunset.AppSunsetSummaryView"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "AppSunset"
        ]
      }
    },
    "/api/v1/consent/app-sunset/{deprecationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "deprecationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppSunset.AppSunsetDetailView"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppSunset"
        ]
      }
    },
    "/api/v1/consent/app-sunset/{deprecationId}/cohort": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "deprecationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.AppSunset.AppSunsetCohortView"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppSunset"
        ]
      }
    },
    "/api/v1/consent/app-sunset/{deprecationId}/migrate-now": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "deprecationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetMigrateNowResponse"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "AppSunset"
        ]
      }
    },
    "/api/v1/consent/app-sunset/{deprecationId}/remind-me": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "deprecationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetReminderRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetReminderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetReminderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetReminderResponse"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppSunset"
        ]
      }
    },
    "/api/v1/consent/app-sunset/{deprecationId}/request-extension": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "deprecationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetExtensionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetExtensionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AppSunsetExtensionRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "AppSunset"
        ]
      }
    },
    "/api/v1/consent/attestations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "attestationType",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationListDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "RetainedAttestations"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MakeRetainedAttestationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MakeRetainedAttestationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MakeRetainedAttestationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationResultDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RetainedAttestations"
        ]
      }
    },
    "/api/v1/consent/attestations/received": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "attestationType",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationListDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RetainedAttestations"
        ]
      }
    },
    "/api/v1/consent/attestations/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RetainedAttestations"
        ]
      }
    },
    "/api/v1/consent/attestations/{id}/in-force": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "at",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationInForceDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RetainedAttestations"
        ]
      }
    },
    "/api/v1/consent/attestations/{id}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawRetainedAttestationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawRetainedAttestationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawRetainedAttestationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RetainedAttestationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RetainedAttestations"
        ]
      }
    },
    "/api/v1/consent/capabilities": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "delegateRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueDelegatedCapabilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueDelegatedCapabilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueDelegatedCapabilityRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          },
          "503": {
            "description": "Server Error"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/issued-to-me": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentCapabilityReferenceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/jwks": {
      "get": {
        "responses": {
          "200": {
            "description": "Success"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/revoke-for-agent": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeCapabilitiesForAgentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeCapabilitiesForAgentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeCapabilitiesForAgentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AgentCapabilityRevocationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Too Many Requests"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/status-list": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityStatusListDto"
                }
              }
            },
            "description": "Success"
          },
          "503": {
            "description": "Server Error"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDetailDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}/children": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "Capability-Proof",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueChildCapabilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueChildCapabilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueChildCapabilityRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegatedCapabilityDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}/presentation": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "Capability-Proof",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityPresentationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}/redemptions": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "Idempotency-Key",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "header",
            "name": "Capability-Proof",
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RedeemCapabilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RedeemCapabilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RedeemCapabilityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityRedemptionDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityRedemptionDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}/redemptions/{redemptionId}/exercise": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "redemptionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExerciseCapabilityRedemptionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExerciseCapabilityRedemptionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExerciseCapabilityRedemptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityRedemptionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}/redemptions/{redemptionId}/release": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "redemptionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseCapabilityRedemptionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseCapabilityRedemptionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseCapabilityRedemptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CapabilityRedemptionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/capabilities/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegatedCapabilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegatedCapabilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegatedCapabilityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegatedCapabilityResultDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DelegatedCapabilities"
        ]
      }
    },
    "/api/v1/consent/change-requests": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestConsentChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestConsentChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestConsentChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ChangeRequest.ConsentChangeRequestDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentChangeRequest"
        ]
      }
    },
    "/api/v1/consent/change-requests/for-grant/{consentGrantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentGrantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ChangeRequest.ConsentChangeRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentChangeRequest"
        ]
      }
    },
    "/api/v1/consent/change-requests/pending": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ChangeRequest.ConsentChangeRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentChangeRequest"
        ]
      }
    },
    "/api/v1/consent/change-requests/{id}/apply": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ChangeRequest.ConsentChangeRequestDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentChangeRequest"
        ]
      }
    },
    "/api/v1/consent/change-requests/{id}/dismiss": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResolveConsentChangeRequestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ChangeRequest.ConsentChangeRequestDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentChangeRequest"
        ]
      }
    },
    "/api/v1/consent/child-records/approvals/{approvalId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "approvalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CoParentApprovalDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ChildRecordConsent"
        ]
      }
    },
    "/api/v1/consent/child-records/approvals/{approvalId}/decision": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "approvalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DecideCoParentApprovalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DecideCoParentApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DecideCoParentApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CoParentApprovalDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ChildRecordConsent"
        ]
      }
    },
    "/api/v1/consent/child-records/approvals/{approvalId}/undo": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "approvalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CoParentApprovalDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ChildRecordConsent"
        ]
      }
    },
    "/api/v1/consent/child-records/releases": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RequestChildRecordReleaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RequestChildRecordReleaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RequestChildRecordReleaseRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ChildRecordReleaseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "ChildRecordConsent"
        ]
      }
    },
    "/api/v1/consent/childhood/{childId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ChildhoodConsentDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ChildhoodConsent"
        ]
      }
    },
    "/api/v1/consent/childhood/{childId}/{consentId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ChildhoodConsentWithdrawResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ChildhoodConsent"
        ]
      }
    },
    "/api/v1/consent/children/{childId}/consent-register": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ChildConsentRegisterDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ChildRecordConsent"
        ]
      }
    },
    "/api/v1/consent/children/{childId}/consent-register/pdf": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ChildRecordConsent"
        ]
      }
    },
    "/api/v1/consent/closure-transfer-asks": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferAskListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ClosureTransferConsent"
        ]
      }
    },
    "/api/v1/consent/closure-transfer-asks/{id}/answer": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AnswerClosureTransferAskRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AnswerClosureTransferAskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AnswerClosureTransferAskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClosureTransferAskDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ClosureTransferConsent"
        ]
      }
    },
    "/api/v1/consent/closure/{closureId}/link-states": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "closureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Handover.ClosureLinkStateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ClosureConsent"
        ]
      }
    },
    "/api/v1/consent/closure/{closureId}/report": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "closureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Handover.ClosureHandoverReportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ClosureConsent"
        ]
      }
    },
    "/api/v1/consent/collective-decisions": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenCollectiveDecisionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenCollectiveDecisionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenCollectiveDecisionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "CollectiveDecisions"
        ]
      }
    },
    "/api/v1/consent/collective-decisions/capabilities": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionCapabilitiesDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "CollectiveDecisions"
        ]
      }
    },
    "/api/v1/consent/collective-decisions/{decisionId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "decisionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CollectiveDecisions"
        ]
      }
    },
    "/api/v1/consent/collective-decisions/{decisionId}/grants": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "decisionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CollectiveDecisions"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "decisionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantCollectiveAcceptanceRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantCollectiveAcceptanceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantCollectiveAcceptanceRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "CollectiveDecisions"
        ]
      }
    },
    "/api/v1/consent/collective-decisions/{decisionId}/grants/{grantId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "decisionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawCollectiveAcceptanceRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawCollectiveAcceptanceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawCollectiveAcceptanceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CollectiveAcceptanceDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CollectiveDecisions"
        ]
      }
    },
    "/api/v1/consent/communications": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "CommunicationsConsent"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.UpdateCommunicationsConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.UpdateCommunicationsConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.UpdateCommunicationsConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CommunicationsConsentStateDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "CommunicationsConsent"
        ]
      }
    },
    "/api/v1/consent/connection-consents": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConnectionConsentAcceptanceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConnectionConsent"
        ]
      }
    },
    "/api/v1/consent/connection-consents/accept": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Connection.AcceptConnectionConsentCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Connection.AcceptConnectionConsentCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Connection.AcceptConnectionConsentCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConnectionConsentAcceptanceDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConnectionConsent"
        ]
      }
    },
    "/api/v1/consent/connection-consents/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConnectionConsentAcceptanceDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConnectionConsent"
        ]
      }
    },
    "/api/v1/consent/connection-consents/{id}/receipt": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConsentReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConnectionConsent"
        ]
      }
    },
    "/api/v1/consent/connection-consents/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeConnectionConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeConnectionConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeConnectionConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Connection.ConnectionConsentAcceptanceDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConnectionConsent"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "includeEnded",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IngestCourtOrderRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IngestCourtOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.IngestCourtOrderRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/access-decisions": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CourtAuthorityAccessDecisionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CourtAuthorityAccessDecisionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CourtAuthorityAccessDecisionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtAuthorityAccessDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/wards/{wardId}/capacity-determinations": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "wardId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCapacityDeterminationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCapacityDeterminationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCapacityDeterminationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.DeputyshipTerminationOutcomeDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/wards/{wardId}/termination-notice": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "wardId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.DeputyshipTerminationNoticeDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/{authorityId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "authorityId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/{authorityId}/activate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "authorityId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/{authorityId}/end": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "authorityId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.EndCourtAuthorityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.EndCourtAuthorityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.EndCourtAuthorityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/{authorityId}/suspend": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "authorityId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/court-conferred-authorities/{authorityId}/variations": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "authorityId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCourtAuthorityVariationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCourtAuthorityVariationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCourtAuthorityVariationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CourtAuthority.CourtConferredAuthorityDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CourtConferredAuthority"
        ]
      }
    },
    "/api/v1/consent/cross-border/grants": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossBorder.CrossBorderConsentGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "CrossBorderConsentGrant"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCrossBorderConsentGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCrossBorderConsentGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordCrossBorderConsentGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossBorder.CrossBorderConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "CrossBorderConsentGrant"
        ]
      }
    },
    "/api/v1/consent/cross-border/grants/adequacy": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "grantorRegion",
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DataResidencyRegion"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "recipientRegion",
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.DataResidencyRegion"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "mechanism",
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.TransferMechanism"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "complianceFramework",
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.ComplianceFramework"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "justification",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossBorder.JurisdictionTransferDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "CrossBorderConsentGrant"
        ]
      }
    },
    "/api/v1/consent/cross-border/grants/legal-basis": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "recipientClass",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "subjectStanding",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossBorder.RecipientLegalBasisDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "CrossBorderConsentGrant"
        ]
      }
    },
    "/api/v1/consent/custodian-grants": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "subjectRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CustodianGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "CustodianGrants"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProvisionCustodianGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProvisionCustodianGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProvisionCustodianGrantRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CustodianGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "CustodianGrants"
        ]
      }
    },
    "/api/v1/consent/custodian-grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CustodianGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CustodianGrants"
        ]
      }
    },
    "/api/v1/consent/custodian-grants/{grantId}/extend": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExtendCustodianGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExtendCustodianGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExtendCustodianGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CustodianGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "CustodianGrants"
        ]
      }
    },
    "/api/v1/consent/custodian-grants/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeCustodianGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeCustodianGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeCustodianGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CustodianGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "CustodianGrants"
        ]
      }
    },
    "/api/v1/consent/deceased-teardown": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeceasedConsentTeardownRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeceasedConsentTeardownRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeceasedConsentTeardownRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeceasedConsentTeardownResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "DeceasedConsentTeardown"
        ]
      }
    },
    "/api/v1/consent/delegations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "asDelegate",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDelegationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDelegationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDelegationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/bulk": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkCreateDelegationsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkCreateDelegationsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkCreateDelegationsRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/bulk-revocations": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationBulkRevocationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "DelegationBulkRevocations"
        ]
      }
    },
    "/api/v1/consent/delegations/bulk-revocations/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationBulkRevocationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DelegationBulkRevocations"
        ]
      }
    },
    "/api/v1/consent/delegations/bulk-revoke": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokeDelegationsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokeDelegationsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokeDelegationsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationBulkRevocationDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "DelegationBulkRevocations"
        ]
      }
    },
    "/api/v1/consent/delegations/candidates": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationCandidateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/collections": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationCollectionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/templates": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationTemplateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/{id}/actions": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationActionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDelegationActionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDelegationActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDelegationActionRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationActionDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/{id}/reconfirm": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReconfirmDelegationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReconfirmDelegationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReconfirmDelegationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDelegationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationClosureRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/delegations/{id}/scope": {
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateDelegationScopeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateDelegationScopeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateDelegationScopeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentDelegation"
        ]
      }
    },
    "/api/v1/consent/disclosure-recipients": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "subjectId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "recordId",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "fieldKey",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "scopes",
            "schema": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.DisclosureRecipients.DisclosureRecipientsResult"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DisclosureRecipients"
        ]
      }
    },
    "/api/v1/consent/document-requests": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CreateDocumentRequestRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CreateDocumentRequestRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CreateDocumentRequestRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CreateDocumentRequestResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CreateDocumentRequestResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CreateDocumentRequestResultDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/document-requests/inbound": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/document-requests/inbound/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestInboundDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/document-requests/inbound/{id}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ApproveDocumentRequestRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ApproveDocumentRequestRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ApproveDocumentRequestRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ApproveDocumentRequestResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ApproveDocumentRequestResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ApproveDocumentRequestResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/document-requests/inbound/{id}/decline": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestContactDecisionResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestContactDecisionResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestContactDecisionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/document-requests/outbound": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestOutboundDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestOutboundDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestOutboundDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/document-requests/{id}/audit": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestAuditRecordDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestAuditRecordDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DocumentRequestAuditRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DocumentRequest"
        ]
      }
    },
    "/api/v1/consent/driver-credential-status/shares": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "organizationId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DriverCredentialStatusShareDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "DriverCredentialStatusShares"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDriverCredentialStatusShareRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDriverCredentialStatusShareRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateDriverCredentialStatusShareRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DriverCredentialStatusShareDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "DriverCredentialStatusShares"
        ]
      }
    },
    "/api/v1/consent/driver-credential-status/shares/{shareId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DriverCredentialStatusShareDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "DriverCredentialStatusShares"
        ]
      }
    },
    "/api/v1/consent/emergency-access": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "activeOnly",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "EmergencyAccess"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AuthorizeEmergencyAccessRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AuthorizeEmergencyAccessRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AuthorizeEmergencyAccessRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "EmergencyAccess"
        ]
      }
    },
    "/api/v1/consent/emergency-access/{id}/proof-of-life": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EmergencyAccess"
        ]
      }
    },
    "/api/v1/consent/emergency-access/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.EmergencyAccess.EmergencyAccessAuthorizationDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EmergencyAccess"
        ]
      }
    },
    "/api/v1/consent/external-disclosures": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ExternalDisclosure.ExternalDisclosureDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "ExternalDisclosure"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordExternalDisclosureRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordExternalDisclosureRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordExternalDisclosureRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ExternalDisclosure.ExternalDisclosureDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ExternalDisclosure"
        ]
      }
    },
    "/api/v1/consent/external-disclosures/shared/{shareRef}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "shareRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ExternalDisclosure.SharedExternalDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ExternalDisclosureShares"
        ]
      }
    },
    "/api/v1/consent/external-disclosures/{disclosureId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "disclosureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ExternalDisclosure.ExternalDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ExternalDisclosure"
        ]
      }
    },
    "/api/v1/consent/external-disclosures/{disclosureId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "disclosureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeExternalDisclosureRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeExternalDisclosureRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeExternalDisclosureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ExternalDisclosure.ExternalDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ExternalDisclosure"
        ]
      }
    },
    "/api/v1/consent/field-visibility/blast-radius": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Propagation.BlastRadiusPreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "FieldVisibility"
        ]
      }
    },
    "/api/v1/consent/field-visibility/bulk": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkVisibilityChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Propagation.BlastRadiusPreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "FieldVisibility"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/desk/overview": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDeskQueueItemDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/desk/queue": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "carrier",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "flightNumber",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "departureDate",
            "schema": {
              "format": "date",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDeskQueueItemDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/desk/shares/{shareId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDeskQueueItemDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/desk/shares/{shareId}/decision": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordFitToFlyDecisionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordFitToFlyDecisionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordFitToFlyDecisionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDeskQueueItemDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/desk/shares/{shareId}/non-retention": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeskActorRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeskActorRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeskActorRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDeskQueueItemDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/desk/shares/{shareId}/open": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeskActorRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeskActorRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeskActorRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/shares": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyShareDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ShareFitToFlyClearanceRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ShareFitToFlyClearanceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ShareFitToFlyClearanceRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyShareDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/shares/{shareId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyShareDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/fit-to-fly/shares/{shareId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "shareId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawFitToFlyShareRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawFitToFlyShareRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawFitToFlyShareRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.FitToFly.FitToFlyShareDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "FitToFlyClearance"
        ]
      }
    },
    "/api/v1/consent/grantee-rosters": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenGranteeRosterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenGranteeRosterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenGranteeRosterRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/grantee-rosters/{rosterId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "rosterId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/grantee-rosters/{rosterId}/close": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "rosterId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/grantee-rosters/{rosterId}/members": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "rosterId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AddGranteeRosterMemberRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AddGranteeRosterMemberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AddGranteeRosterMemberRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/grantee-rosters/{rosterId}/members/{userId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "rosterId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "userId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GranteeRosterDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/guardian-grant": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantGuardianConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantGuardianConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantGuardianConsentRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GuardianConsentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "GuardianConsent"
        ]
      }
    },
    "/api/v1/consent/guardian-grant/{childId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GuardianConsentDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "GuardianConsent"
        ]
      }
    },
    "/api/v1/consent/guardian-grant/{id}/majority-reconsent": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MajorityReconsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MajorityReconsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MajorityReconsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GuardianConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "GuardianConsent"
        ]
      }
    },
    "/api/v1/consent/guardian-grant/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeGuardianConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GuardianConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "GuardianConsent"
        ]
      }
    },
    "/api/v1/consent/guardian-granted/{childId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GuardianGrantedConsentDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ChildhoodConsent"
        ]
      }
    },
    "/api/v1/consent/guardian-granted/{childId}/{consentId}/decision": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "childId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DecideGuardianGrantedConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DecideGuardianGrantedConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DecideGuardianGrantedConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GuardianGrantedConsentDecisionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ChildhoodConsent"
        ]
      }
    },
    "/api/v1/consent/holder-understanding": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HolderUnderstandingStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "HolderUnderstanding"
        ]
      }
    },
    "/api/v1/consent/holder-understanding/answers": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordHolderAnswerRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordHolderAnswerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordHolderAnswerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HolderUnderstandingStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "HolderUnderstanding"
        ]
      }
    },
    "/api/v1/consent/holder-understanding/withdraw": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawHolderUnderstandingRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawHolderUnderstandingRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawHolderUnderstandingRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HolderUnderstandingStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "HolderUnderstanding"
        ]
      }
    },
    "/api/v1/consent/imports/{importId}/classification": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "importId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ImportClassificationLedgerDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ImportClassification"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "importId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClassifyImportContactRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClassifyImportContactRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ClassifyImportContactRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ImportContactClassificationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ImportClassification"
        ]
      }
    },
    "/api/v1/consent/imports/{importId}/classification/{contactId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "importId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "contactId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeImportContactClassificationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeImportContactClassificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeImportContactClassificationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ImportContactClassificationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ImportClassification"
        ]
      }
    },
    "/api/v1/consent/in-flight-actions": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.InFlightActions.PersistInFlightActionCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.InFlightActions.PersistInFlightActionCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.InFlightActions.PersistInFlightActionCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.InFlightActions.PersistInFlightActionResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "InFlightAction"
        ]
      }
    },
    "/api/v1/consent/in-flight-actions/{resumeToken}/resume": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "resumeToken",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResumeInFlightActionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResumeInFlightActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ResumeInFlightActionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.InFlightActions.ResumeInFlightActionResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "InFlightAction"
        ]
      }
    },
    "/api/v1/consent/merge/{mergeSessionId}/plan": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "mergeSessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "retiredAccountId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "survivingAccountId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "mode",
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Merge.MergeRepointMode"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Merge.ConsentMergePlan"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentMerge"
        ]
      }
    },
    "/api/v1/consent/minor-confidential": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordMinorConfidentialConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordMinorConfidentialConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordMinorConfidentialConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MinorConfidentialConsentConfirmationDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MinorConfidentialConsentConfirmationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Server Error"
          }
        },
        "tags": [
          "MinorConfidentialConsent"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.MutualDisclosure.OpenMutualDisclosureExchangeCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.MutualDisclosure.OpenMutualDisclosureExchangeCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.MutualDisclosure.OpenMutualDisclosureExchangeCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.MutualDisclosureExchangeDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures/by-matter/{matterId}/reciprocity-status": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "matterId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.ReciprocityStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.MutualDisclosureExchangeDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures/{id}/disclose": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DisclosePartnerScheduleRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DisclosePartnerScheduleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DisclosePartnerScheduleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.MutualDisclosureExchangeDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures/{id}/reciprocity-status": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.ReciprocityStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures/{id}/record-execution": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.MutualDisclosureExchangeDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/mutual-disclosures/{id}/revoke-visibility": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeDisclosureVisibilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeDisclosureVisibilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeDisclosureVisibilityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MutualDisclosure.MutualDisclosureExchangeDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MutualDisclosureExchange"
        ]
      }
    },
    "/api/v1/consent/name-change/{changeId}/disclose": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DiscloseNameChangeRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DiscloseNameChangeRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DiscloseNameChangeRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.DisclosureResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.DisclosureResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.DisclosureResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "LegalNameChangeDisclosure"
        ]
      }
    },
    "/api/v1/consent/name-change/{changeId}/disclosure-targets": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DisclosureTargetDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DisclosureTargetDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DisclosureTargetDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "LegalNameChangeDisclosure"
        ]
      }
    },
    "/api/v1/consent/name-change/{changeId}/summary": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.CloseoutSummaryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.CloseoutSummaryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.CloseoutSummaryDto"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "LegalNameChangeDisclosure"
        ]
      }
    },
    "/api/v1/consent/notices/locale-assessment": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "reserveAuditRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.MyLocaleAssessmentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentNotice"
        ]
      }
    },
    "/api/v1/consent/notices/locale-posture": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReServePostureDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentNotice"
        ]
      }
    },
    "/api/v1/consent/notices/outstanding-reaffirmations": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentNoticeReServeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentNotice"
        ]
      }
    },
    "/api/v1/consent/notices/{id}/reaffirm": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentNoticeReServeDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentNotice"
        ]
      }
    },
    "/api/v1/consent/org-act-on-behalf-grants": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "side",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgActOnBehalfGrants"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateOrgActOnBehalfGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateOrgActOnBehalfGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateOrgActOnBehalfGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantResultDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantResultDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrgActOnBehalfGrants"
        ]
      }
    },
    "/api/v1/consent/org-act-on-behalf-grants/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrgActOnBehalfGrants"
        ]
      }
    },
    "/api/v1/consent/org-act-on-behalf-grants/{id}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantResultDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrgActOnBehalfGrants"
        ]
      }
    },
    "/api/v1/consent/org-act-on-behalf-grants/{id}/authorization": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "purpose",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "capability",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "at",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfAuthorizationDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrgActOnBehalfGrants"
        ]
      }
    },
    "/api/v1/consent/org-act-on-behalf-grants/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeOrgActOnBehalfGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeOrgActOnBehalfGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeOrgActOnBehalfGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgActOnBehalfGrantResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrgActOnBehalfGrants"
        ]
      }
    },
    "/api/v1/consent/org/bulk-grants": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "documentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.ConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentOrgAdmin"
        ]
      }
    },
    "/api/v1/consent/org/escrow-queue": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentOrgAdmin"
        ]
      }
    },
    "/api/v1/consent/org/invitation-ttl": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgInvitationTtlDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentOrgAdmin"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.UpdateOrgInvitationTtlRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.UpdateOrgInvitationTtlRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.UpdateOrgInvitationTtlRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgInvitationTtlDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentOrgAdmin"
        ]
      }
    },
    "/api/v1/consent/org/oversight": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.OrgAdmin.OrgOversightSummaryDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentOrgAdmin"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/decisions/exports": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportSummaryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportSummaryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "NameChangeDecisionExports"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto"
                }
              }
            },
            "description": "Created"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "NameChangeDecisionExports"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/decisions/exports/{exportId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "exportId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.NameChangeDecisionExportDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "NameChangeDecisionExports"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/decisions/exports/{exportId}/csv": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "exportId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/csv": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/csv": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "NameChangeDecisionExports"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/policy": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "LegalNameChangeIntake"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.NameChangeIntakePolicyRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.NameChangeIntakePolicyRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.NameChangeIntakePolicyRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.LegalNameChange.NameChangeIntakePolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "LegalNameChangeIntake"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/queue": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "all",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.IntakeQueueMemberDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.IntakeQueueMemberDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.IntakeQueueMemberDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "LegalNameChangeIntake"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/queue/bulk": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "LegalNameChangeIntake"
        ]
      }
    },
    "/api/v1/consent/org/{orgId}/name-change/queue/{itemId}/evidence": {
      "post": {
        "operationId": "OpenNameChangeDeedPollEvidence",
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BulkProcessIntakeRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.LegalNameChange.DeedPollEvidenceAccessDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "LegalNameChangeIntake"
        ]
      }
    },
    "/api/v1/consent/organisation-disclosure-grants": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueOrganisationDisclosureGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueOrganisationDisclosureGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueOrganisationDisclosureGrantRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/organisation-disclosure-grants/capabilities": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantCapabilitiesDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/organisation-disclosure-grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/organisation-disclosure-grants/{grantId}/access-events": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "since",
            "schema": {
              "format": "date-time",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureAccessEventListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordOrganisationDisclosureAccessRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordOrganisationDisclosureAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordOrganisationDisclosureAccessRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureAccessEventDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/organisation-disclosure-grants/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeOrganisationDisclosureGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeOrganisationDisclosureGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeOrganisationDisclosureGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationDisclosureGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrganisationDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/organisation-principal-grants": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "pageSize",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Platform.Contracts.Pagination.CursorResultOfEssence.Consent.Core.Contracts.DTOs.OrganisationGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganisationPrincipalGrants"
        ]
      }
    },
    "/api/v1/consent/organisation-principal-grants/{id}/steward": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReassignOrganisationGrantStewardRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReassignOrganisationGrantStewardRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReassignOrganisationGrantStewardRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrganisationGrantStewardReassignedDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganisationPrincipalGrants"
        ]
      }
    },
    "/api/v1/consent/policy-templates": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PolicyTemplate.ConsentPolicyTemplateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentPolicyTemplate"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PublishConsentPolicyTemplateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PublishConsentPolicyTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PublishConsentPolicyTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PolicyTemplate.ConsentPolicyTemplateDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentPolicyTemplate"
        ]
      }
    },
    "/api/v1/consent/policy-templates/org": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PolicyTemplate.ConsentPolicyTemplateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ConsentPolicyTemplate"
        ]
      }
    },
    "/api/v1/consent/predicate-attestations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "relyingPartyRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateAttestationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "PredicateAttestation"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPredicateAttestationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPredicateAttestationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPredicateAttestationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateAttestationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "PredicateAttestation"
        ]
      }
    },
    "/api/v1/consent/predicate-attestations/{attestationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "attestationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateAttestationDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PredicateAttestation"
        ]
      }
    },
    "/api/v1/consent/predicate-attestations/{attestationId}/compliance-attestation": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "attestationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PredicateAttestations.PredicateComplianceAttestationDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PredicateAttestation"
        ]
      }
    },
    "/api/v1/consent/presentation-disclosures": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "relyingPartyRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "PresentationDisclosure"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PresentationDisclosure"
        ]
      }
    },
    "/api/v1/consent/presentation-disclosures/{disclosureId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "disclosureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PresentationDisclosure"
        ]
      }
    },
    "/api/v1/consent/presentation-disclosures/{disclosureId}/acknowledge-revocation": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "disclosureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcknowledgePresentationRevocationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcknowledgePresentationRevocationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcknowledgePresentationRevocationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PresentationDisclosure"
        ]
      }
    },
    "/api/v1/consent/presentation-disclosures/{disclosureId}/opened": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "disclosureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureOpenedRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureOpenedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPresentationDisclosureOpenedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PresentationDisclosure"
        ]
      }
    },
    "/api/v1/consent/presentation-disclosures/{disclosureId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "disclosureId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Presentation.PresentationDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PresentationDisclosure"
        ]
      }
    },
    "/api/v1/consent/presentation-receipts/jwks": {
      "get": {
        "responses": {
          "200": {
            "description": "Success"
          }
        },
        "tags": [
          "PresentationReceiptKeys"
        ]
      }
    },
    "/api/v1/consent/principals/{principalId}/grant-count": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "principalId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PrincipalGrantCountDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "DevicePrincipal"
        ]
      }
    },
    "/api/v1/consent/processing": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "activeOnly",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProcessingConsentDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ProcessingConsent"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordProcessingConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordProcessingConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordProcessingConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProcessingConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProcessingConsentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ProcessingConsent"
        ]
      }
    },
    "/api/v1/consent/processing/{consentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProcessingConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ProcessingConsent"
        ]
      }
    },
    "/api/v1/consent/processing/{consentId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProcessingConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ProcessingConsent"
        ]
      }
    },
    "/api/v1/consent/programme-grants": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProgrammeGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ProgrammeGrants"
        ]
      }
    },
    "/api/v1/consent/programme-grants/held": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "programmeId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProgrammeGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ProgrammeGrants"
        ]
      }
    },
    "/api/v1/consent/programme-grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProgrammeGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ProgrammeGrants"
        ]
      }
    },
    "/api/v1/consent/propagation-audit": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationPushRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationPushRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationPushRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationPushResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationPushResponseDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordPropagationPushResponseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "PropagationAudit"
        ]
      }
    },
    "/api/v1/consent/propagation-audit/{pushId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "pushId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PropagationAuditDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PropagationAuditDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.PropagationAuditDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PropagationAudit"
        ]
      }
    },
    "/api/v1/consent/propagation-audit/{pushId}/export": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "pushId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "default": "csv",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PropagationAudit"
        ]
      }
    },
    "/api/v1/consent/propagation-policy": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Propagation.PropagationPolicyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "PropagationPolicy"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetPropagationPolicyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetPropagationPolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetPropagationPolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Propagation.PropagationPolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "PropagationPolicy"
        ]
      }
    },
    "/api/v1/consent/protection-cases/{caseId}/provenance": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProtectionCaseProvenanceEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ProtectionCaseProvenance"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AppendProtectionCaseProvenanceEntryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AppendProtectionCaseProvenanceEntryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AppendProtectionCaseProvenanceEntryRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProtectionCaseProvenanceEntryDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ProtectionCaseProvenance"
        ]
      }
    },
    "/api/v1/consent/purpose-checks": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeConsentCheckRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeConsentCheckRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeConsentCheckRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeConsentCheckResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "PurposeConsentChecks"
        ]
      }
    },
    "/api/v1/consent/purpose-grants": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "PurposeScopedGrants"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GivePurposeScopedGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GivePurposeScopedGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GivePurposeScopedGrantRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "PurposeScopedGrants"
        ]
      }
    },
    "/api/v1/consent/purpose-grants/capabilities": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantCapabilitiesDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "PurposeScopedGrants"
        ]
      }
    },
    "/api/v1/consent/purpose-grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PurposeScopedGrants"
        ]
      }
    },
    "/api/v1/consent/purpose-grants/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokePurposeScopedGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokePurposeScopedGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokePurposeScopedGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PurposeScopedGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PurposeScopedGrants"
        ]
      }
    },
    "/api/v1/consent/recipients/{id}/redaction-preview": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "field",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "documentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecipientRedactionPreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "RecipientRedactionPreview"
        ]
      }
    },
    "/api/v1/consent/reciprocal-exchanges": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ReciprocalExchange"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Reciprocal.InitiateReciprocalExchangeCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Reciprocal.InitiateReciprocalExchangeCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Reciprocal.InitiateReciprocalExchangeCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ReciprocalExchange"
        ]
      }
    },
    "/api/v1/consent/reciprocal-exchanges/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ReciprocalExchange"
        ]
      }
    },
    "/api/v1/consent/reciprocal-exchanges/{id}/commit": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ReciprocalExchange"
        ]
      }
    },
    "/api/v1/consent/reciprocal-exchanges/{id}/rescind": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RescindReciprocalExchangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RescindReciprocalExchangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RescindReciprocalExchangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ReciprocalExchange"
        ]
      }
    },
    "/api/v1/consent/reciprocal-exchanges/{id}/respond": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RespondReciprocalExchangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RespondReciprocalExchangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RespondReciprocalExchangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Reciprocal.ReciprocalExchangeViewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ReciprocalExchange"
        ]
      }
    },
    "/api/v1/consent/renewal": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RepointConsentsForRenewalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RepointConsentsForRenewalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RepointConsentsForRenewalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Renewal.RenewalRepointResult"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentRenewal"
        ]
      }
    },
    "/api/v1/consent/renewal/preview": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "previousDocumentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "replacementDocumentId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.Renewal.RenewalRepointResult"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentRenewal"
        ]
      }
    },
    "/api/v1/consent/renunciation/cases/{caseId}/notices": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Renunciation.StopRelyingAuditDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RenunciationTeardown"
        ]
      }
    },
    "/api/v1/consent/renunciation/cases/{caseId}/notices/{noticeId}/acknowledge": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "noticeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "relyingPartyRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Renunciation.StopRelyingAuditDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RenunciationTeardown"
        ]
      }
    },
    "/api/v1/consent/renunciation/cases/{caseId}/notices/{noticeId}/delivery": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "noticeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordStopRelyingDeliveryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordStopRelyingDeliveryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordStopRelyingDeliveryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Renunciation.StopRelyingAuditDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RenunciationTeardown"
        ]
      }
    },
    "/api/v1/consent/renunciation/scope": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "jurisdiction",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Renunciation.RenunciationScopePreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "RenunciationTeardown"
        ]
      }
    },
    "/api/v1/consent/repair-access/grants": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.CreateRepairAccessGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.CreateRepairAccessGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.CreateRepairAccessGrantRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/grants/{grantId}/device-propagation": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.ReportDeviceRevocationPropagationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.ReportDeviceRevocationPropagationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.ReportDeviceRevocationPropagationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/grants/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RevokeRepairAccessRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RevokeRepairAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RevokeRepairAccessRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/grants/{grantId}/share-code": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.IssueRepairShareCodeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.IssueRepairShareCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.IssueRepairShareCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/inbox": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "openOnly",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/inbox/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/inbox/{grantId}/accesses": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RecordRepairAccessRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RecordRepairAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RecordRepairAccessRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessEventDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/inbox/{grantId}/assign": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.AssignRepairTechnicianRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.AssignRepairTechnicianRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.AssignRepairTechnicianRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/inbox/{grantId}/repair-log": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.LogRepairRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.LogRepairRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.LogRepairRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepairAccess.RepairAccessGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/repair-access/staff-access": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.RepairAccess.RepairStaffAccessRowDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RepairAccess"
        ]
      }
    },
    "/api/v1/consent/representative-authorizations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "subjectRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RepresentativeAuthorization"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RegisterRepresentativeAuthorizationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RegisterRepresentativeAuthorizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RegisterRepresentativeAuthorizationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RepresentativeAuthorization"
        ]
      }
    },
    "/api/v1/consent/representative-authorizations/access-decision": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "subjectRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "representativeRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "recordType",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationAccessDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RepresentativeAuthorization"
        ]
      }
    },
    "/api/v1/consent/representative-authorizations/{authorizationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "authorizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepresentativeAuthorization"
        ]
      }
    },
    "/api/v1/consent/representative-authorizations/{authorizationId}/end": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "authorizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.EndRepresentativeAuthorizationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.EndRepresentativeAuthorizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.EndRepresentativeAuthorizationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RepresentativeAuthority.RepresentativeAuthorizationDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RepresentativeAuthorization"
        ]
      }
    },
    "/api/v1/consent/reveal": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordDisclosureRevealRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordDisclosureRevealRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordDisclosureRevealRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealResultDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "Reveal"
        ]
      }
    },
    "/api/v1/consent/reveal-proof/{revealId}/status": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "revealId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RevealProofStatusDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RevealProofStatusDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RevealProofStatusDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reveal"
        ]
      }
    },
    "/api/v1/consent/reveals": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "workEntityId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealAuditEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealAuditEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealAuditEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "Reveal"
        ]
      }
    },
    "/api/v1/consent/reveals/{revealId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "revealId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealRevokeResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealRevokeResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.DisclosureRevealRevokeResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reveal"
        ]
      }
    },
    "/api/v1/consent/revocation-exposure/board": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RevocationExposure.RevocationExposureBoardDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RevocationExposure"
        ]
      }
    },
    "/api/v1/consent/revocation-exposure/export": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/csv": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/csv": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/csv": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RevocationExposure"
        ]
      }
    },
    "/api/v1/consent/revocation-reviews": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "revocationRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevocationReviewDecisionListDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "RevocationReviewDecisions"
        ]
      }
    },
    "/api/v1/consent/revocation-reviews/decisions": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordRevocationReviewDecisionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordRevocationReviewDecisionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordRevocationReviewDecisionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevocationReviewDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RevocationReviewDecisions"
        ]
      }
    },
    "/api/v1/consent/revocation-reviews/snoozed": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevocationReviewDecisionListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "RevocationReviewDecisions"
        ]
      }
    },
    "/api/v1/consent/rotation-reconciliations": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "RotationConsentReconciliation"
        ]
      }
    },
    "/api/v1/consent/rotation-reconciliations/by-rotation/{rotationSessionId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "rotationSessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RotationConsentReconciliation"
        ]
      }
    },
    "/api/v1/consent/rotation-reconciliations/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotationConsentReconciliationDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RotationConsentReconciliation"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GiveScamEvidenceDisclosureGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GiveScamEvidenceDisclosureGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GiveScamEvidenceDisclosureGrantRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants/capabilities": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantCapabilitiesDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants/claims/{claimReference}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "claimReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamClaimConsentStateDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants/claims/{claimReference}/evidence/{evidenceItemId}/access": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "claimReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "evidenceItemId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceAccessDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants/received": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scam-evidence-grants/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeScamEvidenceDisclosureGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeScamEvidenceDisclosureGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeScamEvidenceDisclosureGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScamEvidenceDisclosureGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScamEvidenceDisclosureGrants"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "asAttorney",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateScopeOfAuthorityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateScopeOfAuthorityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateScopeOfAuthorityRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/activate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ActivateScopeOfAuthorityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ActivateScopeOfAuthorityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ActivateScopeOfAuthorityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "402": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/attorney-visibility-preview": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AttorneyVisibilityPreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/categories": {
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetScopeCategoryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetScopeCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetScopeCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/fields": {
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetScopeFieldVisibilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetScopeFieldVisibilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetScopeFieldVisibilityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeScopeOfAuthorityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeScopeOfAuthorityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeScopeOfAuthorityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/scope": {
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateScopeOfAuthorityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateScopeOfAuthorityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpdateScopeOfAuthorityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/scope-of-authority/{id}/standby": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PlaceScopeOfAuthorityOnStandbyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PlaceScopeOfAuthorityOnStandbyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PlaceScopeOfAuthorityOnStandbyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ScopeOfAuthorityRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ScopeOfAuthority"
        ]
      }
    },
    "/api/v1/consent/self-sync-policies": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SelfSync.SelfSyncPolicyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfSyncPolicy"
        ]
      }
    },
    "/api/v1/consent/self-sync-policies/{deviceClass}": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "deviceClass",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetSelfSyncPolicyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetSelfSyncPolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetSelfSyncPolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SelfSync.SelfSyncPolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfSyncPolicy"
        ]
      }
    },
    "/api/v1/consent/session-access": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SessionAccessConsent"
        ]
      }
    },
    "/api/v1/consent/session-access/{consentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SessionAccessConsent"
        ]
      }
    },
    "/api/v1/consent/session-access/{consentId}/receipt": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SessionAccessConsentReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SessionAccessConsent"
        ]
      }
    },
    "/api/v1/consent/shared-credentials/{credentialId}/roles": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "credentialId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleMatrixDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SharedCredentialRole"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "credentialId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetSharedCredentialRoleRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetSharedCredentialRoleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetSharedCredentialRoleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SharedCredentialRole"
        ]
      }
    },
    "/api/v1/consent/shared-credentials/{credentialId}/roles/history": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "credentialId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SharedCredentialRoleHistoryDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SharedCredentialRole"
        ]
      }
    },
    "/api/v1/consent/special-assistance/carriers/{carrierIataCode}/catalogue": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "carrierIataCode",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.CarrierAssistanceCatalogueDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/awaiting-deletion": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/catalogue": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.CarrierAssistanceCatalogueDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/catalogue/categories/{category}": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "category",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Enums.PrmAssistanceCategory"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfigureAssistanceCategoryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfigureAssistanceCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfigureAssistanceCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.CarrierAssistanceCatalogueDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/catalogue/retention": {
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfigureAssistanceRetentionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfigureAssistanceRetentionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfigureAssistanceRetentionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.CarrierAssistanceCatalogueDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/notifications/outcome-batch": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeBatchRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeBatchRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeBatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.SpecialAssistance.AssistanceOutcomeBatchResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/notifications/{notificationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/notifications/{notificationId}/arrival": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ReportTripArrivalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ReportTripArrivalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ReportTripArrivalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/notifications/{notificationId}/deletion-attestation": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AttestAssistanceDeletionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AttestAssistanceDeletionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AttestAssistanceDeletionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/notifications/{notificationId}/open": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AssistanceDeskActorRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AssistanceDeskActorRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AssistanceDeskActorRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceNeedDisclosureDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/notifications/{notificationId}/outcome": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordAssistanceOutcomeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/overview": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/desk/roster": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "carrier",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "flightNumber",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "departureDate",
            "schema": {
              "format": "date",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceRosterItemDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/notifications": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.SpecialAssistanceNotificationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.NotifyAssistanceNeedRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.NotifyAssistanceNeedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.NotifyAssistanceNeedRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.SpecialAssistanceNotificationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/notifications/{notificationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.SpecialAssistanceNotificationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/notifications/{notificationId}/receipt": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.AssistanceDeletionReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/special-assistance/notifications/{notificationId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "notificationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SpecialAssistance.SpecialAssistanceNotificationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SpecialAssistance"
        ]
      }
    },
    "/api/v1/consent/status-projections": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.GrantStatusProjectionConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.GrantStatusProjectionConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.GrantStatusProjectionConsentRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.StatusProjection.StatusProjectionConsentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "StatusProjectionConsent"
        ]
      }
    },
    "/api/v1/consent/status-projections/check": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "holderId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "requesterId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "purpose",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "credentialId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.StatusProjection.StatusProjectionConsentDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "StatusProjectionConsent"
        ]
      }
    },
    "/api/v1/consent/status-projections/{consentId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "StatusProjectionConsent"
        ]
      }
    },
    "/api/v1/consent/statutory-disclosure-requests": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "matterId",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureRequestListDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "StatutoryDisclosureRequests"
        ]
      }
    },
    "/api/v1/consent/statutory-disclosure-requests/transitions": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordStatutoryDisclosureTransitionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordStatutoryDisclosureTransitionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordStatutoryDisclosureTransitionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureTransitionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "StatutoryDisclosureRequests"
        ]
      }
    },
    "/api/v1/consent/statutory-disclosure-requests/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StatutoryDisclosureRequestDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "StatutoryDisclosureRequests"
        ]
      }
    },
    "/api/v1/consent/succession-approvals": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenSuccessionApprovalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenSuccessionApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenSuccessionApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "SuccessionApprovals"
        ]
      }
    },
    "/api/v1/consent/succession-approvals/{caseId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SuccessionApprovals"
        ]
      }
    },
    "/api/v1/consent/succession-approvals/{caseId}/sign-offs": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SignOffSuccessionApprovalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SignOffSuccessionApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SignOffSuccessionApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SuccessionApprovals"
        ]
      }
    },
    "/api/v1/consent/succession-approvals/{caseId}/terms": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AmendSuccessionTermsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AmendSuccessionTermsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AmendSuccessionTermsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SuccessionApprovalDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SuccessionApprovals"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "includeArchived",
            "schema": {
              "type": "boolean"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateSupervisionControlTemplateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateSupervisionControlTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CreateSupervisionControlTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates/{id}/archive": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates/{id}/name": {
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RenameSupervisionControlTemplateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RenameSupervisionControlTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RenameSupervisionControlTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates/{id}/reactivate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates/{id}/versions": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReviseSupervisionControlTemplateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReviseSupervisionControlTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReviseSupervisionControlTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/supervision-control-templates/{id}/versions/{versionNumber}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "versionNumber",
            "required": true,
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupervisionControlTemplateVersionDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupervisionControlTemplates"
        ]
      }
    },
    "/api/v1/consent/translation-commissions": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "originalDocumentRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "role",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestTranslationCommissionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestTranslationCommissionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestTranslationCommissionRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/translation-commissions/{commissionId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "commissionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/translation-commissions/{commissionId}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "commissionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcceptTranslationCommissionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcceptTranslationCommissionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcceptTranslationCommissionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/translation-commissions/{commissionId}/attest": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "commissionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AttestTranslationCommissionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AttestTranslationCommissionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AttestTranslationCommissionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/translation-commissions/{commissionId}/bind": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "commissionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BindTranslationCommissionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BindTranslationCommissionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.BindTranslationCommissionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/translation-commissions/{commissionId}/failure": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "commissionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RaiseTranslationCommissionFailureRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RaiseTranslationCommissionFailureRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RaiseTranslationCommissionFailureRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/translation-commissions/{commissionId}/start": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "commissionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.Translation.TranslationCommissionDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TranslationCommission"
        ]
      }
    },
    "/api/v1/consent/trust-safety/ring-enforcements": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "ringId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "TrustSafetyRingEnforcements"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecuteRingEnforcementRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecuteRingEnforcementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecuteRingEnforcementRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "TrustSafetyRingEnforcements"
        ]
      }
    },
    "/api/v1/consent/trust-safety/ring-enforcements/{enforcementId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "enforcementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "TrustSafetyRingEnforcements"
        ]
      }
    },
    "/api/v1/consent/trust-safety/ring-enforcements/{enforcementId}/subjects/{subjectUserId}/reverse": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "enforcementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "subjectUserId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReverseRingEnforcementSubjectRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReverseRingEnforcementSubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReverseRingEnforcementSubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RingEnforcementDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "TrustSafetyRingEnforcements"
        ]
      }
    },
    "/api/v1/consent/validate": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentGrantValidationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentValidation"
        ]
      }
    },
    "/api/v1/consent/vault-splits/{splitId}/cascades": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "splitId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VaultSplitDocumentCascadeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "VaultSplitConsentCascades"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "splitId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CascadeVaultSplitConsentsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CascadeVaultSplitConsentsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CascadeVaultSplitConsentsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VaultSplitConsentCascadeResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "VaultSplitConsentCascades"
        ]
      }
    },
    "/api/v1/consent/vehicle-leases": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehicleProfileLeaseListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "VehicleLeases"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantVehicleLeaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantVehicleLeaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantVehicleLeaseRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehicleProfileLeaseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "VehicleLeases"
        ]
      }
    },
    "/api/v1/consent/vehicle-leases/{leaseId}/end": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "leaseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.EndVehicleLeaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.EndVehicleLeaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.EndVehicleLeaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LeasePurgeReportDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "VehicleLeases"
        ]
      }
    },
    "/api/v1/consent/vehicle-leases/{leaseId}/extend": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "leaseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExtendVehicleLeaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExtendVehicleLeaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExtendVehicleLeaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VehicleProfileLeaseDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "VehicleLeases"
        ]
      }
    },
    "/api/v1/consent/vehicle-leases/{leaseId}/purge-attestation": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "leaseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordVehiclePurgeReportRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordVehiclePurgeReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordVehiclePurgeReportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LeasePurgeReportDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "VehicleLeasePurgeAttestation"
        ]
      }
    },
    "/api/v1/consent/vehicle-leases/{leaseId}/purge-report": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "leaseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LeasePurgeReportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "VehicleLeases"
        ]
      }
    },
    "/api/v1/consent/vehicle-leases/{leaseId}/purge-report/recheck": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "leaseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecheckPurgeCategoryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecheckPurgeCategoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecheckPurgeCategoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LeasePurgeReportDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "VehicleLeases"
        ]
      }
    },
    "/api/v1/consent/verified-change/{changeId}/reconcile": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ReconcileVerifiedChangeRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ReconcileVerifiedChangeRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ReconcileVerifiedChangeRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "VerifiedChangeReconciliation"
        ]
      }
    },
    "/api/v1/consent/verified-change/{changeId}/reconciliations": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "VerifiedChangeReconciliation"
        ]
      }
    },
    "/api/v1/consent/verified-change/{changeId}/reconciliations/{reconciliationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "reconciliationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.VerifiedChangeReconciliationResult"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "VerifiedChangeReconciliation"
        ]
      }
    },
    "/api/v1/consent/visitor-records": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FileVisitorConsentRecordRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FileVisitorConsentRecordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FileVisitorConsentRecordRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentRecordDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "VisitorConsentRecords"
        ]
      }
    },
    "/api/v1/consent/visitor-records/{recordId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "recordId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VisitorConsentRecordDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "VisitorConsentRecords"
        ]
      }
    },
    "/api/v1/consent/wallet-claim-consents": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "disclosureRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "WalletClaimConsent"
        ]
      }
    },
    "/api/v1/consent/wallet-claim-consents/granularity": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentGranularityDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "WalletClaimConsent"
        ]
      }
    },
    "/api/v1/consent/wallet-claim-consents/sync": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SyncWalletClaimConsentsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SyncWalletClaimConsentsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SyncWalletClaimConsentsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentSyncResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "WalletClaimConsent"
        ]
      }
    },
    "/api/v1/consent/wallet-claim-consents/{recordId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "recordId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "WalletClaimConsent"
        ]
      }
    },
    "/api/v1/consent/wallet-claim-consents/{recordId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "recordId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.WalletClaimConsent.WalletClaimConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "WalletClaimConsent"
        ]
      }
    },
    "/api/v1/consent/{consentId}/accesses": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentAccessReportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/{consentId}/grantee-roster": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RouteConsentToGranteeRosterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RouteConsentToGranteeRosterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RouteConsentToGranteeRosterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentRosterRoutingDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "GranteeRosters"
        ]
      }
    },
    "/api/v1/consent/{consentId}/reliance": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.EstablishRelianceRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.EstablishRelianceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.EstablishRelianceRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Reliances"
        ]
      }
    },
    "/api/v1/consent/{consentId}/reliance/verification-revoked": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordRelianceRevokedRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordRelianceRevokedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordRelianceRevokedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RelianceRevocationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reliances"
        ]
      }
    },
    "/api/v1/consent/{id}/access-requests": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentAccessRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentAccessRequests"
        ]
      }
    },
    "/api/v1/consent/{id}/access-requests/{requestId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentAccessRequestDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentAccessRequests"
        ]
      }
    },
    "/api/v1/consent/{id}/access-requests/{requestId}/deny": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "requestId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DenyConsentAccessRequestRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DenyConsentAccessRequestRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DenyConsentAccessRequestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentAccessRequestDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentAccessRequests"
        ]
      }
    },
    "/api/v1/consent/{id}/compliance-snapshot": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ComplianceSnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentCompliance"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Created"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentCompliance"
        ]
      }
    },
    "/api/v1/consent/{id}/permissions": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.Permissions.ConsentPermissionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentPermissions"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AddPermissionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AddPermissionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AddPermissionRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentPermissions"
        ]
      }
    },
    "/api/v1/consent/{id}/permissions/{permId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "permId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ConsentPermissions"
        ]
      }
    },
    "/api/v1/consent/{id}/shared-content": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ResealSharedContentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ResealSharedContentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ResealSharedContentRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ConsentSharedContent"
        ]
      }
    },
    "/api/v1/consents/assurance-establishment": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordAssuranceEstablishmentConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordAssuranceEstablishmentConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordAssuranceEstablishmentConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssuranceEstablishmentConsentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "AssuranceEstablishmentConsent"
        ]
      }
    },
    "/api/v1/consents/biometric-processing": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordBiometricProcessingConsentRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordBiometricProcessingConsentRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordBiometricProcessingConsentRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BiometricProcessingConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BiometricProcessingConsentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "BiometricProcessingConsent"
        ]
      }
    },
    "/api/v1/consents/biometric-processing/{consentId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BiometricProcessingConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "BiometricProcessingConsent"
        ]
      }
    },
    "/api/v1/consents/biometric-processing/{consentId}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BiometricProcessingConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "BiometricProcessingConsent"
        ]
      }
    },
    "/api/v1/consents/counterparty-changes": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.CounterpartyChanges.CounterpartyChangeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Server Error"
          }
        },
        "tags": [
          "CounterpartyChanges"
        ]
      }
    },
    "/api/v1/consents/grants/multi-grantee": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.MultiGranteeGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.CreateMultiGranteeGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.CreateMultiGranteeGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.CreateMultiGranteeGrantRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.MultiGranteeGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      }
    },
    "/api/v1/consents/grants/multi-grantee/{grantId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.MultiGranteeGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.MultiGranteeGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      }
    },
    "/api/v1/consents/grants/multi-grantee/{grantId}/authorize-field": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.AuthorizeGranteeFieldRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.AuthorizeGranteeFieldRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.AuthorizeGranteeFieldRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.GranteeAccessDecisionDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      }
    },
    "/api/v1/consents/grants/multi-grantee/{grantId}/grantees/{granteeId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "granteeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.RevokeMultiGranteeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.MultiGrantee.MultiGranteeGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      }
    },
    "/api/v1/consents/grants/{grantId}/disclosure-report": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Domain.Entities.MultiGrantee.MultiGranteeDisclosureReport"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MultiGranteeConsent"
        ]
      }
    },
    "/api/v1/consents/qr": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.GenerateQRCodeResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "503": {
            "description": "Server Error"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/my": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/scan": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.ScanQRCodeResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/{id}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeQRCodeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeQRCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeQRCodeRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "QRCode"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeShareDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/{id}/sessions": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.StartQRCodeSessionResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/{id}/verify": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.VerifyQRCodeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.VerifyQRCodeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.VerifyQRCodeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.QRCode.QRCodeVerificationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.QRCode.QRCodeVerificationResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Queries.QRCode.QRCodeVerificationResult"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/{qrCodeId}/sessions/{sessionId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "qrCodeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeSessionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeSessionDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.QRCodeSessionDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/qr/{qrCodeId}/sessions/{sessionId}/complete": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "qrCodeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.CompleteQRCodeSessionCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.CompleteQRCodeSessionCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.QRCode.CompleteQRCodeSessionCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "QRCode"
        ]
      }
    },
    "/api/v1/consents/supplier-coverage": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupplierConsentCoverageRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupplierConsentCoverageRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupplierConsentCoverageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SupplierConsentBasisDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierConsentCoverage"
        ]
      }
    },
    "/api/v1/consents/validate": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateConsentGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ConsentGrantValidationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentValidation"
        ]
      }
    },
    "/api/v1/consents/validate-care-link": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateCareLinkRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateCareLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateCareLinkRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.CareLinkValidationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentInjectionValidation"
        ]
      }
    },
    "/api/v1/consents/validate-delegation": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateDelegationGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateDelegationGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateDelegationGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DelegationValidationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ConsentDelegationValidation"
        ]
      }
    },
    "/api/v1/consents/validate-injection": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateInjectionConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateInjectionConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ValidateInjectionConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.InjectionConsentValidationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "ConsentInjectionValidation"
        ]
      }
    },
    "/api/v1/contact-cards/{cardId}/boundary-snapshot": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "cardId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BoundarySnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ContactCardBoundarySnapshot"
        ]
      }
    },
    "/api/v1/contact-cards/{cardId}/majority-transfer/boundary-snapshot": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "cardId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BoundarySnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ContactCardBoundarySnapshot"
        ]
      }
    },
    "/api/v1/cross-instance-consent/request": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.CrossInstance.RequestConsentMirrorCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.CrossInstance.RequestConsentMirrorCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.CrossInstance.RequestConsentMirrorCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossInstance.CrossInstanceConsentMirrorDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CrossInstanceConsent"
        ]
      }
    },
    "/api/v1/cross-instance-consent/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossInstance.CrossInstanceConsentMirrorDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CrossInstanceConsent"
        ]
      }
    },
    "/api/v1/cross-instance-consent/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestCrossInstanceRevocationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestCrossInstanceRevocationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestCrossInstanceRevocationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.CrossInstance.CrossInstanceConsentMirrorDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "CrossInstanceConsent"
        ]
      }
    },
    "/api/v1/erasure-probe/{subjectId}": {
      "get": {
        "operationId": "EssenceErasureProbe",
        "parameters": [
          {
            "in": "path",
            "name": "subjectId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        },
        "tags": [
          "Erasure"
        ]
      }
    },
    "/api/v1/estate-disclosures": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "claimRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureBasisDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "EstateDisclosure"
        ]
      }
    },
    "/api/v1/estate-disclosures/basis": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureBasisRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureBasisRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureBasisRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureBasisDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "EstateDisclosure"
        ]
      }
    },
    "/api/v1/estate-disclosures/{demandRef}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "demandRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureBasisDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateDisclosure"
        ]
      }
    },
    "/api/v1/estate-disclosures/{demandRef}/scope-audit": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "demandRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureScopeAuditRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureScopeAuditRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordEstateDisclosureScopeAuditRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.EstateDisclosure.EstateDisclosureScopeAuditDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateDisclosure"
        ]
      }
    },
    "/api/v1/estate/release/bequest": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecutorBequestDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/consent": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PreAuthoriseReleaseOnDeathConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PreAuthoriseReleaseOnDeathConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PreAuthoriseReleaseOnDeathConsentRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/consent/mine": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DeferredGrantRegisterDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/consent/{consentId}/items/{itemId}/reveal": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "itemId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/consent/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/consent/{id}/activation-snapshot": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ActivationComplianceSnapshotDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/consent/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeReleaseOnDeathConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeReleaseOnDeathConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeReleaseOnDeathConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/org-executor/appointments": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ExecutorAppointmentCaseloadDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/org-executor/caseload": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgExecutorCaseloadDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/org-executor/cases/{consentId}/officer": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignExecutorOfficerRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignExecutorOfficerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignExecutorOfficerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/org-executor/cases/{consentId}/officer-attribution": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OfficerAttributionExportDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/org-executor/cases/{consentId}/officer/handover": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HandoverExecutorOfficerRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HandoverExecutorOfficerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HandoverExecutorOfficerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/estate/release/org-executor/cases/{consentId}/officer/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consentId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeExecutorOfficerRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeExecutorOfficerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeExecutorOfficerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ReleaseOnDeathConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EstateRelease"
        ]
      }
    },
    "/api/v1/family/households/{householdId}/shares": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CompleteHouseholdShareRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CompleteHouseholdShareRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.CompleteHouseholdShareRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.HouseholdShare.HouseholdShareResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "HouseholdShare"
        ]
      }
    },
    "/api/v1/family/households/{householdId}/shares/preview": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PreviewHouseholdShareRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PreviewHouseholdShareRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.PreviewHouseholdShareRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.HouseholdShare.HouseholdSharePreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "HouseholdShare"
        ]
      }
    },
    "/api/v1/family/households/{householdId}/shares/{documentId}/subject-consent": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "documentId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SubjectConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SubjectConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SubjectConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.HouseholdShare.HouseholdSharePreviewDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "HouseholdShare"
        ]
      }
    },
    "/api/v1/household/address-book/{householdId}/consent-log": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HouseholdConsentLogDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "HouseholdAddressBook"
        ]
      }
    },
    "/api/v1/household/address-book/{householdId}/consent-log/export": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IntraHouseholdConsentRecordDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "HouseholdAddressBook"
        ]
      }
    },
    "/api/v1/household/address-book/{householdId}/members/{memberRef}/departure-revocations": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "memberRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDepartingHouseholdMemberRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDepartingHouseholdMemberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeDepartingHouseholdMemberRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HouseholdMemberRevocationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "HouseholdDepartureRevocations"
        ]
      }
    },
    "/api/v1/household/address-book/{householdId}/members/{memberRef}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "memberRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeHouseholdMemberRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeHouseholdMemberRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokeHouseholdMemberRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.HouseholdMemberRevocationResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "HouseholdAddressBook"
        ]
      }
    },
    "/api/v1/household/address-book/{householdId}/members/{memberRef}/visibility": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "memberRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetFieldVisibilityRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetFieldVisibilityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetFieldVisibilityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FieldVisibilityGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "HouseholdAddressBook"
        ]
      }
    },
    "/api/v1/household/address-book/{householdId}/visibility": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "householdId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FieldVisibilityGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "HouseholdAddressBook"
        ]
      }
    },
    "/api/v1/identity/name-change/{changeId}/previous-name-disposition": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PreviousNameDisposition"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetPreviousNameDispositionRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetPreviousNameDispositionRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SetPreviousNameDispositionRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.VerifiedChange.PreviousNameDispositionResult"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "PreviousNameDisposition"
        ]
      }
    },
    "/api/v1/lawful-compulsion/bases": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "subjectRef",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionBasisDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "LawfulCompulsion"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordLawfulCompulsionBasisRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordLawfulCompulsionBasisRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RecordLawfulCompulsionBasisRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionBasisDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "LawfulCompulsion"
        ]
      }
    },
    "/api/v1/lawful-compulsion/bases/{instrumentReference}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "instrumentReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionBasisDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "LawfulCompulsion"
        ]
      }
    },
    "/api/v1/lawful-compulsion/bases/{instrumentReference}/access-decisions": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "instrumentReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DecideLawfulCompulsionAccessRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DecideLawfulCompulsionAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DecideLawfulCompulsionAccessRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionAccessDecisionDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "LawfulCompulsion"
        ]
      }
    },
    "/api/v1/lawful-compulsion/bases/{instrumentReference}/withdrawal": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "instrumentReference",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawLawfulCompulsionBasisRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawLawfulCompulsionBasisRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawLawfulCompulsionBasisRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LawfulCompulsion.LawfulCompulsionBasisDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "LawfulCompulsion"
        ]
      }
    },
    "/api/v1/legal-hold-release-requests": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "holdId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "owner",
            "schema": {
              "type": "string"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "maxResults",
            "schema": {
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.LegalHold.LegalHoldReleaseRequestDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "LegalHoldReleaseRequests"
        ]
      }
    },
    "/api/v1/orgs/{orgId}/locale-policy": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgNoticeLocalePolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgNoticeLocalePolicy"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgNoticeLocalePolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgNoticeLocalePolicy"
        ]
      }
    },
    "/api/v1/orgs/{orgId}/notice-cohorts": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.NoticeCohortsDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgNoticeLocalePolicy"
        ]
      }
    },
    "/api/v1/orgs/{orgId}/notice-cohorts/{locale}/re-serve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "locale",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkReServeResultDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgNoticeLocalePolicy"
        ]
      }
    },
    "/api/v1/orgs/{orgId}/notice-locale-policy": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgNoticeLocalePolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgNoticeLocalePolicy"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "orgId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertOrgNoticeLocalePolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OrgNoticeLocalePolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrgNoticeLocalePolicy"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/donor-disclosure-preferences": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDonorDisclosurePreferenceRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDonorDisclosurePreferenceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDonorDisclosurePreferenceRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorDisclosurePreferenceDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DonorDisclosurePreferences"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/donor-disclosure-preferences/{donorRef}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "donorRef",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorDisclosurePreferenceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "DonorDisclosurePreferences"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/donor-register/cases": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorCaseSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "DonorRegisterCases"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeDonorRegisterCaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeDonorRegisterCaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeDonorRegisterCaseRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorCaseSummaryDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DonorRegisterCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/donor-register/cases/{caseId}/assignment": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignDonorRegisterCaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignDonorRegisterCaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignDonorRegisterCaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.DonorCaseSummaryDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DonorRegisterCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/donor-register/cases/{caseId}/determination": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDonorDeterminationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDonorDeterminationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordDonorDeterminationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SignedDonorDeterminationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "DonorRegisterCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/module-switches/{switchId}/consent-rescope": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "switchId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ModuleSwitchEnvelopeOfEssence.Consent.Core.Contracts.DTOs.ModuleSwitchConsentRescopeDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ModuleSwitchConsentRescope"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "switchId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApplyModuleSwitchConsentRescopeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApplyModuleSwitchConsentRescopeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ApplyModuleSwitchConsentRescopeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ModuleSwitchEnvelopeOfEssence.Consent.Core.Contracts.DTOs.ModuleSwitchConsentRescopeDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ModuleSwitchConsentRescope"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "switchId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FrameModuleSwitchConsentRescopeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FrameModuleSwitchConsentRescopeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.FrameModuleSwitchConsentRescopeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ModuleSwitchEnvelopeOfEssence.Consent.Core.Contracts.DTOs.ModuleSwitchConsentRescopeDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "ModuleSwitchConsentRescope"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/origin-records/capabilities": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCapabilitiesDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OriginRecordsCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/origin-records/cases": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCaseSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OriginRecordsQueue"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsCaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsCaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsCaseRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCaseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "OriginRecordsCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/origin-records/cases/{caseId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCaseDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OriginRecordsCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/origin-records/cases/{caseId}/assignment": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignOriginRecordsCaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignOriginRecordsCaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.AssignOriginRecordsCaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsCaseSummaryDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OriginRecordsQueue"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/origin-records/cases/{caseId}/determination": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SignedOriginRecordsDeterminationDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OriginRecordsCases"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordOriginRecordsDeterminationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordOriginRecordsDeterminationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RecordOriginRecordsDeterminationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SignedOriginRecordsDeterminationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "OriginRecordsCases"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/pseudonymous-consent-grants": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "subjectPseudonym",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "PseudonymousConsentGrants"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProvisionPseudonymousConsentGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProvisionPseudonymousConsentGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ProvisionPseudonymousConsentGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          }
        },
        "tags": [
          "PseudonymousConsentGrants"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/pseudonymous-consent-grants/mine": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "PseudonymousConsentGrants"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/pseudonymous-consent-grants/revocations": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokePseudonymousConsentGrantsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokePseudonymousConsentGrantsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokePseudonymousConsentGrantsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.BulkRevokePseudonymousConsentGrantsResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "PseudonymousConsentGrants"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/pseudonymous-consent-grants/{grantId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "PseudonymousConsentGrants"
        ]
      }
    },
    "/api/v1/orgs/{organizationId}/pseudonymous-consent-grants/{grantId}/revocation": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokePseudonymousConsentGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokePseudonymousConsentGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RevokePseudonymousConsentGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.PseudonymousConsentGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "PseudonymousConsentGrants"
        ]
      }
    },
    "/api/v1/origin-records/requests": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsApplicationViewDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "OriginRecordsRequests"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsApplicationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsApplicationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.LodgeOriginRecordsApplicationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsApplicationViewDto"
                }
              }
            },
            "description": "Success"
          },
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsApplicationViewDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OriginRecordsRequests"
        ]
      }
    },
    "/api/v1/origin-records/requests/{caseId}/decision-notification": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetOriginRecordsDecisionNotificationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetOriginRecordsDecisionNotificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SetOriginRecordsDecisionNotificationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsApplicationViewDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OriginRecordsRequests"
        ]
      }
    },
    "/api/v1/origin-records/requests/{caseId}/withdrawal": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawOriginRecordsApplicationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawOriginRecordsApplicationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.WithdrawOriginRecordsApplicationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OriginRecordsApplicationViewDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OriginRecordsRequests"
        ]
      }
    },
    "/api/v1/records-handovers": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          }
        },
        "tags": [
          "RecordsHandover"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.InitiateRecordsHandoverRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.InitiateRecordsHandoverRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.InitiateRecordsHandoverRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.InitiateRecordsHandoverResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.InitiateRecordsHandoverResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.InitiateRecordsHandoverResultDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "RecordsHandover"
        ]
      }
    },
    "/api/v1/records-handovers/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "RecordsHandover"
        ]
      }
    },
    "/api/v1/records-handovers/{id}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RecordsHandover"
        ]
      }
    },
    "/api/v1/records-handovers/{id}/decline": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RecordsHandover"
        ]
      }
    },
    "/api/v1/records-handovers/{id}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.RecordsHandoverDecisionResultDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RecordsHandover"
        ]
      }
    },
    "/api/v1/secret-delegations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "secretId",
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SecretDelegationHolderTableDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SecretDelegation"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantSecretDelegationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantSecretDelegationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.GrantSecretDelegationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SecretDelegationGrantDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SecretDelegation"
        ]
      }
    },
    "/api/v1/secret-delegations/rotate": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotateDelegatedSecretRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotateDelegatedSecretRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotateDelegatedSecretRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RotateDelegatedSecretResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SecretDelegation"
        ]
      }
    },
    "/api/v1/secret-delegations/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeSecretDelegationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeSecretDelegationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeSecretDelegationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SecretDelegationGrantDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SecretDelegation"
        ]
      }
    },
    "/api/v1/self-exclusion/audit": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionAuditTrailDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RegisterSelfExclusionBroadcastRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RegisterSelfExclusionBroadcastRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RegisterSelfExclusionBroadcastRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/assurance": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastAssuranceDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/current": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/operators": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastOperatorsDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/{id}/operators/{operatorId}/proof": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "path",
            "name": "operatorId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionOperatorProofDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/{id}/rebroadcast": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RebroadcastSelfExclusionBroadcastRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RebroadcastSelfExclusionBroadcastRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RebroadcastSelfExclusionBroadcastRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/{id}/register-export": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionRegisterExportDto"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/{id}/renew": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RenewSelfExclusionBroadcastRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RenewSelfExclusionBroadcastRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RenewSelfExclusionBroadcastRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/{id}/withdrawal": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/broadcast/{id}/withdrawal/complete": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionBroadcastDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusionBroadcast"
        ]
      }
    },
    "/api/v1/self-exclusion/credential": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueSelfExclusionCredentialRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueSelfExclusionCredentialRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.IssueSelfExclusionCredentialRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionCredentialDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/credential/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionCredentialDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/credentials": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionCredentialDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/oversight": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionOversightDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/policy": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "jurisdiction",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionPolicyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/policy/effective": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "jurisdiction",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionPolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/policy/{jurisdiction}": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "jurisdiction",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertSelfExclusionPolicyRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertSelfExclusionPolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.UpsertSelfExclusionPolicyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionPolicyDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/presentations": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenSelfExclusionPresentationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenSelfExclusionPresentationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.OpenSelfExclusionPresentationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionPresentationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/reinstatement": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StartSelfExclusionReinstatementRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StartSelfExclusionReinstatementRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.StartSelfExclusionReinstatementRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionReinstatementDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/reinstatement/current": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionReinstatementDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/reinstatement/{id}/complete": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionReinstatementDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/self-exclusion/verify": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VerifySelfExclusionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VerifySelfExclusionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.VerifySelfExclusionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.SelfExclusionVerificationResult"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "SelfExclusion"
        ]
      }
    },
    "/api/v1/subject-export/scope": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SubjectExportScopeDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SubjectExport"
        ]
      }
    },
    "/api/v1/subject-export/{category}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "category",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          },
          {
            "in": "query",
            "name": "skip",
            "schema": {
              "default": 0,
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          },
          {
            "in": "query",
            "name": "take",
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.SubjectExportPageDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SubjectExport"
        ]
      }
    },
    "/api/v1/subscription/{id}/per-sync-strikes/reaffirm": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SubscriptionPerSyncStrikes"
        ]
      }
    },
    "/api/v1/third-party-consents": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "role",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/invitations/{token}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyInvitationView"
                }
              }
            },
            "description": "Success"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyInvitation"
        ]
      }
    },
    "/api/v1/third-party-consents/invitations/{token}/identity-binding": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestInvitationOtpRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestInvitationOtpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RequestInvitationOtpRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ThirdPartyInvitation"
        ]
      }
    },
    "/api/v1/third-party-consents/invitations/{token}/identity-binding/confirm": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfirmInvitationOtpRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfirmInvitationOtpRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.ConfirmInvitationOtpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ConfirmInvitationOtpResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ThirdPartyInvitation"
        ]
      }
    },
    "/api/v1/third-party-consents/invitations/{token}/respond": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RespondToInvitationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RespondToInvitationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RespondToInvitationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.RespondToInvitationResponse"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "ThirdPartyInvitation"
        ]
      }
    },
    "/api/v1/third-party-consents/invitations/{token}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "token",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawInvitationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawInvitationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.WithdrawInvitationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.AccountlessWithdrawalReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyInvitation"
        ]
      }
    },
    "/api/v1/third-party-consents/invite": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ThirdParty.InviteThirdPartyConsentCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ThirdParty.InviteThirdPartyConsentCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.Commands.ThirdParty.InviteThirdPartyConsentCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.InviteThirdPartyConsentResponse"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Client Error"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Too Many Requests"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/subject-shares": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "token",
            "schema": {
              "type": "string"
            },
            "style": "form"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.SubjectSharesDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcceptThirdPartyConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcceptThirdPartyConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.AcceptThirdPartyConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/auto-update": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.RecordAutoUpdateDisclosureRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.RecordAutoUpdateDisclosureRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.RecordAutoUpdateDisclosureRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.AutoUpdateEventDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/auto-update-events": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.AutoUpdateEventListDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/data-subject-deceased": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsentDeceasedSubject"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/decline": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeclineThirdPartyConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeclineThirdPartyConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DeclineThirdPartyConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/link-grant": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.LinkThirdPartyConsentGrantRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.LinkThirdPartyConsentGrantRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.LinkThirdPartyConsentGrantRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ValidationProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/purge-receipt": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.PurgeReceiptDto"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeThirdPartyConsentRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeThirdPartyConsentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.RevokeThirdPartyConsentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/subject-approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SubjectEscrowDecisionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SubjectEscrowDecisionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.SubjectEscrowDecisionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/third-party-consents/{id}/subject-deny": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DenyThirdPartyConsentBySubjectRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DenyThirdPartyConsentBySubjectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Api.Controllers.DenyThirdPartyConsentBySubjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Application.DTOs.ThirdParty.ThirdPartyConsentDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ThirdPartyConsent"
        ]
      }
    },
    "/api/v1/user/reliances": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.RelianceViewDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "Success"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Reliances"
        ]
      }
    },
    "/api/v{version}/consent/parent-access-scope": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "type": "string"
            },
            "style": "simple"
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ParentAccessConsentScopeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ParentAccessConsentScopeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ParentAccessConsentScopeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Essence.Consent.Core.Contracts.DTOs.ParentAccessConsentScopeResultDto"
                }
              }
            },
            "description": "Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "tags": [
          "ParentAccessConsentScope"
        ]
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ]
}
