diff --git a/python/tests/component_schemas.py b/python/tests/component_schemas.py index 5f70bdaa..02456928 100644 --- a/python/tests/component_schemas.py +++ b/python/tests/component_schemas.py @@ -148,38 +148,23 @@ "type": { "type": "string" }, - "resource_type": { - "type": "string" - }, "doc_id": { "type": "string" }, - "icon": { - "type": "string", - }, - "site_name": { - "type": "string" - }, "content": { "type": "string" }, "title": { "type": "string" }, - "mock_id": { + "source": { "type": "string" }, - "from": { - "type": "string" - }, - "image_url": { - "type": "string" - }, - "video_url": { - "type": "string" + "extra": { + "type": "object" } }, - "required": ["type", "resource_type", "doc_id", "icon", "site_name", "content", "title", "mock_id", "from", "image_url", "video_url"] + "required": ["type", "doc_id", "content", "title", "source"] } image_schema = copy.deepcopy(base_item_schema)