NYT Media

Image, video, or other media asset attached to an NYT article.

NewsMediaPublishingNewspapersArticlesBooksMoviesSportsGamesCookingReviewsSearchSemanticTaggingControlled VocabularyGeographicArchive

Properties

Name Type Description
url string
format string NYT image crop name (e.g. superJumbo, mediumThreeByTwo210).
height integer
width integer
type string
subtype string
caption string
copyright string
approved_for_syndication boolean
View JSON Schema on GitHub

JSON Schema

media-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/new-york-times-company/json-schema/media-schema.json",
  "title": "NYT Media",
  "description": "Image, video, or other media asset attached to an NYT article.",
  "type": "object",
  "properties": {
    "url": {"type": "string", "format": "uri"},
    "format": {"type": "string", "description": "NYT image crop name (e.g. superJumbo, mediumThreeByTwo210)."},
    "height": {"type": "integer"},
    "width": {"type": "integer"},
    "type": {"type": "string"},
    "subtype": {"type": "string"},
    "caption": {"type": "string"},
    "copyright": {"type": "string"},
    "approved_for_syndication": {"type": "boolean"}
  },
  "required": ["url"]
}