{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bond/main/json-schema/bond-card-restriction-write-schema.json",
  "title": "card-restriction-write",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bond-cards-openapi.yml#/components/schemas/card-restriction-write",
  "type": "object",
  "properties": {
    "restriction_type": {
      "type": "string",
      "minLength": 1,
      "description": "The type of restriction",
      "enum": [
        "amount"
      ]
    },
    "max_amount": {
      "type": "string",
      "minLength": 1,
      "description": "purchase amount limit\n`(decimal format, allows for two decimal places. Maximum amount is 100,000)`"
    }
  },
  "required": [
    "restriction_type",
    "max_amount"
  ]
}