| description | JSON schema reference for a structured message returned from a 'dsc config' command. |
|---|---|
| ms.date | 07/03/2025 |
| ms.topic | reference |
| title | Structured message schema reference |
A message emitted by a DSC Resource with associated metadata.
SchemaDialect: https://json-schema.org/draft/2020-12/schema
SchemaID: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/v3.1.0/definitions/message.json
Type: objectEvery message must be an object that defines these properties:
Identifies the instance by its short, unique, human-readable name as defined in the configuration document.
Type: string
Required: trueIdentifies the instance's DSC Resource by its fully qualified type name. For more information about type names, see DSC Resource fully qualified type name schema reference.
Type: string
Required: true
Pattern: ^\w+(\.\w+){0,2}\/\w+$The actual content of the message as emitted by the DSC Resource.
Type: string
Required: trueIndicates the severity of the message.
Type: string
Required: true
Valid Values: [error, warning, information]