Skip to content

Commit

Permalink
attempt pattern approach for URL
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed May 11, 2022
1 parent a9ac10e commit bd2ba8b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
8 changes: 7 additions & 1 deletion nations/Europe.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,13 @@
"Martyrs:For a Virgin Martyr",
"Virgins:For One Virgin"
],
"readings": ""
"readings": {
"FIRST_READING": "",
"RESPONSORIAL_PSALM": "",
"SECOND_READING": "",
"ALLELUIA_VERSE": "",
"GOSPEL": ""
}
},
"Metadata": {
"action": "createNew",
Expand Down
10 changes: 1 addition & 9 deletions schemas/CommonDef.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,7 @@
},
"DecreeURL": {
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"http",
"https"
],
"qt-uri-extensions": [
".html",
".pdf"
],
"pattern": "^https?:\\\/\\\/(www\\.)?[a-zA-Z]{1,50}\\.[a-zA-Z]{1,6}([-a-zA-Z0-9()@:%._+~\\\/]*)\\.(html|pdf)$",
"title": "DecreeURL"
},
"Missals": {
Expand Down
3 changes: 3 additions & 0 deletions schemas/WiderRegionCalendar.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
"tag": {
"type": "string"
},
"name": {
"type": "string"
},
"color": {
"$ref": "https://litcal.org/api/dev/schemas/CommonDef.json#/definitions/LitColor"
},
Expand Down

0 comments on commit bd2ba8b

Please sign in to comment.