JSON Schema for the input of a command or query, built from its declared fields.
The type of each field becomes the schema of the parameter, description: its description,
required: true puts it in required, and a default: is advertised. This is what an AI
client reads to know how to call the tool.
Summary
Functions
The JSON Schema (type: object) for the parameters of a command or query module.
@spec type(DDD.Type.t(), non_neg_integer()) :: map()
The JSON Schema of a DDD.Type.