Nullability fixes

This commit is contained in:
Alexander Biryukov 2019-07-18 12:58:15 +03:00
parent decae705e6
commit 228852cf53

View File

@ -244,24 +244,23 @@
]
},
"requested_subtitles": {
"type": "object",
"additionalProperties": {
"type": [
"array",
"object",
"null"
],
"additionalProperties": {
"type": "object",
"$ref": "#/definitions/subtitle"
}
},
"automatic_captions": {
"type": "object",
"additionalProperties": {
"type": [
"array",
"null"
],
"type": "array",
"items": {
"$ref": "#/definitions/subtitle"
}
}
},
"playlist_index": {
"type": [
@ -636,9 +635,6 @@
"format": {
"type": "object",
"id": "urn:jsonschema:youtube-dl-format",
"required": [
"url"
],
"properties": {
"url": {
"type": [
@ -818,7 +814,10 @@
}
},
"stretched_ratio": {
"type": "number"
"type": [
"number",
"null"
]
},
"no_resume": {
"type": [
@ -830,8 +829,10 @@
"type": "object",
"additionalProperties": {
"type": [
"object",
"string",
"null"
"number",
"boolean"
]
}
}