diff --git a/python/tests/component_schemas.py b/python/tests/component_schemas.py index 58a42779..5f70bdaa 100644 --- a/python/tests/component_schemas.py +++ b/python/tests/component_schemas.py @@ -245,6 +245,21 @@ "required": ["filename", "url"] } +json_schema = copy.deepcopy(base_item_schema) +json_schema["$schema"] = "json_schema" +json_schema["properties"]["type"] = { + "type": "string", + "enum": ["json"] +} +json_schema["properties"]["text"] = { + "type": "object", + "properties": { + "data": { + "type": "string" + } + }, + "required": ["data"] +} plan_schema = copy.deepcopy(base_item_schema) plan_schema["$schema"] = "plan_schema" @@ -311,6 +326,7 @@ "image": image_schema, "chart": chart_schema, "audio": audio_schema, + "json": json_schema, "plan": plan_schema, "function_call": function_call_schema, } \ No newline at end of file