Summary of the new feature / enhancement
Currently, DSC just calls the adapter validate operation to confirm if the input JSON matches the target resource schema. However, to enable rich authoring experiences we need the actual JSONSchema for an adapted resource. In this case, it makes sense to extend the schema operation in the adapter resource manifest to accept a command that has the resourceTypeArg and expect that it returns the JSONSchema as a JSONLine
This includes supporting:
dsc resource schema -r <adapted resource>
Proposed technical implementation details (optional)
No response
Summary of the new feature / enhancement
Currently, DSC just calls the adapter
validateoperation to confirm if the input JSON matches the target resource schema. However, to enable rich authoring experiences we need the actual JSONSchema for an adapted resource. In this case, it makes sense to extend theschemaoperation in the adapter resource manifest to accept a command that has theresourceTypeArgand expect that it returns the JSONSchema as a JSONLineThis includes supporting:
dsc resource schema -r <adapted resource>Proposed technical implementation details (optional)
No response