Request data

2025-01-01 | ๐Ÿ“‘ 219 words | โฑ 3 mins | ๐Ÿงพ History | โœ NHS Notify | ๐Ÿ”‘ NHS Notify

Reusable types for NHS Notify payload schemas.

Known Issues / Todo

  • โ›… This page is draft and is subject to rapid change, and may not be fully accurate or complete

Request data

Reusable types for NHS Notify payload schemas.

Schema Information

  • Schema ID: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/defs/core.schema.json
  • Schema Version: https://json-schema.org/draft/2020-12/schema
  • Source File: digital-letters/2025-10-draft/defs/core.schema.yaml

Properties

notifyId

Type: string

KSUID assigned by Notify to uniquely identify the message request

Pattern: ^[0-9a-zA-Z]{27}$ Minimum length: 27 Maximum length: 27 Examples: 35bVTLgU9sVCukH6Cgri39g5xPF

failureCode

Type: string

A code representing the reason for failure

Examples: CM_NOT_ALLOWED, CM_NO_SUCH_ROUTING_PLAN, CM_DUPLICATE_REQUEST

Type

object

Raw Schema

$id: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/defs/core.schema.json
$schema: https://json-schema.org/draft/2020-12/schema
title: Request data
description: Reusable types for NHS Notify payload schemas.
type: object
properties:
  notifyId:
    type: string
    description: KSUID assigned by Notify to uniquely identify the message request
    minLength: 27
    maxLength: 27
    pattern: ^[0-9a-zA-Z]{27}$
    examples:
    - 35bVTLgU9sVCukH6Cgri39g5xPF
  failureCode:
    type: string
    description: A code representing the reason for failure
    examples:
    - CM_NOT_ALLOWED
    - CM_NO_SUCH_ROUTING_PLAN
    - CM_DUPLICATE_REQUEST