{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Link",
    "description": "PayPal link json schema",
    "type": "object",
    "properties": {
        "href": {
            "description": "URL of the related HATEOAS link you can use for subsequent calls.",
            "type": "string"
        },
        "rel": {
            "description": "Link relation that describes how this link relates to the previous call. Examples include self (get details of the current call), parent_payment (get details of the parent payment), or a related call such as execute or refund.",
            "type": "string"
        },
        "method": {
            "description": "The HTTP method required for the related call.",
            "type": "string"
        }
    },
    "required": [
        "href",
        "rel",
        "method"
    ]
}