{
  "$schema": "../../test-schema.json",
  "registry": {
    "http://example.com/": {
      "$id": "http://example.com/",
      "definitions": {
        "foo": {
          "$id": "http://example.com/nested",
          "definitions": {
            "inner": { "foo": "bar" }
          }
        }
      }
    }
  },
  "tests": [
    {
      "base_uri": "http://example.com/nested",
      "ref": "#/definitions/inner",
      "target": { "foo": "bar" }
    },
    {
      "base_uri": "http://example.com/",
      "ref": "nested",
      "target": {
        "$id": "http://example.com/nested",
        "definitions": {
          "inner": { "foo": "bar" }
        }
      }
    }
  ]
}
