Dog API · Schema

StringListResponse

Response envelope returning a list of strings (e.g., breed or sub-breed names).

DogsImagesOpen DataOpen Source

Properties

Name Type Description
message array List of string values.
status string Outcome marker; "success" when the request succeeded.
View JSON Schema on GitHub

JSON Schema

dog-api-string-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-string-list-response-schema.json",
  "title": "StringListResponse",
  "description": "Response envelope returning a list of strings (e.g., breed or sub-breed names).",
  "type": "object",
  "properties": {
    "message": {
      "type": "array",
      "description": "List of string values.",
      "items": {
        "type": "string",
        "example": "afghan"
      }
    },
    "status": {
      "type": "string",
      "description": "Outcome marker; \"success\" when the request succeeded.",
      "enum": [
        "success",
        "error"
      ],
      "example": "success"
    }
  },
  "required": [
    "message",
    "status"
  ]
}