Dog API · JSON Structure

Dog Api Alt Image List Response Structure

Response envelope returning a list of image objects each containing a URL and alt text.

Type: object Properties: 2 Required: 2
DogsImagesOpen DataOpen Source

AltImageListResponse is a JSON Structure definition published by Dog API, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message status

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/dog-api/refs/heads/main/json-structure/dog-api-alt-image-list-response-structure.json",
  "name": "AltImageListResponse",
  "description": "Response envelope returning a list of image objects each containing a URL and alt text.",
  "type": "object",
  "properties": {
    "message": {
      "type": "array",
      "description": "List of image objects with URL and alt text.",
      "items": {
        "type": "object",
        "description": "A dog image URL paired with descriptive alt text suitable for accessibility.",
        "required": [
          "url",
          "altText"
        ],
        "properties": {
          "url": {
            "type": "uri",
            "description": "URL of the dog image.",
            "example": "https://images.dog.ceo/breeds/hound-basset/n02088238_2217.jpg"
          },
          "altText": {
            "type": "string",
            "description": "Human-readable alt text describing the image (typically \"{Sub-breed} {breed} dog\").",
            "example": "Basset hound dog"
          }
        }
      }
    },
    "status": {
      "type": "string",
      "description": "Outcome marker; \"success\" when the request succeeded.",
      "enum": [
        "success",
        "error"
      ],
      "example": "success"
    }
  },
  "required": [
    "message",
    "status"
  ]
}