From 9129fad8d7a376c2d0e1f04146fd640b6de7c76d Mon Sep 17 00:00:00 2001 From: Jeongho Nam Date: Fri, 11 Oct 2024 19:45:53 +0900 Subject: [PATCH] Emend #1312: change test schemas --- benchmark/package.json | 2 +- errors/package.json | 2 +- test-esm/package.json | 2 +- test/package.json | 2 +- test/schemas/llm/type/ArrayAny.json | 3 +- test/schemas/llm/type/ArrayHierarchical.json | 18 +++-- .../llm/type/ArrayHierarchicalPointer.json | 21 +++-- test/schemas/llm/type/ArraySimple.json | 6 +- test/schemas/llm/type/ClassGetter.json | 3 +- test/schemas/llm/type/ClassMethod.json | 3 +- .../llm/type/ClassPropertyAssignment.json | 3 +- test/schemas/llm/type/CommentTagArray.json | 6 +- .../llm/type/CommentTagArrayUnion.json | 3 +- .../llm/type/CommentTagAtomicUnion.json | 6 +- test/schemas/llm/type/CommentTagDefault.json | 3 +- test/schemas/llm/type/CommentTagFormat.json | 3 +- test/schemas/llm/type/CommentTagLength.json | 6 +- .../llm/type/CommentTagObjectUnion.json | 6 +- test/schemas/llm/type/CommentTagPattern.json | 3 +- test/schemas/llm/type/CommentTagRange.json | 6 +- test/schemas/llm/type/CommentTagType.json | 6 +- .../llm/type/ConstantAtomicAbsorbed.json | 3 +- .../llm/type/ConstantAtomicTagged.json | 3 +- .../schemas/llm/type/ConstantAtomicUnion.json | 3 +- .../llm/type/ConstantAtomicWrapper.json | 9 ++- test/schemas/llm/type/DynamicArray.json | 3 +- test/schemas/llm/type/DynamicConstant.json | 6 +- test/schemas/llm/type/DynamicEnumeration.json | 6 +- test/schemas/llm/type/DynamicNever.json | 3 +- test/schemas/llm/type/DynamicSimple.json | 3 +- test/schemas/llm/type/DynamicUndefined.json | 3 +- test/schemas/llm/type/ObjectAlias.json | 3 +- test/schemas/llm/type/ObjectDate.json | 3 +- test/schemas/llm/type/ObjectDescription.json | 3 +- test/schemas/llm/type/ObjectGeneric.json | 27 ++++--- test/schemas/llm/type/ObjectGenericAlias.json | 3 +- test/schemas/llm/type/ObjectGenericArray.json | 9 ++- test/schemas/llm/type/ObjectGenericUnion.json | 39 ++++++--- test/schemas/llm/type/ObjectHierarchical.json | 42 ++++++---- test/schemas/llm/type/ObjectInternal.json | 3 +- test/schemas/llm/type/ObjectIntersection.json | 3 +- test/schemas/llm/type/ObjectJsonTag.json | 3 +- .../llm/type/ObjectLiteralProperty.json | 3 +- test/schemas/llm/type/ObjectLiteralType.json | 3 +- test/schemas/llm/type/ObjectNullable.json | 18 +++-- test/schemas/llm/type/ObjectOptional.json | 3 +- test/schemas/llm/type/ObjectPrimitive.json | 6 +- .../llm/type/ObjectPropertyNullable.json | 15 ++-- test/schemas/llm/type/ObjectSimple.json | 15 ++-- test/schemas/llm/type/ObjectTuple.json | 6 +- test/schemas/llm/type/ObjectUndefined.json | 6 +- .../llm/type/ObjectUnionComposite.json | 75 +++++++++++------ .../llm/type/ObjectUnionCompositePointer.json | 81 ++++++++++++------- test/schemas/llm/type/ObjectUnionDouble.json | 36 ++++++--- .../schemas/llm/type/ObjectUnionExplicit.json | 66 ++++++++++----- .../llm/type/ObjectUnionExplicitPointer.json | 72 +++++++++++------ .../schemas/llm/type/ObjectUnionImplicit.json | 66 ++++++++++----- .../llm/type/ObjectUnionNonPredictable.json | 27 ++++--- test/schemas/llm/type/TemplateAtomic.json | 3 +- test/schemas/llm/type/TemplateConstant.json | 6 +- test/schemas/llm/type/TemplateUnion.json | 9 ++- test/schemas/llm/type/ToJsonArray.json | 3 +- test/schemas/llm/type/ToJsonDouble.json | 3 +- test/schemas/llm/type/ToJsonTuple.json | 3 +- test/schemas/llm/type/ToJsonUnion.json | 9 ++- test/schemas/llm/type/TupleRestObject.json | 3 +- test/schemas/llm/type/TypeTagArray.json | 6 +- test/schemas/llm/type/TypeTagArrayUnion.json | 3 +- test/schemas/llm/type/TypeTagAtomicUnion.json | 6 +- test/schemas/llm/type/TypeTagCustom.json | 3 +- test/schemas/llm/type/TypeTagDefault.json | 3 +- test/schemas/llm/type/TypeTagFormat.json | 3 +- test/schemas/llm/type/TypeTagLength.json | 6 +- test/schemas/llm/type/TypeTagMatrix.json | 3 +- test/schemas/llm/type/TypeTagObjectUnion.json | 6 +- test/schemas/llm/type/TypeTagPattern.json | 3 +- test/schemas/llm/type/TypeTagRange.json | 6 +- test/schemas/llm/type/TypeTagTuple.json | 3 +- test/schemas/llm/type/TypeTagType.json | 6 +- .../llm.application/test_llm_application.ts | 1 + .../test_llm_application_separate.ts | 2 + 81 files changed, 593 insertions(+), 297 deletions(-) diff --git a/benchmark/package.json b/benchmark/package.json index f162e068bb..81707653d1 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -72,6 +72,6 @@ "suppress-warnings": "^1.0.2", "tstl": "^3.0.0", "uuid": "^9.0.1", - "typia": "../typia-6.11.1.tgz" + "typia": "../typia-6.11.2.tgz" } } \ No newline at end of file diff --git a/errors/package.json b/errors/package.json index 212373f969..a232fa3670 100644 --- a/errors/package.json +++ b/errors/package.json @@ -32,6 +32,6 @@ "typescript": "^5.3.2" }, "dependencies": { - "typia": "../typia-6.11.1.tgz" + "typia": "../typia-6.11.2.tgz" } } \ No newline at end of file diff --git a/test-esm/package.json b/test-esm/package.json index 5855452a43..79226a514f 100644 --- a/test-esm/package.json +++ b/test-esm/package.json @@ -36,6 +36,6 @@ "typescript": "^5.4.5" }, "dependencies": { - "typia": "../typia-6.11.1.tgz" + "typia": "../typia-6.11.2.tgz" } } \ No newline at end of file diff --git a/test/package.json b/test/package.json index 694f21196e..54cbb64fc4 100644 --- a/test/package.json +++ b/test/package.json @@ -52,6 +52,6 @@ "suppress-warnings": "^1.0.2", "tstl": "^3.0.0", "uuid": "^9.0.1", - "typia": "../typia-6.11.1.tgz" + "typia": "../typia-6.11.2.tgz" } } \ No newline at end of file diff --git a/test/schemas/llm/type/ArrayAny.json b/test/schemas/llm/type/ArrayAny.json index 63e2288e06..02eebb6050 100644 --- a/test/schemas/llm/type/ArrayAny.json +++ b/test/schemas/llm/type/ArrayAny.json @@ -49,5 +49,6 @@ "nullables1", "nullables2", "union" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ArrayHierarchical.json b/test/schemas/llm/type/ArrayHierarchical.json index 2479c6c722..e059d53905 100644 --- a/test/schemas/llm/type/ArrayHierarchical.json +++ b/test/schemas/llm/type/ArrayHierarchical.json @@ -26,7 +26,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false }, "departments": { "type": "array", @@ -56,7 +57,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false }, "employees": { "type": "array", @@ -89,7 +91,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -99,7 +102,8 @@ "age", "grade", "employeed_at" - ] + ], + "additionalProperties": false } } }, @@ -110,7 +114,8 @@ "sales", "created_at", "employees" - ] + ], + "additionalProperties": false } } }, @@ -121,6 +126,7 @@ "name", "established_at", "departments" - ] + ], + "additionalProperties": false } } \ No newline at end of file diff --git a/test/schemas/llm/type/ArrayHierarchicalPointer.json b/test/schemas/llm/type/ArrayHierarchicalPointer.json index 7d03350cc4..58150122bf 100644 --- a/test/schemas/llm/type/ArrayHierarchicalPointer.json +++ b/test/schemas/llm/type/ArrayHierarchicalPointer.json @@ -29,7 +29,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false }, "departments": { "type": "array", @@ -59,7 +60,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false }, "employees": { "type": "array", @@ -92,7 +94,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -102,7 +105,8 @@ "age", "grade", "employeed_at" - ] + ], + "additionalProperties": false } } }, @@ -113,7 +117,8 @@ "sales", "created_at", "employees" - ] + ], + "additionalProperties": false } } }, @@ -124,12 +129,14 @@ "name", "established_at", "departments" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ArraySimple.json b/test/schemas/llm/type/ArraySimple.json index 7df4a4f1ea..d23bc9decc 100644 --- a/test/schemas/llm/type/ArraySimple.json +++ b/test/schemas/llm/type/ArraySimple.json @@ -29,7 +29,8 @@ "name", "body", "rank" - ] + ], + "additionalProperties": false } } }, @@ -38,6 +39,7 @@ "name", "email", "hobbies" - ] + ], + "additionalProperties": false } } \ No newline at end of file diff --git a/test/schemas/llm/type/ClassGetter.json b/test/schemas/llm/type/ClassGetter.json index 46713c7b20..4e88789b83 100644 --- a/test/schemas/llm/type/ClassGetter.json +++ b/test/schemas/llm/type/ClassGetter.json @@ -17,5 +17,6 @@ "id", "name", "dead" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ClassMethod.json b/test/schemas/llm/type/ClassMethod.json index 4ebac9586b..09abb292a0 100644 --- a/test/schemas/llm/type/ClassMethod.json +++ b/test/schemas/llm/type/ClassMethod.json @@ -12,5 +12,6 @@ "required": [ "name", "age" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ClassPropertyAssignment.json b/test/schemas/llm/type/ClassPropertyAssignment.json index 50f0bc8d52..f7d574ed28 100644 --- a/test/schemas/llm/type/ClassPropertyAssignment.json +++ b/test/schemas/llm/type/ClassPropertyAssignment.json @@ -30,5 +30,6 @@ "note", "editable", "incremental" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagArray.json b/test/schemas/llm/type/CommentTagArray.json index 5b94c5c1c7..5af2c03d7e 100644 --- a/test/schemas/llm/type/CommentTagArray.json +++ b/test/schemas/llm/type/CommentTagArray.json @@ -52,12 +52,14 @@ "both", "equal", "unique" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagArrayUnion.json b/test/schemas/llm/type/CommentTagArrayUnion.json index aaf7cebf78..dd2cdb4a38 100644 --- a/test/schemas/llm/type/CommentTagArrayUnion.json +++ b/test/schemas/llm/type/CommentTagArrayUnion.json @@ -47,6 +47,7 @@ "minItems", "maxItems", "both" - ] + ], + "additionalProperties": false } } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagAtomicUnion.json b/test/schemas/llm/type/CommentTagAtomicUnion.json index 3cc9923e85..74dfb96eac 100644 --- a/test/schemas/llm/type/CommentTagAtomicUnion.json +++ b/test/schemas/llm/type/CommentTagAtomicUnion.json @@ -23,12 +23,14 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagDefault.json b/test/schemas/llm/type/CommentTagDefault.json index 6184dbc26a..b6b26fe0f8 100644 --- a/test/schemas/llm/type/CommentTagDefault.json +++ b/test/schemas/llm/type/CommentTagDefault.json @@ -117,5 +117,6 @@ "union_but_string", "vulnerable_range", "boolean_and_number_and_template" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagFormat.json b/test/schemas/llm/type/CommentTagFormat.json index f306d185b7..e6c0490fb9 100644 --- a/test/schemas/llm/type/CommentTagFormat.json +++ b/test/schemas/llm/type/CommentTagFormat.json @@ -114,5 +114,6 @@ "duration", "jsonPointer", "relativeJsonPointer" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagLength.json b/test/schemas/llm/type/CommentTagLength.json index b6456ad2ee..93a74ae740 100644 --- a/test/schemas/llm/type/CommentTagLength.json +++ b/test/schemas/llm/type/CommentTagLength.json @@ -37,12 +37,14 @@ "maximum", "minimum_and_maximum", "equal" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagObjectUnion.json b/test/schemas/llm/type/CommentTagObjectUnion.json index 02727a6a63..1446b448ca 100644 --- a/test/schemas/llm/type/CommentTagObjectUnion.json +++ b/test/schemas/llm/type/CommentTagObjectUnion.json @@ -13,7 +13,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -27,7 +28,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/CommentTagPattern.json b/test/schemas/llm/type/CommentTagPattern.json index fdf27c1f73..7fac2381f6 100644 --- a/test/schemas/llm/type/CommentTagPattern.json +++ b/test/schemas/llm/type/CommentTagPattern.json @@ -24,5 +24,6 @@ "email", "ipv4", "ipv6" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagRange.json b/test/schemas/llm/type/CommentTagRange.json index d026ba955e..a1c5607b3d 100644 --- a/test/schemas/llm/type/CommentTagRange.json +++ b/test/schemas/llm/type/CommentTagRange.json @@ -65,12 +65,14 @@ "greater_less_equal", "greater_equal_less_equal", "equal" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/CommentTagType.json b/test/schemas/llm/type/CommentTagType.json index 8a62d3818c..6a67b94ef2 100644 --- a/test/schemas/llm/type/CommentTagType.json +++ b/test/schemas/llm/type/CommentTagType.json @@ -41,12 +41,14 @@ "int64", "uint64", "float" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ConstantAtomicAbsorbed.json b/test/schemas/llm/type/ConstantAtomicAbsorbed.json index 182c8602f8..e02ba071fa 100644 --- a/test/schemas/llm/type/ConstantAtomicAbsorbed.json +++ b/test/schemas/llm/type/ConstantAtomicAbsorbed.json @@ -14,5 +14,6 @@ "required": [ "id", "age" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ConstantAtomicTagged.json b/test/schemas/llm/type/ConstantAtomicTagged.json index 84c72bf26e..e6d4c40a7c 100644 --- a/test/schemas/llm/type/ConstantAtomicTagged.json +++ b/test/schemas/llm/type/ConstantAtomicTagged.json @@ -34,5 +34,6 @@ "required": [ "id", "age" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ConstantAtomicUnion.json b/test/schemas/llm/type/ConstantAtomicUnion.json index eccbd4f12f..329cfc5c67 100644 --- a/test/schemas/llm/type/ConstantAtomicUnion.json +++ b/test/schemas/llm/type/ConstantAtomicUnion.json @@ -35,7 +35,8 @@ "nullable": false, "required": [ "key" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/ConstantAtomicWrapper.json b/test/schemas/llm/type/ConstantAtomicWrapper.json index 5c51ca6176..d7267606f7 100644 --- a/test/schemas/llm/type/ConstantAtomicWrapper.json +++ b/test/schemas/llm/type/ConstantAtomicWrapper.json @@ -12,7 +12,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -24,7 +25,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -36,7 +38,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] }, diff --git a/test/schemas/llm/type/DynamicArray.json b/test/schemas/llm/type/DynamicArray.json index 68e7eba4a8..38999e2bf2 100644 --- a/test/schemas/llm/type/DynamicArray.json +++ b/test/schemas/llm/type/DynamicArray.json @@ -16,5 +16,6 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/DynamicConstant.json b/test/schemas/llm/type/DynamicConstant.json index c663e2c274..3e90cb771e 100644 --- a/test/schemas/llm/type/DynamicConstant.json +++ b/test/schemas/llm/type/DynamicConstant.json @@ -23,11 +23,13 @@ "b", "c", "d" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/DynamicEnumeration.json b/test/schemas/llm/type/DynamicEnumeration.json index 849cb1884a..05f8272e1a 100644 --- a/test/schemas/llm/type/DynamicEnumeration.json +++ b/test/schemas/llm/type/DynamicEnumeration.json @@ -35,11 +35,13 @@ "type": "string" } }, - "nullable": false + "nullable": false, + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/DynamicNever.json b/test/schemas/llm/type/DynamicNever.json index 82853a2c15..73ceffc0d9 100644 --- a/test/schemas/llm/type/DynamicNever.json +++ b/test/schemas/llm/type/DynamicNever.json @@ -1,5 +1,6 @@ { "type": "object", "properties": {}, - "nullable": false + "nullable": false, + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/DynamicSimple.json b/test/schemas/llm/type/DynamicSimple.json index d99508e08b..150815d722 100644 --- a/test/schemas/llm/type/DynamicSimple.json +++ b/test/schemas/llm/type/DynamicSimple.json @@ -13,5 +13,6 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/DynamicUndefined.json b/test/schemas/llm/type/DynamicUndefined.json index 82853a2c15..73ceffc0d9 100644 --- a/test/schemas/llm/type/DynamicUndefined.json +++ b/test/schemas/llm/type/DynamicUndefined.json @@ -1,5 +1,6 @@ { "type": "object", "properties": {}, - "nullable": false + "nullable": false, + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectAlias.json b/test/schemas/llm/type/ObjectAlias.json index f842e93e60..1c9513f5d6 100644 --- a/test/schemas/llm/type/ObjectAlias.json +++ b/test/schemas/llm/type/ObjectAlias.json @@ -50,6 +50,7 @@ "sex", "age", "dead" - ] + ], + "additionalProperties": false } } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectDate.json b/test/schemas/llm/type/ObjectDate.json index d7d3b6a60b..45c565b721 100644 --- a/test/schemas/llm/type/ObjectDate.json +++ b/test/schemas/llm/type/ObjectDate.json @@ -33,5 +33,6 @@ "datetime", "time", "duration" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectDescription.json b/test/schemas/llm/type/ObjectDescription.json index 60129b225c..f313845bbc 100644 --- a/test/schemas/llm/type/ObjectDescription.json +++ b/test/schemas/llm/type/ObjectDescription.json @@ -40,5 +40,6 @@ "newLine" ], "title": "This is the title of object type", - "description": "An interface designed to test JSON schema's object description." + "description": "An interface designed to test JSON schema's object description.", + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectGeneric.json b/test/schemas/llm/type/ObjectGeneric.json index 4920321243..7a7f8c31f3 100644 --- a/test/schemas/llm/type/ObjectGeneric.json +++ b/test/schemas/llm/type/ObjectGeneric.json @@ -22,7 +22,8 @@ "required": [ "child_value", "child_next" - ] + ], + "additionalProperties": false }, "elements": { "type": "array", @@ -40,7 +41,8 @@ "required": [ "child_value", "child_next" - ] + ], + "additionalProperties": false } } }, @@ -49,7 +51,8 @@ "value", "child", "elements" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -71,7 +74,8 @@ "required": [ "child_value", "child_next" - ] + ], + "additionalProperties": false }, "elements": { "type": "array", @@ -89,7 +93,8 @@ "required": [ "child_value", "child_next" - ] + ], + "additionalProperties": false } } }, @@ -98,7 +103,8 @@ "value", "child", "elements" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -120,7 +126,8 @@ "required": [ "child_value", "child_next" - ] + ], + "additionalProperties": false }, "elements": { "type": "array", @@ -138,7 +145,8 @@ "required": [ "child_value", "child_next" - ] + ], + "additionalProperties": false } } }, @@ -147,7 +155,8 @@ "value", "child", "elements" - ] + ], + "additionalProperties": false } ] }, diff --git a/test/schemas/llm/type/ObjectGenericAlias.json b/test/schemas/llm/type/ObjectGenericAlias.json index 83106cf013..c9d42a3991 100644 --- a/test/schemas/llm/type/ObjectGenericAlias.json +++ b/test/schemas/llm/type/ObjectGenericAlias.json @@ -8,5 +8,6 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectGenericArray.json b/test/schemas/llm/type/ObjectGenericArray.json index 0813920ba5..191df3ba1a 100644 --- a/test/schemas/llm/type/ObjectGenericArray.json +++ b/test/schemas/llm/type/ObjectGenericArray.json @@ -23,7 +23,8 @@ "limit", "total_count", "total_pages" - ] + ], + "additionalProperties": false }, "data": { "type": "array", @@ -41,7 +42,8 @@ "required": [ "name", "age" - ] + ], + "additionalProperties": false } } }, @@ -49,5 +51,6 @@ "required": [ "pagination", "data" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectGenericUnion.json b/test/schemas/llm/type/ObjectGenericUnion.json index 51190e5e6b..9b33d24d84 100644 --- a/test/schemas/llm/type/ObjectGenericUnion.json +++ b/test/schemas/llm/type/ObjectGenericUnion.json @@ -56,7 +56,8 @@ "name", "extension", "url" - ] + ], + "additionalProperties": false } } }, @@ -67,7 +68,8 @@ "title", "body", "files" - ] + ], + "additionalProperties": false } }, "created_at": { @@ -80,7 +82,8 @@ "hit", "contents", "created_at" - ] + ], + "additionalProperties": false }, "id": { "type": "string" @@ -126,7 +129,8 @@ "name", "extension", "url" - ] + ], + "additionalProperties": false } } }, @@ -137,7 +141,8 @@ "title", "body", "files" - ] + ], + "additionalProperties": false } }, "created_at": { @@ -152,7 +157,8 @@ "hit", "contents", "created_at" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -207,7 +213,8 @@ "name", "extension", "url" - ] + ], + "additionalProperties": false } } }, @@ -218,7 +225,8 @@ "title", "body", "files" - ] + ], + "additionalProperties": false } }, "created_at": { @@ -231,7 +239,8 @@ "hit", "contents", "created_at" - ] + ], + "additionalProperties": false }, "id": { "type": "string" @@ -280,7 +289,8 @@ "name", "extension", "url" - ] + ], + "additionalProperties": false } } }, @@ -292,7 +302,8 @@ "title", "body", "files" - ] + ], + "additionalProperties": false } }, "created_at": { @@ -307,7 +318,8 @@ "hit", "contents", "created_at" - ] + ], + "additionalProperties": false } ] } @@ -315,5 +327,6 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectHierarchical.json b/test/schemas/llm/type/ObjectHierarchical.json index 5bf31571a0..f159f592f5 100644 --- a/test/schemas/llm/type/ObjectHierarchical.json +++ b/test/schemas/llm/type/ObjectHierarchical.json @@ -39,7 +39,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -51,7 +52,8 @@ "exclusive", "priority", "created_at" - ] + ], + "additionalProperties": false }, "member": { "type": "object", @@ -82,7 +84,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -90,7 +93,8 @@ "id", "code", "created_at" - ] + ], + "additionalProperties": false }, "enterprise": { "type": "object", @@ -121,7 +125,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -129,7 +134,8 @@ "id", "code", "created_at" - ] + ], + "additionalProperties": false }, "name": { "type": "string" @@ -151,7 +157,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": true, @@ -161,7 +168,8 @@ "name", "grade", "created_at" - ] + ], + "additionalProperties": false }, "emails": { "type": "array", @@ -183,7 +191,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false }, "authorized": { "type": "boolean" @@ -197,7 +206,8 @@ "emails", "created_at", "authorized" - ] + ], + "additionalProperties": false }, "account": { "type": "object", @@ -222,7 +232,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": true, @@ -230,7 +241,8 @@ "id", "code", "created_at" - ] + ], + "additionalProperties": false }, "href": { "type": "string" @@ -260,7 +272,8 @@ "required": [ "time", "zone" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -273,5 +286,6 @@ "referrer", "ip", "created_at" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectInternal.json b/test/schemas/llm/type/ObjectInternal.json index a19c59b3b9..4d3dd5c6da 100644 --- a/test/schemas/llm/type/ObjectInternal.json +++ b/test/schemas/llm/type/ObjectInternal.json @@ -12,5 +12,6 @@ "required": [ "id", "name" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectIntersection.json b/test/schemas/llm/type/ObjectIntersection.json index 82e04dd71d..09d958dabc 100644 --- a/test/schemas/llm/type/ObjectIntersection.json +++ b/test/schemas/llm/type/ObjectIntersection.json @@ -16,5 +16,6 @@ "email", "name", "vulnerable" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectJsonTag.json b/test/schemas/llm/type/ObjectJsonTag.json index 24b3b0ed77..878aed71ac 100644 --- a/test/schemas/llm/type/ObjectJsonTag.json +++ b/test/schemas/llm/type/ObjectJsonTag.json @@ -27,5 +27,6 @@ "description", "title", "complicate_title" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectLiteralProperty.json b/test/schemas/llm/type/ObjectLiteralProperty.json index 67d27fcc29..3c609f573b 100644 --- a/test/schemas/llm/type/ObjectLiteralProperty.json +++ b/test/schemas/llm/type/ObjectLiteralProperty.json @@ -12,5 +12,6 @@ "required": [ "something-interesting-do-you-want?", "or-something-crazy-do-you-want?" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectLiteralType.json b/test/schemas/llm/type/ObjectLiteralType.json index c7de81935e..eca617e2ee 100644 --- a/test/schemas/llm/type/ObjectLiteralType.json +++ b/test/schemas/llm/type/ObjectLiteralType.json @@ -16,5 +16,6 @@ "id", "name", "age" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectNullable.json b/test/schemas/llm/type/ObjectNullable.json index 860077e48a..aea4b6ee2f 100644 --- a/test/schemas/llm/type/ObjectNullable.json +++ b/test/schemas/llm/type/ObjectNullable.json @@ -26,7 +26,8 @@ "required": [ "type", "name" - ] + ], + "additionalProperties": false }, "brand": { "type": "object", @@ -45,7 +46,8 @@ "required": [ "type", "name" - ] + ], + "additionalProperties": false }, "similar": { "oneOf": [ @@ -66,7 +68,8 @@ "required": [ "type", "name" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -85,7 +88,8 @@ "required": [ "type", "name" - ] + ], + "additionalProperties": false } ] } @@ -96,12 +100,14 @@ "manufacturer", "brand", "similar" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectOptional.json b/test/schemas/llm/type/ObjectOptional.json index 719ea4a9fa..aea96f579b 100644 --- a/test/schemas/llm/type/ObjectOptional.json +++ b/test/schemas/llm/type/ObjectOptional.json @@ -14,5 +14,6 @@ "type": "number" } }, - "nullable": false + "nullable": false, + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectPrimitive.json b/test/schemas/llm/type/ObjectPrimitive.json index 8c5ef3ce03..b1ff6746d2 100644 --- a/test/schemas/llm/type/ObjectPrimitive.json +++ b/test/schemas/llm/type/ObjectPrimitive.json @@ -46,7 +46,8 @@ "extension", "url", "created_at" - ] + ], + "additionalProperties": false } }, "secret": { @@ -65,5 +66,6 @@ "files", "secret", "created_at" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectPropertyNullable.json b/test/schemas/llm/type/ObjectPropertyNullable.json index 9d5d0d23d0..6bc4a2453d 100644 --- a/test/schemas/llm/type/ObjectPropertyNullable.json +++ b/test/schemas/llm/type/ObjectPropertyNullable.json @@ -15,7 +15,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, { @@ -31,7 +32,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, { @@ -47,7 +49,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, { @@ -82,13 +85,15 @@ "id", "name", "activated" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } } ] diff --git a/test/schemas/llm/type/ObjectSimple.json b/test/schemas/llm/type/ObjectSimple.json index 845b92b924..d0d8f9bab3 100644 --- a/test/schemas/llm/type/ObjectSimple.json +++ b/test/schemas/llm/type/ObjectSimple.json @@ -19,7 +19,8 @@ "x", "y", "z" - ] + ], + "additionalProperties": false }, "position": { "type": "object", @@ -39,7 +40,8 @@ "x", "y", "z" - ] + ], + "additionalProperties": false }, "rotate": { "type": "object", @@ -59,7 +61,8 @@ "x", "y", "z" - ] + ], + "additionalProperties": false }, "pivot": { "type": "object", @@ -79,7 +82,8 @@ "x", "y", "z" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -88,5 +92,6 @@ "position", "rotate", "pivot" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectTuple.json b/test/schemas/llm/type/ObjectTuple.json index a9c940758a..3d5f863746 100644 --- a/test/schemas/llm/type/ObjectTuple.json +++ b/test/schemas/llm/type/ObjectTuple.json @@ -20,7 +20,8 @@ "id", "code", "name" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -40,7 +41,8 @@ "id", "mobile", "name" - ] + ], + "additionalProperties": false } ] }, diff --git a/test/schemas/llm/type/ObjectUndefined.json b/test/schemas/llm/type/ObjectUndefined.json index e48e2935a8..7993ea1205 100644 --- a/test/schemas/llm/type/ObjectUndefined.json +++ b/test/schemas/llm/type/ObjectUndefined.json @@ -30,7 +30,8 @@ "required": [ "id", "name" - ] + ], + "additionalProperties": false }, "grade": { "type": "number" @@ -41,6 +42,7 @@ "required": [ "name", "unknown" - ] + ], + "additionalProperties": false } } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectUnionComposite.json b/test/schemas/llm/type/ObjectUnionComposite.json index 58356e8de7..07f0becef9 100644 --- a/test/schemas/llm/type/ObjectUnionComposite.json +++ b/test/schemas/llm/type/ObjectUnionComposite.json @@ -16,7 +16,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -35,7 +36,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -51,14 +53,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "p1", "p2" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -77,7 +81,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -93,7 +98,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -109,7 +115,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -117,7 +124,8 @@ "p1", "p2", "p3" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -136,7 +144,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -152,7 +161,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -168,7 +178,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p4": { "type": "object", @@ -184,7 +195,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -193,7 +205,8 @@ "p2", "p3", "p4" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -214,14 +227,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -242,7 +257,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "inner": { @@ -259,14 +275,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "outer", "inner" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -290,14 +308,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, "inner": { "type": "array", @@ -320,14 +340,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false } } }, @@ -335,7 +357,8 @@ "required": [ "outer", "inner" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -354,7 +377,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "radius": { "type": "number" @@ -364,7 +388,8 @@ "required": [ "centroid", "radius" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/ObjectUnionCompositePointer.json b/test/schemas/llm/type/ObjectUnionCompositePointer.json index d4cb9db5f9..0c6de17811 100644 --- a/test/schemas/llm/type/ObjectUnionCompositePointer.json +++ b/test/schemas/llm/type/ObjectUnionCompositePointer.json @@ -22,7 +22,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -41,7 +42,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -57,14 +59,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "p1", "p2" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -83,7 +87,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -99,7 +104,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -115,7 +121,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -123,7 +130,8 @@ "p1", "p2", "p3" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -142,7 +150,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -158,7 +167,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -174,7 +184,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p4": { "type": "object", @@ -190,7 +201,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, @@ -199,7 +211,8 @@ "p2", "p3", "p4" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -220,14 +233,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -248,7 +263,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "inner": { @@ -265,14 +281,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "outer", "inner" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -296,14 +314,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, "inner": { "type": "array", @@ -326,14 +346,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false } } }, @@ -341,7 +363,8 @@ "required": [ "outer", "inner" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -360,7 +383,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "radius": { "type": "number" @@ -370,7 +394,8 @@ "required": [ "centroid", "radius" - ] + ], + "additionalProperties": false } ] } @@ -378,12 +403,14 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectUnionDouble.json b/test/schemas/llm/type/ObjectUnionDouble.json index 201c4298bb..2e874db660 100644 --- a/test/schemas/llm/type/ObjectUnionDouble.json +++ b/test/schemas/llm/type/ObjectUnionDouble.json @@ -15,7 +15,8 @@ "nullable": false, "required": [ "x" - ] + ], + "additionalProperties": false }, "child": { "oneOf": [ @@ -32,13 +33,15 @@ "nullable": false, "required": [ "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -53,13 +56,15 @@ "nullable": false, "required": [ "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] } @@ -68,7 +73,8 @@ "required": [ "value", "child" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -83,7 +89,8 @@ "nullable": false, "required": [ "x" - ] + ], + "additionalProperties": false }, "child": { "oneOf": [ @@ -103,13 +110,15 @@ "nullable": false, "required": [ "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -124,13 +133,15 @@ "nullable": false, "required": [ "y" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] } @@ -139,7 +150,8 @@ "required": [ "value", "child" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/ObjectUnionExplicit.json b/test/schemas/llm/type/ObjectUnionExplicit.json index 3dedb1eacc..55e4902bda 100644 --- a/test/schemas/llm/type/ObjectUnionExplicit.json +++ b/test/schemas/llm/type/ObjectUnionExplicit.json @@ -23,7 +23,8 @@ "x", "y", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -42,7 +43,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -58,7 +60,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "type": { "type": "string", @@ -72,7 +75,8 @@ "p1", "p2", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -91,7 +95,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -107,7 +112,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -123,7 +129,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "type": { "type": "string", @@ -138,7 +145,8 @@ "p2", "p3", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -157,7 +165,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -173,7 +182,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -189,7 +199,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p4": { "type": "object", @@ -205,7 +216,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "type": { "type": "string", @@ -221,7 +233,8 @@ "p3", "p4", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -242,7 +255,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "type": { @@ -256,7 +270,8 @@ "required": [ "points", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -280,14 +295,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, "inner": { "type": "array", @@ -310,14 +327,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false } }, "type": { @@ -332,7 +351,8 @@ "outer", "inner", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -351,7 +371,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "radius": { "type": "number" @@ -368,7 +389,8 @@ "centroid", "radius", "type" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/ObjectUnionExplicitPointer.json b/test/schemas/llm/type/ObjectUnionExplicitPointer.json index 92c4b3859c..302a02c271 100644 --- a/test/schemas/llm/type/ObjectUnionExplicitPointer.json +++ b/test/schemas/llm/type/ObjectUnionExplicitPointer.json @@ -29,7 +29,8 @@ "x", "y", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -48,7 +49,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -64,7 +66,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "type": { "type": "string", @@ -78,7 +81,8 @@ "p1", "p2", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -97,7 +101,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -113,7 +118,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -129,7 +135,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "type": { "type": "string", @@ -144,7 +151,8 @@ "p2", "p3", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -163,7 +171,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -179,7 +188,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -195,7 +205,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p4": { "type": "object", @@ -211,7 +222,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "type": { "type": "string", @@ -227,7 +239,8 @@ "p3", "p4", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -248,7 +261,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "type": { @@ -262,7 +276,8 @@ "required": [ "points", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -286,14 +301,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, "inner": { "type": "array", @@ -316,14 +333,16 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false } }, "type": { @@ -338,7 +357,8 @@ "outer", "inner", "type" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -357,7 +377,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "radius": { "type": "number" @@ -374,7 +395,8 @@ "centroid", "radius", "type" - ] + ], + "additionalProperties": false } ] } @@ -382,12 +404,14 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ObjectUnionImplicit.json b/test/schemas/llm/type/ObjectUnionImplicit.json index cf14b4f54a..f9eed14cbe 100644 --- a/test/schemas/llm/type/ObjectUnionImplicit.json +++ b/test/schemas/llm/type/ObjectUnionImplicit.json @@ -20,7 +20,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -43,7 +44,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -63,7 +65,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "width": { "type": "number", @@ -78,7 +81,8 @@ "required": [ "p1", "p2" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -101,7 +105,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -121,7 +126,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -141,7 +147,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "width": { "type": "number", @@ -161,7 +168,8 @@ "p1", "p2", "p3" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -184,7 +192,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p2": { "type": "object", @@ -204,7 +213,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p3": { "type": "object", @@ -224,7 +234,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "p4": { "type": "object", @@ -244,7 +255,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "width": { "type": "number", @@ -265,7 +277,8 @@ "p2", "p3", "p4" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -290,7 +303,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "length": { @@ -301,7 +315,8 @@ "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -329,7 +344,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "length": { @@ -340,7 +356,8 @@ "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false }, "inner": { "type": "array", @@ -367,7 +384,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false } }, "length": { @@ -378,7 +396,8 @@ "nullable": false, "required": [ "points" - ] + ], + "additionalProperties": false } }, "area": { @@ -389,7 +408,8 @@ "nullable": false, "required": [ "outer" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -415,7 +435,8 @@ "required": [ "x", "y" - ] + ], + "additionalProperties": false }, "area": { "type": "number", @@ -425,7 +446,8 @@ "nullable": false, "required": [ "radius" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/ObjectUnionNonPredictable.json b/test/schemas/llm/type/ObjectUnionNonPredictable.json index 65d5ecafa0..79b805a005 100644 --- a/test/schemas/llm/type/ObjectUnionNonPredictable.json +++ b/test/schemas/llm/type/ObjectUnionNonPredictable.json @@ -24,13 +24,15 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -45,13 +47,15 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -66,13 +70,15 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] } @@ -80,18 +86,21 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TemplateAtomic.json b/test/schemas/llm/type/TemplateAtomic.json index bd8a984d88..1e340986d5 100644 --- a/test/schemas/llm/type/TemplateAtomic.json +++ b/test/schemas/llm/type/TemplateAtomic.json @@ -47,5 +47,6 @@ "middle_boolean", "ipv4", "email" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TemplateConstant.json b/test/schemas/llm/type/TemplateConstant.json index 04ecd5f5b9..ac5c8fb50e 100644 --- a/test/schemas/llm/type/TemplateConstant.json +++ b/test/schemas/llm/type/TemplateConstant.json @@ -42,12 +42,14 @@ "prefix", "postfix", "combined" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TemplateUnion.json b/test/schemas/llm/type/TemplateUnion.json index 1e15748859..6b8d3c6186 100644 --- a/test/schemas/llm/type/TemplateUnion.json +++ b/test/schemas/llm/type/TemplateUnion.json @@ -58,7 +58,8 @@ "nullable": false, "required": [ "name" - ] + ], + "additionalProperties": false } ] } @@ -69,12 +70,14 @@ "postfix", "middle", "mixed" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ToJsonArray.json b/test/schemas/llm/type/ToJsonArray.json index 37a1378c03..aadd100701 100644 --- a/test/schemas/llm/type/ToJsonArray.json +++ b/test/schemas/llm/type/ToJsonArray.json @@ -32,7 +32,8 @@ "nullable": false, "required": [ "id" - ] + ], + "additionalProperties": false } } ] diff --git a/test/schemas/llm/type/ToJsonDouble.json b/test/schemas/llm/type/ToJsonDouble.json index c96a5c12b6..1ca40df9f2 100644 --- a/test/schemas/llm/type/ToJsonDouble.json +++ b/test/schemas/llm/type/ToJsonDouble.json @@ -12,5 +12,6 @@ "required": [ "id", "flag" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/ToJsonTuple.json b/test/schemas/llm/type/ToJsonTuple.json index 0018d1d01f..8ff2d67875 100644 --- a/test/schemas/llm/type/ToJsonTuple.json +++ b/test/schemas/llm/type/ToJsonTuple.json @@ -25,7 +25,8 @@ "required": [ "code", "name" - ] + ], + "additionalProperties": false } ] }, diff --git a/test/schemas/llm/type/ToJsonUnion.json b/test/schemas/llm/type/ToJsonUnion.json index 94faf372a3..dd9bdffba2 100644 --- a/test/schemas/llm/type/ToJsonUnion.json +++ b/test/schemas/llm/type/ToJsonUnion.json @@ -23,7 +23,8 @@ "id", "mobile", "name" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -43,7 +44,8 @@ "manufacturer", "brand", "name" - ] + ], + "additionalProperties": false }, { "type": "string" @@ -69,7 +71,8 @@ "id", "mobile", "name" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/TupleRestObject.json b/test/schemas/llm/type/TupleRestObject.json index 8f43262fe7..055ce8f4ae 100644 --- a/test/schemas/llm/type/TupleRestObject.json +++ b/test/schemas/llm/type/TupleRestObject.json @@ -18,7 +18,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] }, diff --git a/test/schemas/llm/type/TypeTagArray.json b/test/schemas/llm/type/TypeTagArray.json index 5a29b02321..c693e2a88e 100644 --- a/test/schemas/llm/type/TypeTagArray.json +++ b/test/schemas/llm/type/TypeTagArray.json @@ -57,12 +57,14 @@ "both", "equal", "unique" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagArrayUnion.json b/test/schemas/llm/type/TypeTagArrayUnion.json index 1d48a385b5..3a8d06bdc3 100644 --- a/test/schemas/llm/type/TypeTagArrayUnion.json +++ b/test/schemas/llm/type/TypeTagArrayUnion.json @@ -52,6 +52,7 @@ "minItems", "maxItems", "both" - ] + ], + "additionalProperties": false } } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagAtomicUnion.json b/test/schemas/llm/type/TypeTagAtomicUnion.json index 3cc9923e85..74dfb96eac 100644 --- a/test/schemas/llm/type/TypeTagAtomicUnion.json +++ b/test/schemas/llm/type/TypeTagAtomicUnion.json @@ -23,12 +23,14 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagCustom.json b/test/schemas/llm/type/TypeTagCustom.json index 0664ad68ca..1c15dbd63b 100644 --- a/test/schemas/llm/type/TypeTagCustom.json +++ b/test/schemas/llm/type/TypeTagCustom.json @@ -24,5 +24,6 @@ "dollar", "postfix", "powerOf" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagDefault.json b/test/schemas/llm/type/TypeTagDefault.json index 692ede47df..f8f9c96ff4 100644 --- a/test/schemas/llm/type/TypeTagDefault.json +++ b/test/schemas/llm/type/TypeTagDefault.json @@ -103,5 +103,6 @@ "union_but_number", "union_but_string", "boolean_and_number_and_template" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagFormat.json b/test/schemas/llm/type/TypeTagFormat.json index f306d185b7..e6c0490fb9 100644 --- a/test/schemas/llm/type/TypeTagFormat.json +++ b/test/schemas/llm/type/TypeTagFormat.json @@ -114,5 +114,6 @@ "duration", "jsonPointer", "relativeJsonPointer" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagLength.json b/test/schemas/llm/type/TypeTagLength.json index b6456ad2ee..93a74ae740 100644 --- a/test/schemas/llm/type/TypeTagLength.json +++ b/test/schemas/llm/type/TypeTagLength.json @@ -37,12 +37,14 @@ "maximum", "minimum_and_maximum", "equal" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagMatrix.json b/test/schemas/llm/type/TypeTagMatrix.json index be382592e4..3d700518f3 100644 --- a/test/schemas/llm/type/TypeTagMatrix.json +++ b/test/schemas/llm/type/TypeTagMatrix.json @@ -19,5 +19,6 @@ "nullable": false, "required": [ "matrix" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagObjectUnion.json b/test/schemas/llm/type/TypeTagObjectUnion.json index 02727a6a63..1446b448ca 100644 --- a/test/schemas/llm/type/TypeTagObjectUnion.json +++ b/test/schemas/llm/type/TypeTagObjectUnion.json @@ -13,7 +13,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false }, { "type": "object", @@ -27,7 +28,8 @@ "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } ] } diff --git a/test/schemas/llm/type/TypeTagPattern.json b/test/schemas/llm/type/TypeTagPattern.json index 9411000ad9..eadf211e3e 100644 --- a/test/schemas/llm/type/TypeTagPattern.json +++ b/test/schemas/llm/type/TypeTagPattern.json @@ -24,5 +24,6 @@ "email", "ipv4", "ipv6" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagRange.json b/test/schemas/llm/type/TypeTagRange.json index d026ba955e..a1c5607b3d 100644 --- a/test/schemas/llm/type/TypeTagRange.json +++ b/test/schemas/llm/type/TypeTagRange.json @@ -65,12 +65,14 @@ "greater_less_equal", "greater_equal_less_equal", "equal" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagTuple.json b/test/schemas/llm/type/TypeTagTuple.json index a96c4a967f..bcaa3da461 100644 --- a/test/schemas/llm/type/TypeTagTuple.json +++ b/test/schemas/llm/type/TypeTagTuple.json @@ -44,5 +44,6 @@ "nullable": false, "required": [ "tuple" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/schemas/llm/type/TypeTagType.json b/test/schemas/llm/type/TypeTagType.json index 3c7b4fdd2a..889acf32c9 100644 --- a/test/schemas/llm/type/TypeTagType.json +++ b/test/schemas/llm/type/TypeTagType.json @@ -37,12 +37,14 @@ "int64", "uint64", "float" - ] + ], + "additionalProperties": false } } }, "nullable": false, "required": [ "value" - ] + ], + "additionalProperties": false } \ No newline at end of file diff --git a/test/src/features/llm.application/test_llm_application.ts b/test/src/features/llm.application/test_llm_application.ts index fabc105634..d853ca5b9e 100644 --- a/test/src/features/llm.application/test_llm_application.ts +++ b/test/src/features/llm.application/test_llm_application.ts @@ -52,6 +52,7 @@ export const test_llm_application = (): void => { }, nullable: false, required: ["level"], + additionalProperties: false, description: "The performance interface.", }, description: "Get performance.", diff --git a/test/src/features/llm.application/test_llm_application_separate.ts b/test/src/features/llm.application/test_llm_application_separate.ts index f92effe79c..04bd303b18 100644 --- a/test/src/features/llm.application/test_llm_application_separate.ts +++ b/test/src/features/llm.application/test_llm_application_separate.ts @@ -22,6 +22,7 @@ export const test_llm_application_separate = (): void => { contentMediaType: "*/*", }, }, + additionalProperties: false, nullable: false, required: ["file"], }, @@ -40,6 +41,7 @@ export const test_llm_application_separate = (): void => { type: "string", }, }, + additionalProperties: false, nullable: false, required: ["title", "body"], },