Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
sourcemeta::core::SchemaFrame::Reference Struct Reference

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.

Detailed Description

A reference that the schema declares, as found by framing.

Member Data Documentation

◆ base

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


The documentation for this struct was generated from the following file: