JSONPlaceholder · JSON Structure

Jsonplaceholder Todo Structure

A sample todo item owned by a user in the JSONPlaceholder dataset.

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

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

Properties

id userId title completed

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-todo-structure.json",
  "name": "Todo",
  "description": "A sample todo item owned by a user in the JSONPlaceholder dataset.",
  "type": "object",
  "required": ["id", "userId", "title", "completed"],
  "properties": {
    "id": { "type": "int32", "description": "Unique todo identifier (1-200)." },
    "userId": { "type": "int32", "description": "Identifier of the user who owns the todo." },
    "title": { "type": "string", "description": "Todo title." },
    "completed": { "type": "boolean", "description": "Whether the todo is completed." }
  }
}