Updates both the source and composed schemas to allow negative integers.
Updates the reference documentation to clarify that you must specify integers, that you can't use any alternate formats for those integers, and that the keys in YAML must be wrapped in quotes for parsing.
Addresses #407 by making the schema compliant with the implementation.
PR Context
Prior to this change, the JSON schema for the exitCodes property of resource manifests only supported positive integers as exit codes.
DSC itself supports negative integers as exit codes, and some apps return negative integers as exit codes for hexadecimal exit codes, like -2147024891 for 0x80070005, "Access denied."
[!NOTE]
This PR builds on #397 and is blocked on that PR being reviewed and merged.
PR Summary
This change:
PR Context
Prior to this change, the JSON schema for the
exitCodes
property of resource manifests only supported positive integers as exit codes.DSC itself supports negative integers as exit codes, and some apps return negative integers as exit codes for hexadecimal exit codes, like
-2147024891
for0x80070005
, "Access denied."