{"openapi":"3.0.0","paths":{"/":{"get":{"operationId":"AppController_getHello","parameters":[],"responses":{"200":{"description":""}},"summary":"Service landing page","tags":["Service"]}},"/orientations":{"post":{"operationId":"OrientationController_create","parameters":[{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrientationDto"}}}},"responses":{"201":{"description":"Orientation created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrientationResponseDto"}}}},"400":{"description":"Invalid input data"}},"summary":"Create a new orientation","tags":["Orientations"]},"get":{"operationId":"OrientationController_findAll","parameters":[{"name":"page","required":false,"in":"query","description":"Page number","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Items per page","schema":{"minimum":1,"maximum":100,"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"Field to sort by","schema":{"default":"createdAt","type":"string"}},{"name":"sortOrder","required":false,"in":"query","description":"Sort order","schema":{"default":"DESC","type":"string","enum":["ASC","DESC"]}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of orientations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponseDto"}}}}},"summary":"Get all orientations with pagination","tags":["Orientations"]}},"/orientations/{id}":{"get":{"operationId":"OrientationController_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"Orientation ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Orientation found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrientationResponseDto"}}}},"404":{"description":"Orientation not found"}},"summary":"Get orientation by ID","tags":["Orientations"]},"put":{"operationId":"OrientationController_update","parameters":[{"name":"id","required":true,"in":"path","description":"Orientation ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateOrientationDto"}}}},"responses":{"200":{"description":"Orientation updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrientationResponseDto"}}}},"404":{"description":"Orientation not found"}},"summary":"Update orientation","tags":["Orientations"]}},"/appointments":{"post":{"description":"Idempotency-Key is optional. Missing key still creates. Replay of the same key returns the stored appointment (200).","operationId":"AppointmentController_create","parameters":[{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"idempotency-key","required":true,"in":"header","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","description":"S2S replay key. Same key returns the same appointment.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAppointmentDto"}}}},"responses":{"200":{"description":"Stored appointment replayed for this Idempotency-Key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentResponseDto"}}}},"201":{"description":"Appointment created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentResponseDto"}}}},"400":{"description":"Invalid input data"}},"summary":"Create a new appointment","tags":["Appointments"]},"get":{"operationId":"AppointmentController_findAll","parameters":[{"name":"page","required":false,"in":"query","description":"Page number","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Items per page","schema":{"minimum":1,"maximum":100,"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"Field to sort by","schema":{"default":"createdAt","type":"string"}},{"name":"sortOrder","required":false,"in":"query","description":"Sort order","schema":{"default":"DESC","type":"string","enum":["ASC","DESC"]}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of appointments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponseDto"}}}}},"summary":"Get all appointments with pagination","tags":["Appointments"]}},"/appointments/{id}/confirm":{"post":{"operationId":"AppointmentController_confirm","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateConfirmAppointmentDto"}}}},"responses":{"201":{"description":""}},"summary":"Confirm a held appointment after PaymentSettled","tags":["Appointments"]}},"/appointments/{id}":{"get":{"operationId":"AppointmentController_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"Appointment ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Appointment found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentResponseDto"}}}},"404":{"description":"Appointment not found"}},"summary":"Get appointment by ID","tags":["Appointments"]},"put":{"operationId":"AppointmentController_update","parameters":[{"name":"id","required":true,"in":"path","description":"Appointment ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAppointmentDto"}}}},"responses":{"200":{"description":"Appointment updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppointmentResponseDto"}}}},"404":{"description":"Appointment not found"}},"summary":"Update appointment","tags":["Appointments"]}},"/matches":{"get":{"operationId":"MatchController_list","parameters":[{"name":"identityId","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MatchCandidateResponseDto"}}}}}},"summary":"List matchable practitioners with reasons; empty after urgent orientation","tags":["Matches"]}},"/care-relationships":{"post":{"operationId":"CareRelationshipController_create","parameters":[{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCareRelationshipDto"}}}},"responses":{"201":{"description":"CareRelationship created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CareRelationshipResponseDto"}}}}},"summary":"Create a new care relationship","tags":["CareRelationships"]},"get":{"operationId":"CareRelationshipController_findAll","parameters":[{"name":"page","required":false,"in":"query","description":"Page number","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Items per page","schema":{"minimum":1,"maximum":100,"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"Field to sort by","schema":{"default":"createdAt","type":"string"}},{"name":"sortOrder","required":false,"in":"query","description":"Sort order","schema":{"default":"DESC","type":"string","enum":["ASC","DESC"]}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of careRelationships","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponseDto"}}}}},"summary":"Get all care relationships with pagination","tags":["CareRelationships"]}},"/care-relationships/{id}":{"get":{"operationId":"CareRelationshipController_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"CareRelationship ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"summary":"Get care relationship by ID","tags":["CareRelationships"]},"put":{"operationId":"CareRelationshipController_update","parameters":[{"name":"id","required":true,"in":"path","description":"CareRelationship ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCareRelationshipDto"}}}},"responses":{"200":{"description":""}},"summary":"Update care relationship","tags":["CareRelationships"]}},"/command-inboxes":{"post":{"operationId":"CommandInboxController_create","parameters":[{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCommandInboxDto"}}}},"responses":{"201":{"description":"CommandInbox created successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandInboxResponseDto"}}}},"400":{"description":"Invalid input data"}},"summary":"Create a new commandInbox","tags":["CommandInboxes"]},"get":{"operationId":"CommandInboxController_findAll","parameters":[{"name":"page","required":false,"in":"query","description":"Page number","schema":{"minimum":1,"default":1,"type":"number"}},{"name":"limit","required":false,"in":"query","description":"Items per page","schema":{"minimum":1,"maximum":100,"default":10,"type":"number"}},{"name":"sortBy","required":false,"in":"query","description":"Field to sort by","schema":{"default":"createdAt","type":"string"}},{"name":"sortOrder","required":false,"in":"query","description":"Sort order","schema":{"default":"DESC","type":"string","enum":["ASC","DESC"]}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"List of commandInboxes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedResponseDto"}}}}},"summary":"Get all commandInboxes with pagination","tags":["CommandInboxes"]}},"/command-inboxes/{id}":{"get":{"operationId":"CommandInboxController_findOne","parameters":[{"name":"id","required":true,"in":"path","description":"CommandInbox ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"CommandInbox found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandInboxResponseDto"}}}},"404":{"description":"CommandInbox not found"}},"summary":"Get commandInbox by ID","tags":["CommandInboxes"]},"put":{"operationId":"CommandInboxController_update","parameters":[{"name":"id","required":true,"in":"path","description":"CommandInbox ID","schema":{"format":"uuid","type":"string"}},{"name":"x-internal-api-key","required":true,"in":"header","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCommandInboxDto"}}}},"responses":{"200":{"description":"CommandInbox updated successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommandInboxResponseDto"}}}},"404":{"description":"CommandInbox not found"}},"summary":"Update commandInbox","tags":["CommandInboxes"]}},"/health":{"get":{"operationId":"HealthController_check","parameters":[],"responses":{"200":{"description":"The Health Check is successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}},"503":{"description":"The Health Check is not successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"error"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"},"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}}},"summary":"Basic health check","tags":["Health"]}},"/health/ready":{"get":{"operationId":"HealthController_readiness","parameters":[],"responses":{"200":{"description":"The Health Check is successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}},"503":{"description":"The Health Check is not successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"error"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"},"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}}},"summary":"Readiness check - is the service ready to receive traffic?","tags":["Health"]}},"/health/live":{"get":{"operationId":"HealthController_liveness","parameters":[],"responses":{"200":{"description":"The Health Check is successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}},"503":{"description":"The Health Check is not successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"error"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"},"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}}},"summary":"Liveness check - is the service alive?","tags":["Health"]}}},"info":{"title":"Care API","description":"Appointments, orientation, matching, and treating relationships. Owns: Appointments, Orientations, Matches, CareRelationships.","version":"1.0","contact":{}},"tags":[],"servers":[{"url":"https://care.stormbyva.com"}],"components":{"securitySchemes":{"x-internal-api-key":{"type":"apiKey","in":"header","name":"x-internal-api-key","description":"Service-to-service key"}},"schemas":{"CreateOrientationDto":{"type":"object","properties":{"patientIdentityId":{"type":"string","description":"The patient identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"marketCode":{"type":"string","description":"The market code of the entity","example":"Sample text"},"state":{"type":"string","description":"The state of the entity"}},"required":["patientIdentityId","marketCode","state"]},"OrientationResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","format":"uuid"},"patientIdentityId":{"type":"string","description":"The patient identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"marketCode":{"type":"string","description":"The market code of the entity","example":"Sample text"},"state":{"type":"string","description":"The state of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp"}},"required":["id","patientIdentityId","marketCode","state","isActive","createdAt","updatedAt"]},"PaginationMeta":{"type":"object","properties":{"total":{"type":"number","description":"Total number of items"},"page":{"type":"number","description":"Current page number"},"limit":{"type":"number","description":"Number of items per page"},"totalPages":{"type":"number","description":"Total number of pages"},"hasNextPage":{"type":"boolean","description":"Whether there is a next page"},"hasPreviousPage":{"type":"boolean","description":"Whether there is a previous page"}},"required":["total","page","limit","totalPages","hasNextPage","hasPreviousPage"]},"PaginatedResponseDto":{"type":"object","properties":{"items":{"description":"Array of items","type":"array","items":{"type":"array"}},"meta":{"description":"Pagination metadata","allOf":[{"$ref":"#/components/schemas/PaginationMeta"}]}},"required":["items","meta"]},"UpdateOrientationDto":{"type":"object","properties":{"patientIdentityId":{"type":"string","description":"The patient identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"marketCode":{"type":"string","description":"The market code of the entity","example":"Sample text"},"state":{"type":"string","description":"The state of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"}}},"CreateAppointmentDto":{"type":"object","properties":{"identityId":{"type":"string","description":"The identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"holdId":{"type":"string","description":"The hold id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"slotId":{"type":"string","description":"The slot id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"status":{"type":"string","description":"The status of the entity"}},"required":["identityId","practitionerId","holdId","slotId","status"]},"AppointmentResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","format":"uuid"},"identityId":{"type":"string","description":"The identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"holdId":{"type":"string","description":"The hold id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"slotId":{"type":"string","description":"The slot id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"status":{"type":"string","description":"The status of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp"}},"required":["id","identityId","practitionerId","holdId","slotId","status","isActive","createdAt","updatedAt"]},"CreateConfirmAppointmentDto":{"type":"object","properties":{"paymentIntentId":{"type":"string","description":"The payment intent id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"}},"required":["paymentIntentId"]},"UpdateAppointmentDto":{"type":"object","properties":{"identityId":{"type":"string","description":"The identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"holdId":{"type":"string","description":"The hold id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"slotId":{"type":"string","description":"The slot id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"status":{"type":"string","description":"The status of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"}}},"MatchCandidateResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","format":"uuid"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"displayName":{"type":"string","description":"The display name of the entity","example":"John Doe"},"publicProfileState":{"type":"string","description":"The public profile state of the entity","example":"Sample text"},"reasons":{"description":"Why this practitioner is a match","example":["public_profile_published"],"type":"array","items":{"type":"string"}},"isActive":{"type":"boolean","description":"Whether the record is active"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp"}},"required":["id","practitionerId","displayName","publicProfileState","reasons","isActive","createdAt","updatedAt"]},"CreateCareRelationshipDto":{"type":"object","properties":{"patientIdentityId":{"type":"string","description":"The patient identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"state":{"type":"string","description":"The state of the entity"}},"required":["patientIdentityId","practitionerId","state"]},"CareRelationshipResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","format":"uuid"},"patientIdentityId":{"type":"string","description":"The patient identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"state":{"type":"string","description":"The state of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp"}},"required":["id","patientIdentityId","practitionerId","state","isActive","createdAt","updatedAt"]},"UpdateCareRelationshipDto":{"type":"object","properties":{"patientIdentityId":{"type":"string","description":"The patient identity id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"practitionerId":{"type":"string","description":"The practitioner id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"state":{"type":"string","description":"The state of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"}}},"CreateCommandInboxDto":{"type":"object","properties":{"idempotencyKey":{"type":"string","description":"The idempotency key of the entity","example":"Sample text"},"scope":{"type":"string","description":"The scope of the entity","example":"Sample text"},"requestHash":{"type":"string","description":"The request hash of the entity","example":"Sample text"},"responseStatus":{"type":"number","description":"The response status of the entity","example":"42"},"responseBody":{"type":"object","description":"The response body of the entity"},"resourceId":{"type":"string","description":"The resource id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"expiresAt":{"format":"date-time","type":"string","description":"The expires at of the entity"}},"required":["idempotencyKey","scope","expiresAt"]},"CommandInboxResponseDto":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier","format":"uuid"},"idempotencyKey":{"type":"string","description":"The idempotency key of the entity","example":"Sample text"},"scope":{"type":"string","description":"The scope of the entity","example":"Sample text"},"requestHash":{"type":"string","description":"The request hash of the entity","example":"Sample text"},"responseStatus":{"type":"number","description":"The response status of the entity","example":"42"},"responseBody":{"type":"object","description":"The response body of the entity"},"resourceId":{"type":"string","description":"The resource id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"expiresAt":{"format":"date-time","type":"string","description":"The expires at of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"},"createdAt":{"format":"date-time","type":"string","description":"Creation timestamp"},"updatedAt":{"format":"date-time","type":"string","description":"Last update timestamp"}},"required":["id","idempotencyKey","scope","requestHash","responseStatus","responseBody","resourceId","expiresAt","isActive","createdAt","updatedAt"]},"UpdateCommandInboxDto":{"type":"object","properties":{"idempotencyKey":{"type":"string","description":"The idempotency key of the entity","example":"Sample text"},"scope":{"type":"string","description":"The scope of the entity","example":"Sample text"},"requestHash":{"type":"string","description":"The request hash of the entity","example":"Sample text"},"responseStatus":{"type":"number","description":"The response status of the entity","example":"42"},"responseBody":{"type":"object","description":"The response body of the entity"},"resourceId":{"type":"string","description":"The resource id of the entity","example":"550e8400-e29b-41d4-a716-446655440000"},"expiresAt":{"format":"date-time","type":"string","description":"The expires at of the entity"},"isActive":{"type":"boolean","description":"Whether the record is active"}}}}}}