Exact validated JSON for an unavailable extension schema. More...
#include <clip.hpp>
Public Member Functions | |
| const SchemaIdentity & | schema () const noexcept |
| Returns the unavailable schema identity. | |
| const std::string & | raw_json () const noexcept |
| Returns the exact validated JSON bytes supplied at construction. | |
| const OpaqueContentLimits & | validation_limits () const noexcept |
| Returns the bounds under which raw_json() was admitted. | |
Static Public Member Functions | |
| static runtime::Result< OpaqueContent, ModelError > | create (SchemaIdentity schema, std::string raw_json, OpaqueContentLimits limits={}) |
| Validates raw_json within limits and stores it without normalization. | |
Exact validated JSON for an unavailable extension schema.
Opaque content can be retained and re-saved but cannot be identity-remapped because its internal ownership/reference shape is unknown.
|
static |
Validates raw_json within limits and stores it without normalization.
|
inlinenoexcept |
Returns the exact validated JSON bytes supplied at construction.
|
inlinenoexcept |
Returns the unavailable schema identity.
|
inlinenoexcept |
Returns the bounds under which raw_json() was admitted.