{
	"id": "ExchangeRateSpecification.json",
	"title": "Exchange Rate Specification",
	"description": "A structured value representing exchange rate.",
	"media": {"type": "application/json;profile=http://schema.org/ExchangeRateSpecification"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "StructuredValue.json"}],
	"type": "object",
	"properties": {
		"currency": {"$ref": "#/definitions/currency"},
		"currentExchangeRate": {"$ref": "UnitPriceSpecification.json#/definitions/possibleRef"},
		"exchangeRateSpread": {"$ref": "#/definitions/exchangeRateSpread"}
	},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"currency": {
			"title": "Currency",
			"description": "The currency in which the monetary amount is expressed.\n\nUse standard formats: ISO 4217 currency format e.g. \"USD\"; Ticker symbol for cryptocurrencies e.g. \"BTC\"; well known names for Local Exchange Tradings Systems (LETS) and other currency types e.g. \"Ithaca HOUR\".",
			"type": "string"
		},
		"exchangeRateSpread": {
			"title": "Exchange Rate Spread",
			"description": "The difference between the price at which a broker or other intermediary buys and sells foreign currency.",
			"anyOf": [{"$ref": "MonetaryAmount.json#/definitions/possibleRef"}, {"type": "number"}]
		}
	}
}