Download input-schema.json from flashdata-dev/youtube-extended-search-flashdata: direct link, hf CLI and curl.
- Browser
- Download file 5.26 kB
-
https://huggingface.co/spaces/flashdata-dev/youtube-extended-search-flashdata/resolve/main/input-schema.json
- Command line
-
hf download hf://spaces/flashdata-dev/youtube-extended-search-flashdata/input-schema.json
-
curl -L -o input-schema.json https://huggingface.co/spaces/flashdata-dev/youtube-extended-search-flashdata/resolve/main/input-schema.json
5.26 kB
| { | |
| "$defs": { | |
| "YouTubeSearchFilters": { | |
| "additionalProperties": false, | |
| "description": "Optional YouTube search filters, including feature flags.", | |
| "properties": { | |
| "duration": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "<4", | |
| "4-20", | |
| ">20" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Duration" | |
| }, | |
| "sort_by": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "rating", | |
| "relevance", | |
| "view_count", | |
| "upload_date" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Sort By" | |
| }, | |
| "type": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "video", | |
| "channel", | |
| "playlist", | |
| "movie" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Type" | |
| }, | |
| "upload_date": { | |
| "anyOf": [ | |
| { | |
| "enum": [ | |
| "today", | |
| "last_hour", | |
| "this_week", | |
| "this_month", | |
| "this_year" | |
| ], | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Upload Date" | |
| }, | |
| "360": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "360" | |
| }, | |
| "3d": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "3D" | |
| }, | |
| "4k": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "4K" | |
| }, | |
| "creative_commons": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Creative Commons" | |
| }, | |
| "hd": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Hd" | |
| }, | |
| "hdr": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Hdr" | |
| }, | |
| "live": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Live" | |
| }, | |
| "location": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Location" | |
| }, | |
| "purchased": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Purchased" | |
| }, | |
| "subtitles": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Subtitles" | |
| }, | |
| "vr180": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null, | |
| "title": "Vr180" | |
| } | |
| }, | |
| "title": "YouTubeSearchFilters", | |
| "type": "object" | |
| } | |
| }, | |
| "additionalProperties": false, | |
| "description": "Larger searches have a separate source and rate; count is not guaranteed.", | |
| "properties": { | |
| "query": { | |
| "description": "YouTube search query, between 1 and 2,000 characters.", | |
| "maxLength": 2000, | |
| "minLength": 1, | |
| "title": "Query", | |
| "type": "string" | |
| }, | |
| "max_results": { | |
| "default": 20, | |
| "description": "Requested result limit, up to 700.", | |
| "maximum": 700, | |
| "minimum": 1, | |
| "title": "Max Results", | |
| "type": "integer" | |
| }, | |
| "filters": { | |
| "anyOf": [ | |
| { | |
| "$ref": "#/$defs/YouTubeSearchFilters" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ], | |
| "default": null | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "title": "YouTubeExtendedSearchInput", | |
| "type": "object" | |
| } | |