{
  "$id": "http://localhost:1234/draft2020-12/detached-dynamicref.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "foo": {
      "$dynamicRef": "#detached"
    },
    "detached": {
      "$dynamicAnchor": "detached",
      "type": "integer"
    }
  }
}