{
"$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"
}
}
}