From 8bbd3d7550307b6ccd134406591c9fc807f1aaaf Mon Sep 17 00:00:00 2001 From: rly Date: Mon, 29 Jul 2024 18:13:21 -0700 Subject: [PATCH] Fix missing asterisk for dandiset license --- src/schemas/json/dandi/create.json | 39 +++++++++++++----------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/src/schemas/json/dandi/create.json b/src/schemas/json/dandi/create.json index faedd35041..5309605522 100644 --- a/src/schemas/json/dandi/create.json +++ b/src/schemas/json/dandi/create.json @@ -37,29 +37,24 @@ }, "license": { - "type": "array", - "description": "Provide a set of licenses for this Dandiset. Review the individual licenses and select the one that best fits your needs.", - "items": { - "type": "string", - "enumLinks": { - "spdx:CC0-1.0": "https://creativecommons.org/public-domain/cc0/", - "spdx:CC-BY-4.0": "https://creativecommons.org/licenses/by/4.0/deed.en" - }, - "enumKeywords": { - "spdx:CC0-1.0": ["No Rights Reserved"], - "spdx:CC-BY-4.0": ["Attribution 4.0 International"] - }, - "enumLabels": { - "spdx:CC0-1.0": "CC0 1.0", - "spdx:CC-BY-4.0": "CC BY 4.0" - }, - "enum": [ - "spdx:CC0-1.0", - "spdx:CC-BY-4.0" - ] + "type": "string", + "description": "Provide a license for this Dandiset. Review the individual licenses and select the one that best fits your needs.", + "enumLinks": { + "spdx:CC0-1.0": "https://creativecommons.org/public-domain/cc0/", + "spdx:CC-BY-4.0": "https://creativecommons.org/licenses/by/4.0/deed.en" + }, + "enumKeywords": { + "spdx:CC0-1.0": ["No Rights Reserved"], + "spdx:CC-BY-4.0": ["Attribution 4.0 International"] + }, + "enumLabels": { + "spdx:CC0-1.0": "CC0 1.0", + "spdx:CC-BY-4.0": "CC BY 4.0" }, - "maxItems": 1, - "uniqueItems": true, + "enum": [ + "spdx:CC0-1.0", + "spdx:CC-BY-4.0" + ], "strict": true },