| { |
| "type": "object", |
| "$schema": "http://json-schema.org/draft-03/schema", |
| "$license": [ |
| "http://www.apache.org/licenses/LICENSE-2.0" |
| ], |
| "id": "#", |
| "javaType": "org.apache.streams.instagram.pojo.Media", |
| "javaInterfaces": [ |
| "java.io.Serializable" |
| ], |
| "properties": { |
| "caption": { |
| "type": "object", |
| "javaType": "org.apache.streams.instagram.pojo.Caption", |
| "properties": { |
| "created_time": { |
| "type": "string" |
| }, |
| "from": { |
| "$ref": "UserInfo.json" |
| }, |
| "id": { |
| "type": "string" |
| }, |
| "text": { |
| "type": "string" |
| } |
| } |
| }, |
| "comments": { |
| "type": "object", |
| "javaType": "org.apache.streams.instagram.pojo.Comments", |
| "properties": { |
| "count": { |
| "type": "integer" |
| }, |
| "data": { |
| "type": "array", |
| "items": { |
| "$ref": "Comment.json" |
| } |
| } |
| } |
| }, |
| "created_time": { |
| "type": "string" |
| }, |
| "filter": { |
| "type": "string" |
| }, |
| "id": { |
| "type": "string" |
| }, |
| "images": { |
| "type": "object", |
| "properties": { |
| "low_resolution": { |
| "$ref": "./MediaItem.json" |
| }, |
| "standard_resolution": { |
| "$ref": "./MediaItem.json" |
| }, |
| "thumbnail": { |
| "$ref": "./MediaItem.json" |
| } |
| } |
| }, |
| "likes": { |
| "type": "object", |
| "javaType": "org.apache.streams.instagram.pojo.LikeCounts", |
| "properties": { |
| "count": { |
| "type": "integer" |
| } |
| } |
| }, |
| "link": { |
| "type": "string" |
| }, |
| "location": { |
| "type": "object", |
| "properties": { |
| "id": { |
| "type": "string" |
| }, |
| "latitude": { |
| "type": "number" |
| }, |
| "longitude": { |
| "type": "number" |
| }, |
| "name": { |
| "type": "string" |
| } |
| } |
| }, |
| "tags": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| }, |
| "type": { |
| "type": "string", |
| "enum": [ |
| "image", |
| "video" |
| ] |
| }, |
| "user": { |
| "$ref": "UserInfo.json" |
| }, |
| "videos": { |
| "type": "object", |
| "properties": { |
| "low_resolution": { |
| "$ref": "./MediaItem.json" |
| }, |
| "standard_resolution": { |
| "$ref": "./MediaItem.json" |
| }, |
| "thumbnail": { |
| "$ref": "./MediaItem.json" |
| } |
| } |
| }, |
| "users_in_photo": { |
| "type": "array", |
| "items": { |
| "type": "object", |
| "properties": { |
| "user": { |
| "$ref": "UserInfo.json" |
| }, |
| "position": { |
| "type": "object", |
| "properties": { |
| "x": { |
| "type": "number" |
| }, |
| "y": { |
| "type": "number" |
| } |
| } |
| } |
| } |
| } |
| } |
| |
| } |
| } |