schemars/schemars/tests/expected/schema-name-custom.json
Graham Esau 72629a3c37 Reduce memory footprint of SchemaObject.
Nested validation structs are now wrapped in Option<Box<_>>, reducing size of JsonSchema (depending on system) from 688 to 424 bytes.
2019-10-13 20:42:29 +01:00

47 lines
No EOL
771 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "a-new-name-Array_Of_String-Integer-Integer",
"type": "object",
"definitions": {
"another-new-name": {
"type": "object",
"required": [
"foo"
],
"properties": {
"foo": {
"type": "integer",
"format": "int32"
}
}
}
},
"required": [
"inner",
"t",
"u",
"v",
"w"
],
"properties": {
"inner": {
"$ref": "#/definitions/another-new-name"
},
"t": {
"type": "integer",
"format": "int32"
},
"u": {
"type": "null"
},
"v": {
"type": "boolean"
},
"w": {
"type": "array",
"items": {
"type": "string"
}
}
}
}