Dog API · Schema

BreedListResponse

Response envelope returning a map of master breed names to their sub-breed lists.

DogsImagesOpen DataOpen Source

Properties

Name Type Description
message object Map of breed name to a list of sub-breed names.
status string Outcome marker; "success" when the request succeeded.
View JSON Schema on GitHub

JSON Schema

dog-api-breed-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dog-api/refs/heads/main/json-schema/dog-api-breed-list-response-schema.json",
  "title": "BreedListResponse",
  "description": "Response envelope returning a map of master breed names to their sub-breed lists.",
  "type": "object",
  "properties": {
    "message": {
      "type": "object",
      "description": "Map of breed name to a list of sub-breed names.",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string",
          "example": "afghan"
        }
      },
      "example": {
        "hound": [
          "afghan",
          "basset",
          "blood"
        ],
        "retriever": [
          "chesapeake",
          "golden"
        ]
      }
    },
    "status": {
      "type": "string",
      "description": "Outcome marker; \"success\" when the request succeeded.",
      "enum": [
        "success",
        "error"
      ],
      "example": "success"
    }
  },
  "required": [
    "message",
    "status"
  ]
}