Skip to content

Instantly share code, notes, and snippets.

@d6u
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save d6u/0915136146971798e688 to your computer and use it in GitHub Desktop.

Select an option

Save d6u/0915136146971798e688 to your computer and use it in GitHub Desktop.
inst737
{ _id: { type: [ 'Object' ] },
created_at: { type: [ 'String' ] },
id: { type: [ 'Number' ] },
id_str: { type: [ 'String' ] },
text: { type: [ 'String' ] },
source: { type: [ 'String' ] },
truncated: { type: [ 'Boolean' ] },
in_reply_to_status_id: { type: [ 'Null', 'Number' ] },
in_reply_to_status_id_str: { type: [ 'Null', 'String' ] },
in_reply_to_user_id: { type: [ 'Number', 'Null' ] },
in_reply_to_user_id_str: { type: [ 'String', 'Null' ] },
in_reply_to_screen_name: { type: [ 'String', 'Null' ] },
user: { type: [ 'Object' ] },
geo: { type: [ 'Null', 'Object' ] },
coordinates: { type: [ 'Null', 'Object' ] },
place: { type: [ 'Null', 'Object' ] },
contributors: { type: [ 'Null' ] },
retweet_count: { type: [ 'Number' ] },
favorite_count: { type: [ 'Number' ] },
entities: { type: [ 'Object' ] },
favorited: { type: [ 'Boolean' ] },
retweeted: { type: [ 'Boolean' ] },
possibly_sensitive: { type: [ 'Boolean' ] },
filter_level: { type: [ 'String' ] },
lang: { type: [ 'String' ] },
timestamp_ms: { type: [ 'String' ] },
retweeted_status: { type: [ 'Object' ] },
extended_entities: { type: [ 'Object' ] } }
{
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"contributors_enabled": {
"type": [
"Boolean"
]
},
"created_at": {
"type": [
"String"
]
},
"default_profile": {
"type": [
"Boolean"
]
},
"default_profile_image": {
"type": [
"Boolean"
]
},
"description": {
"type": [
"String"
]
},
"entities": {
"type": [
"Dict"
],
"tree": {
"description": {
"type": [
"Dict"
],
"tree": {
"urls": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"display_url": {
"type": [
"String"
]
},
"expanded_url": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"url": {
"type": [
"String"
]
}
}
}
}
}
},
"url": {
"type": [
"Dict"
],
"tree": {
"urls": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"display_url": {
"type": [
"String"
]
},
"expanded_url": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"url": {
"type": [
"String"
]
}
}
}
}
}
}
}
},
"favourites_count": {
"type": [
"Number"
]
},
"follow_request_sent": {
"type": [
"Boolean"
]
},
"followers_count": {
"type": [
"Number"
]
},
"following": {
"type": [
"Boolean"
]
},
"friends_count": {
"type": [
"Number"
]
},
"geo_enabled": {
"type": [
"Boolean"
]
},
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"is_translation_enabled": {
"type": [
"Boolean"
]
},
"is_translator": {
"type": [
"Boolean"
]
},
"lang": {
"type": [
"String"
]
},
"listed_count": {
"type": [
"Number"
]
},
"location": {
"type": [
"String"
]
},
"muting": {
"type": [
"Boolean"
]
},
"name": {
"type": [
"String"
]
},
"notifications": {
"type": [
"Boolean"
]
},
"profile_background_color": {
"type": [
"String"
]
},
"profile_background_image_url": {
"type": [
"String"
]
},
"profile_background_image_url_https": {
"type": [
"String"
]
},
"profile_background_tile": {
"type": [
"Boolean"
]
},
"profile_image_url": {
"type": [
"String"
]
},
"profile_image_url_https": {
"type": [
"String"
]
},
"profile_link_color": {
"type": [
"String"
]
},
"profile_location": {
"type": [
"Null"
]
},
"profile_sidebar_border_color": {
"type": [
"String"
]
},
"profile_sidebar_fill_color": {
"type": [
"String"
]
},
"profile_text_color": {
"type": [
"String"
]
},
"profile_use_background_image": {
"type": [
"Boolean"
]
},
"protected": {
"type": [
"Boolean"
]
},
"screen_name": {
"type": [
"String"
]
},
"status": {
"type": [
"Dict"
],
"tree": {
"contributors": {
"type": [
"Null"
]
},
"coordinates": {
"type": [
"Null",
"Dict"
],
"tree": {
"coordinates": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"type": {
"type": [
"String"
]
}
}
},
"created_at": {
"type": [
"String"
]
},
"entities": {
"type": [
"Dict"
],
"tree": {
"hashtags": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"text": {
"type": [
"String"
]
}
}
}
},
"symbols": {
"type": [
"Array"
]
},
"urls": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"display_url": {
"type": [
"String"
]
},
"expanded_url": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"url": {
"type": [
"String"
]
}
}
}
},
"user_mentions": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"name": {
"type": [
"String"
]
},
"screen_name": {
"type": [
"String"
]
}
}
}
},
"media": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"display_url": {
"type": [
"String"
]
},
"expanded_url": {
"type": [
"String"
]
},
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"media_url": {
"type": [
"String"
]
},
"media_url_https": {
"type": [
"String"
]
},
"sizes": {
"type": [
"Dict"
],
"tree": {
"large": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
},
"medium": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
},
"small": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
},
"thumb": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
}
}
},
"source_status_id": {
"type": [
"Number"
]
},
"source_status_id_str": {
"type": [
"String"
]
},
"source_user_id": {
"type": [
"Number"
]
},
"source_user_id_str": {
"type": [
"String"
]
},
"type": {
"type": [
"String"
]
},
"url": {
"type": [
"String"
]
}
}
}
}
}
},
"favorite_count": {
"type": [
"Number"
]
},
"favorited": {
"type": [
"Boolean"
]
},
"geo": {
"type": [
"Null",
"Dict"
],
"tree": {
"coordinates": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"type": {
"type": [
"String"
]
}
}
},
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"in_reply_to_screen_name": {
"type": [
"Null",
"String"
]
},
"in_reply_to_status_id": {
"type": [
"Null",
"Number"
]
},
"in_reply_to_status_id_str": {
"type": [
"Null",
"String"
]
},
"in_reply_to_user_id": {
"type": [
"Null",
"Number"
]
},
"in_reply_to_user_id_str": {
"type": [
"Null",
"String"
]
},
"lang": {
"type": [
"String"
]
},
"place": {
"type": [
"Null",
"Dict"
],
"tree": {
"attributes": {
"type": [
"Dict"
],
"tree": {}
},
"bounding_box": {
"type": [
"Dict"
],
"tree": {
"coordinates": {
"type": [
"Array"
],
"tree": {
"type": [
"Array"
],
"tree": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
}
}
},
"type": {
"type": [
"String"
]
}
}
},
"contained_within": {
"type": [
"Array"
]
},
"country": {
"type": [
"String"
]
},
"country_code": {
"type": [
"String"
]
},
"full_name": {
"type": [
"String"
]
},
"id": {
"type": [
"String"
]
},
"name": {
"type": [
"String"
]
},
"place_type": {
"type": [
"String"
]
},
"url": {
"type": [
"String"
]
}
}
},
"retweet_count": {
"type": [
"Number"
]
},
"retweeted": {
"type": [
"Boolean"
]
},
"source": {
"type": [
"String"
]
},
"text": {
"type": [
"String"
]
},
"truncated": {
"type": [
"Boolean"
]
},
"possibly_sensitive": {
"type": [
"Boolean"
]
},
"retweeted_status": {
"type": [
"Dict"
],
"tree": {
"contributors": {
"type": [
"Null"
]
},
"coordinates": {
"type": [
"Null"
]
},
"created_at": {
"type": [
"String"
]
},
"entities": {
"type": [
"Dict"
],
"tree": {
"hashtags": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"text": {
"type": [
"String"
]
}
}
}
},
"symbols": {
"type": [
"Array"
]
},
"urls": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"display_url": {
"type": [
"String"
]
},
"expanded_url": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"url": {
"type": [
"String"
]
}
}
}
},
"user_mentions": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"name": {
"type": [
"String"
]
},
"screen_name": {
"type": [
"String"
]
}
}
}
},
"media": {
"type": [
"Array"
],
"tree": {
"type": [
"Dict"
],
"tree": {
"display_url": {
"type": [
"String"
]
},
"expanded_url": {
"type": [
"String"
]
},
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"indices": {
"type": [
"Array"
],
"tree": {
"type": [
"Number"
]
}
},
"media_url": {
"type": [
"String"
]
},
"media_url_https": {
"type": [
"String"
]
},
"sizes": {
"type": [
"Dict"
],
"tree": {
"large": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
},
"medium": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
},
"small": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
},
"thumb": {
"type": [
"Dict"
],
"tree": {
"h": {
"type": [
"Number"
]
},
"resize": {
"type": [
"String"
]
},
"w": {
"type": [
"Number"
]
}
}
}
}
},
"type": {
"type": [
"String"
]
},
"url": {
"type": [
"String"
]
}
}
}
}
}
},
"favorite_count": {
"type": [
"Number"
]
},
"favorited": {
"type": [
"Boolean"
]
},
"geo": {
"type": [
"Null"
]
},
"id": {
"type": [
"Number"
]
},
"id_str": {
"type": [
"String"
]
},
"in_reply_to_screen_name": {
"type": [
"String",
"Null"
]
},
"in_reply_to_status_id": {
"type": [
"Null",
"Number"
]
},
"in_reply_to_status_id_str": {
"type": [
"Null",
"String"
]
},
"in_reply_to_user_id": {
"type": [
"Number",
"Null"
]
},
"in_reply_to_user_id_str": {
"type": [
"String",
"Null"
]
},
"lang": {
"type": [
"String"
]
},
"place": {
"type": [
"Null"
]
},
"possibly_sensitive": {
"type": [
"Boolean"
]
},
"retweet_count": {
"type": [
"Number"
]
},
"retweeted": {
"type": [
"Boolean"
]
},
"source": {
"type": [
"String"
]
},
"text": {
"type": [
"String"
]
},
"truncated": {
"type": [
"Boolean"
]
}
}
}
}
},
"statuses_count": {
"type": [
"Number"
]
},
"time_zone": {
"type": [
"String",
"Null"
]
},
"url": {
"type": [
"String",
"Null"
]
},
"utc_offset": {
"type": [
"Number",
"Null"
]
},
"verified": {
"type": [
"Boolean"
]
},
"profile_banner_url": {
"type": [
"String"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment