JSONPlaceholder · Schema

Post

A post resource in the JSONPlaceholder fake REST API.

Fake APITestingPrototypingMock DataRESTOpen Source

Properties

Name Type Description
userId integer The ID of the user who created the post.
id integer The unique identifier of the post.
title string The title of the post.
body string The body content of the post.
View JSON Schema on GitHub

JSON Schema

post.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://jsonplaceholder.typicode.com/schemas/post",
  "title": "Post",
  "description": "A post resource in the JSONPlaceholder fake REST API.",
  "type": "object",
  "properties": {
    "userId": {
      "type": "integer",
      "description": "The ID of the user who created the post."
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the post."
    },
    "title": {
      "type": "string",
      "description": "The title of the post."
    },
    "body": {
      "type": "string",
      "description": "The body content of the post."
    }
  }
}