{
  "id": "/fixtures/baz",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "definitions": {
    "identifier": {
      "type": "number",
      "description": "Baz ID",
      "example": 456
    },
    "baz_prop": {
      "type": "string",
      "description": "Baz property",
      "example": "boo"
    },
    "foo_prop": {
      "$ref": "/fixtures/foo#/definitions/foo_prop"
    }
  },

  "properties": {
    "baz": {
      "$ref": "#/definitions/baz_prop"
    },
    "foo": {
      "$ref": "#/definitions/foo_prop"
    }
  },

  "links": [
    {
      "title": "Get all bazzes",
      "href": "/fixtures/bazzes",
      "method": "GET",
      "schema": {
        "type": "object",
        "description": "Queriable properties",
        "properties": {
          "foo": {
            "$ref": "#/definitions/baz_prop"
          }
        }
      },
      "targetSchema": {
        "rel": "self"
      }
    },
    {
      "title": "Get a single baz",
      "href": "/fixtures/bazzes/{#/definitions/identifier}",
      "method": "GET",
      "targetSchema": {
        "rel": "self"
      }
    }
  ]
}
