chore: NODE-2547 - Generate Schema Files (no-changelog) (#13873)

This commit is contained in:
Jon
2025-03-18 15:19:10 +00:00
committed by GitHub
parent e0fd50554d
commit 31c0575999
819 changed files with 27463 additions and 15590 deletions

View File

@@ -11,5 +11,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -13,6 +13,9 @@
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"username": {
"type": "string"
},
@@ -31,11 +34,54 @@
},
"is_anonymous": {
"type": "boolean"
},
"can_be_edited": {
"type": "boolean"
},
"can_manage_chat": {
"type": "boolean"
},
"can_change_info": {
"type": "boolean"
},
"can_delete_messages": {
"type": "boolean"
},
"can_invite_users": {
"type": "boolean"
},
"can_restrict_members": {
"type": "boolean"
},
"can_pin_messages": {
"type": "boolean"
},
"can_manage_topics": {
"type": "boolean"
},
"can_promote_members": {
"type": "boolean"
},
"can_manage_video_chats": {
"type": "boolean"
},
"can_post_stories": {
"type": "boolean"
},
"can_edit_stories": {
"type": "boolean"
},
"can_delete_stories": {
"type": "boolean"
},
"can_manage_voice_chats": {
"type": "boolean"
}
},
"required": [
"user",
"status",
"is_anonymous"
]
],
"version": 1
}

View File

@@ -13,10 +13,19 @@
"first_name": {
"type": "string"
},
"username": {
"type": {
"type": "string"
},
"type": {
"can_send_gift": {
"type": "boolean"
},
"max_reaction_count": {
"type": "integer"
},
"accent_color_id": {
"type": "integer"
},
"username": {
"type": "string"
},
"active_usernames": {
@@ -24,12 +33,6 @@
"items": {
"type": "string"
}
},
"max_reaction_count": {
"type": "integer"
},
"accent_color_id": {
"type": "integer"
}
},
"required": [
@@ -43,5 +46,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -19,10 +19,10 @@
"first_name": {
"type": "string"
},
"language_code": {
"username": {
"type": "string"
},
"username": {
"language_code": {
"type": "string"
}
},
@@ -48,5 +48,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -31,5 +31,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -7,5 +7,10 @@
"result": {
"type": "boolean"
}
}
},
"required": [
"ok",
"result"
],
"version": 1
}

View File

@@ -76,5 +76,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -11,5 +11,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -42,44 +42,121 @@
"first_name": {
"type": "string"
},
"type": {
"username": {
"type": "string"
},
"username": {
"type": {
"type": "string"
}
},
"required": [
"id",
"first_name",
"type"
]
},
"date": {
"type": "integer"
},
"sticker": {
"animation": {
"type": "object",
"properties": {
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"duration": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"emoji": {
"thumbnail": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"thumb": {
"type": "object",
"properties": {
"file_id": {
"type": "string"
},
"file_unique_id": {
"type": "string"
},
"file_size": {
"type": "integer"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"file_id",
"file_unique_id",
"file_size",
"width",
"height"
]
},
"file_id": {
"type": "string"
},
"set_name": {
"file_unique_id": {
"type": "string"
},
"is_animated": {
"type": "boolean"
"file_size": {
"type": "integer"
}
},
"required": [
"file_name",
"mime_type",
"duration",
"width",
"height",
"file_id",
"file_unique_id",
"file_size"
]
},
"document": {
"type": "object",
"properties": {
"file_name": {
"type": "string"
},
"is_video": {
"type": "boolean"
},
"type": {
"mime_type": {
"type": "string"
},
"thumbnail": {
@@ -147,14 +224,7 @@
}
},
"required": [
"width",
"height",
"emoji",
"is_animated",
"is_video",
"type",
"thumbnail",
"thumb",
"file_name",
"file_id",
"file_unique_id",
"file_size"
@@ -163,7 +233,6 @@
},
"required": [
"message_id",
"from",
"chat",
"date"
]
@@ -172,5 +241,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -42,10 +42,10 @@
"first_name": {
"type": "string"
},
"type": {
"username": {
"type": "string"
},
"last_name": {
"type": {
"type": "string"
}
},
@@ -91,7 +91,6 @@
},
"required": [
"message_id",
"from",
"chat",
"date"
]
@@ -100,5 +99,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -11,5 +11,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -42,10 +42,10 @@
"first_name": {
"type": "string"
},
"last_name": {
"type": {
"type": "string"
},
"type": {
"last_name": {
"type": "string"
},
"username": {
@@ -97,5 +97,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -1,85 +1,89 @@
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"location": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"latitude",
"longitude"
]
}
},
"required": [
"message_id",
"chat",
"date",
"location"
]
}
},
"required": [
"ok",
"result"
]
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"result": {
"type": "object",
"properties": {
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"type"
]
},
"date": {
"type": "integer"
},
"location": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
},
"required": [
"latitude",
"longitude"
]
}
},
"required": [
"message_id",
"chat",
"date",
"location"
]
}
},
"required": [
"ok",
"result"
],
"version": 1
}

View File

@@ -12,43 +12,20 @@
"message_id": {
"type": "integer"
},
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
},
"chat": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"username": {
"type": "string"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
@@ -92,27 +69,28 @@
"caption": {
"type": "string"
},
"caption_entities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"offset": {
"type": "integer"
},
"length": {
"type": "integer"
},
"type": {
"type": "string"
}
"from": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"required": [
"offset",
"length",
"type"
]
}
"is_bot": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
}
},
"required": [
"id",
"is_bot",
"first_name",
"username"
]
}
},
"required": [
@@ -126,5 +104,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -39,10 +39,13 @@
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"type": {
"last_name": {
"type": "string"
}
},
@@ -81,22 +84,10 @@
"type"
]
}
},
"link_preview_options": {
"type": "object",
"properties": {
"is_disabled": {
"type": "boolean"
}
},
"required": [
"is_disabled"
]
}
},
"required": [
"message_id",
"from",
"chat",
"date",
"text"
@@ -106,5 +97,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -45,6 +45,9 @@
"type": {
"type": "string"
},
"last_name": {
"type": "string"
},
"username": {
"type": "string"
}
@@ -99,5 +102,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -39,9 +39,6 @@
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
@@ -50,6 +47,9 @@
},
"username": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
@@ -154,8 +154,6 @@
"is_animated",
"is_video",
"type",
"thumbnail",
"thumb",
"file_id",
"file_unique_id",
"file_size"
@@ -173,5 +171,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}

View File

@@ -39,14 +39,14 @@
"id": {
"type": "integer"
},
"type": {
"type": "string"
},
"first_name": {
"type": "string"
},
"username": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
@@ -57,9 +57,6 @@
"date": {
"type": "integer"
},
"caption": {
"type": "string"
},
"video": {
"type": "object",
"properties": {
@@ -151,6 +148,9 @@
"file_unique_id",
"file_size"
]
},
"caption": {
"type": "string"
}
},
"required": [
@@ -163,5 +163,6 @@
"required": [
"ok",
"result"
]
],
"version": 1
}