55 lines
No EOL
1 KiB
JSON
55 lines
No EOL
1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "OsStrings",
|
|
"type": "object",
|
|
"properties": {
|
|
"owned": {
|
|
"$ref": "#/$defs/OsString"
|
|
},
|
|
"borrowed": {
|
|
"$ref": "#/$defs/OsString"
|
|
}
|
|
},
|
|
"required": [
|
|
"owned",
|
|
"borrowed"
|
|
],
|
|
"$defs": {
|
|
"OsString": {
|
|
"oneOf": [
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"Unix": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "uint8",
|
|
"minimum": 0
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"Unix"
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"properties": {
|
|
"Windows": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "uint16",
|
|
"minimum": 0
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"Windows"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |