JSONPlaceholder · JSON Structure

Jsonplaceholder Photo Structure

A sample photo belonging to an album in the JSONPlaceholder dataset.

Type: object Properties: 5 Required: 5
DevelopmentTestingPrototypingFake APIOpen SourceREST

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

Properties

id albumId title url thumbnailUrl

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/jsonplaceholder/refs/heads/main/json-structure/jsonplaceholder-photo-structure.json",
  "name": "Photo",
  "description": "A sample photo belonging to an album in the JSONPlaceholder dataset.",
  "type": "object",
  "required": ["id", "albumId", "title", "url", "thumbnailUrl"],
  "properties": {
    "id": { "type": "int32", "description": "Unique photo identifier (1-5000)." },
    "albumId": { "type": "int32", "description": "Identifier of the album this photo belongs to." },
    "title": { "type": "string", "description": "Photo title / caption." },
    "url": { "type": "uri", "description": "Full-size image URL (placeholder service)." },
    "thumbnailUrl": { "type": "uri", "description": "Thumbnail image URL (placeholder service)." }
  }
}