Description
Summary of the new feature / enhancement
As a user of DSC, resource author, and contributing or integrating developer, I want to rely on consistent casing for JSON that DSC emits and expects, instead of having to double-check properties and values or accidentally run into unexpected validation or (de)serialization errors.
Currently, the general practice is to use camelCase
for JSON property names and enumerated values. However, not all of the structs follow this convention, and it's not predictable which values or properties use a different casing.
Because JSON Schemas are case sensitive, this constitutes a breaking change best made sooner than later.
Proposed technical implementation details (optional)
- Ensure that the
serde
attribute for rust structs and enums correctly cases the property names and values. - Update the JSON schemas hosted in the repository to match.
- Ensure all future structs and enums that derive the
Serialize
and/orDeserialize
use camel casing.