Dog API · JSON Structure

Dog Api Image Response Structure

Response envelope returning a single dog image URL.

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

ImageResponse 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-image-response-structure.json",
  "name": "ImageResponse",
  "description": "Response envelope returning a single dog image URL.",
  "type": "object",
  "properties": {
    "message": {
      "type": "uri",
      "description": "URL of the dog image.",
      "example": "https://images.dog.ceo/breeds/hound-afghan/n02088094_1003.jpg"
    },
    "status": {
      "type": "string",
      "description": "Outcome marker; \"success\" when the request succeeded.",
      "enum": [
        "success",
        "error"
      ],
      "example": "success"
    }
  },
  "required": [
    "message",
    "status"
  ]
}