MessageRequestSubmitted.Bundle

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

No description available.

Known Issues / Todo

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

MessageRequestSubmitted.Bundle

No description available.

Schema Information

  • Schema ID: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.messages.request.submitted.v1.bundle.schema.json
  • Schema Version: https://json-schema.org/draft/2020-12/schema
  • Source File: digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.messages.request.submitted.v1.bundle.schema.yaml

Properties

type

Type: string

Concrete versioned event type string for this event (.vN suffix).

Constant value: uk.nhs.notify.digital.letters.messages.request.submitted.v1

source

Type: string

Event source for digital letters.

Pattern: ^/nhs/england/notify/(production|staging|development|uat)/(primary|secondary|dev-[0-9]+)/data-plane/digitalletters/messages

dataschema

Type: string

Canonical URI of the eventโ€™s data schema.

Constant value: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/data/digital-letters-message-request-submitted-data.schema.json Examples: digital-letters-message-request-submitted-data.schema.json

data

Type: object

Data payload of the NotifyMessageRequestSubmitted event

Comment: Dereferenced from: ../data/digital-letters-message-request-submitted-data.schema.json

Properties of data

messageReference

Type: string

Globally unique reference for each message, provided by the sender

senderId

Type: string

Identifier that the sender provided during onboarding. Provided in the body of each FHIR resource submitted by the sender.

messageUri

Type: string

Uri to the storage location of the FHIR resource relating to this message request

Format: uri

notifyId

Type: string

KSUID assigned by Notify to uniquely identify the message request

Pattern: ^[0-9a-zA-Z]{27}$

Inheritance

This schema extends the following schemas:

  • https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/digital-letters-messages-profile.schema.json

Type

object

Raw Schema

$id: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.messages.request.submitted.v1.bundle.schema.json
$schema: https://json-schema.org/draft/2020-12/schema
title: MessageRequestSubmitted
type: object
allOf:
- $ref: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/digital-letters-messages-profile.schema.json
properties:
  type:
    type: string
    const: uk.nhs.notify.digital.letters.messages.request.submitted.v1
    description: Concrete versioned event type string for this event (.vN suffix).
  source:
    type: string
    pattern: ^/nhs/england/notify/(production|staging|development|uat)/(primary|secondary|dev-[0-9]+)/data-plane/digitalletters/messages
    description: Event source for digital letters.
  dataschema:
    type: string
    const: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/data/digital-letters-message-request-submitted-data.schema.json
    description: Canonical URI of the event's data schema.
    examples:
    - digital-letters-message-request-submitted-data.schema.json
  data:
    $schema: https://json-schema.org/draft/2020-12/schema
    title: NotifyMessageRequestSubmitted Data
    description: Data payload of the NotifyMessageRequestSubmitted event
    type: object
    additionalProperties: false
    properties:
      messageReference:
        type: string
        description: Globally unique reference for each message, provided by the sender
        examples:
        - 19cd1d01-98c3-4ab8-a7b8-c1adabda7641
        $comment: 'Dereferenced from: ../defs/requests.schema.json#/properties/messageReference'
      senderId:
        type: string
        description: Identifier that the sender provided during onboarding. Provided
          in the body of each FHIR resource submitted by the sender.
        examples:
        - Trust-12345
        $comment: 'Dereferenced from: ../defs/requests.schema.json#/properties/senderId'
      messageUri:
        type: string
        format: uri
        description: Uri to the storage location of the FHIR resource relating to
          this message request
        examples:
        - s3://my-bucket/path/to/my-object
        $comment: 'Dereferenced from: ../defs/requests.schema.json#/properties/messageUri'
      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
        $comment: 'Dereferenced from: ../defs/core.schema.json#/properties/notifyId'
    required:
    - messageReference
    - senderId
    - messageUri
    - notifyId
    $comment: 'Dereferenced from: ../data/digital-letters-message-request-submitted-data.schema.json'
$comment: Bundled (allOf preserved, property $refs dereferenced).