chore: Add new schemas (no-changelog) (#13215)

This commit is contained in:
Jon
2025-02-13 09:40:35 +00:00
committed by GitHub
parent f001edb2a2
commit 0c6eb6eaef
38 changed files with 3095 additions and 0 deletions

View File

@@ -0,0 +1,163 @@
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"etag": {
"type": "string"
},
"id": {
"type": "string"
},
"snippet": {
"type": "object",
"properties": {
"publishedAt": {
"type": "string"
},
"channelId": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"thumbnails": {
"type": "object",
"properties": {
"default": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
},
"medium": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
},
"high": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
}
},
"required": [
"default",
"medium",
"high"
]
},
"channelTitle": {
"type": "string"
},
"playlistId": {
"type": "string"
},
"position": {
"type": "integer"
},
"resourceId": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"videoId": {
"type": "string"
}
},
"required": [
"kind",
"videoId"
]
},
"videoOwnerChannelTitle": {
"type": "string"
},
"videoOwnerChannelId": {
"type": "string"
}
},
"required": [
"publishedAt",
"channelId",
"title",
"description",
"thumbnails",
"channelTitle",
"playlistId",
"position",
"resourceId",
"videoOwnerChannelTitle",
"videoOwnerChannelId"
]
},
"contentDetails": {
"type": "object",
"properties": {
"videoId": {
"type": "string"
},
"videoPublishedAt": {
"type": "string"
}
},
"required": [
"videoId",
"videoPublishedAt"
]
}
},
"required": [
"kind",
"etag",
"id",
"snippet",
"contentDetails"
]
}

View File

@@ -0,0 +1,39 @@
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"etag": {
"type": "string"
},
"id": {
"type": "string"
},
"snippet": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"assignable": {
"type": "boolean"
},
"channelId": {
"type": "string"
}
},
"required": [
"title",
"assignable",
"channelId"
]
}
},
"required": [
"kind",
"etag",
"id",
"snippet"
]
}