Skip to content

Commit

Permalink
Adopt Tag URIs to define encoding schemas (#810)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Sep 26, 2024
1 parent 831c916 commit a9f3934
Show file tree
Hide file tree
Showing 42 changed files with 81 additions and 87 deletions.
16 changes: 5 additions & 11 deletions src/compiler/compiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,22 @@
#include <sourcemeta/jsonbinpack/compiler.h>
#include <sourcemeta/jsontoolkit/jsonschema.h>

#include <cassert> // assert
#include <cstdint> // std::int64_t
#include <future> // std::future
#include <limits> // std::numeric_limits
#include <optional> // std::optional
#include <stdexcept> // std::domain_error
#include <string> // std::string
#include <cassert> // assert
#include <future> // std::future
#include <limits> // std::numeric_limits

#include "states.h"

namespace {
// TODO: Turn this into a URN
constexpr auto ENCODING_V1{
"https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json"};
constexpr auto ENCODING_V1{"tag:sourcemeta.com,2024:jsonbinpack/encoding/v1"};
auto make_resolver(const sourcemeta::jsontoolkit::SchemaResolver &fallback)
-> auto {
return [&fallback](std::string_view identifier)
-> std::future<std::optional<sourcemeta::jsontoolkit::JSON>> {
std::promise<std::optional<sourcemeta::jsontoolkit::JSON>> promise;
if (identifier == ENCODING_V1) {
promise.set_value(sourcemeta::jsontoolkit::parse(R"JSON({
"$id": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$id": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$vocabulary": { "https://json-schema.org/draft/2020-12/vocab/core": true }
})JSON"));
Expand Down
2 changes: 1 addition & 1 deletion test/cli/instance_integer_encoding.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "TOP_LEVEL_BYTE_CHOICE_INDEX",
"options": {
"choices": [ 1, 2, 3 ]
Expand Down
4 changes: 2 additions & 2 deletions test/compiler/2020_12_compiler_any_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TEST(JSONBinPack_Compiler_Any_2020_12, only_metaschema) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -33,7 +33,7 @@ TEST(JSONBinPack_Compiler_Any_2020_12, empty) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand Down
6 changes: 3 additions & 3 deletions test/compiler/2020_12_compiler_enum_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST(JSONBinPack_Compiler_Enum_2020_12, enum_singleton) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "CONST_NONE",
"options": {
"value": 2
Expand All @@ -39,7 +39,7 @@ TEST(JSONBinPack_Compiler_Enum_2020_12, const_scalar) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "CONST_NONE",
"options": {
"value": 2
Expand All @@ -62,7 +62,7 @@ TEST(JSONBinPack_Compiler_Enum_2020_12, enum_small_top_level) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "TOP_LEVEL_BYTE_CHOICE_INDEX",
"options": {
"choices": [ 1, 2, 3 ]
Expand Down
20 changes: 10 additions & 10 deletions test/compiler/2020_12_compiler_integer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, maximum_minimum_8_bit) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "BOUNDED_MULTIPLE_8BITS_ENUM_FIXED",
"options": {
"minimum": -100,
Expand Down Expand Up @@ -46,7 +46,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, maximum_minimum_multiplier_8_bit) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "BOUNDED_MULTIPLE_8BITS_ENUM_FIXED",
"options": {
"minimum": -100,
Expand All @@ -73,7 +73,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, maximum_minimum_greater_than_8_bit) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "FLOOR_MULTIPLE_ENUM_VARINT",
"options": {
"minimum": -100,
Expand Down Expand Up @@ -101,7 +101,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12,

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "FLOOR_MULTIPLE_ENUM_VARINT",
"options": {
"minimum": -100,
Expand All @@ -126,7 +126,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, minimum) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "FLOOR_MULTIPLE_ENUM_VARINT",
"options": {
"minimum": 0,
Expand All @@ -152,7 +152,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, minimum_multiplier) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "FLOOR_MULTIPLE_ENUM_VARINT",
"options": {
"minimum": 0,
Expand All @@ -177,7 +177,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, maximum) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ROOF_MULTIPLE_MIRROR_ENUM_VARINT",
"options": {
"maximum": 100,
Expand All @@ -203,7 +203,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, maximum_multiplier) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ROOF_MULTIPLE_MIRROR_ENUM_VARINT",
"options": {
"maximum": 100,
Expand All @@ -227,7 +227,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, unbounded) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ARBITRARY_MULTIPLE_ZIGZAG_VARINT",
"options": {
"multiplier": 1
Expand All @@ -251,7 +251,7 @@ TEST(JSONBinPack_Compiler_Integer_2020_12, unbounded_multiplier) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ARBITRARY_MULTIPLE_ZIGZAG_VARINT",
"options": {
"multiplier": 5
Expand Down
2 changes: 1 addition & 1 deletion test/compiler/2020_12_compiler_number_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST(JSONBinPack_Compiler_Number_2020_12, arbitrary) {

const sourcemeta::jsontoolkit::JSON expected =
sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "DOUBLE_VARINT_TUPLE",
"options": {}
})JSON");
Expand Down
20 changes: 10 additions & 10 deletions test/compiler/compiler_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TEST(JSONBinPack_Compiler, dialect_2020_12) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -33,7 +33,7 @@ TEST(JSONBinPack_Compiler, dialect_2019_09) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -51,7 +51,7 @@ TEST(JSONBinPack_Compiler, dialect_draft7) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -69,7 +69,7 @@ TEST(JSONBinPack_Compiler, dialect_draft6) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -87,7 +87,7 @@ TEST(JSONBinPack_Compiler, dialect_draft4) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -105,7 +105,7 @@ TEST(JSONBinPack_Compiler, dialect_draft3) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -123,7 +123,7 @@ TEST(JSONBinPack_Compiler, dialect_draft2) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -141,7 +141,7 @@ TEST(JSONBinPack_Compiler, dialect_draft1) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -159,7 +159,7 @@ TEST(JSONBinPack_Compiler, dialect_draft0) {
sourcemeta::jsontoolkit::official_resolver);

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
})JSON");
Expand All @@ -178,7 +178,7 @@ TEST(JSONBinPack_Compiler, unknown_dialect_default) {
"https://json-schema.org/draft/2020-12/schema");

const auto expected = sourcemeta::jsontoolkit::parse(R"JSON({
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ARBITRARY_MULTIPLE_ZIGZAG_VARINT",
"options": {
"multiplier": 1
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/circleciblank/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/circlecimatrix/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/commitlint/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/commitlintbasic/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/epr/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/eslintrc/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/esmrc/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/geojson/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/githubfundingblank/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/githubworkflow/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/gruntcontribclean/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/imageoptimizerwebjob/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/jsonereversesort/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/jsonesort/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/jsonfeed/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/jsonresume/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
2 changes: 1 addition & 1 deletion test/e2e/mixed-bounded-object/schema-less/plan.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://jsonbinpack.sourcemeta.com/schemas/encoding/v1.json",
"$schema": "tag:sourcemeta.com,2024:jsonbinpack/encoding/v1",
"name": "ANY_PACKED_TYPE_TAG_BYTE_PREFIX",
"options": {}
}
Loading

0 comments on commit a9f3934

Please sign in to comment.