schemars/schemars/tests/expected/struct-normal.json
2019-10-07 20:35:40 +01:00

18 lines
No EOL
276 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Struct",
"type": "object",
"required": [
"bar",
"foo"
],
"properties": {
"bar": {
"type": "boolean"
},
"foo": {
"type": "integer",
"format": "int32"
}
}
}