Closed haryp2309 closed 7 months ago
Add a new optional keyword define for each node that allows for defining a new non-standard type.
define
Example of how .typedef.json will look:
.typedef.json
{ "type": "object", "properties": { "jobs": { "type": "list", "children": { "type": "object", "properties": { "name": { "type": "string" }, "command": { "type": "string" }, "tag": { "type": "string" }, "run_id": { "type": "number" } } } } }, "define": { "person": { "type": "object", "properties": { "firstName": { "type": "string" }, "friend": { "type": "person" } } } } }
Add a new optional keyword
define
for each node that allows for defining a new non-standard type.Example of how
.typedef.json
will look: