ReportGenerated.Bundle

2025-01-01 | ๐Ÿ“‘ 470 words | โฑ 5 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

ReportGenerated.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.reporting.report.generated.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.reporting.report.generated.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.reporting.report.generated.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/reporting

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-reporting-report-generated-data.schema.json Examples: digital-letters-reporting-report-generated-data.schema.json

data

Type: object

Data payload of the ReportGenerated event

Comment: Dereferenced from: ../data/digital-letters-reporting-report-generated-data.schema.json

Properties of data

senderId

Type: string

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

reportUri

Type: string

Uri to the storage location of the generated status report

Format: uri

Inheritance

This schema extends the following schemas:

  • https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/digital-letters-reporting-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.reporting.report.generated.v1.bundle.schema.json
$schema: https://json-schema.org/draft/2020-12/schema
title: ReportGenerated
type: object
allOf:
- $ref: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/digital-letters-reporting-profile.schema.json
properties:
  type:
    type: string
    const: uk.nhs.notify.digital.letters.reporting.report.generated.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/reporting
    description: Event source for digital letters.
  dataschema:
    type: string
    const: https://notify.nhs.uk/cloudevents/schemas/digital-letters/2025-10-draft/data/digital-letters-reporting-report-generated-data.schema.json
    description: Canonical URI of the event's data schema.
    examples:
    - digital-letters-reporting-report-generated-data.schema.json
  data:
    $schema: https://json-schema.org/draft/2020-12/schema
    title: ReportGenerated Data
    description: Data payload of the ReportGenerated event
    type: object
    additionalProperties: false
    properties:
      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'
      reportUri:
        type: string
        format: uri
        description: Uri to the storage location of the generated status report
        examples:
        - s3://my-bucket/path/to/my-report
        $comment: 'Dereferenced from: ../defs/reporting.schema.json#/properties/reportUri'
    required:
    - senderId
    - reportUri
    $comment: 'Dereferenced from: ../data/digital-letters-reporting-report-generated-data.schema.json'
$comment: Bundled (allOf preserved, property $refs dereferenced).