Tronald Dump · Schema

AuthorListResponse

HAL response wrapper for the author listing.

CommunityGames And ComicsOpen SourcePoliticsPublic APIsQuotesTrump

Properties

Name Type Description
count integer Number of authors returned on this page.
total integer Total number of authors in the system.
_embedded object
_links object HAL pagination links.
View JSON Schema on GitHub

JSON Schema

tronald-dump-author-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tronald-dump/refs/heads/main/json-schema/tronald-dump-author-list-response-schema.json",
  "title": "AuthorListResponse",
  "description": "HAL response wrapper for the author listing.",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of authors returned on this page.",
      "example": 1
    },
    "total": {
      "type": "integer",
      "description": "Total number of authors in the system.",
      "example": 1
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "authors": {
          "type": "array",
          "items": {
            "type": "object",
            "description": "An author record (e.g. Donald Trump) attached to one or more quotes.",
            "properties": {
              "author_id": {
                "type": "string",
                "description": "Unique URL-safe identifier for the author.",
                "example": "86xX9JdJSlqIo86xJoiqAA"
              },
              "name": {
                "type": "string",
                "description": "Display name of the author.",
                "example": "Donald Trump"
              },
              "slug": {
                "type": "string",
                "description": "URL-friendly slug for the author.",
                "example": "donald-trump"
              },
              "bio": {
                "type": "string",
                "description": "Short biography of the author.",
                "example": "45th and 47th President of the United States."
              },
              "_links": {
                "type": "object",
                "description": "HAL hypermedia links related to the author.",
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "description": "HAL pagination links.",
      "additionalProperties": true
    }
  }
}