blob: a5600116bab67a8ab61f3833c4de3d32f1fe8eda [file] [log] [blame]
{
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"$license": [
"http://www.apache.org/licenses/LICENSE-2.0"
],
"id": "#",
"javaType" : "org.apache.streams.twitter.pojo.User",
"javaInterfaces": ["java.io.Serializable"],
"properties": {
"location": {
"type": "string"
},
"default_profile": {
"type": "boolean"
},
"statuses_count": {
"ignore_malformed": false,
"type": "integer"
},
"profile_background_tile": {
"type": "boolean"
},
"lang": {
"type": "string"
},
"profile_link_color": {
"type": "string"
},
"id": {
"ignore_malformed": false,
"type": "integer"
},
"protected": {
"type": "boolean"
},
"favourites_count": {
"ignore_malformed": false,
"type": "integer"
},
"profile_text_color": {
"type": "string"
},
"verified": {
"type": "boolean"
},
"description": {
"type": "string"
},
"contributors_enabled": {
"type": "boolean"
},
"name": {
"type": "string"
},
"profile_sidebar_border_color": {
"type": "string"
},
"profile_background_color": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"default_profile_image": {
"type": "boolean"
},
"followers_count": {
"ignore_malformed": false,
"type": "integer"
},
"geo_enabled": {
"type": "boolean"
},
"profile_image_url_https": {
"type": "string"
},
"profile_background_image_url": {
"type": "string"
},
"profile_background_image_url_https": {
"type": "string"
},
"follow_request_sent": {
"type": "boolean"
},
"url": {
"type": "string"
},
"utc_offset": {
"ignore_malformed": false,
"type": "integer"
},
"time_zone": {
"type": "string"
},
"profile_use_background_image": {
"type": "boolean"
},
"friends_count": {
"ignore_malformed": false,
"type": "integer"
},
"profile_sidebar_fill_color": {
"type": "string"
},
"screen_name": {
"type": "string"
},
"id_str": {
"type": "string"
},
"profile_image_url": {
"type": "string"
},
"is_translator": {
"type": "boolean"
},
"listed_count": {
"ignore_malformed": false,
"type": "integer"
},
"status": {
"$ref": "tweet.json"
},
"derived": {
"type": "object",
"properties": {
"locations": {
"type": "array",
"items": {
"type": "object",
"javaType" : "org.apache.streams.twitter.pojo.DerivedLocation",
"properties": {
"country": {
"type": "string"
},
"country_code": {
"type": "string"
},
"locality": {
"type": "string"
},
"region": {
"type": "string"
},
"sub_region": {
"type": "string"
},
"full_name": {
"type": "string"
},
"geo": {
"type": "object",
"properties": {
"coordinates": {
"type": "array",
"items": {
"type": "number"
}
},
"type": "string"
}
}
}
}
}
}
}
}
}