description | ms.date | ms.topic | title |
---|---|---|---|
JSON schema reference for a structured message returned from a 'dsc config' command. |
01/17/2024 |
reference |
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/2024/04/definitions/message.json
Type: object
Every 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: true
Identifies 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: true
Indicates the severity of the message.
Type: string
Required: true
Valid Values: [Error, Warning, Information]