From 2575c4eacfd38979c29ea3c4f4fbd8bb1617e8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 21 Jan 2022 17:43:41 +0100 Subject: [PATCH] Enhancement: Add fixture --- .../WithoutPropertyDefinitions/normalized.json | 11 +++++++++++ .../IsArray/WithoutPropertyDefinitions/original.json | 11 +++++++++++ .../IsArray/WithoutPropertyDefinitions/schema.json | 6 ++++++ 3 files changed, 28 insertions(+) create mode 100644 test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/normalized.json create mode 100644 test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/original.json create mode 100644 test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/schema.json diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/normalized.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/normalized.json new file mode 100644 index 00000000..4bceacc0 --- /dev/null +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/normalized.json @@ -0,0 +1,11 @@ +{ + "foo": "hello", + "bar": [ + { + "baz": 9000 + }, + { + "baz": 9001 + } + ] +} diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/original.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/original.json new file mode 100644 index 00000000..4bceacc0 --- /dev/null +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/original.json @@ -0,0 +1,11 @@ +{ + "foo": "hello", + "bar": [ + { + "baz": 9000 + }, + { + "baz": 9001 + } + ] +} diff --git a/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/schema.json b/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/schema.json new file mode 100644 index 00000000..b34ae8aa --- /dev/null +++ b/test/Fixture/SchemaNormalizer/NormalizeNormalizes/Data/IsObject/Schema/HasType/IsArray/WithoutPropertyDefinitions/schema.json @@ -0,0 +1,6 @@ +{ + "type": [ + "object" + ], + "additionalProperties": true +}