JSONPlaceholder · JSON Structure

Jsonplaceholder User Structure

A sample user with profile, address, and company metadata in the JSONPlaceholder dataset.

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

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

Properties

id name username email phone website address company

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-user-structure.json",
  "name": "User",
  "description": "A sample user with profile, address, and company metadata in the JSONPlaceholder dataset.",
  "type": "object",
  "required": ["id", "name", "username", "email"],
  "properties": {
    "id": { "type": "int32", "description": "Unique user identifier (1-10)." },
    "name": { "type": "string", "description": "Full display name of the user." },
    "username": { "type": "string", "description": "Username / handle." },
    "email": { "type": "string", "description": "Email address." },
    "phone": { "type": "string", "description": "Phone number (free-form string)." },
    "website": { "type": "string", "description": "Personal website (hostname or URL)." },
    "address": {
      "type": "object",
      "description": "Street, city, postal code, and geo coordinates.",
      "properties": {
        "street": { "type": "string" },
        "suite": { "type": "string" },
        "city": { "type": "string" },
        "zipcode": { "type": "string" },
        "geo": {
          "type": "object",
          "properties": {
            "lat": { "type": "string" },
            "lng": { "type": "string" }
          }
        }
      }
    },
    "company": {
      "type": "object",
      "description": "User's company affiliation.",
      "properties": {
        "name": { "type": "string" },
        "catchPhrase": { "type": "string" },
        "bs": { "type": "string" }
      }
    }
  }
}