{
  "$id": "http://localhost:1234/draft7/detached-ref.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "foo": {
      "$ref": "#detached"
    },
    "detached": {
      "$id": "#detached",
      "type": "integer"
    }
  }
}