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

55 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "OsStrings",
"type": "object",
"required": [
"borrowed",
"owned"
],
"properties": {
"owned": {
"$ref": "#/definitions/OsString"
},
"borrowed": {
"$ref": "#/definitions/OsString"
}
},
"definitions": {
"OsString": {
"oneOf": [
{
"type": "object",
"required": [
"Unix"
],
"properties": {
"Unix": {
"type": "array",
"items": {
"type": "integer",
"format": "uint8",
"minimum": 0.0
}
}
}
},
{
"type": "object",
"required": [
"Windows"
],
"properties": {
"Windows": {
"type": "array",
"items": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
}
}
}
}
]
}
}
}