From ed962ccc89eb8de833d6496cbd3556246fb8702a Mon Sep 17 00:00:00 2001 From: Kostiantyn Dvornik Date: Tue, 27 Feb 2024 21:51:14 +0200 Subject: [PATCH] chore: database-source id: string or number --- schema/system/database_source.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/schema/system/database_source.json b/schema/system/database_source.json index 9ab81be20..740d70d03 100644 --- a/schema/system/database_source.json +++ b/schema/system/database_source.json @@ -7,7 +7,14 @@ "properties": { "id": { "description": "ID string for the materials uploaded from a third party source inside the third party source. For materialsproject.org an example ID is mp-32", - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, "source": { "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",