From 85c1c83f0677601bb50943e0ae53840ebb982f88 Mon Sep 17 00:00:00 2001 From: Bruce D'Arcus Date: Fri, 3 Jun 2022 10:41:17 -0400 Subject: [PATCH] input: remove regex pattern for edtf This may not be the ideal long-term solution, but a regex isn't well-suited to validating an edtf string. In the future, we may want to use a dedicated 'format' property here. See #421 --- schemas/input/csl-data.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/schemas/input/csl-data.json b/schemas/input/csl-data.json index b44f074..79e0a02 100644 --- a/schemas/input/csl-data.json +++ b/schemas/input/csl-data.json @@ -99,8 +99,7 @@ "edtf-string": { "title": "EDTF date string", "description": "CSL input supports EDTF, levels 0 and 1.", - "type": "string", - "pattern": "^[0-9-%~X?./]{4,}$" + "type":"string" }, "date-object-v2": { "title": "Date Object (v2)",