{
    "type": "object",
    "properties": {
        "schemaUrl": {
            "type": "string",
            "pattern": "^http",
            "description": "url to load the schema from"
        },
        "rel": {
            "type": "string",
            "description": "relationship of link to the context object"
        },
        "context": {
            "type": "object",
            "description": "object to request against, if any"
        },
        "data": {
            "type": [ "object", "string" ],
            "description": "to be sent to the server in the request"
        },
        "headers": {
            "type": "object",
            "description": "Headers passed through to the request"
        },
        "serverRoot": {
            "type": "string",
            "pattern": "^http",
            "description": "Used to resolve relative link hrefs"
        },
        "schemaPrefix": {
            "type": "string",
            "description": "Used to resolve relative schema IDs"
        }
    },
    "required": [ "schemaUrl", "rel" ],
    "additionalProperties": false
}
