Skip to content

Commit

Permalink
input: remove regex pattern for edtf
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bdarcus committed Jun 3, 2022
1 parent 75a879d commit 5dabcc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions schemas/input/csl-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit 5dabcc5

Please sign in to comment.