{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-currency-field-response-schema.json",
  "title": "currencyFieldResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-field-api-openapi.yml#/components/schemas/currencyFieldResponse",
  "additionalProperties": false,
  "allOf": [
    {
      "$ref": "./Field.json#/components/schemas/commonFieldResponse"
    },
    {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "decimalPlaces": {
          "type": [
            "string",
            "null",
            "integer"
          ],
          "format": "int32",
          "description": "",
          "maximum": 9,
          "minimum": 0,
          "pattern": "([0-9]+)"
        },
        "roundingOption": {
          "type": [
            "string",
            "null"
          ],
          "description": "",
          "enum": [
            "roundOff",
            "roundDown",
            "roundUp",
            "normal"
          ],
          "maxLength": 100,
          "minLength": 0
        },
        "roundingPrecision": {
          "type": [
            "string",
            "null",
            "integer"
          ],
          "format": "int32",
          "description": "",
          "maximum": 30,
          "minimum": 0,
          "pattern": "([0-9]+)"
        }
      },
      "required": [
        "decimalPlaces",
        "roundingOption",
        "roundingPrecision"
      ]
    }
  ]
}