Skip to content

Commit 9219554

Browse files
authored
Set the encoding vocabulary in the internal encoding schema (#813)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent 8162f87 commit 9219554

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/compiler/encoding.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ make_resolver(const sourcemeta::jsontoolkit::SchemaResolver &fallback) -> auto {
1919
promise.set_value(sourcemeta::jsontoolkit::parse(R"JSON({
2020
"$id": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
2121
"$schema": "https://json-schema.org/draft/2020-12/schema",
22-
"$vocabulary": { "https://json-schema.org/draft/2020-12/vocab/core": true }
22+
"$vocabulary": {
23+
"https://json-schema.org/draft/2020-12/vocab/core": true,
24+
"tag:sourcemeta.com,2024:jsonbinpack/encoding/v1": true
25+
}
2326
})JSON"));
2427
} else {
2528
promise.set_value(fallback(identifier).get());

0 commit comments

Comments
 (0)