Skip to content

Commit

Permalink
day/month and strtotime mutually exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed May 14, 2022
1 parent a296cc5 commit 8a66bf4
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions schemas/NationalCalendar.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,25 @@
"description": "supports PHP strtotime string format"
}
},
"required": [
"day",
"month",
"name",
"tag"
"anyOf": [
{
"required": [
"day",
"month",
"name",
"tag"
]
},
{
"required": [
"strtotime",
"name",
"tag",
"common",
"color",
"grade"
]
}
],
"title": "Festivity"
},
Expand Down

0 comments on commit 8a66bf4

Please sign in to comment.