Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken fields #214

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 3 additions & 15 deletions methods.json
Original file line number Diff line number Diff line change
Expand Up @@ -6290,13 +6290,6 @@
"name": "work_info_status",
"type": "string",
"default": "no_information",
"enum": [
"always_opened",
"forever_closed",
"no_information",
"temporarily_closed",
"timetable"
],
"$ref": "objects.json#/definitions/groups_address_work_info_status"
},
{
Expand Down Expand Up @@ -6723,7 +6716,7 @@
{
"name": "subject",
"description": "Community subject. Possible values: , *'1' - auto/moto,, *'2' - activity holidays,, *'3' - business,, *'4' - pets,, *'5' - health,, *'6' - dating and communication, , *'7' - games,, *'8' - IT (computers and software),, *'9' - cinema,, *'10' - beauty and fashion,, *'11' - cooking,, *'12' - art and culture,, *'13' - literature,, *'14' - mobile services and internet,, *'15' - music,, *'16' - science and technology,, *'17' - real estate,, *'18' - news and media,, *'19' - security,, *'20' - education,, *'21' - home and renovations,, *'22' - politics,, *'23' - food,, *'24' - industry,, *'25' - travel,, *'26' - work,, *'27' - entertainment,, *'28' - religion,, *'29' - family,, *'30' - sports,, *'31' - insurance,, *'32' - television,, *'33' - goods and services,, *'34' - hobbies,, *'35' - finance,, *'36' - photo,, *'37' - esoterics,, *'38' - electronics and appliances,, *'39' - erotic,, *'40' - humor,, *'41' - society, humanities,, *'42' - design and graphics.",
"type": "string",
"type": "integer",
"$ref": "objects.json#/definitions/groups_group_subject"
},
{
Expand Down Expand Up @@ -7043,13 +7036,6 @@
{
"name": "work_info_status",
"type": "string",
"enum": [
"always_opened",
"forever_closed",
"no_information",
"temporarily_closed",
"timetable"
],
"$ref": "objects.json#/definitions/groups_address_work_info_status"
},
{
Expand Down Expand Up @@ -13297,6 +13283,7 @@
"name": "forward",
"description": "JSON describing the forwarded message or reply",
"type": "string",
"format": "json",
"$ref": "objects.json#/definitions/messages_forward"
},
{
Expand All @@ -13316,6 +13303,7 @@
{
"name": "keyboard",
"type": "string",
"format": "json",
"$ref": "objects.json#/definitions/messages_keyboard"
},
{
Expand Down
58 changes: 52 additions & 6 deletions objects.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@
"minimum": 0
},
"link_redirects": {
"type": "object"
"type": "array",
"items": {
"type": "string"
}
},
"lang": {
"type": "integer",
Expand Down Expand Up @@ -469,9 +472,6 @@
"account_user_settings": {
"type": "object",
"allOf": [
{
"$ref": "objects.json#/definitions/users_user_min"
},
{
"$ref": "objects.json#/definitions/users_user_settings_xtr"
},
Expand Down Expand Up @@ -2446,7 +2446,53 @@
"genre_id": {
"type": "integer",
"description": "Genre ID",
"minimum": 0
"minimum": 0,
"enum": [
1,
2,
3,
4,
5,
6,
7,
21,
8,
1001,
10,
11,
12,
13,
14,
15,
16,
17,
19,
22,
18
],
"enumNames": [
"Rock",
"Pop",
"Rap & Hip-Hop",
"Easy Listening",
"House & Dance",
"Instrumental",
"Metal",
"Alternative",
"Dubstep",
"Jazz & Blues",
"Drum & Bass",
"Trance",
"Chanson",
"Ethnic",
"Acoustic & Vocal",
"Reggae",
"Classical",
"Indie Pop",
"Speech",
"Electropop & Disco",
"Other"
]
},
"performer": {
"type": "string",
Expand Down Expand Up @@ -6570,7 +6616,7 @@
]
},
"groups_group_subject": {
"type": "string",
"type": "integer",
"enum": [
1,
2,
Expand Down