| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "title": "MyStruct", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "bool_as_string": { |
| 7 | "type": "string", |
| 8 | "format": "boolean", |
| 9 | "default": "false" |
| 10 | }, |
| 11 | "bool_normal": { |
| 12 | "type": "boolean", |
| 13 | "default": false |
| 14 | }, |
| 15 | "int_as_string": { |
| 16 | "type": "string", |
| 17 | "default": "8" |
| 18 | }, |
| 19 | "int_normal": { |
| 20 | "type": "integer", |
| 21 | "format": "int32", |
| 22 | "default": 8 |
| 23 | } |
| 24 | } |
| 25 | } |