Open ZeN220 opened 1 year ago
For example, schema of notifications_notification_parent object refers to wall_wallpost_to_id, photos_photo, board_topic & video_video. But this objects have a field "comments", which in each of objects has a diffirent type of:
notifications_notification_parent
wall_wallpost_to_id
photos_photo
board_topic
video_video
"notifications_notification_parent": { "type": "object", "allOf": [ { "$ref": "../wall/objects.json#/definitions/wall_wallpost_to_id" }, { "$ref": "../photos/objects.json#/definitions/photos_photo" }, { "$ref": "../board/objects.json#/definitions/board_topic" }, { "$ref": "../video/objects.json#/definitions/video_video" }, { "$ref": "../notifications/objects.json#/definitions/notifications_notifications_comment" } ], "additionalProperties": false }
wall_wallpost_to_id object:
"wall_wallpost_to_id": { "type": "object", "properties": { "comments": { "$ref": "../base/objects.json#/definitions/base_comments_info" } }, "additionalProperties": false }
photos_photo object:
"photos_photo": { "type": "object", "properties": { "comments": { "$ref": "../base/objects.json#/definitions/base_object_count" } }, "additionalProperties": false }
board_topic object:
"board_topic": { "type": "object", "properties": { "comments": { "type": "integer", "description": "Comments number" } }, "additionalProperties": false }
video_video object:
"video_video": { "properties": { "comments": { "type": "integer", "description": "Number of comments", "minimum": 0 } } }
This problem is also repeated with fields id, date & owner_id.
id
date
owner_id
This problem observered not only in notifications_notification_parent object, but also in newsfeed_item_wallpost object with date field.
newsfeed_item_wallpost
For example, schema of
notifications_notification_parent
object refers towall_wallpost_to_id
,photos_photo
,board_topic
&video_video
. But this objects have a field "comments", which in each of objects has a diffirent type of:wall_wallpost_to_id
object:photos_photo
object:board_topic
object:video_video
object:This problem is also repeated with fields
id
,date
&owner_id
.This problem observered not only in
notifications_notification_parent
object, but also innewsfeed_item_wallpost
object withdate
field.