55 lines
No EOL
1.1 KiB
JSON
55 lines
No EOL
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |