{
  "components": {
    "schemas": {
      "ActivateContinuityAlternateRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AddBondCallLinkCommand": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "bondCallChainId": {
            "format": "uuid",
            "type": "string"
          },
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "derivedFromLinkId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "linkType": {
            "nullable": true,
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "referenceLabel": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AddCredentialCommand": {
        "additionalProperties": false,
        "properties": {
          "attributes": {
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true,
            "type": "object"
          },
          "certificateNumber": {
            "nullable": true,
            "type": "string"
          },
          "expirationDate": {
            "format": "date-time",
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "issueDate": {
            "format": "date-time",
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/CredentialType"
          }
        },
        "type": "object"
      },
      "AddInsuranceCommand": {
        "additionalProperties": false,
        "properties": {
          "coverageAmount": {
            "format": "double",
            "type": "number"
          },
          "coverageCurrency": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "insuranceType": {
            "$ref": "#/components/schemas/InsuranceType"
          },
          "meetsMinimum": {
            "type": "boolean"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "policyNumber": {
            "nullable": true,
            "type": "string"
          },
          "provider": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "territory": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AdjudicateSanctionsCaseRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "verdict": {
            "$ref": "#/components/schemas/SanctionsCaseStatus"
          }
        },
        "type": "object"
      },
      "AdoptVerificationPolicyRequestDto": {
        "additionalProperties": false,
        "properties": {
          "performerRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reviewerRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "statement": {
            "nullable": true,
            "type": "string"
          },
          "supervisorRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "AnchorBondCallLinkCommand": {
        "additionalProperties": false,
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "anchorId": {
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "type": "string"
          },
          "bondCallChainId": {
            "format": "uuid",
            "type": "string"
          },
          "linkId": {
            "format": "uuid",
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AnchorProofDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "blockHeight": {
            "format": "int64",
            "type": "integer"
          },
          "contentHashHex": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "txHash": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ApplyCarbonCheckRequestDto": {
        "additionalProperties": false,
        "properties": {
          "report": {}
        },
        "type": "object"
      },
      "ApproveSupplierCommand": {
        "additionalProperties": false,
        "properties": {
          "approvedBy": {
            "format": "uuid",
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttachCarbonAnchorRequestDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "blockHeight": {
            "format": "int64",
            "type": "integer"
          },
          "contentHashHex": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "txHash": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttachDpaCommand": {
        "additionalProperties": false,
        "properties": {
          "dpaReference": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttestConflictOfInterestRequestDto": {
        "additionalProperties": false,
        "properties": {
          "conflictDeclared": {
            "type": "boolean"
          },
          "declaredInterest": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttestVerificationPeriodRequestDto": {
        "additionalProperties": false,
        "properties": {
          "periodEnd": {
            "format": "date-time",
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          },
          "statement": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AwardEvaluatorDto": {
        "additionalProperties": false,
        "properties": {
          "coiAttested": {
            "type": "boolean"
          },
          "coiEntries": {
            "items": {
              "$ref": "#/components/schemas/CoiAttestationEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "conflictDeclared": {
            "type": "boolean"
          },
          "declaredInterest": {
            "nullable": true,
            "type": "string"
          },
          "evaluatorId": {
            "format": "uuid",
            "type": "string"
          },
          "evaluatorName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AwardEvidenceLineDto": {
        "additionalProperties": false,
        "properties": {
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "changedSinceAward": {
            "type": "boolean"
          },
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "currentStatus": {
            "nullable": true,
            "type": "string"
          },
          "expiresAtAward": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "flagged": {
            "type": "boolean"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "statusAtAward": {
            "nullable": true,
            "type": "string"
          },
          "typeCode": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAtAward": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "AwardOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "awardId": {
            "format": "uuid",
            "type": "string"
          },
          "bidderReasons": {
            "nullable": true,
            "type": "string"
          },
          "consentExpiryLedger": {
            "items": {
              "$ref": "#/components/schemas/ConsentExpiryLedgerEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "decidedByName": {
            "nullable": true,
            "type": "string"
          },
          "evaluators": {
            "items": {
              "$ref": "#/components/schemas/AwardEvaluatorDto"
            },
            "nullable": true,
            "type": "array"
          },
          "evidenceProvenance": {
            "items": {
              "$ref": "#/components/schemas/AwardEvidenceLineDto"
            },
            "nullable": true,
            "type": "array"
          },
          "evidenceProvenanceRecorded": {
            "type": "boolean"
          },
          "flaggedEvidenceCount": {
            "format": "int32",
            "type": "integer"
          },
          "notifiedCount": {
            "format": "int32",
            "type": "integer"
          },
          "rationale": {
            "nullable": true,
            "type": "string"
          },
          "scores": {
            "items": {
              "$ref": "#/components/schemas/AwardScoreLineDto"
            },
            "nullable": true,
            "type": "array"
          },
          "tenderId": {
            "format": "uuid",
            "type": "string"
          },
          "winningBidId": {
            "format": "uuid",
            "type": "string"
          },
          "winningSupplierName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AwardRequestDto": {
        "additionalProperties": false,
        "properties": {
          "bidderReasons": {
            "nullable": true,
            "type": "string"
          },
          "rationale": {
            "nullable": true,
            "type": "string"
          },
          "winningBidId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "AwardScoreLineDto": {
        "additionalProperties": false,
        "properties": {
          "belowGate": {
            "type": "boolean"
          },
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "evidenceFlagged": {
            "type": "boolean"
          },
          "notified": {
            "type": "boolean"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          },
          "weightedTotal": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "BidAccessLogEntryDto": {
        "additionalProperties": false,
        "properties": {
          "actorName": {
            "nullable": true,
            "type": "string"
          },
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "evidenceTypeCode": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BidDto": {
        "additionalProperties": false,
        "properties": {
          "consentExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/EvidenceReferenceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "stageGrants": {
            "items": {
              "$ref": "#/components/schemas/BidStageGrantDto"
            },
            "nullable": true,
            "type": "array"
          },
          "stageOutcomes": {
            "items": {
              "$ref": "#/components/schemas/BidStageOutcomeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "submittedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          },
          "tenderId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "BidScoreDto": {
        "additionalProperties": false,
        "properties": {
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "comment": {
            "nullable": true,
            "type": "string"
          },
          "criterionId": {
            "format": "uuid",
            "type": "string"
          },
          "score": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BidStageGrantDto": {
        "additionalProperties": false,
        "properties": {
          "closedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "stageId": {
            "format": "uuid",
            "type": "string"
          },
          "stageKind": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BidStageOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "failedCriterionIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "stageId": {
            "format": "uuid",
            "type": "string"
          },
          "stageKind": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BindEsgEvidenceSourceRequestDto": {
        "additionalProperties": false,
        "properties": {
          "component": {
            "nullable": true,
            "type": "string"
          },
          "feedId": {
            "nullable": true,
            "type": "string"
          },
          "feedLabel": {
            "nullable": true,
            "type": "string"
          },
          "freshnessMaxAgeHours": {
            "format": "int32",
            "type": "integer"
          },
          "metric": {
            "nullable": true,
            "type": "string"
          },
          "minimumReadings": {
            "format": "int32",
            "type": "integer"
          },
          "requireAnchoredReadings": {
            "type": "boolean"
          },
          "unit": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BlockingIssueDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "code": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "relatedEntityId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "since": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BondCallApprovalDto": {
        "additionalProperties": false,
        "properties": {
          "approvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "approverUserId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BondCallChainLinkDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "contentHash": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "derivedFromLinkId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isAnchored": {
            "type": "boolean"
          },
          "linkType": {
            "nullable": true,
            "type": "string"
          },
          "referenceId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "referenceLabel": {
            "nullable": true,
            "type": "string"
          },
          "sourceEpic": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "BondCallDetailDto": {
        "additionalProperties": false,
        "properties": {
          "amountDemanded": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "approvals": {
            "items": {
              "$ref": "#/components/schemas/BondCallApprovalDto"
            },
            "nullable": true,
            "type": "array"
          },
          "bondCallRecordId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "bondExpiresOn": {
            "format": "date-time",
            "type": "string"
          },
          "bondInstrumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "bondReference": {
            "nullable": true,
            "type": "string"
          },
          "bondSource": {
            "nullable": true,
            "type": "string"
          },
          "bondValue": {
            "format": "double",
            "type": "number"
          },
          "contractReference": {
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "declaredAt": {
            "format": "date-time",
            "type": "string"
          },
          "declaredByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "defaultSummary": {
            "nullable": true,
            "type": "string"
          },
          "demandChannel": {
            "nullable": true,
            "type": "string"
          },
          "demandIssuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isAuthorised": {
            "type": "boolean"
          },
          "links": {
            "items": {
              "$ref": "#/components/schemas/BondCallChainLinkDto"
            },
            "nullable": true,
            "type": "array"
          },
          "readiness": {
            "$ref": "#/components/schemas/BondCallReadinessDto"
          },
          "requiredApprovals": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "suretyName": {
            "nullable": true,
            "type": "string"
          },
          "timeline": {
            "items": {
              "$ref": "#/components/schemas/BondCallStatusEventDto"
            },
            "nullable": true,
            "type": "array"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BondCallReadinessCheckDto": {
        "additionalProperties": false,
        "properties": {
          "blocking": {
            "type": "boolean"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "satisfied": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "BondCallReadinessDto": {
        "additionalProperties": false,
        "properties": {
          "checks": {
            "items": {
              "$ref": "#/components/schemas/BondCallReadinessCheckDto"
            },
            "nullable": true,
            "type": "array"
          },
          "isReady": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "BondCallStatusEventDto": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "recordedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BondCallSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "amountDemanded": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "bondExpiresOn": {
            "format": "date-time",
            "type": "string"
          },
          "bondReference": {
            "nullable": true,
            "type": "string"
          },
          "bondSource": {
            "nullable": true,
            "type": "string"
          },
          "bondValue": {
            "format": "double",
            "type": "number"
          },
          "contractReference": {
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "declaredAt": {
            "format": "date-time",
            "type": "string"
          },
          "demandIssuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "suretyName": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BreachedMilestoneInput": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "nullable": true,
            "type": "string"
          },
          "milestoneId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BulkImportRowResult": {
        "additionalProperties": false,
        "properties": {
          "errorCode": {
            "nullable": true,
            "type": "string"
          },
          "externalSupplierKey": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "nullable": true,
            "type": "string"
          },
          "row": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BulkImportSummary": {
        "additionalProperties": false,
        "properties": {
          "cancelled": {
            "type": "boolean"
          },
          "created": {
            "format": "int32",
            "type": "integer"
          },
          "errors": {
            "format": "int32",
            "type": "integer"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/BulkImportRowResult"
            },
            "nullable": true,
            "type": "array"
          },
          "skipped": {
            "format": "int32",
            "type": "integer"
          },
          "totalRows": {
            "format": "int32",
            "type": "integer"
          },
          "updated": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "CancelSupplierBankDetailChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CancelTenderRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CarbonPurchaseDto": {
        "additionalProperties": false,
        "properties": {
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "evidenceDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "paymentReference": {
            "nullable": true,
            "type": "string"
          },
          "pricePaidMinorUnits": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "purchasedOn": {
            "format": "date-time",
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recordedBy": {
            "nullable": true,
            "type": "string"
          },
          "registryCode": {
            "nullable": true,
            "type": "string"
          },
          "serials": {
            "items": {
              "$ref": "#/components/schemas/CreditSerialDto"
            },
            "nullable": true,
            "type": "array"
          },
          "tonnesCo2e": {
            "format": "double",
            "type": "number"
          },
          "vintageYear": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "CarbonRetirementDto": {
        "additionalProperties": false,
        "properties": {
          "anchor": {
            "$ref": "#/components/schemas/AnchorProofDto"
          },
          "check": {
            "nullable": true
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "purchaseRecordId": {
            "format": "uuid",
            "type": "string"
          },
          "receipt": {
            "$ref": "#/components/schemas/RegistryReceiptDto"
          },
          "registryCode": {
            "nullable": true,
            "type": "string"
          },
          "retiredBy": {
            "nullable": true,
            "type": "string"
          },
          "serials": {
            "items": {
              "$ref": "#/components/schemas/CreditSerialDto"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tonnesCo2e": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "CategoryRequirementDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "ndaRequired": {
            "type": "boolean"
          },
          "requiredCredentialTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "CloseContinuityFailoverRequestDto": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CohortFilterDto": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "countries": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "riskLevels": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "spendBands": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "statuses": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "CoiAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "attestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "conflictDeclared": {
            "type": "boolean"
          },
          "conflictWithdrawn": {
            "type": "boolean"
          },
          "declaredInterest": {
            "nullable": true,
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/CoiAttestationEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "evaluatorId": {
            "format": "uuid",
            "type": "string"
          },
          "evaluatorName": {
            "nullable": true,
            "type": "string"
          },
          "tenderId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CoiAttestationEntryDto": {
        "additionalProperties": false,
        "properties": {
          "attestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "conflictDeclared": {
            "type": "boolean"
          },
          "declaredInterest": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CompleteOffboardingStepRequestDto": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ComplianceGateWebhookDto": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "disabledAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "failureCount": {
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastDeliveryAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "url": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ComplianceStatusDto": {
        "additionalProperties": false,
        "properties": {
          "blockingIssues": {
            "items": {
              "$ref": "#/components/schemas/BlockingIssueDto"
            },
            "nullable": true,
            "type": "array"
          },
          "compliant": {
            "type": "boolean"
          },
          "compositeRiskScore": {
            "format": "double",
            "type": "number"
          },
          "computedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiringItems": {
            "items": {
              "$ref": "#/components/schemas/ExpiringItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "riskLevel": {
            "$ref": "#/components/schemas/SupplierRiskLevel"
          },
          "suspended": {
            "type": "boolean"
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/BlockingIssueDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "ComplianceWebhookDeadLetterDto": {
        "additionalProperties": false,
        "properties": {
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "attemptNumber": {
            "format": "int32",
            "type": "integer"
          },
          "blockingIssueCodes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "changedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "currentlyCompliant": {
            "nullable": true,
            "type": "boolean"
          },
          "deliveredSince": {
            "type": "boolean"
          },
          "eventId": {
            "format": "uuid",
            "type": "string"
          },
          "lastAttemptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastError": {
            "nullable": true,
            "type": "string"
          },
          "lastStatusCode": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "webhookId": {
            "format": "uuid",
            "type": "string"
          },
          "webhookUrl": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ComplianceWebhookReplayResultDto": {
        "additionalProperties": false,
        "properties": {
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "deadLetteredAgain": {
            "type": "boolean"
          },
          "delivered": {
            "type": "boolean"
          },
          "endpointUnavailable": {
            "type": "boolean"
          },
          "rateLimited": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ComputeScorecardRequest": {
        "additionalProperties": false,
        "properties": {
          "observations": {
            "items": {
              "$ref": "#/components/schemas/KpiObservationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "periodEnd": {
            "format": "date-time",
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ConcentrationEntry": {
        "additionalProperties": false,
        "properties": {
          "annualSpendGbp": {
            "format": "double",
            "type": "number"
          },
          "sharePct": {
            "format": "double",
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ConfirmCarbonRetirementRequestDto": {
        "additionalProperties": false,
        "properties": {
          "beneficiary": {
            "nullable": true,
            "type": "string"
          },
          "receiptId": {
            "nullable": true,
            "type": "string"
          },
          "registryCode": {
            "nullable": true,
            "type": "string"
          },
          "retiredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ConsentBasisRecordDto": {
        "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"
      },
      "ConsentExpiryLedgerEntryDto": {
        "additionalProperties": false,
        "properties": {
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "consentGrantId": {
            "format": "uuid",
            "type": "string"
          },
          "expiredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ContinuityFailoverDto": {
        "additionalProperties": false,
        "properties": {
          "activatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "activatedBy": {
            "format": "uuid",
            "type": "string"
          },
          "alternateSupplierId": {
            "format": "uuid",
            "type": "string"
          },
          "closeNote": {
            "nullable": true,
            "type": "string"
          },
          "closedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "closedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "overridden": {
            "type": "boolean"
          },
          "overriddenBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "overrideJustification": {
            "nullable": true,
            "type": "string"
          },
          "postureAtActivation": {
            "$ref": "#/components/schemas/ContinuityPostureDto"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ContinuityPlanDto": {
        "additionalProperties": false,
        "properties": {
          "alternateState": {
            "nullable": true,
            "type": "string"
          },
          "alternateSupplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "failovers": {
            "items": {
              "$ref": "#/components/schemas/ContinuityFailoverDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastActivatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "primarySupplierId": {
            "format": "uuid",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "switchConditions": {
            "nullable": true,
            "type": "string"
          },
          "timesExercised": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ContinuityPostureDto": {
        "additionalProperties": false,
        "properties": {
          "blockingIssues": {
            "items": {
              "$ref": "#/components/schemas/ContinuityPostureIssueDto"
            },
            "nullable": true,
            "type": "array"
          },
          "compliant": {
            "type": "boolean"
          },
          "evaluatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiringItems": {
            "items": {
              "$ref": "#/components/schemas/ContinuityPostureIssueDto"
            },
            "nullable": true,
            "type": "array"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "supplierStatus": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ContinuityPostureIssueDto": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "nullable": true,
            "type": "string"
          },
          "date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateContinuityPlanRequestDto": {
        "additionalProperties": false,
        "properties": {
          "alternateSupplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "primarySupplierId": {
            "format": "uuid",
            "type": "string"
          },
          "switchConditions": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateKpiDefinitionRequest": {
        "additionalProperties": false,
        "properties": {
          "aggregation": {
            "nullable": true,
            "type": "string"
          },
          "amberThreshold": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "code": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "greenThreshold": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "lowerIsBetter": {
            "type": "boolean"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "unit": {
            "nullable": true,
            "type": "string"
          },
          "weight": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "CreateMitigationPlanCommand": {
        "additionalProperties": false,
        "properties": {
          "actionsJson": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "riskDomain": {
            "$ref": "#/components/schemas/RiskDomain"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "targetRiskReduction": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreateSupplierCommand": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "contactEmail": {
            "nullable": true,
            "type": "string"
          },
          "contactPhone": {
            "nullable": true,
            "type": "string"
          },
          "contractEndDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "contractStartDate": {
            "format": "date-time",
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "legalEntityName": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "registerAuthority": {
            "nullable": true,
            "type": "string"
          },
          "registrationNumber": {
            "nullable": true,
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          },
          "taxId": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/SupplierType"
          }
        },
        "type": "object"
      },
      "CredentialType": {
        "enum": [
          "ISO27001",
          "SOC2TypeII",
          "SOC3",
          "GDPRCompliance",
          "HIPAACompliance",
          "PCIDSS",
          "CyberInsurance",
          "LiabilityInsurance",
          "ProfessionalIndemnity",
          "PenetrationTest",
          "BusinessContinuityPlan",
          "DriverCpcDqc",
          "DriverVocationalEntitlement",
          "DriverMedicalD4",
          "DigitalTachographCard",
          "TradeLicence",
          "TaxRegistrationCertificate",
          "AuthorisedSignatory",
          "BankAccountConfirmation",
          "PlaceOfBusinessEvidence",
          "ReputationalReview",
          "MinorityOwned",
          "WomenOwned",
          "VeteranOwned",
          "DisabilityOwned"
        ],
        "type": "string"
      },
      "CreditCheckResultDto": {
        "additionalProperties": false,
        "properties": {
          "checkedAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "creditLimitGbp": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "provider": {
            "nullable": true,
            "type": "string"
          },
          "rating": {
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "score": {
            "format": "int32",
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "CreditSerialDto": {
        "additionalProperties": false,
        "properties": {
          "registryCode": {
            "nullable": true,
            "type": "string"
          },
          "serial": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "CycleAuthorityDto": {
        "additionalProperties": false,
        "properties": {
          "capabilities": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "delegatedTo": {
            "nullable": true,
            "type": "string"
          },
          "makerCheckerRequired": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "CycleRunDto": {
        "additionalProperties": false,
        "properties": {
          "approvedBy": {
            "nullable": true,
            "type": "string"
          },
          "cohort": {
            "$ref": "#/components/schemas/CohortFilterDto"
          },
          "completedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentBasis": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "launchedAt": {
            "format": "date-time",
            "type": "string"
          },
          "launchedBy": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "policyId": {
            "format": "uuid",
            "type": "string"
          },
          "policyName": {
            "nullable": true,
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/ScorecardRowDto"
            },
            "nullable": true,
            "type": "array"
          },
          "scope": {
            "$ref": "#/components/schemas/ScopePreviewDto"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "summary": {
            "$ref": "#/components/schemas/PortfolioSummaryDto"
          }
        },
        "type": "object"
      },
      "DataCategory": {
        "enum": [
          "PersonalData",
          "SensitivePersonalData",
          "FinancialData",
          "HealthData",
          "BiometricData",
          "NoPersonalData"
        ],
        "type": "string"
      },
      "DebriefPackDto": {
        "additionalProperties": false,
        "properties": {
          "belowGateCriteria": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "ownScores": {
            "items": {
              "$ref": "#/components/schemas/DebriefScoreDto"
            },
            "nullable": true,
            "type": "array"
          },
          "ownWeightedTotal": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "reasonsForBidders": {
            "nullable": true,
            "type": "string"
          },
          "tenderId": {
            "format": "uuid",
            "type": "string"
          },
          "tenderReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DebriefScoreDto": {
        "additionalProperties": false,
        "properties": {
          "criterionLabel": {
            "nullable": true,
            "type": "string"
          },
          "maxScore": {
            "format": "int32",
            "type": "integer"
          },
          "score": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "DecideSupplierBankDetailChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DecideSupplierProfileChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DeclareContractorDefaultCommand": {
        "additionalProperties": false,
        "properties": {
          "bondExpiresOn": {
            "format": "date-time",
            "type": "string"
          },
          "bondReference": {
            "nullable": true,
            "type": "string"
          },
          "bondValue": {
            "format": "double",
            "type": "number"
          },
          "breachedMilestones": {
            "items": {
              "$ref": "#/components/schemas/BreachedMilestoneInput"
            },
            "nullable": true,
            "type": "array"
          },
          "contractDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "contractDocumentLabel": {
            "nullable": true,
            "type": "string"
          },
          "contractReference": {
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "declaredByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "defaultSummary": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "requiredApprovals": {
            "format": "int32",
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "suretyName": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DeclareEudrConsignmentCommand": {
        "additionalProperties": false,
        "properties": {
          "attestations": {
            "items": {
              "$ref": "#/components/schemas/EudrAttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "commodity": {
            "nullable": true,
            "type": "string"
          },
          "consignmentRef": {
            "nullable": true,
            "type": "string"
          },
          "countryCode": {
            "nullable": true,
            "type": "string"
          },
          "countryTier": {
            "nullable": true,
            "type": "string"
          },
          "evidence": {
            "items": {
              "$ref": "#/components/schemas/EudrEvidenceItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "hsCode": {
            "nullable": true,
            "type": "string"
          },
          "netMassKg": {
            "format": "double",
            "type": "number"
          },
          "plots": {
            "items": {
              "$ref": "#/components/schemas/EudrPlotDto"
            },
            "nullable": true,
            "type": "array"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "ruleSet": {
            "$ref": "#/components/schemas/EudrRiskRuleSetDto"
          }
        },
        "required": [
          "commodity",
          "consignmentRef",
          "countryCode",
          "countryTier",
          "hsCode",
          "netMassKg"
        ],
        "type": "object"
      },
      "DeclareSupplierOrgLinkRequestDto": {
        "additionalProperties": false,
        "properties": {
          "linkedOrgId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "DeliveryNoteState": {
        "enum": [
          "Matched",
          "Discrepant",
          "Missing"
        ],
        "type": "string"
      },
      "DeliveryTrendsDto": {
        "additionalProperties": false,
        "properties": {
          "averageDefectRatePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "averageOnTimePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "defectChangePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "from": {
            "format": "date-time",
            "type": "string"
          },
          "onTimeChangePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "periods": {
            "items": {
              "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "to": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "DiversityAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "certificateNumber": {
            "nullable": true,
            "type": "string"
          },
          "credentialId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DraftTenderCriterionDto": {
        "additionalProperties": false,
        "properties": {
          "label": {
            "nullable": true,
            "type": "string"
          },
          "maxScore": {
            "format": "int32",
            "type": "integer"
          },
          "passMark": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "weight": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "DraftTenderStageDto": {
        "additionalProperties": false,
        "properties": {
          "closesAt": {
            "format": "date-time",
            "type": "string"
          },
          "criteria": {
            "items": {
              "$ref": "#/components/schemas/DraftTenderCriterionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "requiredEvidence": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "EnrolFoodSafetyIssuerKeyRequestDto": {
        "additionalProperties": false,
        "properties": {
          "issuerReference": {
            "nullable": true,
            "type": "string"
          },
          "publicJwk": {
            "nullable": true,
            "type": "string"
          },
          "schemeCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EscalateSupplierRequestDto": {
        "additionalProperties": false,
        "properties": {
          "escalationLevel": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EsgAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "anchor": {
            "$ref": "#/components/schemas/JsonNode"
          },
          "content": {
            "$ref": "#/components/schemas/JsonNode"
          },
          "storedAt": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EsgEvidenceSourceDto": {
        "additionalProperties": false,
        "properties": {
          "boundAt": {
            "nullable": true,
            "type": "string"
          },
          "component": {
            "nullable": true,
            "type": "string"
          },
          "feedId": {
            "nullable": true,
            "type": "string"
          },
          "feedLabel": {
            "nullable": true,
            "type": "string"
          },
          "freshnessMaxAgeHours": {
            "format": "int32",
            "type": "integer"
          },
          "id": {
            "nullable": true,
            "type": "string"
          },
          "metric": {
            "nullable": true,
            "type": "string"
          },
          "minimumReadings": {
            "format": "int32",
            "type": "integer"
          },
          "requireAnchoredReadings": {
            "type": "boolean"
          },
          "unit": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "EsgReportDto": {
        "additionalProperties": false,
        "properties": {
          "averageComposite": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "averageEnvironmental": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "averageGovernance": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "averageSocial": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "modernSlaveryStatementCount": {
            "format": "int32",
            "type": "integer"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "profiles": {
            "items": {
              "$ref": "#/components/schemas/SupplierEsgProfileDto"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierCount": {
            "format": "int32",
            "type": "integer"
          },
          "totalCarbonFootprintTonnes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "EudrAnchorReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "nullable": true,
            "type": "string"
          },
          "artifactKind": {
            "nullable": true,
            "type": "string"
          },
          "blockHeight": {
            "format": "int64",
            "type": "integer"
          },
          "contentHashHex": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "anchorId",
          "artifactKind",
          "blockHeight",
          "contentHashHex",
          "state"
        ],
        "type": "object"
      },
      "EudrAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "attestedOn": {
            "nullable": true,
            "type": "string"
          },
          "attestingOrgId": {
            "nullable": true,
            "type": "string"
          },
          "grade": {
            "nullable": true,
            "type": "string"
          },
          "plotId": {
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "grade",
          "plotId",
          "source"
        ],
        "type": "object"
      },
      "EudrChainStageDto": {
        "additionalProperties": false,
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "key": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "owningEpic": {
            "format": "int32",
            "type": "integer"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "detail",
          "key",
          "label",
          "owningEpic",
          "status"
        ],
        "type": "object"
      },
      "EudrConsignmentDto": {
        "additionalProperties": false,
        "properties": {
          "attestations": {
            "items": {
              "$ref": "#/components/schemas/EudrAttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "commodity": {
            "nullable": true,
            "type": "string"
          },
          "consignmentRef": {
            "nullable": true,
            "type": "string"
          },
          "countryCode": {
            "nullable": true,
            "type": "string"
          },
          "countryTier": {
            "nullable": true,
            "type": "string"
          },
          "hsCode": {
            "nullable": true,
            "type": "string"
          },
          "netMassKg": {
            "format": "double",
            "type": "number"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "plots": {
            "items": {
              "$ref": "#/components/schemas/EudrPlotDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "attestations",
          "commodity",
          "consignmentRef",
          "countryCode",
          "countryTier",
          "hsCode",
          "netMassKg",
          "organizationId",
          "plots"
        ],
        "type": "object"
      },
      "EudrConsignmentWorkspaceDto": {
        "additionalProperties": false,
        "properties": {
          "asOf": {
            "nullable": true,
            "type": "string"
          },
          "consignment": {
            "$ref": "#/components/schemas/EudrConsignmentDto"
          },
          "evidenceReceipt": {
            "$ref": "#/components/schemas/EudrAnchorReceiptDto"
          },
          "filingOutcome": {
            "$ref": "#/components/schemas/EudrFilingOutcomeDto"
          },
          "pack": {
            "$ref": "#/components/schemas/EudrEvidencePackDto"
          },
          "railAvailable": {
            "nullable": true,
            "type": "boolean"
          },
          "ruleSet": {
            "$ref": "#/components/schemas/EudrRiskRuleSetDto"
          },
          "signerName": {
            "nullable": true,
            "type": "string"
          },
          "signerSignedOff": {
            "nullable": true,
            "type": "boolean"
          },
          "statementReceipt": {
            "$ref": "#/components/schemas/EudrAnchorReceiptDto"
          }
        },
        "required": [
          "asOf",
          "consignment"
        ],
        "type": "object"
      },
      "EudrCorrectionItemDto": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "nullable": true,
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "plotId": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "code",
          "detail"
        ],
        "type": "object"
      },
      "EudrEvidenceItemDto": {
        "additionalProperties": false,
        "properties": {
          "contentHashHex": {
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "nullable": true,
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "plotId": {
            "nullable": true,
            "type": "string"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "contentHashHex",
          "documentId",
          "kind",
          "sizeBytes",
          "title"
        ],
        "type": "object"
      },
      "EudrEvidencePackDto": {
        "additionalProperties": false,
        "properties": {
          "consignmentRef": {
            "nullable": true,
            "type": "string"
          },
          "contractVersion": {
            "format": "int32",
            "type": "integer"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/EudrEvidenceItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "kinds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "packHashHex": {
            "nullable": true,
            "type": "string"
          },
          "totalBytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "consignmentRef",
          "contractVersion",
          "items",
          "kinds",
          "packHashHex",
          "totalBytes"
        ],
        "type": "object"
      },
      "EudrFilingOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "corrections": {
            "items": {
              "$ref": "#/components/schemas/EudrCorrectionItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "headline": {
            "nullable": true,
            "type": "string"
          },
          "receipt": {
            "$ref": "#/components/schemas/EudrFilingReceiptDto"
          },
          "recoverable": {
            "type": "boolean"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "corrections",
          "headline",
          "recoverable",
          "state"
        ],
        "type": "object"
      },
      "EudrFilingReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "correlationKey": {
            "nullable": true,
            "type": "string"
          },
          "ddsReference": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "nullable": true,
            "type": "string"
          },
          "retainUntil": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "correlationKey",
          "ddsReference",
          "issuedAt",
          "retainUntil"
        ],
        "type": "object"
      },
      "EudrInspectionLogEntryDto": {
        "additionalProperties": false,
        "properties": {
          "actorId": {
            "nullable": true,
            "type": "string"
          },
          "audience": {
            "nullable": true,
            "type": "string"
          },
          "disclosedAt": {
            "nullable": true,
            "type": "string"
          },
          "evidencePackDisclosed": {
            "type": "boolean"
          },
          "plotsDisclosed": {
            "format": "int32",
            "type": "integer"
          },
          "stateAtDisclosure": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "actorId",
          "audience",
          "disclosedAt",
          "evidencePackDisclosed",
          "plotsDisclosed",
          "stateAtDisclosure"
        ],
        "type": "object"
      },
      "EudrInspectionRecordDto": {
        "additionalProperties": false,
        "properties": {
          "audience": {
            "nullable": true,
            "type": "string"
          },
          "chainComplete": {
            "type": "boolean"
          },
          "consignmentRef": {
            "nullable": true,
            "type": "string"
          },
          "ddsReference": {
            "nullable": true,
            "type": "string"
          },
          "discrepancies": {
            "items": {
              "$ref": "#/components/schemas/EudrChainStageDto"
            },
            "nullable": true,
            "type": "array"
          },
          "headline": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "plots": {
            "items": {
              "$ref": "#/components/schemas/EudrPlotAttestationRowDto"
            },
            "nullable": true,
            "type": "array"
          },
          "retainUntil": {
            "nullable": true,
            "type": "string"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/EudrChainStageDto"
            },
            "nullable": true,
            "type": "array"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "audience",
          "chainComplete",
          "consignmentRef",
          "discrepancies",
          "headline",
          "organizationId",
          "plots",
          "stages",
          "state"
        ],
        "type": "object"
      },
      "EudrPlotAttestationRowDto": {
        "additionalProperties": false,
        "properties": {
          "areaHectares": {
            "format": "double",
            "type": "number"
          },
          "attestedOn": {
            "nullable": true,
            "type": "string"
          },
          "geolocation": {
            "nullable": true,
            "type": "string"
          },
          "grade": {
            "nullable": true,
            "type": "string"
          },
          "isPolygon": {
            "type": "boolean"
          },
          "lapsedSinceAttested": {
            "type": "boolean"
          },
          "plotId": {
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "validUntil": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "areaHectares",
          "geolocation",
          "grade",
          "isPolygon",
          "lapsedSinceAttested",
          "plotId",
          "source"
        ],
        "type": "object"
      },
      "EudrPlotDto": {
        "additionalProperties": false,
        "properties": {
          "areaHectares": {
            "format": "double",
            "type": "number"
          },
          "boundary": {
            "items": {
              "items": {
                "format": "double",
                "type": "number"
              },
              "type": "array"
            },
            "nullable": true,
            "type": "array"
          },
          "countryCode": {
            "nullable": true,
            "type": "string"
          },
          "geometry": {
            "nullable": true,
            "type": "string"
          },
          "latitude": {
            "format": "double",
            "type": "number"
          },
          "longitude": {
            "format": "double",
            "type": "number"
          },
          "plotId": {
            "nullable": true,
            "type": "string"
          },
          "productionFrom": {
            "nullable": true,
            "type": "string"
          },
          "productionTo": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "areaHectares",
          "countryCode",
          "geometry",
          "latitude",
          "longitude",
          "plotId",
          "productionFrom",
          "productionTo"
        ],
        "type": "object"
      },
      "EudrRegisterEntryDto": {
        "additionalProperties": false,
        "properties": {
          "blockingPlots": {
            "format": "int32",
            "type": "integer"
          },
          "commodity": {
            "nullable": true,
            "type": "string"
          },
          "consignmentRef": {
            "nullable": true,
            "type": "string"
          },
          "countryCode": {
            "nullable": true,
            "type": "string"
          },
          "ddsReference": {
            "nullable": true,
            "type": "string"
          },
          "retainUntil": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "blockingPlots",
          "commodity",
          "consignmentRef",
          "countryCode",
          "state"
        ],
        "type": "object"
      },
      "EudrRiskRuleSetDto": {
        "additionalProperties": false,
        "properties": {
          "commodity": {
            "nullable": true,
            "type": "string"
          },
          "countryTier": {
            "nullable": true,
            "type": "string"
          },
          "permitSelfDeclared": {
            "type": "boolean"
          },
          "requireAuthorisedSigner": {
            "type": "boolean"
          },
          "requiredEvidence": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "commodity",
          "countryTier",
          "permitSelfDeclared",
          "requireAuthorisedSigner",
          "requiredEvidence"
        ],
        "type": "object"
      },
      "EvidenceAssessmentDto": {
        "additionalProperties": false,
        "properties": {
          "currentEvidenceRatio": {
            "format": "double",
            "type": "number"
          },
          "daysToSoonestExpiry": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "evidenceAsOf": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "evidenceAsOfUnknown": {
            "type": "boolean"
          },
          "expiredTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "freshness": {
            "nullable": true,
            "type": "string"
          },
          "missingTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "EvidenceReferenceDto": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "lastVerifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revalidation": {
            "nullable": true,
            "type": "string"
          },
          "stageId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "typeCode": {
            "nullable": true,
            "type": "string"
          },
          "verified": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "ExpiringItemDto": {
        "additionalProperties": false,
        "properties": {
          "daysRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "expiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "itemId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "itemName": {
            "nullable": true,
            "type": "string"
          },
          "itemType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FailCarbonRetirementRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FinancialRiskBandDto": {
        "additionalProperties": false,
        "properties": {
          "base": {
            "format": "double",
            "type": "number"
          },
          "minScore": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FoodSafetyAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "attestationReference": {
            "nullable": true,
            "type": "string"
          },
          "attestationTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "boundConsignmentReference": {
            "nullable": true,
            "type": "string"
          },
          "documentDigest": {
            "nullable": true,
            "type": "string"
          },
          "documentDigestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isStanding": {
            "type": "boolean"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "producerOrganizationReference": {
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "nullable": true,
            "type": "string"
          },
          "schemeCode": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerified": {
            "type": "boolean"
          },
          "supersededAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "supersededByReference": {
            "nullable": true,
            "type": "string"
          },
          "vaultDocumentReference": {
            "nullable": true,
            "type": "string"
          },
          "verifiedByKeyId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "FoodSafetyAttestationEvidenceDto": {
        "additionalProperties": false,
        "properties": {
          "attestationReference": {
            "nullable": true,
            "type": "string"
          },
          "attestationTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "boundConsignmentReference": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "producerOrganizationReference": {
            "nullable": true,
            "type": "string"
          },
          "schemeCode": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerified": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "FoodSafetyIssuerKeyDto": {
        "additionalProperties": false,
        "properties": {
          "enrolledAt": {
            "nullable": true,
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "issuerReference": {
            "nullable": true,
            "type": "string"
          },
          "keyId": {
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "schemeCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "Form1BatchMemberDto": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/Form1LineItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "remarks": {
            "nullable": true,
            "type": "string"
          },
          "trackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "workOrderReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "items",
          "trackingNumber"
        ],
        "type": "object"
      },
      "Form1IssuanceDto": {
        "additionalProperties": false,
        "properties": {
          "approvalReference": {
            "nullable": true,
            "type": "string"
          },
          "approvingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "batchId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "certifiesThat": {
            "nullable": true,
            "type": "string"
          },
          "certifiesThatPreamble": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuerAddress": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Form1LineItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "lotReference": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "releaseKind": {
            "nullable": true,
            "type": "string"
          },
          "remarks": {
            "nullable": true,
            "type": "string"
          },
          "signatoryName": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supersededAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "supersededByTrackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "trackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "withdrawnReason": {
            "nullable": true,
            "type": "string"
          },
          "workOrderReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "approvalReference",
          "approvingAuthority",
          "certifiesThat",
          "certifiesThatPreamble",
          "id",
          "issuedAt",
          "issuerName",
          "items",
          "organizationId",
          "releaseKind",
          "signatoryName",
          "status",
          "trackingNumber"
        ],
        "type": "object"
      },
      "Form1LineItemDto": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "itemNumber": {
            "format": "int32",
            "type": "integer"
          },
          "partNumber": {
            "nullable": true,
            "type": "string"
          },
          "quantity": {
            "format": "double",
            "type": "number"
          },
          "quantityUom": {
            "nullable": true,
            "type": "string"
          },
          "serialNumber": {
            "nullable": true,
            "type": "string"
          },
          "statusWork": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "description",
          "itemNumber",
          "partNumber",
          "quantity",
          "statusWork"
        ],
        "type": "object"
      },
      "Form1ResolutionDto": {
        "additionalProperties": false,
        "properties": {
          "approvalReference": {
            "nullable": true,
            "type": "string"
          },
          "approvingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "contractVersion": {
            "format": "int32",
            "type": "integer"
          },
          "explanation": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "issuerOrganizationId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "partNumber": {
            "nullable": true,
            "type": "string"
          },
          "partSerialNumber": {
            "nullable": true,
            "type": "string"
          },
          "releaseKind": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "statusChangedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "statusWork": {
            "nullable": true,
            "type": "string"
          },
          "supersededByTrackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "trackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "withdrawnReason": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "contractVersion",
          "explanation",
          "outcome",
          "partSerialNumber",
          "trackingNumber"
        ],
        "type": "object"
      },
      "Form1TemplateDto": {
        "additionalProperties": false,
        "properties": {
          "approvalReference": {
            "nullable": true,
            "type": "string"
          },
          "approvingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "certifiesThat": {
            "nullable": true,
            "type": "string"
          },
          "defaultSignatoryName": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "issuerAddress": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "releaseKind": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "approvalReference",
          "approvingAuthority",
          "certifiesThat",
          "id",
          "isActive",
          "issuerName",
          "name",
          "organizationId",
          "releaseKind"
        ],
        "type": "object"
      },
      "GatePolicyChangeDto": {
        "additionalProperties": false,
        "properties": {
          "changedAt": {
            "format": "date-time",
            "type": "string"
          },
          "changedByName": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "resultingVersion": {
            "format": "int32",
            "type": "integer"
          },
          "summary": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "GatePolicyDto": {
        "additionalProperties": false,
        "properties": {
          "alertCadenceDays": {
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "nullable": true,
            "type": "array"
          },
          "approvalWorkflow": {
            "nullable": true,
            "type": "string"
          },
          "blockUnconfiguredSuppliers": {
            "nullable": true,
            "type": "boolean"
          },
          "categoryRequirements": {
            "items": {
              "$ref": "#/components/schemas/CategoryRequirementDto"
            },
            "nullable": true,
            "type": "array"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "riskWeights": {
            "$ref": "#/components/schemas/RiskWeightsDto"
          },
          "rules": {
            "items": {
              "$ref": "#/components/schemas/GateRuleDto"
            },
            "nullable": true,
            "type": "array"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updatedByName": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "GateRuleDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "id": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "threshold": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "trigger": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "GenerateSupplierContractCommand": {
        "additionalProperties": false,
        "properties": {
          "callbackUrl": {
            "nullable": true,
            "type": "string"
          },
          "contractType": {
            "nullable": true,
            "type": "string"
          },
          "effectiveDate": {
            "format": "date-time",
            "type": "string"
          },
          "expirationDate": {
            "format": "date-time",
            "type": "string"
          },
          "initiatedBy": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "primaryJurisdiction": {
            "nullable": true,
            "type": "string"
          },
          "requestSignature": {
            "type": "boolean"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "readOnly": true,
            "type": "string"
          },
          "signatureProviderHint": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "GenerateSupplierContractResult": {
        "additionalProperties": false,
        "properties": {
          "contractId": {
            "format": "uuid",
            "type": "string"
          },
          "contractReference": {
            "nullable": true,
            "type": "string"
          },
          "signerUrl": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "contractId",
          "contractReference",
          "status"
        ],
        "type": "object"
      },
      "GoodsReceivedRecordDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "deliveryNoteReference": {
            "nullable": true,
            "type": "string"
          },
          "deliveryNoteState": {
            "$ref": "#/components/schemas/DeliveryNoteState"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isOverDelivery": {
            "type": "boolean"
          },
          "isShortDelivery": {
            "type": "boolean"
          },
          "lineValue": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "orderedQuantity": {
            "format": "double",
            "type": "number"
          },
          "purchaseOrderLineNumber": {
            "format": "int32",
            "type": "integer"
          },
          "purchaseOrderReference": {
            "nullable": true,
            "type": "string"
          },
          "receiptReference": {
            "nullable": true,
            "type": "string"
          },
          "receivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "receivedByName": {
            "nullable": true,
            "type": "string"
          },
          "receivedByStaffId": {
            "nullable": true,
            "type": "string"
          },
          "receivedQuantity": {
            "format": "double",
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "unitPrice": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "valueSource": {
            "$ref": "#/components/schemas/GoodsReceivedValueSource"
          }
        },
        "type": "object"
      },
      "GoodsReceivedValueSource": {
        "enum": [
          "Unvalued",
          "StatedAtReceipt"
        ],
        "type": "string"
      },
      "GrantSanctionsOverrideRequestDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IncidentSeverity": {
        "enum": [
          "Low",
          "Medium",
          "High",
          "Critical"
        ],
        "type": "string"
      },
      "IncidentStatus": {
        "enum": [
          "Open",
          "Investigating",
          "Resolved",
          "Closed"
        ],
        "type": "string"
      },
      "IncidentType": {
        "enum": [
          "Outage",
          "Breach",
          "QualityIssue",
          "DeliveryFailure",
          "Compliance",
          "Security",
          "DataIncident",
          "Other"
        ],
        "type": "string"
      },
      "InspectorGrantDto": {
        "additionalProperties": false,
        "properties": {
          "accessCount": {
            "format": "int32",
            "type": "integer"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "fileId": {
            "format": "uuid",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "inspectorLabel": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "issuedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "lastAccessedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "revokedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "InspectorGrantIssuedDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "fileId": {
            "format": "uuid",
            "type": "string"
          },
          "grantId": {
            "format": "uuid",
            "type": "string"
          },
          "inspectionPath": {
            "nullable": true,
            "type": "string"
          },
          "inspectorLabel": {
            "nullable": true,
            "type": "string"
          },
          "token": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "InsuranceAdequacyDto": {
        "additionalProperties": false,
        "properties": {
          "entries": {
            "items": {
              "$ref": "#/components/schemas/InsuranceAdequacyEntry"
            },
            "nullable": true,
            "type": "array"
          },
          "meetsAllMinimums": {
            "type": "boolean"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "InsuranceAdequacyEntry": {
        "additionalProperties": false,
        "properties": {
          "hasActivePolicy": {
            "type": "boolean"
          },
          "insuranceType": {
            "$ref": "#/components/schemas/InsuranceType"
          },
          "meetsMinimum": {
            "type": "boolean"
          },
          "nextExpiry": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "InsuranceStatus": {
        "enum": [
          "Active",
          "ExpiringSoon",
          "Expired",
          "Lapsed",
          "Cancelled"
        ],
        "type": "string"
      },
      "InsuranceType": {
        "enum": [
          "Cyber",
          "PublicLiability",
          "ProfessionalIndemnity",
          "ProductLiability",
          "EmployersLiability",
          "DirectorsAndOfficers",
          "BusinessInterruption"
        ],
        "type": "string"
      },
      "IssueBondDemandCommand": {
        "additionalProperties": false,
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "amountDemanded": {
            "format": "double",
            "type": "number"
          },
          "bondCallChainId": {
            "format": "uuid",
            "type": "string"
          },
          "demandChannel": {
            "nullable": true,
            "type": "string"
          },
          "demandLetterHash": {
            "nullable": true,
            "type": "string"
          },
          "demandLetterId": {
            "format": "uuid",
            "type": "string"
          },
          "demandLetterLabel": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "IssueForm1BatchCommand": {
        "additionalProperties": false,
        "properties": {
          "approvalReference": {
            "nullable": true,
            "type": "string"
          },
          "approvingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "certifiesThat": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuerAddress": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "lotReference": {
            "nullable": true,
            "type": "string"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/Form1BatchMemberDto"
            },
            "nullable": true,
            "type": "array"
          },
          "releaseKind": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "signatoryName": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "lotReference",
          "members"
        ],
        "type": "object"
      },
      "IssueForm1Command": {
        "additionalProperties": false,
        "properties": {
          "approvalReference": {
            "nullable": true,
            "type": "string"
          },
          "approvingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "certifiesThat": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuerAddress": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/Form1LineItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "lotReference": {
            "nullable": true,
            "type": "string"
          },
          "releaseKind": {
            "nullable": true,
            "type": "string"
          },
          "remarks": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "signatoryName": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "trackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "workOrderReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "items",
          "trackingNumber"
        ],
        "type": "object"
      },
      "IssueInspectorGrantRequestDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "inspectorLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IssueSupplierPortalInviteResult": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "invitationId": {
            "format": "uuid",
            "type": "string"
          },
          "token": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "IssueVerificationFileRequestDto": {
        "additionalProperties": false,
        "properties": {
          "from": {
            "format": "date-time",
            "type": "string"
          },
          "to": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "JsonNode": {
        "additionalProperties": false,
        "properties": {
          "options": {
            "$ref": "#/components/schemas/JsonNodeOptions"
          },
          "parent": {
            "$ref": "#/components/schemas/JsonNode"
          },
          "root": {
            "$ref": "#/components/schemas/JsonNode"
          }
        },
        "type": "object"
      },
      "JsonNodeOptions": {
        "additionalProperties": false,
        "properties": {
          "propertyNameCaseInsensitive": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "KpiDefinitionDto": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "aggregation": {
            "nullable": true,
            "type": "string"
          },
          "amberThreshold": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "code": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "greenThreshold": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lowerIsBetter": {
            "type": "boolean"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "unit": {
            "nullable": true,
            "type": "string"
          },
          "weight": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "KpiObservationDto": {
        "additionalProperties": false,
        "properties": {
          "kpiCode": {
            "nullable": true,
            "type": "string"
          },
          "kpiDefinitionId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "observedAt": {
            "format": "date-time",
            "type": "string"
          },
          "value": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "LaunchCycleRequestDto": {
        "additionalProperties": false,
        "properties": {
          "cohort": {
            "$ref": "#/components/schemas/CohortFilterDto"
          },
          "confirmedSweepCount": {
            "format": "int32",
            "type": "integer"
          },
          "consentBasis": {
            "nullable": true,
            "type": "string"
          },
          "excludedSupplierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "policyId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "LinkedBuyerDto": {
        "additionalProperties": false,
        "properties": {
          "buyerOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "LogDeliveryIssueCommand": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "impactDescription": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "severity": {
            "$ref": "#/components/schemas/IncidentSeverity"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MitigationStatus": {
        "enum": [
          "Draft",
          "Active",
          "Completed",
          "Cancelled"
        ],
        "type": "string"
      },
      "NameContinuityAlternateRequestDto": {
        "additionalProperties": false,
        "properties": {
          "alternateSupplierId": {
            "format": "uuid",
            "type": "string"
          },
          "switchConditions": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "OffboardSupplierRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "OffboardingStepKind": {
        "enum": [
          "DataDestruction",
          "AccessRevocation",
          "ContractTermination",
          "PaymentReconciliation",
          "KnowledgeTransfer"
        ],
        "type": "string"
      },
      "OffboardingStepState": {
        "enum": [
          "Outstanding",
          "Complete",
          "Waived"
        ],
        "type": "string"
      },
      "OverrideContinuityActivationRequestDto": {
        "additionalProperties": false,
        "properties": {
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PolicyPreviewRowDto": {
        "additionalProperties": false,
        "properties": {
          "currentOutcome": {
            "nullable": true,
            "type": "string"
          },
          "newlyTriggeredRules": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "proposedOutcome": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PortfolioSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "evidenceCoverage": {
            "format": "double",
            "type": "number"
          },
          "flagged": {
            "format": "int32",
            "type": "integer"
          },
          "greenOnExpiredEvidence": {
            "format": "int32",
            "type": "integer"
          },
          "inScope": {
            "format": "int32",
            "type": "integer"
          },
          "refreshed": {
            "format": "int32",
            "type": "integer"
          },
          "scoringModel": {
            "$ref": "#/components/schemas/ScoringModelRefDto"
          },
          "trustedGreen": {
            "format": "int32",
            "type": "integer"
          },
          "unscoreable": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "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"
      },
      "ProfileChangeStatus": {
        "enum": [
          "Submitted",
          "Accepted",
          "Rejected"
        ],
        "type": "string"
      },
      "PublishTenderRequestDto": {
        "additionalProperties": false,
        "properties": {
          "enforcesSeparationOfDuties": {
            "type": "boolean"
          },
          "evaluationWindowEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "invitedSupplierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "requiresCoiAttestation": {
            "type": "boolean"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/DraftTenderStageDto"
            },
            "nullable": true,
            "type": "array"
          },
          "targeting": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "PutOnHoldCommand": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RaiseSupplierBankDetailChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "accountNumber": {
            "nullable": true,
            "type": "string"
          },
          "iban": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "sortCode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReassessmentPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "active": {
            "type": "boolean"
          },
          "agingLeadDays": {
            "format": "int32",
            "type": "integer"
          },
          "cadence": {
            "nullable": true,
            "type": "string"
          },
          "cohort": {
            "$ref": "#/components/schemas/CohortFilterDto"
          },
          "consentBasis": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isSystemDefault": {
            "type": "boolean"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "requiredEvidenceTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "scoreOnExpiredEvidence": {
            "type": "boolean"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordBondCallApprovalCommand": {
        "additionalProperties": false,
        "properties": {
          "approverUserId": {
            "format": "uuid",
            "type": "string"
          },
          "bondCallChainId": {
            "format": "uuid",
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordCarbonPurchaseRequestDto": {
        "additionalProperties": false,
        "properties": {
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "evidenceDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "paymentReference": {
            "nullable": true,
            "type": "string"
          },
          "pricePaidMinorUnits": {
            "format": "int64",
            "nullable": true,
            "type": "integer"
          },
          "purchasedOn": {
            "format": "date-time",
            "type": "string"
          },
          "serials": {
            "items": {
              "$ref": "#/components/schemas/CreditSerialDto"
            },
            "nullable": true,
            "type": "array"
          },
          "tonnesCo2e": {
            "format": "double",
            "type": "number"
          },
          "vintageYear": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RecordCarbonRetirementRequestDto": {
        "additionalProperties": false,
        "properties": {
          "purchaseRecordId": {
            "format": "uuid",
            "type": "string"
          },
          "serials": {
            "items": {
              "$ref": "#/components/schemas/CreditSerialDto"
            },
            "nullable": true,
            "type": "array"
          },
          "tonnesCo2e": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "RecordDeliveryMetricsCommand": {
        "additionalProperties": false,
        "properties": {
          "lateDeliveries": {
            "format": "int32",
            "type": "integer"
          },
          "leadTimeAccuracyPct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "periodEnd": {
            "format": "date-time",
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          },
          "rejectedDeliveries": {
            "format": "int32",
            "type": "integer"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "totalDeliveries": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RecordEudrAuthorityResponseCommand": {
        "additionalProperties": false,
        "properties": {
          "consignmentRef": {
            "nullable": true,
            "type": "string"
          },
          "corrections": {
            "items": {
              "$ref": "#/components/schemas/EudrCorrectionItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "correlationKey": {
            "nullable": true,
            "type": "string"
          },
          "ddsReference": {
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "response": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "consignmentRef",
          "response"
        ],
        "type": "object"
      },
      "RecordFoodSafetyAttestationRequestDto": {
        "additionalProperties": false,
        "properties": {
          "attestationReference": {
            "nullable": true,
            "type": "string"
          },
          "attestationTypes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "consignmentReference": {
            "nullable": true,
            "type": "string"
          },
          "documentDigest": {
            "nullable": true,
            "type": "string"
          },
          "documentDigestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuerSignature": {
            "nullable": true,
            "type": "string"
          },
          "producerOrganizationReference": {
            "nullable": true,
            "type": "string"
          },
          "schemeCode": {
            "nullable": true,
            "type": "string"
          },
          "supersedesAttestationReference": {
            "nullable": true,
            "type": "string"
          },
          "vaultDocumentReference": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordGoodsReceivedCommand": {
        "additionalProperties": false,
        "properties": {
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "deliveryNoteReference": {
            "nullable": true,
            "type": "string"
          },
          "deliveryNoteState": {
            "$ref": "#/components/schemas/DeliveryNoteState"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "orderedQuantity": {
            "format": "double",
            "type": "number"
          },
          "purchaseOrderLineNumber": {
            "format": "int32",
            "type": "integer"
          },
          "purchaseOrderReference": {
            "nullable": true,
            "type": "string"
          },
          "receiptReference": {
            "nullable": true,
            "type": "string"
          },
          "receivedAt": {
            "format": "date-time",
            "type": "string"
          },
          "receivedByName": {
            "nullable": true,
            "type": "string"
          },
          "receivedByStaffId": {
            "nullable": true,
            "type": "string"
          },
          "receivedQuantity": {
            "format": "double",
            "type": "number"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "unitPrice": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "RecordSupplierRegisterReviewRequest": {
        "additionalProperties": false,
        "properties": {
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "register": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordSupplyVerificationRequest": {
        "additionalProperties": false,
        "properties": {
          "cashReason": {
            "nullable": true,
            "type": "string"
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/SupplyCheckResultDto"
            },
            "nullable": true,
            "type": "array"
          },
          "invoiceReference": {
            "nullable": true,
            "type": "string"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/SupplyPaymentMethod"
          },
          "purchaseOrderReference": {
            "nullable": true,
            "type": "string"
          },
          "supplyValueAed": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "RecordSuretyResponseCommand": {
        "additionalProperties": false,
        "properties": {
          "actorUserId": {
            "format": "uuid",
            "type": "string"
          },
          "bondCallChainId": {
            "format": "uuid",
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "response": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordVerificationFileAnchorRequestDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordVerificationReceiptAnchorRequestDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RegisterStatusSeverity": {
        "enum": [
          "Unclassified",
          "Recovered",
          "Distressed",
          "Ended"
        ],
        "type": "string"
      },
      "RegisterVerificationStatus": {
        "enum": [
          "NotChecked",
          "RegisterVerified",
          "NotFound",
          "Mismatch",
          "RegisterUnavailable",
          "EvidenceVerified"
        ],
        "type": "string"
      },
      "RegisterWebhookRequestDto": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "url": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RegisterWebhookResponseDto": {
        "additionalProperties": false,
        "properties": {
          "secret": {
            "nullable": true,
            "type": "string"
          },
          "webhookId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RegistryReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "beneficiary": {
            "nullable": true,
            "type": "string"
          },
          "receiptId": {
            "nullable": true,
            "type": "string"
          },
          "registryCode": {
            "nullable": true,
            "type": "string"
          },
          "retiredAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReinstateSupplierRequestDto": {
        "additionalProperties": false,
        "properties": {
          "evidenceCredentialId": {
            "format": "uuid",
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RemediationNoticeDto": {
        "additionalProperties": false,
        "properties": {
          "acknowledgedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "cycleId": {
            "format": "uuid",
            "type": "string"
          },
          "deliveredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "dueBy": {
            "format": "date-time",
            "type": "string"
          },
          "escalatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "evidenceLabel": {
            "nullable": true,
            "type": "string"
          },
          "evidenceType": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lastRemindedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "remindersSent": {
            "format": "int32",
            "type": "integer"
          },
          "resolvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reuploadHref": {
            "nullable": true,
            "type": "string"
          },
          "sentAt": {
            "format": "date-time",
            "type": "string"
          },
          "sentBy": {
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RemediationSlaDto": {
        "additionalProperties": false,
        "properties": {
          "autoSuspendAfterMissedCycles": {
            "format": "int32",
            "type": "integer"
          },
          "configured": {
            "type": "boolean"
          },
          "escalateAfterDays": {
            "format": "int32",
            "type": "integer"
          },
          "graceDays": {
            "format": "int32",
            "type": "integer"
          },
          "reminderEveryDays": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RenewCredentialCommand": {
        "additionalProperties": false,
        "properties": {
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "newCertificateNumber": {
            "nullable": true,
            "type": "string"
          },
          "newExpirationDate": {
            "format": "date-time",
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RenewInsuranceCommand": {
        "additionalProperties": false,
        "properties": {
          "insuranceId": {
            "format": "uuid",
            "type": "string"
          },
          "newExpiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "newPolicyNumber": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RequirementItemDto": {
        "additionalProperties": false,
        "properties": {
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "dueAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "rejectionReason": {
            "nullable": true,
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RespondToTenderRequestDto": {
        "additionalProperties": false,
        "properties": {
          "consentAcknowledged": {
            "type": "boolean"
          },
          "credentialIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "RespondToTenderResultDto": {
        "additionalProperties": false,
        "properties": {
          "attachedEvidence": {
            "items": {
              "$ref": "#/components/schemas/EvidenceReferenceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "consentExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "submittedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReviewSupplierCheckRequestDto": {
        "additionalProperties": false,
        "properties": {
          "checkId": {
            "format": "uuid",
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RiskAssessmentResultDto": {
        "additionalProperties": false,
        "properties": {
          "assessedAtUtc": {
            "format": "date-time",
            "type": "string"
          },
          "factorScores": {
            "additionalProperties": {
              "format": "double",
              "type": "number"
            },
            "nullable": true,
            "type": "object"
          },
          "grade": {
            "nullable": true,
            "type": "string"
          },
          "overallScore": {
            "format": "double",
            "type": "number"
          },
          "provider": {
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "RiskDomain": {
        "enum": [
          "Compliance",
          "Financial",
          "Performance",
          "Delivery",
          "Esg",
          "Insurance"
        ],
        "type": "string"
      },
      "RiskMitigationPlanDto": {
        "additionalProperties": false,
        "properties": {
          "actionsJson": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "riskDomain": {
            "$ref": "#/components/schemas/RiskDomain"
          },
          "status": {
            "$ref": "#/components/schemas/MitigationStatus"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "targetRiskReduction": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RiskSettingsDto": {
        "additionalProperties": false,
        "properties": {
          "financialCreditBands": {
            "items": {
              "$ref": "#/components/schemas/FinancialRiskBandDto"
            },
            "nullable": true,
            "type": "array"
          },
          "financialFlagThreshold": {
            "format": "double",
            "type": "number"
          },
          "isConfigured": {
            "type": "boolean"
          },
          "settingsVersion": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "suppliersRescored": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updatedByName": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RiskWeightsDto": {
        "additionalProperties": false,
        "properties": {
          "compliance": {
            "format": "double",
            "type": "number"
          },
          "delivery": {
            "format": "double",
            "type": "number"
          },
          "esg": {
            "format": "double",
            "type": "number"
          },
          "financial": {
            "format": "double",
            "type": "number"
          },
          "insurance": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "RosterEligibilityRuleDto": {
        "additionalProperties": false,
        "properties": {
          "expiringWindowDays": {
            "format": "int32",
            "type": "integer"
          },
          "gatingCredentials": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "grace": {
            "$ref": "#/components/schemas/RosterGracePolicyDto"
          },
          "jobTypeOverrides": {
            "items": {
              "$ref": "#/components/schemas/RosterJobTypeOverrideDto"
            },
            "nullable": true,
            "type": "array"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updatedByName": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RosterGracePolicyDto": {
        "additionalProperties": false,
        "properties": {
          "appliesTo": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "maxDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "mode": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RosterJobTypeOverrideDto": {
        "additionalProperties": false,
        "properties": {
          "additionalGating": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "jobType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SanctionsCandidateDto": {
        "additionalProperties": false,
        "properties": {
          "countries": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "entityId": {
            "nullable": true,
            "type": "string"
          },
          "listName": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "programId": {
            "nullable": true,
            "type": "string"
          },
          "score": {
            "format": "double",
            "type": "number"
          },
          "topics": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "SanctionsCaseDetailDto": {
        "additionalProperties": false,
        "properties": {
          "candidates": {
            "items": {
              "$ref": "#/components/schemas/SanctionsCandidateDto"
            },
            "nullable": true,
            "type": "array"
          },
          "candidatesAvailable": {
            "type": "boolean"
          },
          "case": {
            "$ref": "#/components/schemas/SanctionsCaseDto"
          }
        },
        "type": "object"
      },
      "SanctionsCaseDto": {
        "additionalProperties": false,
        "properties": {
          "adjudicatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "adjudicatedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "adjudicationReason": {
            "nullable": true,
            "type": "string"
          },
          "candidateKeys": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "carriedFromCaseId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "listVersion": {
            "nullable": true,
            "type": "string"
          },
          "matchedListName": {
            "nullable": true,
            "type": "string"
          },
          "overrideActive": {
            "type": "boolean"
          },
          "overrideExpiresAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "overrideGrantedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "overrideGrantedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "overrideJustification": {
            "nullable": true,
            "type": "string"
          },
          "raisedAt": {
            "format": "date-time",
            "type": "string"
          },
          "raisedOutcome": {
            "$ref": "#/components/schemas/SanctionsScreeningStatus"
          },
          "screenedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "screeningReference": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/SanctionsCaseStatus"
          },
          "supersededAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SanctionsCaseStatus": {
        "enum": [
          "Open",
          "TrueMatch",
          "FalsePositive",
          "Suppressed",
          "Superseded"
        ],
        "type": "string"
      },
      "SanctionsScreeningStatus": {
        "enum": [
          "NotScreened",
          "Clear",
          "PotentialMatch",
          "Match",
          "NoVerdict"
        ],
        "type": "string"
      },
      "SaveBidScoresRequestDto": {
        "additionalProperties": false,
        "properties": {
          "scores": {
            "items": {
              "$ref": "#/components/schemas/BidScoreDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "SaveForm1TemplateCommand": {
        "additionalProperties": false,
        "properties": {
          "approvalReference": {
            "nullable": true,
            "type": "string"
          },
          "approvingAuthority": {
            "nullable": true,
            "type": "string"
          },
          "certifiesThat": {
            "nullable": true,
            "type": "string"
          },
          "defaultSignatoryName": {
            "nullable": true,
            "type": "string"
          },
          "issuerAddress": {
            "nullable": true,
            "type": "string"
          },
          "issuerName": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "releaseKind": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "templateId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "approvalReference",
          "approvingAuthority",
          "certifiesThat",
          "issuerName",
          "name",
          "releaseKind"
        ],
        "type": "object"
      },
      "SaveRiskSettingsRequestDto": {
        "additionalProperties": false,
        "properties": {
          "financialCreditBands": {
            "items": {
              "$ref": "#/components/schemas/FinancialRiskBandDto"
            },
            "nullable": true,
            "type": "array"
          },
          "financialFlagThreshold": {
            "format": "double",
            "type": "number"
          },
          "settingsVersion": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "ScheduleReviewCommand": {
        "additionalProperties": false,
        "properties": {
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "reviewDate": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ScopePreviewDto": {
        "additionalProperties": false,
        "properties": {
          "consentBlocked": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "excluded": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "matched": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reconsentNeeded": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "willSweep": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "ScorecardDto": {
        "additionalProperties": false,
        "properties": {
          "compositeScore": {
            "format": "double",
            "type": "number"
          },
          "computedAt": {
            "format": "date-time",
            "type": "string"
          },
          "entries": {
            "items": {
              "$ref": "#/components/schemas/ScorecardEntryDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "overallStatus": {
            "nullable": true,
            "type": "string"
          },
          "periodEnd": {
            "format": "date-time",
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ScorecardEntryDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "kpiCode": {
            "nullable": true,
            "type": "string"
          },
          "kpiDefinitionId": {
            "format": "uuid",
            "type": "string"
          },
          "kpiName": {
            "nullable": true,
            "type": "string"
          },
          "normalisedScore": {
            "format": "double",
            "type": "number"
          },
          "observed": {
            "format": "double",
            "type": "number"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "weight": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "ScorecardRowDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "compositeRiskScore": {
            "format": "double",
            "type": "number"
          },
          "consent": {
            "$ref": "#/components/schemas/ConsentBasisRecordDto"
          },
          "delta": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "disposition": {
            "nullable": true,
            "type": "string"
          },
          "evidence": {
            "$ref": "#/components/schemas/EvidenceAssessmentDto"
          },
          "flagReasons": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "flagged": {
            "type": "boolean"
          },
          "lastRefreshedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "riskLevel": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ScoringModelRefDto": {
        "additionalProperties": false,
        "properties": {
          "owner": {
            "nullable": true,
            "type": "string"
          },
          "thresholds": {
            "$ref": "#/components/schemas/ScoringThresholdsDto"
          },
          "weightsProfile": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ScoringThresholdsDto": {
        "additionalProperties": false,
        "properties": {
          "high": {
            "format": "double",
            "type": "number"
          },
          "low": {
            "format": "double",
            "type": "number"
          },
          "medium": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "SendRemediationNoticesRequestDto": {
        "additionalProperties": false,
        "properties": {
          "supplierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "SetSupplierLegalFormRequestDto": {
        "additionalProperties": false,
        "properties": {
          "legalForm": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SetSupplierSmeSizeRequestDto": {
        "additionalProperties": false,
        "properties": {
          "balanceSheetBand": {
            "nullable": true,
            "type": "string"
          },
          "basis": {
            "nullable": true,
            "type": "string"
          },
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "headcountBand": {
            "nullable": true,
            "type": "string"
          },
          "turnoverBand": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "StageOutcomeResultDto": {
        "additionalProperties": false,
        "properties": {
          "outcomes": {
            "items": {
              "$ref": "#/components/schemas/BidStageOutcomeDto"
            },
            "nullable": true,
            "type": "array"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "recordedByName": {
            "nullable": true,
            "type": "string"
          },
          "stageId": {
            "format": "uuid",
            "type": "string"
          },
          "tenderId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "StoreEsgAttestationRequestDto": {
        "additionalProperties": false,
        "properties": {
          "anchor": {
            "$ref": "#/components/schemas/JsonNode"
          },
          "content": {
            "$ref": "#/components/schemas/JsonNode"
          }
        },
        "type": "object"
      },
      "SubmitSupplierProfileChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "$ref": "#/components/schemas/SupplierProfileField"
          },
          "newValue": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupersedeForm1Command": {
        "additionalProperties": false,
        "properties": {
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supersededByTrackingNumber": {
            "nullable": true,
            "type": "string"
          },
          "trackingNumber": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "supersededByTrackingNumber",
          "trackingNumber"
        ],
        "type": "object"
      },
      "SupplierActorType": {
        "enum": [
          "OrgAdmin",
          "ComplianceOfficer",
          "System",
          "Supplier"
        ],
        "type": "string"
      },
      "SupplierAgreementDto": {
        "additionalProperties": false,
        "properties": {
          "contractId": {
            "format": "uuid",
            "type": "string"
          },
          "contractReference": {
            "nullable": true,
            "type": "string"
          },
          "contractType": {
            "nullable": true,
            "type": "string"
          },
          "envelopeId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "issuedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "signerId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierAuditEntryDto": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "actorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "actorType": {
            "nullable": true,
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "eventReference": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "justification": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "format": "date-time",
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "relatedEntityId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierBankDetailChangeDto": {
        "additionalProperties": false,
        "properties": {
          "cancellationReason": {
            "nullable": true,
            "type": "string"
          },
          "cancelledAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "cancelledBy": {
            "nullable": true,
            "type": "string"
          },
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "decidedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "decisionReason": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "maskedDetails": {
            "nullable": true,
            "type": "string"
          },
          "noticeDispatchedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "noticeQueuedAt": {
            "format": "date-time",
            "type": "string"
          },
          "noticeSentTo": {
            "nullable": true,
            "type": "string"
          },
          "objectionWindowEndsAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "scheme": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "verificationEvidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "verificationMethod": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "verifiedByUserId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierCheckReviewDto": {
        "additionalProperties": false,
        "properties": {
          "checkAction": {
            "nullable": true,
            "type": "string"
          },
          "checkId": {
            "format": "uuid",
            "type": "string"
          },
          "checkPerformedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "performerId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "policyVersion": {
            "format": "int32",
            "type": "integer"
          },
          "reviewedAt": {
            "format": "date-time",
            "type": "string"
          },
          "reviewerId": {
            "format": "uuid",
            "type": "string"
          },
          "source": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierComplianceReport": {
        "additionalProperties": false,
        "properties": {
          "compliantCount": {
            "format": "int32",
            "type": "integer"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "nonCompliantCount": {
            "format": "int32",
            "type": "integer"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/SupplierComplianceReportRow"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "required": [
          "compliantCount",
          "generatedAt",
          "nonCompliantCount",
          "organizationId",
          "rows"
        ],
        "type": "object"
      },
      "SupplierComplianceReportRow": {
        "additionalProperties": false,
        "properties": {
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "complianceScore": {
            "format": "double",
            "type": "number"
          },
          "dpaSignedDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "isCompliant": {
            "type": "boolean"
          },
          "reasons": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "companyName",
          "complianceScore",
          "isCompliant",
          "reasons",
          "status",
          "supplierId"
        ],
        "type": "object"
      },
      "SupplierConcentrationDto": {
        "additionalProperties": false,
        "properties": {
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "top10SharePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "top5SharePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "topSuppliers": {
            "items": {
              "$ref": "#/components/schemas/ConcentrationEntry"
            },
            "nullable": true,
            "type": "array"
          },
          "totalAnnualSpendGbp": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "SupplierCredentialDto": {
        "additionalProperties": false,
        "properties": {
          "attributes": {
            "additionalProperties": {
              "type": "string"
            },
            "nullable": true,
            "type": "object"
          },
          "autoRenewal": {
            "type": "boolean"
          },
          "certificateNumber": {
            "nullable": true,
            "type": "string"
          },
          "daysUntilExpiration": {
            "format": "int32",
            "type": "integer"
          },
          "descriptorPublishedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "expirationDate": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "issueDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "issuerSupersededAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "lastVerifiedDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "nameDerived": {
            "type": "boolean"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "vaultSource": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "SupplierDashboardSnapshotDto": {
        "additionalProperties": false,
        "properties": {
          "averageComplianceScore": {
            "format": "double",
            "type": "number"
          },
          "averageCompositeScore": {
            "format": "double",
            "type": "number"
          },
          "byRiskLevel": {
            "additionalProperties": {
              "format": "int32",
              "type": "integer"
            },
            "nullable": true,
            "type": "object"
          },
          "byStatus": {
            "additionalProperties": {
              "format": "int32",
              "type": "integer"
            },
            "nullable": true,
            "type": "object"
          },
          "criticalRiskCount": {
            "format": "int32",
            "type": "integer"
          },
          "expiringCredentialsCount": {
            "format": "int32",
            "type": "integer"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "highRiskCount": {
            "format": "int32",
            "type": "integer"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "reviewsDueCount": {
            "format": "int32",
            "type": "integer"
          },
          "totalSuppliers": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "averageComplianceScore",
          "averageCompositeScore",
          "byRiskLevel",
          "byStatus",
          "criticalRiskCount",
          "expiringCredentialsCount",
          "generatedAt",
          "highRiskCount",
          "organizationId",
          "reviewsDueCount",
          "totalSuppliers"
        ],
        "type": "object"
      },
      "SupplierDeliveryMetricsDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "defectRatePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "fulfilmentRatePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "lateDeliveries": {
            "format": "int32",
            "type": "integer"
          },
          "leadTimeAccuracyPct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "onTimeDeliveryPct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "periodEnd": {
            "format": "date-time",
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          },
          "rejectedDeliveries": {
            "format": "int32",
            "type": "integer"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "totalDeliveries": {
            "format": "int32",
            "type": "integer"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierDiversityStatusDto": {
        "additionalProperties": false,
        "properties": {
          "attestations": {
            "items": {
              "$ref": "#/components/schemas/DiversityAttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierDto": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "approvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "approvedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "complianceScore": {
            "format": "double",
            "type": "number"
          },
          "compositeRiskScore": {
            "format": "double",
            "type": "number"
          },
          "consentGrantId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "contactEmail": {
            "nullable": true,
            "type": "string"
          },
          "contactPhone": {
            "nullable": true,
            "type": "string"
          },
          "contractEndDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "contractStartDate": {
            "format": "date-time",
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "dataCategoriesAccessed": {
            "items": {
              "$ref": "#/components/schemas/DataCategory"
            },
            "nullable": true,
            "type": "array"
          },
          "deliveryScore": {
            "format": "double",
            "type": "number"
          },
          "dpaDocumentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "dpaReference": {
            "nullable": true,
            "type": "string"
          },
          "dpaSignedDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "esgScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "financialRiskIndicator": {
            "type": "boolean"
          },
          "financialRiskScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "financialRiskSettingsVersion": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "hasDpaAttached": {
            "type": "boolean"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "insuranceScore": {
            "format": "double",
            "type": "number"
          },
          "legalEntityName": {
            "nullable": true,
            "type": "string"
          },
          "linkedOrgId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "nextReviewDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "orgLinkStatus": {
            "$ref": "#/components/schemas/SupplierOrgLinkStatus"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "performanceScore": {
            "format": "double",
            "type": "number"
          },
          "registerAuthority": {
            "nullable": true,
            "type": "string"
          },
          "registerVerification": {
            "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
          },
          "registrationNumber": {
            "nullable": true,
            "type": "string"
          },
          "riskLevel": {
            "$ref": "#/components/schemas/SupplierRiskLevel"
          },
          "sanctionsListVersion": {
            "nullable": true,
            "type": "string"
          },
          "sanctionsMatchedListName": {
            "nullable": true,
            "type": "string"
          },
          "sanctionsScreenedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sanctionsScreeningReference": {
            "nullable": true,
            "type": "string"
          },
          "sanctionsStatus": {
            "$ref": "#/components/schemas/SanctionsScreeningStatus"
          },
          "status": {
            "$ref": "#/components/schemas/SupplierStatus"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          },
          "taxId": {
            "nullable": true,
            "type": "string"
          },
          "terminationDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "terminationReason": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/SupplierType"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierDtoCursorResult": {
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/SupplierDto"
            },
            "nullable": true,
            "type": "array"
          },
          "nextCursor": {
            "nullable": true,
            "type": "string"
          },
          "pageSize": {
            "format": "int32",
            "type": "integer"
          },
          "previousCursor": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierEsgProfileDto": {
        "additionalProperties": false,
        "properties": {
          "carbonFootprintTonnes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "carbonReductionTarget": {
            "nullable": true,
            "type": "string"
          },
          "certificationsJson": {
            "nullable": true,
            "type": "string"
          },
          "compositeEsgScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "environmentalReportsJson": {
            "nullable": true,
            "type": "string"
          },
          "environmentalScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "governanceScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "modernSlaveryDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "modernSlaveryStatement": {
            "type": "boolean"
          },
          "socialScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierEsgReport": {
        "additionalProperties": false,
        "properties": {
          "assessedSupplierCount": {
            "format": "int32",
            "type": "integer"
          },
          "averageEsgScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/SupplierEsgReportRow"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "assessedSupplierCount",
          "averageEsgScore",
          "generatedAt",
          "organizationId",
          "rows",
          "supplierCount"
        ],
        "type": "object"
      },
      "SupplierEsgReportRow": {
        "additionalProperties": false,
        "properties": {
          "carbonScopeOneCo2Tonnes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "carbonScopeThreeCo2Tonnes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "carbonScopeTwoCo2Tonnes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "esgCertifications": {
            "nullable": true,
            "type": "string"
          },
          "esgScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "companyName",
          "esgScore",
          "supplierId"
        ],
        "type": "object"
      },
      "SupplierExitDto": {
        "additionalProperties": false,
        "properties": {
          "buyerOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "channel": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierExitRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierExpiryForecastReport": {
        "additionalProperties": false,
        "properties": {
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/SupplierExpiryForecastRow"
            },
            "nullable": true,
            "type": "array"
          },
          "within30Days": {
            "format": "int32",
            "type": "integer"
          },
          "within60Days": {
            "format": "int32",
            "type": "integer"
          },
          "within90Days": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "generatedAt",
          "organizationId",
          "rows",
          "within30Days",
          "within60Days",
          "within90Days"
        ],
        "type": "object"
      },
      "SupplierExpiryForecastRow": {
        "additionalProperties": false,
        "properties": {
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "daysUntilExpiry": {
            "format": "int32",
            "type": "integer"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "companyName",
          "credentialType",
          "daysUntilExpiry",
          "expiresAt",
          "supplierId"
        ],
        "type": "object"
      },
      "SupplierFinancialProfileDto": {
        "additionalProperties": false,
        "properties": {
          "accountsFiled": {
            "nullable": true,
            "type": "boolean"
          },
          "annualRevenueGbp": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "annualSpendGbp": {
            "format": "double",
            "type": "number"
          },
          "ccjCount": {
            "format": "int32",
            "type": "integer"
          },
          "companyAgeYears": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "creditAgency": {
            "nullable": true,
            "type": "string"
          },
          "creditLastChecked": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "creditRating": {
            "nullable": true,
            "type": "string"
          },
          "creditScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "financialYearEnd": {
            "nullable": true,
            "type": "string"
          },
          "financialYearEndDay": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "financialYearEndMonth": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "financialYearEndStatus": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "paymentTermsDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "previousYearSpendGbp": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "riskIndicatorsJson": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierIncidentDto": {
        "additionalProperties": false,
        "properties": {
          "correctiveAction": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "impactDescription": {
            "nullable": true,
            "type": "string"
          },
          "incidentType": {
            "$ref": "#/components/schemas/IncidentType"
          },
          "reportedAt": {
            "format": "date-time",
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rootCause": {
            "nullable": true,
            "type": "string"
          },
          "severity": {
            "$ref": "#/components/schemas/IncidentSeverity"
          },
          "status": {
            "$ref": "#/components/schemas/IncidentStatus"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierInsuranceDto": {
        "additionalProperties": false,
        "properties": {
          "coverageAmount": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "coverageCurrency": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "descriptorPublishedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "expiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "insuranceType": {
            "$ref": "#/components/schemas/InsuranceType"
          },
          "meetsMinimum": {
            "type": "boolean"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "policyNumber": {
            "nullable": true,
            "type": "string"
          },
          "provider": {
            "nullable": true,
            "type": "string"
          },
          "startDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/InsuranceStatus"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "territory": {
            "nullable": true,
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "vaultSource": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "SupplierOffboardingDto": {
        "additionalProperties": false,
        "properties": {
          "outstanding": {
            "items": {
              "$ref": "#/components/schemas/OffboardingStepKind"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/SupplierStatus"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/SupplierOffboardingStepDto"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierOffboardingStepDto": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "nullable": true,
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "resolvedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "resolvedByType": {
            "$ref": "#/components/schemas/SupplierActorType"
          },
          "state": {
            "$ref": "#/components/schemas/OffboardingStepState"
          },
          "step": {
            "$ref": "#/components/schemas/OffboardingStepKind"
          }
        },
        "type": "object"
      },
      "SupplierOrgLinkStatus": {
        "enum": [
          "NotLinked",
          "PendingConsent",
          "Linked"
        ],
        "type": "string"
      },
      "SupplierPortalBlockingItemDto": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "nullable": true,
            "type": "string"
          },
          "code": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "relatedEntityId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "since": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalContextDto": {
        "additionalProperties": false,
        "properties": {
          "agreements": {
            "items": {
              "$ref": "#/components/schemas/SupplierAgreementDto"
            },
            "nullable": true,
            "type": "array"
          },
          "buyerOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "buyerOrganizationName": {
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "complianceGate": {
            "$ref": "#/components/schemas/SupplierPortalGateDto"
          },
          "insurance": {
            "items": {
              "$ref": "#/components/schemas/SupplierPortalInsuranceDto"
            },
            "nullable": true,
            "type": "array"
          },
          "invitedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "linkedToEssenceOrganization": {
            "type": "boolean"
          },
          "onboarded": {
            "type": "boolean"
          },
          "purpose": {
            "nullable": true,
            "type": "string"
          },
          "requirements": {
            "items": {
              "$ref": "#/components/schemas/RequirementItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierName": {
            "nullable": true,
            "type": "string"
          },
          "supplierStatus": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalCredentialDto": {
        "additionalProperties": false,
        "properties": {
          "certificateNumber": {
            "nullable": true,
            "type": "string"
          },
          "credentialId": {
            "format": "uuid",
            "type": "string"
          },
          "expirationDate": {
            "format": "date-time",
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "issueDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalCredentialUploadTargetDto": {
        "additionalProperties": false,
        "properties": {
          "algorithm": {
            "nullable": true,
            "type": "string"
          },
          "maxBytes": {
            "format": "int64",
            "type": "integer"
          },
          "publicKey": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalExpiringItemDto": {
        "additionalProperties": false,
        "properties": {
          "daysRemaining": {
            "format": "int32",
            "type": "integer"
          },
          "expiryDate": {
            "format": "date-time",
            "type": "string"
          },
          "itemId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "itemName": {
            "nullable": true,
            "type": "string"
          },
          "itemType": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalGateDto": {
        "additionalProperties": false,
        "properties": {
          "blockingIssues": {
            "items": {
              "$ref": "#/components/schemas/SupplierPortalBlockingItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "compliant": {
            "type": "boolean"
          },
          "computedAt": {
            "format": "date-time",
            "type": "string"
          },
          "expiringItems": {
            "items": {
              "$ref": "#/components/schemas/SupplierPortalExpiringItemDto"
            },
            "nullable": true,
            "type": "array"
          },
          "suspended": {
            "type": "boolean"
          },
          "unconfigured": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "SupplierPortalInsuranceDto": {
        "additionalProperties": false,
        "properties": {
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "insuranceType": {
            "nullable": true,
            "type": "string"
          },
          "provider": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalProfileDto": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "contactEmail": {
            "nullable": true,
            "type": "string"
          },
          "contactName": {
            "nullable": true,
            "type": "string"
          },
          "contactPhone": {
            "nullable": true,
            "type": "string"
          },
          "contractEndDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "contractStartDate": {
            "format": "date-time",
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "credentials": {
            "items": {
              "$ref": "#/components/schemas/SupplierPortalCredentialDto"
            },
            "nullable": true,
            "type": "array"
          },
          "dpaSigned": {
            "type": "boolean"
          },
          "dpaSignedDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legalName": {
            "nullable": true,
            "type": "string"
          },
          "registrationNumber": {
            "nullable": true,
            "type": "string"
          },
          "servicesDescription": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "website": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalSessionRequest": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "nullable": true,
            "type": "string"
          },
          "token": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierPortalSessionResponse": {
        "additionalProperties": false,
        "properties": {
          "accessToken": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierProfileChangeDto": {
        "additionalProperties": false,
        "properties": {
          "decidedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "decidedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "decisionReason": {
            "nullable": true,
            "type": "string"
          },
          "field": {
            "$ref": "#/components/schemas/SupplierProfileField"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "newValue": {
            "nullable": true,
            "type": "string"
          },
          "oldValue": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ProfileChangeStatus"
          },
          "submittedAt": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierProfileField": {
        "enum": [
          "Address",
          "TradingName"
        ],
        "type": "string"
      },
      "SupplierRegisterVerificationDto": {
        "additionalProperties": false,
        "properties": {
          "checkedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "providerReference": {
            "nullable": true,
            "type": "string"
          },
          "register": {
            "nullable": true,
            "type": "string"
          },
          "registeredActivities": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "registeredName": {
            "nullable": true,
            "type": "string"
          },
          "registeredStatus": {
            "nullable": true,
            "type": "string"
          },
          "registeredStatusObservedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registeredStatusSeverity": {
            "$ref": "#/components/schemas/RegisterStatusSeverity"
          },
          "reviewedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/RegisterVerificationStatus"
          }
        },
        "type": "object"
      },
      "SupplierRiskLevel": {
        "enum": [
          "Low",
          "Medium",
          "High",
          "Critical"
        ],
        "type": "string"
      },
      "SupplierRiskReport": {
        "additionalProperties": false,
        "properties": {
          "byRiskLevel": {
            "additionalProperties": {
              "format": "int32",
              "type": "integer"
            },
            "nullable": true,
            "type": "object"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/SupplierRiskReportRow"
            },
            "nullable": true,
            "type": "array"
          },
          "totalSuppliers": {
            "format": "int32",
            "type": "integer"
          }
        },
        "required": [
          "byRiskLevel",
          "generatedAt",
          "organizationId",
          "rows",
          "totalSuppliers"
        ],
        "type": "object"
      },
      "SupplierRiskReportRow": {
        "additionalProperties": false,
        "properties": {
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "complianceScore": {
            "format": "double",
            "type": "number"
          },
          "compositeRiskScore": {
            "format": "double",
            "type": "number"
          },
          "deliveryScore": {
            "format": "double",
            "type": "number"
          },
          "esgScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "financialRiskScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "riskLevel": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "companyName",
          "complianceScore",
          "compositeRiskScore",
          "deliveryScore",
          "esgScore",
          "financialRiskScore",
          "riskLevel",
          "status",
          "supplierId"
        ],
        "type": "object"
      },
      "SupplierSmeSizeDto": {
        "additionalProperties": false,
        "properties": {
          "balanceSheetBand": {
            "nullable": true,
            "type": "string"
          },
          "balanceSheetConsidered": {
            "nullable": true,
            "type": "boolean"
          },
          "basis": {
            "nullable": true,
            "type": "string"
          },
          "classification": {
            "nullable": true,
            "type": "string"
          },
          "definition": {
            "nullable": true,
            "type": "string"
          },
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "headcountBand": {
            "nullable": true,
            "type": "string"
          },
          "isSme": {
            "nullable": true,
            "type": "boolean"
          },
          "recordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "recordedBy": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "turnoverBand": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplierSpendDto": {
        "additionalProperties": false,
        "properties": {
          "annualSpendGbp": {
            "format": "double",
            "type": "number"
          },
          "previousYearSpendGbp": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "yoyChangePct": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "type": "object"
      },
      "SupplierSpendReport": {
        "additionalProperties": false,
        "properties": {
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/SupplierSpendReportRow"
            },
            "nullable": true,
            "type": "array"
          },
          "totalAnnualSpendGbp": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "generatedAt",
          "organizationId",
          "rows",
          "totalAnnualSpendGbp"
        ],
        "type": "object"
      },
      "SupplierSpendReportRow": {
        "additionalProperties": false,
        "properties": {
          "annualSpendGbp": {
            "format": "double",
            "type": "number"
          },
          "companyName": {
            "nullable": true,
            "type": "string"
          },
          "concentrationPercentage": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "previousYearSpendGbp": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "required": [
          "annualSpendGbp",
          "companyName",
          "supplierId"
        ],
        "type": "object"
      },
      "SupplierStatus": {
        "enum": [
          "PendingApproval",
          "Active",
          "OnHold",
          "Terminated",
          "Offboarding",
          "UnderReview",
          "Suspended",
          "Escalated"
        ],
        "type": "string"
      },
      "SupplierType": {
        "enum": [
          "DataProcessor",
          "SubProcessor",
          "CloudProvider",
          "SaasVendor",
          "ProfessionalServices",
          "ManagedServiceProvider",
          "SecurityVendor"
        ],
        "type": "string"
      },
      "SupplyCheck": {
        "enum": [
          "CommercialReason",
          "PriceAndMargin",
          "LicensedActivity",
          "TitleAndOrigin",
          "IntermediaryRole",
          "PaymentTrail"
        ],
        "type": "string"
      },
      "SupplyCheckOutcome": {
        "enum": [
          "Passed",
          "Failed",
          "NotApplicable"
        ],
        "type": "string"
      },
      "SupplyCheckResultDto": {
        "additionalProperties": false,
        "properties": {
          "check": {
            "$ref": "#/components/schemas/SupplyCheck"
          },
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/SupplyCheckOutcome"
          }
        },
        "type": "object"
      },
      "SupplyPaymentMethod": {
        "enum": [
          "BankTransfer",
          "Card",
          "DirectDebit",
          "Cheque",
          "Cash"
        ],
        "type": "string"
      },
      "SupplyVerificationDto": {
        "additionalProperties": false,
        "properties": {
          "cashReason": {
            "nullable": true,
            "type": "string"
          },
          "checks": {
            "items": {
              "$ref": "#/components/schemas/SupplyCheckResultDto"
            },
            "nullable": true,
            "type": "array"
          },
          "hasFailedCheck": {
            "type": "boolean"
          },
          "historyCheckId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invoiceReference": {
            "nullable": true,
            "type": "string"
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/SupplyPaymentMethod"
          },
          "performedAt": {
            "format": "date-time",
            "type": "string"
          },
          "performedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "purchaseOrderReference": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "supplyValueAed": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "SuspendSupplierRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SweepActivityEntryDto": {
        "additionalProperties": false,
        "properties": {
          "action": {
            "nullable": true,
            "type": "string"
          },
          "actor": {
            "nullable": true,
            "type": "string"
          },
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "cycleId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "outcome": {
            "nullable": true,
            "type": "string"
          },
          "scopeSummary": {
            "nullable": true,
            "type": "string"
          },
          "supplierCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "TenderCriterionDto": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "maxScore": {
            "format": "int32",
            "type": "integer"
          },
          "passMark": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "weight": {
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "TenderDetailDto": {
        "additionalProperties": false,
        "properties": {
          "awardedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "bidCount": {
            "format": "int32",
            "type": "integer"
          },
          "closesAt": {
            "format": "date-time",
            "type": "string"
          },
          "enforcesSeparationOfDuties": {
            "type": "boolean"
          },
          "evaluationWindowEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "invitedSupplierIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "publishedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "requiresCoiAttestation": {
            "type": "boolean"
          },
          "scope": {
            "nullable": true,
            "type": "string"
          },
          "stages": {
            "items": {
              "$ref": "#/components/schemas/TenderStageDto"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "targeting": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TenderInvitationDto": {
        "additionalProperties": false,
        "properties": {
          "bidId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "buyerName": {
            "nullable": true,
            "type": "string"
          },
          "buyerOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "closesAt": {
            "format": "date-time",
            "type": "string"
          },
          "evaluationWindowEndsAt": {
            "format": "date-time",
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "requiredEvidence": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "tenderId": {
            "format": "uuid",
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TenderStageDto": {
        "additionalProperties": false,
        "properties": {
          "closesAt": {
            "format": "date-time",
            "type": "string"
          },
          "criteria": {
            "items": {
              "$ref": "#/components/schemas/TenderCriterionDto"
            },
            "nullable": true,
            "type": "array"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "kind": {
            "nullable": true,
            "type": "string"
          },
          "label": {
            "nullable": true,
            "type": "string"
          },
          "outcomeRecordedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "requiredEvidence": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "TenderSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "awardedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "bidCount": {
            "format": "int32",
            "type": "integer"
          },
          "closesAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "organizationId": {
            "format": "uuid",
            "type": "string"
          },
          "publishedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "reference": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "targeting": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "TerminateSupplierCommand": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateContractCommand": {
        "additionalProperties": false,
        "properties": {
          "annualValue": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "contractEndDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateDataCategoriesCommand": {
        "additionalProperties": false,
        "properties": {
          "dataCategories": {
            "items": {
              "$ref": "#/components/schemas/DataCategory"
            },
            "nullable": true,
            "type": "array"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateEsgProfileCommand": {
        "additionalProperties": false,
        "properties": {
          "carbonFootprintTonnes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "carbonReductionTarget": {
            "nullable": true,
            "type": "string"
          },
          "certificationsJson": {
            "nullable": true,
            "type": "string"
          },
          "environmentalReportsJson": {
            "nullable": true,
            "type": "string"
          },
          "environmentalScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "governanceScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "modernSlaveryStatementDate": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "socialScore": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateFinancialProfileCommand": {
        "additionalProperties": false,
        "properties": {
          "accountsFiled": {
            "nullable": true,
            "type": "boolean"
          },
          "annualRevenueGbp": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "ccjCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "companyAgeYears": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "creditAgency": {
            "nullable": true,
            "type": "string"
          },
          "creditRating": {
            "nullable": true,
            "type": "string"
          },
          "creditScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "financialYearEnd": {
            "nullable": true,
            "type": "string"
          },
          "paymentTermsDays": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "riskIndicatorsJson": {
            "nullable": true,
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateInsuranceCommand": {
        "additionalProperties": false,
        "properties": {
          "documentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "insuranceId": {
            "format": "uuid",
            "type": "string"
          },
          "meetsMinimum": {
            "nullable": true,
            "type": "boolean"
          },
          "notes": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UpdateRiskLevelCommand": {
        "additionalProperties": false,
        "properties": {
          "newRiskLevel": {
            "$ref": "#/components/schemas/SupplierRiskLevel"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "UploadSupplierPortalCredentialRequest": {
        "additionalProperties": false,
        "properties": {
          "algorithmVersion": {
            "format": "int32",
            "type": "integer"
          },
          "authenticationTag": {
            "nullable": true,
            "type": "string"
          },
          "certificateNumber": {
            "nullable": true,
            "type": "string"
          },
          "encryptedContent": {
            "format": "byte",
            "nullable": true,
            "type": "string"
          },
          "expirationDate": {
            "format": "date-time",
            "type": "string"
          },
          "fileName": {
            "nullable": true,
            "type": "string"
          },
          "initializationVector": {
            "nullable": true,
            "type": "string"
          },
          "issueDate": {
            "format": "date-time",
            "type": "string"
          },
          "issuer": {
            "nullable": true,
            "type": "string"
          },
          "keyGeneration": {
            "format": "int32",
            "type": "integer"
          },
          "keyId": {
            "nullable": true,
            "type": "string"
          },
          "mimeType": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "attestedAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "periodEnd": {
            "format": "date-time",
            "type": "string"
          },
          "periodStart": {
            "format": "date-time",
            "type": "string"
          },
          "policyVersion": {
            "format": "int32",
            "type": "integer"
          },
          "rejectedInPeriod": {
            "format": "int32",
            "type": "integer"
          },
          "reviewsInPeriod": {
            "format": "int32",
            "type": "integer"
          },
          "statement": {
            "nullable": true,
            "type": "string"
          },
          "supervisorId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationFileAnchorDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "artifactId": {
            "nullable": true,
            "type": "string"
          },
          "artifactKind": {
            "nullable": true,
            "type": "string"
          },
          "hash": {
            "nullable": true,
            "type": "string"
          },
          "verifyPath": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationFileSummaryDto": {
        "additionalProperties": false,
        "properties": {
          "anchor": {
            "$ref": "#/components/schemas/VerificationFileAnchorDto"
          },
          "checkCount": {
            "format": "int32",
            "type": "integer"
          },
          "generatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "generatedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "manifestDigest": {
            "nullable": true,
            "type": "string"
          },
          "periodFrom": {
            "format": "date-time",
            "type": "string"
          },
          "periodTo": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationPolicyDto": {
        "additionalProperties": false,
        "properties": {
          "adoptedAt": {
            "format": "date-time",
            "type": "string"
          },
          "adoptedByUserId": {
            "format": "uuid",
            "type": "string"
          },
          "performerRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reviewerRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "statement": {
            "nullable": true,
            "type": "string"
          },
          "supervisorRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "version": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "VerificationPolicyStateDto": {
        "additionalProperties": false,
        "properties": {
          "adopted": {
            "type": "boolean"
          },
          "assignableRoles": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "current": {
            "$ref": "#/components/schemas/VerificationPolicyDto"
          }
        },
        "type": "object"
      },
      "VerificationPresetAdoptionDto": {
        "additionalProperties": false,
        "properties": {
          "gatePolicyVersion": {
            "format": "int32",
            "type": "integer"
          },
          "gateRulesAdded": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "gateRulesAlreadyPresent": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "preset": {
            "nullable": true,
            "type": "string"
          },
          "reassessmentPolicy": {
            "$ref": "#/components/schemas/ReassessmentPolicyDto"
          },
          "reassessmentPolicyCreated": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "VerificationReceiptAnchorDto": {
        "additionalProperties": false,
        "properties": {
          "anchorId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "anchoredAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "artifactId": {
            "nullable": true,
            "type": "string"
          },
          "artifactKind": {
            "nullable": true,
            "type": "string"
          },
          "hash": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "verifyPath": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationReceiptDto": {
        "additionalProperties": false,
        "properties": {
          "anchor": {
            "$ref": "#/components/schemas/VerificationReceiptAnchorDto"
          },
          "canonicalForm": {
            "nullable": true,
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "type": "string"
          },
          "credentialType": {
            "nullable": true,
            "type": "string"
          },
          "digest": {
            "nullable": true,
            "type": "string"
          },
          "digestAlgorithm": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string"
          },
          "issuerRef": {
            "nullable": true,
            "type": "string"
          },
          "issuerRefAbsentReason": {
            "nullable": true,
            "type": "string"
          },
          "lastVerifiedAbsentReason": {
            "nullable": true,
            "type": "string"
          },
          "lastVerifiedAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "recordedAt": {
            "format": "date-time",
            "type": "string"
          },
          "supplierId": {
            "format": "uuid",
            "type": "string"
          },
          "validFrom": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "validFromAbsentReason": {
            "nullable": true,
            "type": "string"
          },
          "validTo": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationReceiptWithheldDto": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "format": "date-time",
            "type": "string"
          },
          "consentId": {
            "format": "uuid",
            "nullable": true,
            "type": "string"
          },
          "evidencePurged": {
            "format": "int32",
            "type": "integer"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "trigger": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "VerificationReceiptsDto": {
        "additionalProperties": false,
        "properties": {
          "legalForm": {
            "nullable": true,
            "type": "string"
          },
          "receipts": {
            "items": {
              "$ref": "#/components/schemas/VerificationReceiptDto"
            },
            "nullable": true,
            "type": "array"
          },
          "withheld": {
            "items": {
              "$ref": "#/components/schemas/VerificationReceiptWithheldDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "VerifySupplierBankDetailChangeRequest": {
        "additionalProperties": false,
        "properties": {
          "evidenceReference": {
            "nullable": true,
            "type": "string"
          },
          "method": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "WaiveOffboardingStepRequestDto": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "WithdrawForm1Command": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "requestingOrganizationId": {
            "format": "uuid",
            "type": "string"
          },
          "trackingNumber": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "reason",
          "trackingNumber"
        ],
        "type": "object"
      },
      "WithdrawTenderResponseResultDto": {
        "additionalProperties": false,
        "properties": {
          "bidId": {
            "format": "uuid",
            "type": "string"
          },
          "revokedGrantIds": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "status": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "description": "API for managing suppliers, vendors, and performance tracking",
    "title": "Essence Supplier Management API",
    "version": "v1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/api/v1/Suppliers": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/linked-buyers": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/LinkedBuyerDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/LinkedBuyerDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/LinkedBuyerDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/linked-buyers/{buyerOrganizationId}/exit": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "buyerOrganizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierExitRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierExitRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierExitRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExitDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExitDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExitDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/organization/{organizationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/organization/{organizationId}/credentials/expiring": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "daysThreshold",
            "schema": {
              "default": 30,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/organization/{organizationId}/requiring-review": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/organization/{organizationId}/risk-level/{riskLevel}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "riskLevel",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SupplierRiskLevel"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/organization/{organizationId}/status/{status}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "status",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SupplierStatus"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDtoCursorResult"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveSupplierCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveSupplierCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveSupplierCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/contract": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContractCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContractCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContractCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/credentials": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddCredentialCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddCredentialCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddCredentialCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/credentials/expiry": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "daysThreshold",
            "schema": {
              "default": 30,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCredentialDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCredentialDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCredentialDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/credentials/{credentialId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "credentialId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "credentialId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RenewCredentialCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenewCredentialCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RenewCredentialCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/data-categories": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDataCategoriesCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDataCategoriesCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDataCategoriesCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/dpa": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttachDpaCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachDpaCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachDpaCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/escalate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EscalateSupplierRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EscalateSupplierRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EscalateSupplierRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/generate-contract": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSupplierContractCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSupplierContractCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSupplierContractCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateSupplierContractResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateSupplierContractResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateSupplierContractResult"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "502": {
            "description": "Bad Gateway"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/hold": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutOnHoldCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutOnHoldCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutOnHoldCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/link": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareSupplierOrgLinkRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareSupplierOrgLinkRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareSupplierOrgLinkRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/offboard": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OffboardSupplierRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OffboardSupplierRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OffboardSupplierRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/offboarding": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/offboarding/steps/{step}/complete": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "step",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/OffboardingStepKind"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteOffboardingStepRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteOffboardingStepRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteOffboardingStepRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/offboarding/steps/{step}/waive": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "step",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/OffboardingStepKind"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WaiveOffboardingStepRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WaiveOffboardingStepRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WaiveOffboardingStepRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierOffboardingDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/reactivate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/register-verification": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/register-verification/manual-review": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSupplierRegisterReviewRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSupplierRegisterReviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSupplierRegisterReviewRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRegisterVerificationDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/risk-level": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskLevelCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskLevelCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskLevelCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/schedule-review": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleReviewCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleReviewCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleReviewCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/suspend": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendSupplierRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendSupplierRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SuspendSupplierRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/Suppliers/{id}/terminate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateSupplierCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateSupplierCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TerminateSupplierCommand"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Suppliers"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/carbon-credits/purchases": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CarbonPurchaseDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CarbonPurchaseDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CarbonPurchaseDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordCarbonPurchaseRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordCarbonPurchaseRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordCarbonPurchaseRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonPurchaseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonPurchaseDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonPurchaseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/carbon-credits/retirements": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CarbonRetirementDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CarbonRetirementDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CarbonRetirementDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordCarbonRetirementRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordCarbonRetirementRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordCarbonRetirementRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/carbon-credits/retirements/{retirementId}/anchor": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "retirementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttachCarbonAnchorRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachCarbonAnchorRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttachCarbonAnchorRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/carbon-credits/retirements/{retirementId}/check": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "retirementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyCarbonCheckRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyCarbonCheckRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyCarbonCheckRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/carbon-credits/retirements/{retirementId}/failure": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "retirementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FailCarbonRetirementRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FailCarbonRetirementRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FailCarbonRetirementRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/carbon-credits/retirements/{retirementId}/receipt": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "retirementId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmCarbonRetirementRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmCarbonRetirementRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmCarbonRetirementRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CarbonRetirementDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationCarbonCredits"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/dashboard": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDashboardSnapshotDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDashboardSnapshotDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDashboardSnapshotDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplierDashboard"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/esg-attestations": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EsgAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EsgAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EsgAttestationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganizationEsgAttestations"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/StoreEsgAttestationRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StoreEsgAttestationRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/StoreEsgAttestationRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgAttestationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgAttestationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EsgAttestationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationEsgAttestations"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/esg-attestations/{attestationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attestationId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgAttestationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgAttestationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EsgAttestationDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrganizationEsgAttestations"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/food-safety-attestations": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/FoodSafetyAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/FoodSafetyAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/FoodSafetyAttestationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganizationFoodSafetyAttestations"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordFoodSafetyAttestationRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordFoodSafetyAttestationRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordFoodSafetyAttestationRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyAttestationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyAttestationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyAttestationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationFoodSafetyAttestations"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/food-safety-issuer-keys": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "OrganizationFoodSafetyAttestations"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EnrolFoodSafetyIssuerKeyRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnrolFoodSafetyIssuerKeyRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EnrolFoodSafetyIssuerKeyRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "OrganizationFoodSafetyAttestations"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/food-safety-issuer-keys/{keyId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "keyId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyIssuerKeyDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "OrganizationFoodSafetyAttestations"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/kpi-definitions": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/KpiDefinitionDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/KpiDefinitionDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/KpiDefinitionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierKpi"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateKpiDefinitionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateKpiDefinitionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateKpiDefinitionRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KpiDefinitionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/KpiDefinitionDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/KpiDefinitionDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierKpi"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-gate-policy": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatePolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatePolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GatePolicyDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierGatePolicy"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GatePolicyDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GatePolicyDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GatePolicyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatePolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GatePolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GatePolicyDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierGatePolicy"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-gate-policy/changes": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GatePolicyChangeDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GatePolicyChangeDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GatePolicyChangeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierGatePolicy"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-gate-policy/preview": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GatePolicyDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GatePolicyDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GatePolicyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PolicyPreviewRowDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PolicyPreviewRowDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PolicyPreviewRowDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierGatePolicy"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-reports/compliance": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierComplianceReport"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierComplianceReport"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierComplianceReport"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierReports"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-reports/esg": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgReport"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgReport"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplierReports"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-reports/expiry-forecast": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "daysAhead",
            "schema": {
              "default": 90,
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExpiryForecastReport"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExpiryForecastReport"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExpiryForecastReport"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierReports"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-reports/risk": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRiskReport"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRiskReport"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierRiskReport"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierReports"
        ]
      }
    },
    "/api/v1/organizations/{organizationId}/supplier-reports/spend": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSpendReport"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSpendReport"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSpendReport"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplierReports"
        ]
      }
    },
    "/api/v1/roster-eligibility/rules/{organizationId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RosterEligibilityRuleDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RosterEligibilityRuleDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RosterEligibilityRuleDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "RosterEligibility"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RosterEligibilityRuleDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RosterEligibilityRuleDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RosterEligibilityRuleDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RosterEligibilityRuleDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RosterEligibilityRuleDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RosterEligibilityRuleDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "RosterEligibility"
        ]
      }
    },
    "/api/v1/supplier-food-safety-attestations": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "organizationId",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "consignmentReference",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyAttestationEvidenceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyAttestationEvidenceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FoodSafetyAttestationEvidenceDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierFoodSafetyAttestations"
        ]
      }
    },
    "/api/v1/supplier-portal/sessions": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierPortalSessionRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierPortalSessionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierPortalSessionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalSessionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalSessionResponse"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalSessionResponse"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "SupplierPortal"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/bank-detail-changes": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierPortalBankDetailChanges"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RaiseSupplierBankDetailChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RaiseSupplierBankDetailChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RaiseSupplierBankDetailChangeRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "tags": [
          "SupplierPortalBankDetailChanges"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/bank-detail-changes/{changeId}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSupplierBankDetailChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSupplierBankDetailChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSupplierBankDetailChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierPortalBankDetailChanges"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/credential-uploads": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UploadSupplierPortalCredentialRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadSupplierPortalCredentialRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadSupplierPortalCredentialRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierPortalCredentialUploads"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/credential-uploads/target": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalCredentialUploadTargetDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierPortalCredentialUploads"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/exit": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierExitRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierExitRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierExitRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierExitDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierPortalExit"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/profile": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalProfileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalProfileDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalProfileDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierPortal"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/profile-changes": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierProfileChangeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierPortalProfileChanges"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitSupplierProfileChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitSupplierProfileChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitSupplierProfileChangeRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierProfileChangeDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierPortalProfileChanges"
        ]
      }
    },
    "/api/v1/supplier-portal/suppliers/{supplierId}/remediation-notices": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierPortal"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "supplierId",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BondCallSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareContractorDefaultCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareContractorDefaultCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareContractorDefaultCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls/{bondCallId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "bondCallId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls/{bondCallId}/approvals": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "bondCallId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordBondCallApprovalCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordBondCallApprovalCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordBondCallApprovalCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls/{bondCallId}/demand": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "bondCallId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueBondDemandCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueBondDemandCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueBondDemandCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls/{bondCallId}/links": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "bondCallId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddBondCallLinkCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddBondCallLinkCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddBondCallLinkCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls/{bondCallId}/links/{linkId}/anchor": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "bondCallId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "linkId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AnchorBondCallLinkCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnchorBondCallLinkCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AnchorBondCallLinkCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/bond-calls/{bondCallId}/surety-response": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "bondCallId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSuretyResponseCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSuretyResponseCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSuretyResponseCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BondCallDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBondCalls"
        ]
      }
    },
    "/api/v1/suppliers/compliance-gate/webhook-dead-letters": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "supplierId",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "includeDelivered",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 100,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ComplianceWebhookDeadLetterDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ComplianceWebhookDeadLetterDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ComplianceWebhookDeadLetterDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "ComplianceGate"
        ]
      }
    },
    "/api/v1/suppliers/compliance-gate/webhook-dead-letters/{attemptId}/replay": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "attemptId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComplianceWebhookReplayResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComplianceWebhookReplayResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ComplianceWebhookReplayResultDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ComplianceGate"
        ]
      }
    },
    "/api/v1/suppliers/compliance-gate/webhooks": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "activeOnly",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ComplianceGateWebhookDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ComplianceGateWebhookDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ComplianceGateWebhookDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ComplianceGate"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterWebhookResponseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterWebhookResponseDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterWebhookResponseDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          }
        },
        "tags": [
          "ComplianceGate"
        ]
      }
    },
    "/api/v1/suppliers/compliance-gate/webhooks/{webhookId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "webhookId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "ComplianceGate"
        ]
      }
    },
    "/api/v1/suppliers/continuity-plans": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ContinuityPlanDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ContinuityPlanDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ContinuityPlanDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContinuityPlanRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContinuityPlanRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateContinuityPlanRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      }
    },
    "/api/v1/suppliers/continuity-plans/{planId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      },
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      }
    },
    "/api/v1/suppliers/continuity-plans/{planId}/activation": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateContinuityAlternateRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateContinuityAlternateRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateContinuityAlternateRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      }
    },
    "/api/v1/suppliers/continuity-plans/{planId}/activation/close": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CloseContinuityFailoverRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseContinuityFailoverRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseContinuityFailoverRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      }
    },
    "/api/v1/suppliers/continuity-plans/{planId}/activation/override": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideContinuityActivationRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideContinuityActivationRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OverrideContinuityActivationRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      }
    },
    "/api/v1/suppliers/continuity-plans/{planId}/alternate": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NameContinuityAlternateRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NameContinuityAlternateRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NameContinuityAlternateRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ContinuityPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierContinuityPlans"
        ]
      }
    },
    "/api/v1/suppliers/esg/report": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgReportDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgReportDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EsgReportDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierEsg"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EudrRegisterEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EudrRegisterEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EudrRegisterEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareEudrConsignmentCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareEudrConsignmentCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeclareEudrConsignmentCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}/authority-response": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordEudrAuthorityResponseCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordEudrAuthorityResponseCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordEudrAuthorityResponseCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}/evidence-pack": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}/filings": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "503": {
            "description": "Service Unavailable"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}/inspection": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "audience",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrInspectionRecordDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrInspectionRecordDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrInspectionRecordDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}/inspections": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EudrInspectionLogEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EudrInspectionLogEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EudrInspectionLogEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/eudr/consignments/{consignmentRef}/signer-sign-off": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "consignmentRef",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EudrConsignmentWorkspaceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "EudrConsignments"
        ]
      }
    },
    "/api/v1/suppliers/financial/concentration": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierConcentrationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierConcentrationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierConcentrationDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierFinancial"
        ]
      }
    },
    "/api/v1/suppliers/form1/issuances": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "supplierId",
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "lotReference",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1IssuanceDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1IssuanceDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1IssuanceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueForm1Command"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueForm1Command"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueForm1Command"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      }
    },
    "/api/v1/suppliers/form1/issuances/batch": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueForm1BatchCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueForm1BatchCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueForm1BatchCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1IssuanceDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1IssuanceDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1IssuanceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      }
    },
    "/api/v1/suppliers/form1/issuances/{trackingNumber}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "trackingNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      }
    },
    "/api/v1/suppliers/form1/issuances/{trackingNumber}/supersede": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "trackingNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SupersedeForm1Command"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupersedeForm1Command"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SupersedeForm1Command"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      }
    },
    "/api/v1/suppliers/form1/issuances/{trackingNumber}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "trackingNumber",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WithdrawForm1Command"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WithdrawForm1Command"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WithdrawForm1Command"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Form1IssuanceDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      }
    },
    "/api/v1/suppliers/form1/registry/resolve": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "reference",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "partSerialNumber",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1ResolutionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1ResolutionDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Form1ResolutionDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Form1Registry"
        ]
      }
    },
    "/api/v1/suppliers/form1/templates": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1TemplateDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1TemplateDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Form1TemplateDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveForm1TemplateCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveForm1TemplateCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveForm1TemplateCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1TemplateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Form1TemplateDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Form1TemplateDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Form1Issuances"
        ]
      }
    },
    "/api/v1/suppliers/import": {
      "post": {
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "encoding": {
                "file": {
                  "style": "form"
                }
              },
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkImportSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkImportSummary"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BulkImportSummary"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          }
        },
        "tags": [
          "SupplierBulkImport"
        ]
      }
    },
    "/api/v1/suppliers/portal/me": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalContextDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalContextDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierPortalContextDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierPortalContext"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-activity": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SweepActivityEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SweepActivityEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SweepActivityEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-authority": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleAuthorityDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleAuthorityDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CycleAuthorityDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-cycles": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CycleRunDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CycleRunDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CycleRunDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LaunchCycleRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LaunchCycleRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LaunchCycleRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-cycles/{cycleId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "cycleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-cycles/{cycleId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "cycleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-cycles/{cycleId}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "cycleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CycleRunDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-cycles/{cycleId}/remediation-notices": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "cycleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reassessment"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "cycleId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendRemediationNoticesRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendRemediationNoticesRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendRemediationNoticesRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RemediationNoticeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-policies": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReassessmentPolicyDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReassessmentPolicyDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReassessmentPolicyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReassessmentPolicyDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReassessmentPolicyDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReassessmentPolicyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReassessmentPolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReassessmentPolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReassessmentPolicyDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-policies/{policyId}": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "policyId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReassessmentPolicyDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReassessmentPolicyDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReassessmentPolicyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReassessmentPolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReassessmentPolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReassessmentPolicyDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/reassessment-remediation-sla": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemediationSlaDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemediationSlaDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemediationSlaDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RemediationSlaDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemediationSlaDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RemediationSlaDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemediationSlaDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemediationSlaDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RemediationSlaDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Reassessment"
        ]
      }
    },
    "/api/v1/suppliers/risk-settings": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSettingsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSettingsDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierRiskSettings"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRiskSettingsRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRiskSettingsRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveRiskSettingsRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSettingsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSettingsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSettingsDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierRiskSettings"
        ]
      }
    },
    "/api/v1/suppliers/verification-attestations": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationAttestationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttestVerificationPeriodRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestVerificationPeriodRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestVerificationPeriodRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationAttestationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationAttestationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationAttestationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/verification-files/{fileId}/inspection": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "header",
            "name": "X-Inspection-Token",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "format",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/verification-policy": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPolicyStateDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPolicyStateDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPolicyStateDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      },
      "put": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdoptVerificationPolicyRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdoptVerificationPolicyRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdoptVerificationPolicyRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPolicyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPolicyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPolicyDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/verification-policy/versions": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationPolicyDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationPolicyDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationPolicyDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/verification-presets/uae-vat-decision-13": {
      "post": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPresetAdoptionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPresetAdoptionDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationPresetAdoptionDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/audit": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "action",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierAuditEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierAuditEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierAuditEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/check-reviews": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCheckReviewDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCheckReviewDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCheckReviewDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewSupplierCheckRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewSupplierCheckRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewSupplierCheckRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCheckReviewDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCheckReviewDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCheckReviewDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/compliance-status": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "fresh",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "purchaseOrderReference",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "invoiceReference",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "supplyValueAed",
            "schema": {
              "format": "double",
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComplianceStatusDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComplianceStatusDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ComplianceStatusDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "503": {
            "description": "Service Unavailable"
          }
        },
        "tags": [
          "ComplianceGate"
        ]
      }
    },
    "/api/v1/suppliers/{id}/credentials": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCredentialDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCredentialDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierCredentialDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/credentials/{credentialId}/verify": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "credentialId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierCredentialDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/diversity-status": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDiversityStatusDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDiversityStatusDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDiversityStatusDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierSizeAndDiversity"
        ]
      }
    },
    "/api/v1/suppliers/{id}/legal-form": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupplierLegalFormRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupplierLegalFormRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupplierLegalFormRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetSupplierLegalFormRequestDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetSupplierLegalFormRequestDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SetSupplierLegalFormRequestDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/reinstate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReinstateSupplierRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReinstateSupplierRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReinstateSupplierRequestDto"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/sanctions-cases": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SanctionsCaseDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SanctionsCaseDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SanctionsCaseDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/sanctions-cases/{caseId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDetailDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDetailDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/sanctions-cases/{caseId}/adjudication": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdjudicateSanctionsCaseRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdjudicateSanctionsCaseRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdjudicateSanctionsCaseRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/sanctions-cases/{caseId}/override": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "caseId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GrantSanctionsOverrideRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GrantSanctionsOverrideRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GrantSanctionsOverrideRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SanctionsCaseDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierComplianceLifecycle"
        ]
      }
    },
    "/api/v1/suppliers/{id}/sme-size": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSmeSizeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSmeSizeDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSmeSizeDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierSizeAndDiversity"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupplierSmeSizeRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupplierSmeSizeRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetSupplierSmeSizeRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSmeSizeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSmeSizeDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSmeSizeDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierSizeAndDiversity"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationFileSummaryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationFileSummaryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/VerificationFileSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueVerificationFileRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueVerificationFileRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueVerificationFileRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files/{fileId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files/{fileId}/anchor": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordVerificationFileAnchorRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordVerificationFileAnchorRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordVerificationFileAnchorRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationFileSummaryDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files/{fileId}/inspector-grants": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/InspectorGrantDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/InspectorGrantDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/InspectorGrantDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/IssueInspectorGrantRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueInspectorGrantRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/IssueInspectorGrantRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectorGrantIssuedDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectorGrantIssuedDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InspectorGrantIssuedDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files/{fileId}/inspector-grants/{grantId}/revoke": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "grantId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectorGrantDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectorGrantDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InspectorGrantDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files/{fileId}/manifest": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-files/{fileId}/pdf": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "fileId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "404": {
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-receipts": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationReceiptsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationReceiptsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationReceiptsDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{id}/verification-receipts/{receiptId}/anchor": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "receiptId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordVerificationReceiptAnchorRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordVerificationReceiptAnchorRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordVerificationReceiptAnchorRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationReceiptDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationReceiptDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VerificationReceiptDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierVerification"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/bank-detail-changes": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierBankDetailChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/bank-detail-changes/{changeId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierBankDetailChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/bank-detail-changes/{changeId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierBankDetailChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierBankDetailChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierBankDetailChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBankDetailChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/bank-detail-changes/{changeId}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSupplierBankDetailChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSupplierBankDetailChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelSupplierBankDetailChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBankDetailChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/bank-detail-changes/{changeId}/refuse": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierBankDetailChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierBankDetailChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierBankDetailChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBankDetailChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/bank-detail-changes/{changeId}/verify": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/VerifySupplierBankDetailChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifySupplierBankDetailChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifySupplierBankDetailChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierBankDetailChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierBankDetailChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/delivery/goods-receipts": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "purchaseOrderReference",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GoodsReceivedRecordDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GoodsReceivedRecordDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GoodsReceivedRecordDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierDelivery"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordGoodsReceivedCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordGoodsReceivedCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordGoodsReceivedCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoodsReceivedRecordDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GoodsReceivedRecordDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GoodsReceivedRecordDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierDelivery"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/delivery/issues": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LogDeliveryIssueCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogDeliveryIssueCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LogDeliveryIssueCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierIncidentDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierIncidentDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierIncidentDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierDelivery"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/delivery/metrics": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierDelivery"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordDeliveryMetricsCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordDeliveryMetricsCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordDeliveryMetricsCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierDeliveryMetricsDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierDelivery"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/delivery/trends": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "from",
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "to",
            "schema": {
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeliveryTrendsDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeliveryTrendsDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DeliveryTrendsDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierDelivery"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/esg": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgProfileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgProfileDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgProfileDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierEsg"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEsgProfileCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEsgProfileCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEsgProfileCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgProfileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgProfileDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierEsgProfileDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierEsg"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/esg/evidence-sources": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EsgEvidenceSourceDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EsgEvidenceSourceDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EsgEvidenceSourceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierEsg"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BindEsgEvidenceSourceRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BindEsgEvidenceSourceRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BindEsgEvidenceSourceRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgEvidenceSourceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EsgEvidenceSourceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EsgEvidenceSourceDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierEsg"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/esg/evidence-sources/{sourceId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "sourceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "SupplierEsg"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/financial": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierFinancialProfileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierFinancialProfileDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierFinancialProfileDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierFinancial"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFinancialProfileCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFinancialProfileCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateFinancialProfileCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierFinancialProfileDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierFinancialProfileDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierFinancialProfileDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierFinancial"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/financial/credit-check": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditCheckResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditCheckResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreditCheckResultDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Too Many Requests"
          }
        },
        "tags": [
          "SupplierFinancial"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/financial/spend": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSpendDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSpendDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierSpendDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierFinancial"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/insurance": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierInsuranceDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierInsuranceDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierInsuranceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierInsurance"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddInsuranceCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddInsuranceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddInsuranceCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierInsurance"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/insurance/adequacy": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceAdequacyDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceAdequacyDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsuranceAdequacyDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierInsurance"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/insurance/{insuranceId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "insuranceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierInsurance"
        ]
      },
      "patch": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "insuranceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsuranceCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierInsurance"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/insurance/{insuranceId}/renew": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "insuranceId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RenewInsuranceCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RenewInsuranceCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RenewInsuranceCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierInsuranceDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierInsurance"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/portal-invitations": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSupplierPortalInviteResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSupplierPortalInviteResult"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSupplierPortalInviteResult"
                }
              }
            },
            "description": "Created"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierPortalInvitations"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/profile-changes": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplierProfileChangeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierProfileChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/profile-changes/{changeId}/accept": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierProfileChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierProfileChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierProfileChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierProfileChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierProfileChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/profile-changes/{changeId}/reject": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "changeId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierProfileChangeRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierProfileChangeRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DecideSupplierProfileChangeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplierProfileChangeDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "SupplierProfileChanges"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/risk-assessment": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskAssessmentResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskAssessmentResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskAssessmentResultDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Too Many Requests"
          }
        },
        "tags": [
          "SupplierRiskMitigation"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/risk-mitigation-plans": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RiskMitigationPlanDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RiskMitigationPlanDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/RiskMitigationPlanDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierRiskMitigation"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMitigationPlanCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMitigationPlanCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMitigationPlanCommand"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierRiskMitigation"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/risk-mitigation-plans/{planId}/activate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierRiskMitigation"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/risk-mitigation-plans/{planId}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierRiskMitigation"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/risk-mitigation-plans/{planId}/complete": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "planId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMitigationPlanDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierRiskMitigation"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/scorecards": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "default": 24,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ScorecardDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ScorecardDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ScorecardDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierScorecards"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputeScorecardRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputeScorecardRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputeScorecardRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ScorecardDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplierScorecards"
        ]
      }
    },
    "/api/v1/suppliers/{supplierId}/supply-verifications": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "purchaseOrderReference",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "invoiceReference",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "take",
            "schema": {
              "default": 50,
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SupplyVerificationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplyVerifications"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "supplierId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSupplyVerificationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSupplyVerificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordSupplyVerificationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplyVerificationDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "SupplyVerifications"
        ]
      }
    },
    "/api/v1/tenders": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenderSummaryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenderSummaryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenderSummaryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Tenders"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PublishTenderRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishTenderRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PublishTenderRequestDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/invitations": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenderInvitationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenderInvitationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TenderInvitationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/access-log": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidAccessLogEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidAccessLogEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidAccessLogEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/available-evidence": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EvidenceReferenceDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EvidenceReferenceDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/EvidenceReferenceDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/award": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AwardOutcomeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AwardOutcomeDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AwardOutcomeDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AwardRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AwardRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AwardRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AwardOutcomeDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AwardOutcomeDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AwardOutcomeDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/bid/access-log": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidAccessLogEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidAccessLogEntryDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidAccessLogEntryDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/bids": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/cancel": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CancelTenderRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelTenderRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CancelTenderRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenderDetailDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/coi-attestations": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CoiAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CoiAttestationDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CoiAttestationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AttestConflictOfInterestRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestConflictOfInterestRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AttestConflictOfInterestRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoiAttestationDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoiAttestationDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CoiAttestationDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/debrief": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DebriefPackDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DebriefPackDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DebriefPackDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/responses": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RespondToTenderRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespondToTenderRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RespondToTenderRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespondToTenderResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespondToTenderResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RespondToTenderResultDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/scores": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidScoreDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidScoreDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidScoreDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "Tenders"
        ]
      },
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBidScoresRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBidScoresRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveBidScoresRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidScoreDto"
                  },
                  "type": "array"
                }
              },
              "text/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidScoreDto"
                  },
                  "type": "array"
                }
              },
              "text/plain": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BidScoreDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/stages/{stageId}/outcome": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "stageId",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StageOutcomeResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StageOutcomeResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StageOutcomeResultDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    },
    "/api/v1/tenders/{id}/withdraw": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawTenderResponseResultDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawTenderResponseResultDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawTenderResponseResultDto"
                }
              }
            },
            "description": "OK"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Conflict"
          }
        },
        "tags": [
          "Tenders"
        ]
      }
    }
  }
}
