JSONPlaceholder · Schema

Post

A sample blog post owned by a user in the JSONPlaceholder dataset.

DevelopmentTestingPrototypingFake APIOpen SourceREST

Properties

Name Type Description
id integer Unique post identifier (1-100).
userId integer Identifier of the user who authored the post (1-10).
title string Post title.
body string Post body / content.
View JSON Schema on GitHub

JSON Schema

jsonplaceholder-post-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/jsonplaceholder/refs/heads/main/json-schema/jsonplaceholder-post-schema.json",
  "title": "Post",
  "description": "A sample blog post owned by a user in the JSONPlaceholder dataset.",
  "type": "object",
  "required": ["id", "userId", "title", "body"],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique post identifier (1-100).",
      "example": 1
    },
    "userId": {
      "type": "integer",
      "description": "Identifier of the user who authored the post (1-10).",
      "example": 1
    },
    "title": {
      "type": "string",
      "description": "Post title.",
      "example": "sunt aut facere repellat provident occaecati excepturi optio reprehenderit"
    },
    "body": {
      "type": "string",
      "description": "Post body / content.",
      "example": "quia et suscipit suscipit recusandae consequuntur expedita et cum"
    }
  }
}