ReqRes · JSON Structure

Reqres Agent User Structure

AgentUser schema from ReqRes API

Type: object Properties: 10 Required: 10
DevelopmentTestingPrototypingFake APIRESTAgent Sandbox

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

Properties

id email full_name locale created_at updated_at timezone profile preferences status

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/reqres/refs/heads/main/json-structure/reqres-agent-user-structure.json",
  "name": "AgentUser",
  "description": "AgentUser schema from ReqRes API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$"
    },
    "email": {
      "type": "string"
    },
    "full_name": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "created_at": {
      "type": "datetime"
    },
    "updated_at": {
      "type": "datetime"
    },
    "timezone": {
      "type": "string"
    },
    "profile": {
      "type": "object",
      "properties": {
        "avatar_url": {
          "nullable": true,
          "type": "string"
        },
        "bio": {
          "nullable": true,
          "type": "string"
        },
        "company": {
          "nullable": true,
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "department": {
              "type": "string"
            },
            "employee_id": {
              "type": "string"
            }
          }
        },
        "social": {
          "type": "object",
          "properties": {
            "twitter": {
              "nullable": true,
              "type": "string"
            },
            "github": {
              "nullable": true,
              "type": "string"
            },
            "linkedin": {
              "nullable": true,
              "type": "string"
            }
          }
        }
      }
    },
    "preferences": {
      "type": "object"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "suspended"
      ]
    }
  },
  "required": [
    "id",
    "email",
    "full_name",
    "locale",
    "created_at",
    "updated_at",
    "timezone",
    "profile",
    "preferences",
    "status"
  ]
}