{
  "$id": "add_funds_to_carrier_response_body",
  "title": "add_funds_to_carrier_response_body",
  "type": "object",
  "required": [
    "balance"
  ],
  "additionalProperties": false,
  "properties": {
    "balance": {
      "allOf": [
        {
          "title": "monetary_value",
          "type": "object",
          "required": [
            "currency",
            "amount"
          ],
          "additionalProperties": false,
          "properties": {
            "currency": {
              "allOf": [
                {
                  "title": "currency",
                  "type": "string",
                  "enum": [
                    "usd",
                    "cad",
                    "aud",
                    "gbp",
                    "eur",
                    "nzd"
                  ]
                }
              ]
            },
            "amount": {
              "type": "number",
              "format": "double",
              "minimum": 0
            }
          }
        }
      ]
    }
  }
}