Skip to content

Commit

Permalink
regex into format field to rely on existing fe functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
loki-sinclair-hdruk committed Sep 23, 2024
1 parent 74505ae commit 15f26e7
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions docs/HDRUK/3.0.0.form.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -168,7 +168,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -412,7 +412,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -1363,7 +1363,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -1411,7 +1411,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -1459,7 +1459,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -1507,7 +1507,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand All @@ -1523,7 +1523,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand All @@ -1539,7 +1539,7 @@
"is_optional": true,
"types": {
"title": "Url",
"format": "uri",
"format": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$",
"minLength": 1,
"type": "string"
},
Expand Down Expand Up @@ -1841,6 +1841,5 @@
},
"location": "omics.platform"
}
],
"url_regex": "^\\s*((https?:\\/\\/)*([a-zA-Z0-9-]+\\.?)+[a-zA-Z]{2,}(:\\d+)?(\\/[^\\s]*)?(\n)?)+$"
]
}

0 comments on commit 15f26e7

Please sign in to comment.