From 917311f69061ed5dff41b11e8043bafb167132fa Mon Sep 17 00:00:00 2001 From: LennyN95 Date: Sat, 13 Apr 2024 14:14:07 +0200 Subject: [PATCH] update model metadata schema model weight date can be empty for algorithmic models --- .github/schemas/meta.schema.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/schemas/meta.schema.json b/.github/schemas/meta.schema.json index ba27ad3c..9bc6d70d 100644 --- a/.github/schemas/meta.schema.json +++ b/.github/schemas/meta.schema.json @@ -313,9 +313,17 @@ "type": "object", "properties": { "weights": { - "type": "string", "description": "The date of model weights (yyy-mm-dd).", - "format": "date" + "anyOf": [ + { + "type": "string", + "format": "date" + }, + { + "type": "string", + "maxLength": 0 + } + ] }, "code": { "type": "string",