{
	"id": "PaymentChargeSpecification.json",
	"title": "Payment Charge Specification",
	"description": "The costs of settling the payment using a particular payment method.",
	"media": {"type": "application/json;profile=http://schema.org/PaymentChargeSpecification"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "StructuredValue.json"}, {"$ref": "PriceSpecification.json"}],
	"type": "object",
	"properties": {
		"appliesToDeliveryMethod": {"$ref": "DeliveryMethod.json#/definitions/possibleRef"},
		"appliesToPaymentMethod": {"$ref": "PaymentMethod.json#/definitions/possibleRef"}
	},
	"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": "{+$}"
					}]
				}
			]
		}
	}
}