diff --git a/src/schema/schemas/ImpressoNerEntity.json b/src/schema/schemas/ImpressoNerEntity.json index 0ed8f2bd..8dbe33a0 100644 --- a/src/schema/schemas/ImpressoNerEntity.json +++ b/src/schema/schemas/ImpressoNerEntity.json @@ -84,30 +84,30 @@ } }, "required": ["ner"] - } - }, - "wikidata": { - "type": "object", - "additionalProperties": false, - "properties": { - "id": { - "type": "string", - "description": "Wikidata ID of the entity" + }, + "wikidata": { + "type": "object", + "additionalProperties": false, + "properties": { + "id": { + "type": "string", + "description": "Wikidata ID of the entity" + }, + "wikipediaPageName": { + "type": "string", + "description": "Wikipedia page name of the entity" + } }, - "wikipediaPageName": { - "type": "string", - "description": "Wikipedia page name of the entity" - } + "required": ["id"] }, - "required": ["id"] - }, - "function": { - "type": "string", - "description": "Function of the entity" - }, - "name": { - "type": "string", - "description": "Name of the entity" + "function": { + "type": "string", + "description": "Function of the entity" + }, + "name": { + "type": "string", + "description": "Name of the entity" + } }, - "required": ["id", "type", "surfaceForm", "offset", "isTypeNested", "confidence"] + "required": ["id", "type", "surfaceForm", "offset", "confidence"] }