ReqRes · JSON Structure

Reqres Agent Money Structure

AgentMoney schema from ReqRes API

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

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

Properties

amount currency formatted

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-money-structure.json",
  "name": "AgentMoney",
  "description": "AgentMoney schema from ReqRes API",
  "type": "object",
  "properties": {
    "amount": {
      "type": "int32",
      "description": "Value in smallest currency unit (cents for USD, pence for GBP)."
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 code, e.g. USD."
    },
    "formatted": {
      "type": "string",
      "description": "Human-readable display string with currency symbol."
    }
  },
  "required": [
    "amount",
    "currency",
    "formatted"
  ]
}