{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "MyStruct", | |
"examples": [ | |
{ | |
"my_bool": true, | |
"my_int": 123, | |
"my_nullable_enum": { | |
"StringNewType": "foo" | |
} | |
} | |
], | |
"type": "object", | |
"properties": { | |
"my_bool": { | |
"type": "boolean" | |
}, | |
"my_int": { | |
"type": "integer" | |
}, | |
"my_nullable_enum": true | |
} | |
} |