{
  "$defs": {
    "Code": {
      "description": "Currency Code as defined in the GOBL source which is expected to be ISO or commonly used alternative.",
      "oneOf": [
        {
          "const": "USD",
          "title": "United States Dollar"
        },
        {
          "const": "EUR",
          "title": "Euro"
        },
        {
          "const": "GBP",
          "title": "British Pound"
        },
        {
          "const": "AUD",
          "title": "Australian Dollar"
        },
        {
          "const": "CAD",
          "title": "Canadian Dollar"
        },
        {
          "const": "JPY",
          "title": "Japanese Yen"
        },
        {
          "const": "BYR",
          "title": "Belarusian Ruble"
        },
        {
          "const": "MOP",
          "title": "Macanese Pataca"
        },
        {
          "const": "HTG",
          "title": "Haitian Gourde"
        },
        {
          "const": "AZN",
          "title": "Azerbaijani Manat"
        },
        {
          "const": "BAM",
          "title": "Bosnia and Herzegovina Convertible Mark"
        },
        {
          "const": "BBD",
          "title": "Barbadian Dollar"
        },
        {
          "const": "BDT",
          "title": "Bangladeshi Taka"
        },
        {
          "const": "BGN",
          "title": "Bulgarian Lev"
        },
        {
          "const": "BHD",
          "title": "Bahraini Dinar"
        },
        {
          "const": "BIF",
          "title": "Burundian Franc"
        },
        {
          "const": "BMD",
          "title": "Bermudian Dollar"
        },
        {
          "const": "BND",
          "title": "Brunei Dollar"
        },
        {
          "const": "BOB",
          "title": "Bolivian Boliviano"
        },
        {
          "const": "BRL",
          "title": "Brazilian Real"
        },
        {
          "const": "BSD",
          "title": "Bahamian Dollar"
        },
        {
          "const": "BTN",
          "title": "Bhutanese Ngultrum"
        },
        {
          "const": "BWP",
          "title": "Botswana Pula"
        },
        {
          "const": "BYN",
          "title": "Belarusian Ruble"
        },
        {
          "const": "ARS",
          "title": "Argentine Peso"
        },
        {
          "const": "BZD",
          "title": "Belize Dollar"
        },
        {
          "const": "AOA",
          "title": "Angolan Kwanza"
        },
        {
          "const": "CDF",
          "title": "Congolese Franc"
        },
        {
          "const": "CHF",
          "title": "Swiss Franc"
        },
        {
          "const": "CLF",
          "title": "Unidad de Fomento"
        },
        {
          "const": "CLP",
          "title": "Chilean Peso"
        },
        {
          "const": "CNY",
          "title": "Chinese Renminbi Yuan"
        },
        {
          "const": "COP",
          "title": "Colombian Peso"
        },
        {
          "const": "CRC",
          "title": "Costa Rican Col\u00f3n"
        },
        {
          "const": "CUC",
          "title": "Cuban Convertible Peso"
        },
        {
          "const": "CUP",
          "title": "Cuban Peso"
        },
        {
          "const": "CVE",
          "title": "Cape Verdean Escudo"
        },
        {
          "const": "CZK",
          "title": "Czech Koruna"
        },
        {
          "const": "DJF",
          "title": "Djiboutian Franc"
        },
        {
          "const": "DKK",
          "title": "Danish Krone"
        },
        {
          "const": "MXN",
          "title": "Mexican Peso"
        },
        {
          "const": "DZD",
          "title": "Algerian Dinar"
        },
        {
          "const": "EGP",
          "title": "Egyptian Pound"
        },
        {
          "const": "ERN",
          "title": "Eritrean Nakfa"
        },
        {
          "const": "ETB",
          "title": "Ethiopian Birr"
        },
        {
          "const": "ANG",
          "title": "Netherlands Antillean Gulden"
        },
        {
          "const": "FJD",
          "title": "Fijian Dollar"
        },
        {
          "const": "FKP",
          "title": "Falkland Pound"
        },
        {
          "const": "AMD",
          "title": "Armenian Dram"
        },
        {
          "const": "GEL",
          "title": "Georgian Lari"
        },
        {
          "const": "GHS",
          "title": "Ghanaian Cedi"
        },
        {
          "const": "GIP",
          "title": "Gibraltar Pound"
        },
        {
          "const": "GMD",
          "title": "Gambian Dalasi"
        },
        {
          "const": "GNF",
          "title": "Guinean Franc"
        },
        {
          "const": "GTQ",
          "title": "Guatemalan Quetzal"
        },
        {
          "const": "GYD",
          "title": "Guyanese Dollar"
        },
        {
          "const": "HKD",
          "title": "Hong Kong Dollar"
        },
        {
          "const": "HNL",
          "title": "Honduran Lempira"
        },
        {
          "const": "MWK",
          "title": "Malawian Kwacha"
        },
        {
          "const": "HUF",
          "title": "Hungarian Forint"
        },
        {
          "const": "IDR",
          "title": "Indonesian Rupiah"
        },
        {
          "const": "ILS",
          "title": "Israeli New Sheqel"
        },
        {
          "const": "INR",
          "title": "Indian Rupee"
        },
        {
          "const": "IQD",
          "title": "Iraqi Dinar"
        },
        {
          "const": "IRR",
          "title": "Iranian Rial"
        },
        {
          "const": "ISK",
          "title": "Icelandic Kr\u00f3na"
        },
        {
          "const": "JMD",
          "title": "Jamaican Dollar"
        },
        {
          "const": "JOD",
          "title": "Jordanian Dinar"
        },
        {
          "const": "ALL",
          "title": "Albanian Lek"
        },
        {
          "const": "KES",
          "title": "Kenyan Shilling"
        },
        {
          "const": "KGS",
          "title": "Kyrgyzstani Som"
        },
        {
          "const": "KHR",
          "title": "Cambodian Riel"
        },
        {
          "const": "KMF",
          "title": "Comorian Franc"
        },
        {
          "const": "KPW",
          "title": "North Korean Won"
        },
        {
          "const": "KRW",
          "title": "South Korean Won"
        },
        {
          "const": "KWD",
          "title": "Kuwaiti Dinar"
        },
        {
          "const": "KYD",
          "title": "Cayman Islands Dollar"
        },
        {
          "const": "KZT",
          "title": "Kazakhstani Tenge"
        },
        {
          "const": "LAK",
          "title": "Lao Kip"
        },
        {
          "const": "LBP",
          "title": "Lebanese Pound"
        },
        {
          "const": "LKR",
          "title": "Sri Lankan Rupee"
        },
        {
          "const": "LRD",
          "title": "Liberian Dollar"
        },
        {
          "const": "LSL",
          "title": "Lesotho Loti"
        },
        {
          "const": "LYD",
          "title": "Libyan Dinar"
        },
        {
          "const": "MAD",
          "title": "Moroccan Dirham"
        },
        {
          "const": "MDL",
          "title": "Moldovan Leu"
        },
        {
          "const": "MGA",
          "title": "Malagasy Ariary"
        },
        {
          "const": "MKD",
          "title": "Macedonian Denar"
        },
        {
          "const": "MMK",
          "title": "Myanmar Kyat"
        },
        {
          "const": "MNT",
          "title": "Mongolian T\u00f6gr\u00f6g"
        },
        {
          "const": "AED",
          "title": "United Arab Emirates Dirham"
        },
        {
          "const": "MRU",
          "title": "Mauritanian Ouguiya"
        },
        {
          "const": "MUR",
          "title": "Mauritian Rupee"
        },
        {
          "const": "PLN",
          "title": "Polish Z\u0142oty"
        },
        {
          "const": "AWG",
          "title": "Aruban Florin"
        },
        {
          "const": "DOP",
          "title": "Dominican Peso"
        },
        {
          "const": "MYR",
          "title": "Malaysian Ringgit"
        },
        {
          "const": "MZN",
          "title": "Mozambican Metical"
        },
        {
          "const": "NAD",
          "title": "Namibian Dollar"
        },
        {
          "const": "NGN",
          "title": "Nigerian Naira"
        },
        {
          "const": "NIO",
          "title": "Nicaraguan C\u00f3rdoba"
        },
        {
          "const": "NOK",
          "title": "Norwegian Krone"
        },
        {
          "const": "NPR",
          "title": "Nepalese Rupee"
        },
        {
          "const": "NZD",
          "title": "New Zealand Dollar"
        },
        {
          "const": "OMR",
          "title": "Omani Rial"
        },
        {
          "const": "PAB",
          "title": "Panamanian Balboa"
        },
        {
          "const": "PEN",
          "title": "Peruvian Sol"
        },
        {
          "const": "PGK",
          "title": "Papua New Guinean Kina"
        },
        {
          "const": "PHP",
          "title": "Philippine Peso"
        },
        {
          "const": "PKR",
          "title": "Pakistani Rupee"
        },
        {
          "const": "MVR",
          "title": "Maldivian Rufiyaa"
        },
        {
          "const": "PYG",
          "title": "Paraguayan Guaran\u00ed"
        },
        {
          "const": "QAR",
          "title": "Qatari Riyal"
        },
        {
          "const": "RON",
          "title": "Romanian Leu"
        },
        {
          "const": "RSD",
          "title": "Serbian Dinar"
        },
        {
          "const": "RUB",
          "title": "Russian Ruble"
        },
        {
          "const": "RWF",
          "title": "Rwandan Franc"
        },
        {
          "const": "SAR",
          "title": "Saudi Riyal"
        },
        {
          "const": "SBD",
          "title": "Solomon Islands Dollar"
        },
        {
          "const": "SCR",
          "title": "Seychellois Rupee"
        },
        {
          "const": "SDG",
          "title": "Sudanese Pound"
        },
        {
          "const": "SEK",
          "title": "Swedish Krona"
        },
        {
          "const": "SGD",
          "title": "Singapore Dollar"
        },
        {
          "const": "SHP",
          "title": "Saint Helenian Pound"
        },
        {
          "const": "SKK",
          "title": "Slovak Koruna"
        },
        {
          "const": "SLE",
          "title": "New Leone"
        },
        {
          "const": "SLL",
          "title": "Sierra Leonean Leone"
        },
        {
          "const": "SOS",
          "title": "Somali Shilling"
        },
        {
          "const": "SRD",
          "title": "Surinamese Dollar"
        },
        {
          "const": "SSP",
          "title": "South Sudanese Pound"
        },
        {
          "const": "STD",
          "title": "S\u00e3o Tom\u00e9 and Pr\u00edncipe Dobra"
        },
        {
          "const": "STN",
          "title": "S\u00e3o Tom\u00e9 and Pr\u00edncipe Second Dobra"
        },
        {
          "const": "SVC",
          "title": "Salvadoran Col\u00f3n"
        },
        {
          "const": "SYP",
          "title": "Syrian Pound"
        },
        {
          "const": "SZL",
          "title": "Swazi Lilangeni"
        },
        {
          "const": "THB",
          "title": "Thai Baht"
        },
        {
          "const": "TJS",
          "title": "Tajikistani Somoni"
        },
        {
          "const": "TMT",
          "title": "Turkmenistani Manat"
        },
        {
          "const": "TND",
          "title": "Tunisian Dinar"
        },
        {
          "const": "TOP",
          "title": "Tongan Pa\u02bbanga"
        },
        {
          "const": "TRY",
          "title": "Turkish Lira"
        },
        {
          "const": "TTD",
          "title": "Trinidad and Tobago Dollar"
        },
        {
          "const": "TWD",
          "title": "New Taiwan Dollar"
        },
        {
          "const": "TZS",
          "title": "Tanzanian Shilling"
        },
        {
          "const": "UAH",
          "title": "Ukrainian Hryvnia"
        },
        {
          "const": "UGX",
          "title": "Ugandan Shilling"
        },
        {
          "const": "AFN",
          "title": "Afghan Afghani"
        },
        {
          "const": "UYU",
          "title": "Uruguayan Peso"
        },
        {
          "const": "UZS",
          "title": "Uzbekistan Som"
        },
        {
          "const": "VES",
          "title": "Venezuelan Bol\u00edvar Soberano"
        },
        {
          "const": "VND",
          "title": "Vietnamese \u0110\u1ed3ng"
        },
        {
          "const": "VUV",
          "title": "Vanuatu Vatu"
        },
        {
          "const": "WST",
          "title": "Samoan Tala"
        },
        {
          "const": "XAF",
          "title": "Central African Cfa Franc"
        },
        {
          "const": "XAG",
          "title": "Silver (Troy Ounce)"
        },
        {
          "const": "XAU",
          "title": "Gold (Troy Ounce)"
        },
        {
          "const": "XBA",
          "title": "European Composite Unit"
        },
        {
          "const": "XBB",
          "title": "European Monetary Unit"
        },
        {
          "const": "XBC",
          "title": "European Unit of Account 9"
        },
        {
          "const": "XBD",
          "title": "European Unit of Account 17"
        },
        {
          "const": "XCD",
          "title": "East Caribbean Dollar"
        },
        {
          "const": "XDR",
          "title": "Special Drawing Rights"
        },
        {
          "const": "XOF",
          "title": "West African Cfa Franc"
        },
        {
          "const": "XPD",
          "title": "Palladium"
        },
        {
          "const": "XPF",
          "title": "Cfp Franc"
        },
        {
          "const": "XPT",
          "title": "Platinum"
        },
        {
          "const": "XTS",
          "title": "Codes specifically reserved for testing purposes"
        },
        {
          "const": "YER",
          "title": "Yemeni Rial"
        },
        {
          "const": "ZAR",
          "title": "South African Rand"
        },
        {
          "const": "ZMK",
          "title": "Zambian Kwacha"
        },
        {
          "const": "ZMW",
          "title": "Zambian Kwacha"
        },
        {
          "const": "BCH",
          "title": "Bitcoin Cash"
        },
        {
          "const": "BTC",
          "title": "Bitcoin"
        },
        {
          "const": "JEP",
          "title": "Jersey Pound"
        },
        {
          "const": "GGP",
          "title": "Guernsey Pound"
        },
        {
          "const": "IMP",
          "title": "Isle of Man Pound"
        },
        {
          "const": "XFU",
          "title": "UIC Franc"
        },
        {
          "const": "GBX",
          "title": "British Penny"
        },
        {
          "const": "CNH",
          "title": "Chinese Renminbi Yuan Offshore"
        },
        {
          "const": "USDC",
          "title": "USD Coin"
        }
      ],
      "title": "Currency Code",
      "type": "string"
    }
  },
  "$id": "https://gobl.org/draft-0/currency/code",
  "$ref": "#/$defs/Code",
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}