{
	"id": "BankAccount.json",
	"title": "Bank Account",
	"description": "A product or service offered by a bank whereby one may deposit, withdraw or transfer money and in some cases be paid interest.",
	"media": {"type": "application/json;profile=http://schema.org/BankAccount"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "Service.json"}, {"$ref": "FinancialProduct.json"}],
	"type": "object",
	"properties": {
		"accountMinimumInflow": {"$ref": "MonetaryAmount.json#/definitions/possibleRefArray"},
		"accountOverdraftLimit": {"$ref": "MonetaryAmount.json#/definitions/possibleRefArray"},
		"bankAccountType": {"$ref": "#/definitions/bankAccountType"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"bankAccountType": {
			"title": "Bank Account Type",
			"description": "The type of a bank account.",
			"anyOf": [
				{"type": "string"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		}
	}
}