{ "$defs": { "image_id": { "type": [ "integer", "null" ] }, "listicle": { "properties": { "groups": { "description": "Listicle groups settings", "items": { "$ref": "#/$defs/listicle_group_setting", "type": "object" }, "type": "array" }, "items": { "description": "Listicle items", "items": { "$ref": "#/$defs/listicle_item", "type": "object" }, "type": "array" }, "items_order": { "description": "Listicle grouped items order", "items": { "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "type": "array" }, "settings": { "properties": { "body_text_above": { "description": "Controls body position above or below media", "type": "boolean" }, "layout_type": { "description": "Layout type, default to 1 (Regular listicle)", "enum": [ 1, 2, 3 ], "type": "integer" } }, "type": "object" } }, "type": "object" }, "listicle_group_setting": { "properties": { "settings": { "properties": { "columns": { "description": "Group columns", "type": "integer" }, "layout": { "description": "Group layout", "enum": [ "slideshow", "multicolumn", null ], "type": [ "string", "null" ] }, "parallax": { "description": "Using parallax", "type": "boolean" }, "show_counter": { "description": "Showing slide counter", "type": "boolean" }, "show_fullscreen": { "description": "Showing fullscreen slide show", "type": "boolean" }, "show_thumbnails": { "description": "Showing slideshow thumbnail", "type": "boolean" } }, "type": "object" }, "slides": { "description": "Grouped listicle index", "items": { "type": "integer" }, "type": "array", "uniqueItems": true } }, "type": "object" }, "listicle_item": { "properties": { "body": { "description": "Listicle Body", "type": [ "string", "null" ] }, "caption": { "description": "Photo caption", "type": [ "string", "null" ] }, "credit": { "description": "Photo credit", "type": [ "string", "null" ] }, "headline": { "description": "Listicle Headline", "type": [ "string", "null" ] }, "headline_html": { "description": " Headline as HTML - If received, this field takes precedence over headline", "type": [ "string", "null" ] }, "image_id": { "$ref": "#/$defs/image_id", "description": "ID of the uploaded image" }, "is_image": { "description": "For backward compatibility; it must be true if media is an image", "type": "boolean" }, "manual_basename": { "description": "Listicle slug part", "type": [ "string", "null" ] }, "manual_image_crops": { "$ref": "#/$defs/manual_image_crops", "description": "Crops calculated when uploading lead image" }, "media": { "description": "Listicle Media; usually a raw shortcode to be rendered above or below the body", "type": [ "string", "null" ] } }, "type": "object" }, "manual_image_crops": { "description": "Crop settings for resizing image", "type": "object" }, "page_list": { "properties": { "path": { "description": "Post custom path", "type": [ "string", "null" ] }, "view": { "description": "Post page view", "enum": [ "web" ], "type": [ "string", "null" ] } }, "required": [ "view", "path" ], "type": "object" } }, "$id": "https://www.gbnews.com/api/1.3/posts", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "The post API supports creating and updating already published content", "items": { "properties": { "_deprecated_field_use_amp_story": { "type": [ "boolean", "null" ] }, "_id": { "type": "integer" }, "_old_roar_author_ids": { "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "access": { "type": "object" }, "already_approved_by": { "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "alternative_headlines": { "type": "object" }, "applenews_article": { "type": [ "string", "null" ] }, "applenews_article_id": { "type": [ "string", "null" ] }, "applenews_article_revision": { "type": [ "string", "null" ] }, "applenews_article_sections": { "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "applenews_article_status": { "type": [ "string", "null" ] }, "author_avatar": { "type": [ "string", "null" ] }, "author_id": { "type": [ "string", "null" ] }, "author_name": { "type": [ "string", "null" ] }, "author_retweeted_name": { "type": [ "string", "null" ] }, "author_retweeted_screen_name": { "type": [ "string", "null" ] }, "author_screen_name": { "type": [ "string", "null" ] }, "badges": { "description": "Badge IDs", "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "badges_details": { "type": "array" }, "basename": { "type": [ "string", "null" ] }, "body": { "description": "Body", "type": [ "string", "null" ] }, "breadcrumb_title": { "type": [ "string", "null" ] }, "brief": { "type": [ "string", "null" ] }, "bucket_list": { "type": [ "array", "null" ] }, "community": { "type": [ "string", "null" ] }, "community_id": { "type": [ "integer", "null" ] }, "continue_reading": { "type": [ "string", "null" ] }, "copied_from": { "type": [ "string", "null" ] }, "created_date": { "description": "Timestamp of publishing date - Defaults to current date", "type": [ "string", "null" ] }, "created_ts": { "description": "Timestamp of publishing date - Defaults to current timestamp", "type": "integer" }, "ctas": { "type": "object" }, "custom_order_id": { "type": [ "integer", "null" ] }, "custom_post_tweet_text": { "type": [ "string", "null" ] }, "debug_info": { "type": "object" }, "description": { "type": [ "string", "null" ] }, "direct_links_out": { "type": [ "boolean", "null" ] }, "disabled_insert_body_ads": { "type": [ "boolean", "null" ] }, "ee_layout_name": { "description": "Entry Editor layout name", "type": [ "string", "null" ] }, "embargo_ts": { "type": [ "integer", "null" ] }, "entity_type": { "type": [ "string", "null" ] }, "exclude_from_search_results": { "type": [ "boolean", "null" ] }, "facebook_native_videos": { "type": [ "string", "null" ] }, "favicon": { "type": [ "string", "null" ] }, "fb_canonical_url": { "type": [ "string", "null" ] }, "feed_id": { "type": [ "integer", "null" ] }, "files": { "type": "array" }, "force_canonical_url": { "type": "boolean" }, "formated_created_ts": { "type": [ "string", "null" ] }, "formated_full_created_ts": { "type": [ "string", "null" ] }, "frontpage_headline": { "type": [ "string", "null" ] }, "frozen_in_sections": { "type": "array" }, "giant_splash_image_alt": { "type": [ "string", "null" ] }, "google_amp": { "type": "boolean" }, "google_amp_post_url": { "type": [ "string", "null" ] }, "has_cta": { "type": "boolean" }, "has_custom_html": { "type": "boolean" }, "has_shortcodes": { "type": "boolean" }, "headline": { "description": "Headline", "type": "string" }, "hidden_author_ids": { "type": "array" }, "homepage_coverline": { "type": [ "string", "null" ] }, "id": { "type": "integer" }, "image": { "type": [ "string", "null" ] }, "image1000x750": { "type": [ "string", "null" ] }, "image1200x400": { "type": [ "string", "null" ] }, "image1200x600": { "type": [ "string", "null" ] }, "image1200x800": { "type": [ "string", "null" ] }, "image1245x700": { "type": [ "string", "null" ] }, "image1500x2000": { "type": [ "string", "null" ] }, "image2000x1500": { "type": [ "string", "null" ] }, "image210x": { "type": [ "string", "null" ] }, "image300x": { "type": [ "string", "null" ] }, "image300x300": { "type": [ "string", "null" ] }, "image35x35": { "type": [ "string", "null" ] }, "image600x": { "type": [ "string", "null" ] }, "image600x200": { "type": [ "string", "null" ] }, "image600x300": { "type": [ "string", "null" ] }, "image600x400": { "type": [ "string", "null" ] }, "image600x600": { "type": [ "string", "null" ] }, "image700x1245": { "type": [ "string", "null" ] }, "image750x1000": { "type": [ "string", "null" ] }, "image980x": { "type": [ "string", "null" ] }, "image_crop": { "type": [ "string", "null" ] }, "image_crop_desktop": { "type": [ "string", "null" ] }, "image_crop_mobile": { "type": [ "string", "null" ] }, "image_crop_tablet": { "type": [ "string", "null" ] }, "image_external": { "type": [ "string", "null" ] }, "image_id": { "$ref": "#/$defs/image_id", "description": "ID of the uploaded lead image" }, "image_in_library": { "type": "boolean" }, "image_info": { "type": "object" }, "image_size": { "description": "Size of the uploaded lead image with format x", "type": [ "string", "null" ] }, "image_thumb": { "type": [ "string", "null" ] }, "inserted_date": { "type": [ "string", "null" ] }, "inserted_ts": { "type": "integer" }, "instagram_native_videos": { "type": [ "string", "null" ] }, "instant_article": { "type": [ "boolean", "null" ] }, "instant_article_errors": { "type": "array" }, "instant_article_feedback": { "type": [ "integer", "null" ] }, "instant_article_id": { "type": [ "string", "null" ] }, "instant_article_status": { "type": [ "integer", "null" ] }, "instant_article_video": { "type": "object" }, "internal_tags": { "type": "array" }, "is_animated_gif": { "type": "boolean" }, "is_body": { "type": "boolean" }, "is_custom_import_post": { "type": "boolean" }, "is_custom_post": { "type": "boolean" }, "is_direct_link": { "type": "boolean" }, "is_fb_post": { "type": "boolean" }, "is_giphy_post": { "type": "boolean" }, "is_gmail_post": { "type": "boolean" }, "is_indexable_for_search_engines": { "type": "boolean" }, "is_instagram_post": { "type": "boolean" }, "is_pinterest_post": { "type": "boolean" }, "is_private": { "type": "boolean" }, "is_real_draft": { "type": "boolean" }, "is_rss_post": { "type": "boolean" }, "is_seeker_post": { "type": "boolean" }, "is_skyword_post": { "type": "boolean" }, "is_suspicious": { "type": [ "boolean", "null" ] }, "is_tw_post": { "type": "boolean" }, "is_wordpress_post": { "type": "boolean" }, "is_youtube_post": { "type": "boolean" }, "last_outreach_email_sent_dt": { "type": [ "string", "null" ] }, "last_published_date": { "type": [ "string", "null" ] }, "last_published_ts": { "type": [ "integer", "null" ] }, "last_social_comment_sent_dt": { "type": [ "string", "null" ] }, "last_social_ping_sent_dt": { "type": [ "string", "null" ] }, "layout_name": { "description": "Layout name", "type": [ "string", "null" ] }, "likes": { "type": "object" }, "listicle": { "$ref": "#/$defs/listicle", "description": "Particles (also known as listicles)" }, "locale": { "type": [ "string", "null" ] }, "lock": { "type": "boolean" }, "mail_list_campaign_id": { "type": [ "string", "null" ] }, "manual_badges_order": { "type": "boolean" }, "manual_basename": { "description": "Slug part - if received, this field is used as slug part, otherwise, we generate it based on the headline field", "type": [ "string", "null" ] }, "manual_image_crops": { "$ref": "#/$defs/manual_image_crops", "description": "Crops calculated when uploading lead image" }, "media": { "description": "Lead media", "type": [ "string", "null" ] }, "media_brief": { "type": [ "string", "null" ] }, "media_continue_reading": { "type": [ "string", "null" ] }, "media_has_shortcodes": { "type": "boolean" }, "media_html": { "type": [ "string", "null" ] }, "media_media_brief": { "type": [ "string", "null" ] }, "media_shortcode_embeds": { "type": "object" }, "media_shortcodes": { "type": "object" }, "media_shortcodes_by_adapter": { "type": "object" }, "media_shortcodes_ids": { "type": "object" }, "media_shortcodes_params": { "type": "object" }, "media_shortcodes_to_expand": { "type": "object" }, "meta_description": { "description": "Meta description", "type": [ "string", "null" ] }, "newsletter_alert_text": { "type": [ "string", "null" ] }, "newsletter_group_id": { "type": [ "string", "null" ] }, "newsletter_is_campaign": { "type": "boolean" }, "newsletter_list_id": { "type": [ "string", "null" ] }, "newsletter_send_time_ts": { "type": "integer" }, "newsletter_subject": { "type": [ "string", "null" ] }, "newsletter_suppression_list_id": { "type": [ "string", "null" ] }, "newsletter_template_id": { "type": [ "string", "null" ] }, "og_description": { "description": "Social description", "type": [ "string", "null" ] }, "og_title": { "description": "Social headline", "type": [ "string", "null" ] }, "origin": { "type": [ "string", "null" ] }, "original_domain": { "type": [ "boolean", "null" ] }, "original_tweet_id_of_retweet": { "type": [ "string", "null" ] }, "original_url": { "type": [ "string", "null" ] }, "original_url_hash": { "type": [ "string", "null" ] }, "page_list": { "description": "Custom URLs", "items": { "$ref": "#/$defs/page_list" }, "type": "array" }, "page_title": { "description": "Meta title", "type": [ "string", "null" ] }, "petition": { "type": [ "string", "null" ] }, "photo_caption": { "description": "Photo caption for lead imagee", "type": [ "string", "null" ] }, "photo_credit": { "description": "Photo credit for lead image", "type": [ "string", "null" ] }, "postLink": { "type": [ "string", "null" ] }, "post_as_newsletter": { "type": "boolean" }, "post_link_list": { "type": "array" }, "post_url": { "type": [ "string", "null" ] }, "primary_badge": { "type": [ "integer", "null" ] }, "primary_badge_details": { "type": [ "object", "null" ] }, "primary_section": { "description": "Primary section ID, it must be added to the sections field if any.", "type": "integer" }, "primary_section_slug": { "type": [ "string", "null" ] }, "primary_tag": { "description": "Primary tag", "type": [ "string", "null" ] }, "primary_tag_slug": { "type": [ "string", "null" ] }, "product": { "type": [ "object", "null" ] }, "provider_id": { "type": [ "integer", "null" ] }, "provider_post_id": { "description": "External Post ID", "type": [ "string", "null" ] }, "public_tags": { "type": "array" }, "raw_share_url": { "type": [ "string", "null" ] }, "redirect_desktop_traffic_to_amp": { "type": "boolean" }, "redirect_mobile_traffic_to_amp": { "type": "boolean" }, "roar_author_ids": { "description": "Author IDs", "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "roar_authors": { "type": "array" }, "roar_id": { "type": "integer" }, "roar_specific_data": { "description": "Custom fields", "properties": { "authored_by_presenter": { "description": "Authored by Presenter", "type": [ "string", "null" ] }, "is_analysiis": { "description": "Analysis", "type": [ "boolean", "null" ] }, "is_breaking_news": { "description": "Breaking News", "type": [ "boolean", "null" ] }, "is_event": { "description": "Event Button", "type": [ "boolean", "null" ] }, "is_exclusive": { "description": "Exclusive", "type": [ "boolean", "null" ] }, "is_live": { "description": "Live", "type": [ "boolean", "null" ] }, "is_play": { "description": "Play Button", "type": [ "boolean", "null" ] }, "is_podcast": { "description": "Podcast", "type": [ "boolean", "null" ] }, "tldr": { "description": "TLDR", "type": [ "string", "null" ] }, "url": { "description": "URL", "type": [ "string", "null" ] } }, "type": "object" }, "scheduled_at": { "type": [ "string", "null" ] }, "scheme_types": { "type": "array" }, "search_phrase": { "type": "object" }, "sections": { "description": "Section IDs", "items": { "type": "integer" }, "type": "array", "uniqueItems": true }, "share_headline": { "type": [ "string", "null" ] }, "share_image": { "type": [ "string", "null" ] }, "share_url": { "type": [ "string", "null" ] }, "share_url_ga": { "type": [ "string", "null" ] }, "shortcode_embeds": { "type": "object" }, "shortcodes": { "type": "object" }, "shortcodes_by_adapter": { "type": "object" }, "shortcodes_ids": { "type": "object" }, "shortcodes_params": { "type": "object" }, "shortcodes_to_expand": { "type": "object" }, "site_id": { "type": "integer" }, "social_teaser_giant_splash_image_alt": { "type": [ "string", "null" ] }, "social_teaser_image": { "type": [ "string", "null" ] }, "social_teaser_image_id": { "$ref": "#/$defs/image_id", "description": "ID of the uploaded social teaser image" }, "social_teaser_image_in_library": { "type": "boolean" }, "social_teaser_image_info": { "type": [ "object", "null" ] }, "social_teaser_image_size": { "type": [ "string", "null" ] }, "social_teaser_is_animated_gif": { "type": "boolean" }, "social_teaser_manual_image_crops": { "$ref": "#/$defs/manual_image_crops", "description": "Crops calculated when uploading social teaser image" }, "social_teaser_photo_caption": { "description": "Photo caption for social teaser image", "type": [ "string", "null" ] }, "social_teaser_photo_credit": { "description": "Photo credit for social teaser image", "type": [ "string", "null" ] }, "source_url": { "type": [ "string", "null" ] }, "split_testing": { "type": "object" }, "stage": { "type": [ "integer", "null" ] }, "stage_order": { "type": [ "integer", "null" ] }, "stage_title": { "type": [ "string", "null" ] }, "stats": { "type": "object" }, "status": { "type": "integer" }, "structurized_content": { "type": [ "string", "null" ] }, "subheadline": { "description": "Subheadline", "type": [ "string", "null" ] }, "subpages": { "type": [ "array", "null" ] }, "tags": { "description": "Tags", "items": { "type": "string" }, "type": "array", "uniqueItems": true }, "tags_info": { "type": [ "array", "null" ] }, "teaser_giant_splash_image_alt": { "type": [ "string", "null" ] }, "teaser_image": { "type": [ "string", "null" ] }, "teaser_image1000x750": { "type": [ "string", "null" ] }, "teaser_image1200x400": { "type": [ "string", "null" ] }, "teaser_image1200x600": { "type": [ "string", "null" ] }, "teaser_image1200x800": { "type": [ "string", "null" ] }, "teaser_image1245x700": { "type": [ "string", "null" ] }, "teaser_image1500x2000": { "type": [ "string", "null" ] }, "teaser_image2000x1500": { "type": [ "string", "null" ] }, "teaser_image210x": { "type": [ "string", "null" ] }, "teaser_image300x": { "type": [ "string", "null" ] }, "teaser_image300x300": { "type": [ "string", "null" ] }, "teaser_image35x35": { "type": [ "string", "null" ] }, "teaser_image600x": { "type": [ "string", "null" ] }, "teaser_image600x200": { "type": [ "string", "null" ] }, "teaser_image600x300": { "type": [ "string", "null" ] }, "teaser_image600x400": { "type": [ "string", "null" ] }, "teaser_image600x600": { "type": [ "string", "null" ] }, "teaser_image700x1245": { "type": [ "string", "null" ] }, "teaser_image750x1000": { "type": [ "string", "null" ] }, "teaser_image980x": { "type": [ "string", "null" ] }, "teaser_image_id": { "type": [ "integer", "null" ] }, "teaser_image_in_library": { "type": "boolean" }, "teaser_image_info": { "type": [ "object", "null" ] }, "teaser_image_size": { "description": "Size of the uploaded teaser image with format x", "type": [ "string", "null" ] }, "teaser_is_animated_gif": { "type": "boolean" }, "teaser_manual_image_crops": { "$ref": "#/$defs/manual_image_crops", "description": "Crops calculated when uploading teaser image" }, "teaser_only": { "type": [ "boolean", "null" ] }, "teaser_photo_caption": { "description": "Photo caption for teaser image", "type": [ "string", "null" ] }, "teaser_photo_credit": { "description": "Photo credit for teaser image", "type": [ "string", "null" ] }, "time_to_read": { "type": "object" }, "title": { "type": [ "string", "null" ] }, "twitter_followers_count": { "type": [ "integer", "null" ] }, "twitter_headline": { "type": [ "string", "null" ] }, "twitter_info": { "type": "object" }, "type": { "description": "Post type", "enum": [ "page", "image", "video", "product", "event", "place", "recipe" ], "type": "string" }, "updated_ts": { "type": "integer" }, "use_cover_image": { "type": "boolean" }, "verified_user": { "type": "boolean" }, "video": { "description": "Embeddable video URL", "type": [ "string", "null" ] }, "video_provider": { "type": [ "string", "null" ] }, "words_count": { "type": "integer" } }, "type": "object" }, "title": "Posts", "type": "array" }