From f4236dfd47e80a87782cbfad1a012942d87d1da0 Mon Sep 17 00:00:00 2001 From: Aiden Vaines <54067008+aidenvaines-cgi@users.noreply.github.com> Date: Wed, 6 Aug 2025 14:25:09 +0100 Subject: [PATCH] Revert "CCM-11362 publish supplier v1 schema (#121)" This reverts commit 44b05cfee9c2541bbc8d523c467e4f34a43d65a7. --- docs/events/schemas/supplier-status/v1.json | 118 -------------------- 1 file changed, 118 deletions(-) delete mode 100644 docs/events/schemas/supplier-status/v1.json diff --git a/docs/events/schemas/supplier-status/v1.json b/docs/events/schemas/supplier-status/v1.json deleted file mode 100644 index 62e0e90..0000000 --- a/docs/events/schemas/supplier-status/v1.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "$schema": "https://notify.nhs.uk/events/schemas/supplier-status/v1.json", - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "uuid", - "description": "Unique ID for this event" - }, - "source": { - "type": "string", - "description": "Source of the event" - }, - "specversion": { - "type": "string", - "description": "Version of the event" - }, - "type": { - "type": "string", - "description": "Type of event" - }, - "plane": { - "type": "string", - "enum": ["data", "control"], - "description": "Identification for target event" - }, - "subject": { - "type": "string", - "format": "uuid", - "description": "Original item plan ID" - }, - "time": { - "type": "string", - "description": "Time the event was generated" - }, - "datacontenttype": { - "type": "string", - "description": "Always application/json" - }, - "dataschema": { - "type": "string", - "description": "Schema for this event" - }, - "dataschemaversion": { - "type": "string", - "description": "Version of the schema" - }, - "data": { - "type": "object", - "properties": { - "nhsNumber": { - "type": "string", - "description": "Patient NHS number" - }, - "delayedFallback": { - "type": "boolean", - "description": "Whether or not delayed fallback is enabled" - }, - "sendingGroupId": { - "type": "string", - "description": "Sending group ID" - }, - "clientId": { - "type": "string", - "description": "Client ID for the original message" - }, - "campaignId": { - "type": "string", - "description": "Campaign ID for the original message" - }, - "billingReference": { - "type": "string", - "description": "Billing reference from the original message" - }, - "supplierStatus": { - "type": "string", - "description": "New supplier status" - }, - "previousSupplierStatus": { - "type": "string", - "description": "Previous supplier status" - }, - "requestItemId": { - "type": "string", - "description": "Request Item ID for the message that received a callback" - }, - "requestItemPlanId": { - "type": "string", - "description": "Request Item Plan ID for the plan that received a callback" - } - }, - "required": [ - "nhsNumber", - "delayedFallback", - "sendingGroupId", - "clientId", - "campaignId", - "supplierStatus", - "previousSupplierStatus", - "requestItemId", - "requestItemPlanId" - ] - } - }, - "required": [ - "id", - "source", - "specversion", - "type", - "plane", - "subject", - "time", - "datacontenttype", - "dataschema", - "dataschemaversion", - "data" - ] -}