Tronald Dump · JSON Structure

Tronald Dump Source List Response Structure

HAL response wrapper for the source document listing.

Type: object Properties: 4
CommunityGames And ComicsOpen SourcePoliticsPublic APIsQuotesTrump

SourceListResponse is a JSON Structure definition published by Tronald Dump, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

count total _embedded _links

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tronald-dump/refs/heads/main/json-structure/tronald-dump-source-list-response-structure.json",
  "name": "SourceListResponse",
  "description": "HAL response wrapper for the source document listing.",
  "type": "object",
  "properties": {
    "count": {
      "type": "int32",
      "description": "Number of sources returned on this page.",
      "example": 1
    },
    "total": {
      "type": "int32",
      "description": "Total number of sources in the system.",
      "example": 1
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "sources": {
          "type": "array",
          "items": {
            "type": "object",
            "description": "A source document (tweet, transcript, article) underpinning a quote.",
            "properties": {
              "source_id": {
                "type": "string",
                "description": "Unique URL-safe identifier for the source.",
                "example": "2u3o8DcvSluqZ27WtmlGCw"
              },
              "url": {
                "type": "uri",
                "description": "Canonical URL of the source document.",
                "example": "https://twitter.com/realDonaldTrump/status/780494805192454144"
              },
              "filename": {
                "type": "string",
                "description": "Filename of the archived source on disk.",
                "example": "780494805192454144.txt"
              },
              "created_at": {
                "type": "datetime",
                "description": "The date and time the source was created.",
                "example": "2017-02-15T16:13:32.456Z"
              },
              "updated_at": {
                "type": "datetime",
                "description": "The date and time the source was last updated.",
                "example": "2017-02-15T16:13:32.456Z"
              },
              "_links": {
                "type": "object",
                "description": "HAL hypermedia links related to the source.",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "description": "HAL pagination links.",
      "additionalProperties": true
    }
  }
}