{
    "$id": "https://example.com/schemas/com-example-operation-2018-03-01.schema.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "Operation Schema Version 2018-03-01",
    "description": "An operation provides the base for Hypermedia as the Engine of Application State",
    "type": "object",
    "properties": {
        "rel": {
            "type": "string",
            "description": "Relation type as defined by the server. There are registered relation types listed in [RFC 5988 6.2.2. Initial Registry Contents](https://tools.ietf.org/html/rfc5988#section-6.2.2) including pagination relation types of `next`, `prev`, `first` and `last`."
        },
        "href": {
            "type": "string",
            "description": "Hyperlink to the resource. This key name is borrowed from the HTML `href` element and behaves similarly."
        },
        "method": {
            "type": "string",
            "description": "Default is GET -  (GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE) + RFC 5789 PATCH method."
        }
    },
    "required": [
        "rel",
        "href"
    ]
}