From 08a1a1121d83a8b57a88cdec91e8ee15abb517f1 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 11 Mar 2025 09:39:30 -0400 Subject: [PATCH] benchmarks: simplify test jsonschema (#14567) Signed-off-by: Russell Bryant --- .../structured_schema_1.json | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/benchmarks/structured_schemas/structured_schema_1.json b/benchmarks/structured_schemas/structured_schema_1.json index 1bd189c9..13bd6b6d 100644 --- a/benchmarks/structured_schemas/structured_schema_1.json +++ b/benchmarks/structured_schemas/structured_schema_1.json @@ -1,25 +1,19 @@ { - "type": "array", - "items": { "type": "object", "properties": { "name": { "type": "string" }, - "race": { "type": "string" }, - "class": { "type": "string" }, - "level": { "type": "integer" }, - "background": { "type": "string" }, - "alignment": { "type": "string" }, - "backstory": { "type": "string" } + "email": { "type": "string" }, + "street": { "type": "string" }, + "city": { "type": "string" }, + "state": { "type": "string" }, + "zip": { "type": "string" }, + "phone": { "type": "string" }, + "website": { "type": "string" }, + "company": { "type": "string" }, + "age": { "type": "integer" } }, "required": [ "name", - "race", - "class", - "level", - "background", - "alignment", - "backstory" + "email" ] - } } -