The New York Times Company · JSON Structure

Media Structure

Type: object Properties: 8 Required: 1
NewsMediaPublishingNewspapersArticlesBooksMoviesSportsGamesCookingReviewsSearchSemanticTaggingControlled VocabularyGeographicArchive

Media Structure is a JSON Structure definition published by The New York Times Company, describing 8 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2024/schema meta-schema.

Properties

url format height width type subtype caption copyright

Meta-schema: https://json-structure.org/draft/2024/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/2024/schema",
  "$id": "https://api-evangelist.github.io/new-york-times-company/json-structure/media-structure.json",
  "title": "NYT Media Structure",
  "type": "object",
  "properties": {
    "url": {"type": "uri"},
    "format": {"type": "string"},
    "height": {"type": "int32"},
    "width": {"type": "int32"},
    "type": {"type": "string"},
    "subtype": {"type": "string"},
    "caption": {"type": "string"},
    "copyright": {"type": "string"}
  },
  "required": ["url"]
}