ReqRes · Schema

AgentMoney

AgentMoney schema from ReqRes API

DevelopmentTestingPrototypingFake APIRESTAgent Sandbox

Properties

Name Type Description
amount integer Value in smallest currency unit (cents for USD, pence for GBP).
currency string ISO 4217 code, e.g. USD.
formatted string Human-readable display string with currency symbol.
View JSON Schema on GitHub

JSON Schema

reqres-agent-money-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/reqres/refs/heads/main/json-schema/reqres-agent-money-schema.json",
  "title": "AgentMoney",
  "description": "AgentMoney schema from ReqRes API",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "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"
  ]
}