| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "title": "MyStruct", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "my_bool": { |
| 7 | "type": "boolean" |
| 8 | }, |
| 9 | "my_int": { |
| 10 | "type": "integer" |
| 11 | }, |
| 12 | "my_nullable_enum": true |
| 13 | }, |
| 14 | "examples": [ |
| 15 | { |
| 16 | "my_bool": true, |
| 17 | "my_int": 123, |
| 18 | "my_nullable_enum": { |
| 19 | "StringNewType": "foo" |
| 20 | } |
| 21 | } |
| 22 | ] |
| 23 | } |