HM Courts & Tribunals Service · Schema
ClientSubscription
CompanyGovernmentCourtsJusticePublic SectorUnited Kingdom
Properties
| Name | Type | Description |
|---|---|---|
| clientSubscriptionId | string | |
| notificationEndpoint | object | |
| eventTypes | array | |
| createdAt | string | |
| updatedAt | string | |
| hmac | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hmcts/main/json-schema/hmcts-client-subscription-schema.json",
"title": "ClientSubscription",
"x-generated": "2026-10-09",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/hmcts-crime-hearing-results-document-subscription-openapi.yml#/components/schemas/ClientSubscription",
"type": "object",
"required": [
"clientSubscriptionId",
"notificationEndpoint",
"eventTypes",
"createdAt"
],
"properties": {
"clientSubscriptionId": {
"type": "string",
"format": "uuid"
},
"notificationEndpoint": {
"$ref": "#/$defs/NotificationEndpoint"
},
"eventTypes": {
"type": "array",
"items": {
"$ref": "#/$defs/EventType"
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"hmac": {
"$ref": "#/$defs/HmacCredentials"
}
},
"$defs": {
"EventType": {
"type": "string",
"description": "Possible values:\n - PRISON_COURT_REGISTER_GENERATED\n - WEE_Layout5\n - NEE_DetentionOnRecommendationForDeportation\n - OEE_MedicalRemandAdditionalDetails\n - WEE_RemandAfterBailAppealByProsecutor\n - WEE_CustodialSentence\n - WEE_CustodialSentenceWitness\n - WEE_CommittalToCrownCourtForConsiderationOfTheQuestionOfBailOnAChargeOfMurder\n - WEE_CommittalToCrownCourtForSentence\n - WEE_SendingToCrownCourtForTrial\n - OEE_BailAppealEndOfCustody\n - WEE_CommitmentPendingTransferToServiceCustody\n - WEE_NonPaymentOfMoneyOwedCivilDebt\n - WEE_CustodyWarrantOnDischargeOfExtraditionPendingAppeal\n - WEE_CustodyWarrantOnDischargeOfExtraditionPendingAppealPart2\n - WEE_CustodyWarrantOnExtradition\n - WEE_CustodyWarrantOnExtraditionCategory2Territory\n - WEE_CustodyWarrantOnExtraditionWithConsent\n - WEE_CustodyWarrantOnExtraditionWithBailDirection\n - WEE_CustodyWarrantOnExtraditionWithBailDirectionWithConsent\n - WEE_CustodyWarrantOnExtraditionWithBailDirectionCategory2Territory\n - WEE_CustodyWarrantSendingToSecretaryOfStateCategory2Territory\n - WEE_CustodyWarrantSendingToSecretaryOfStateOnConsentCategory2Territory\n - WEE_CustodyWarrantWithBailDirectionOnDischargeOfExtraditionPendingAppeal\n - WEE_CustodyWarrantWithBailDirectionOnDischargeOfExtraditionPendingAppealPart2\n - WEE_CustodyWarrantWithBailDirectionSendingToSecretaryOfStateCategory2Territory\n - WEE_CustodyWarrantWithBailDirectionSendingToSecretaryOfStateOnConsentCategory2Territory\n - WEE_ExtraditionRemandAfterBailAppealByProsecutor\n - WEE_ExtraditionSupplementToCustodyWarrant\n - OBE_TerminationOfFootballBanning\n - OBE_ChangeOfFootballBanning\n - NEE_FootballBanning\n - WEE_Remand\n - WXE_RemandWarrantYouthDetentionAccommodation\n - OXE_DetentionAndTraining\n - WEE_InjunctionDetention\n - OPE_SupervisionOnBreachOfDetentionAndTraining\n - WEE_CommittalToCrownCourtAuthorityToHoldInYouthDetentionAccommodation\n - WEE_Detention\n - WEE_DetentionInYouthDetentionAccommodationBreach\n - WEE_SendingToCrownCourtAuthorityToHoldInYouthDetentionAccommodation\n"
},
"HmacCredentials": {
"type": "object",
"description": "HMAC credentials issued at subscription creation for signing outbound callbacks.",
"properties": {
"keyId": {
"type": "string",
"description": "Identifier for the shared secret used to sign outbound callbacks for this subscription"
},
"secret": {
"type": "string",
"writeOnly": true,
"description": "Base64-encoded shared secret used to sign outbound callbacks for this subscription. Returned in the create subscription response. Not returned by subsequent GET operations."
}
}
},
"NotificationEndpoint": {
"type": "object",
"required": [
"callbackUrl"
],
"properties": {
"callbackUrl": {
"type": "string",
"pattern": "^https://.*$",
"description": "The location where event data will be sent. Event notifications will be POSTed to this URL with EventNotificationPayload in the request body."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hmcts-client-subscription"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.