{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mastercard/main/json-schema/mastercard-settlement-currency-wrapper-schema.json",
  "title": "SettlementCurrencyWrapper",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mastercard-currencies-api-openapi.yml#/components/schemas/SettlementCurrencyWrapper",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the service being requested."
    },
    "description": {
      "type": "string",
      "description": "The description of the API being called."
    },
    "date": {
      "type": "string",
      "description": "The date and time the API is being called in GMT."
    },
    "data": {
      "$ref": "#/$defs/SettlementCurrency"
    }
  },
  "$defs": {
    "Currency_2": {
      "type": "object",
      "properties": {
        "alphaCd": {
          "type": "string",
          "description": "The Alpha code for the currency."
        },
        "currNam": {
          "type": "string",
          "description": "The full name of the currency."
        }
      }
    },
    "SettlementCurrency": {
      "type": "object",
      "properties": {
        "currencies": {
          "type": "array",
          "description": "A list of settlement currencies",
          "items": {
            "$ref": "#/$defs/Currency_2"
          }
        }
      }
    }
  }
}