{
    "$comment": "RFC 8141 §2.3.1",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk",
    "properties": {
        "foo": {"$ref": "#/$defs/bar"}
    },
    "$defs": {
        "bar": {"type": "string"}
    }
}

{"foo": "bar"}

Could not open ./jsonschema/JSON-Schema-Test-Suite/remotesexample:foo-bar-baz-qux for schema loading
