Resource Template

{
  "allOf": [
    { "$ref": "https://hyperschema.org/extend/hyperextend/base#" },
    {
      "properties": {
        "template": {
          "properties": {
            "mediaTypes": { "$ref": "https://hyperschema.org/core/link#/definitions/mediaTypes" },
            "fields": {
              "type": "array",
              "items": { "$ref": "hyperschema.org/extend/hyperextend/field#" }
            },
            "jsonSchema": { "$ref": "https://hyperschema.org/core/meta#/definitions/jsonSchema" }
          }
        }
      }
    }
  ]
}