Top | ![]() |
![]() |
![]() |
![]() |
JSON meta-schemas are schemas which describe the JSON schema format. They are used to validate JSON schemas.
There are currently two meta-schemas: WBL_META_SCHEMA_META_SCHEMA
and
WBL_META_SCHEMA_HYPER_META_SCHEMA
. The latter is a superset of the former,
and is designed for validating hypertext in addition to the core schema
keywords.
GInputStream * wbl_meta_schema_load (WblMetaSchemaType meta_schema_type
,GError **error
);
Load a meta-schema and return an input stream for its serialised JSON data.
The meta-schemas are stored as resources within the library, so can safely be read synchronously without blocking.
Since: 0.1.0
WblSchema * wbl_meta_schema_load_schema (WblMetaSchemaType meta_schema_type
,GError **error
);
Load and parse a meta-schema, returning a WblSchema containing it. On
error, error
will be set, and NULL
will be returned (rather than an empty
WblSchema instance).
Since: 0.1.0
Identifiers for the different meta-schemas available for validating JSON schemas.
Since: 0.1.0