Files
cli/vendor/schemars/tests/expected/examples.json

39 lines
545 B
JSON
Raw Normal View History

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