A reference that the schema declares, as found by framing. More...
Public Attributes | |
| std::string_view | original |
| The reference exactly as the schema spells it. | |
| sourcemeta::core::JSON::String | destination |
| The absolute URI that the reference resolves to. | |
| std::string_view | base |
| std::optional< std::string_view > | fragment |
| The fragment of the destination, if it declares one. | |
A reference that the schema declares, as found by framing.
| std::string_view sourcemeta::core::SchemaFrame::Reference::base |
The part of the destination that comes before its fragment, which is empty when the destination is a fragment alone. This is where the reference leads rather than what it was resolved against, which is the base of whichever location holds it