Skip to content

Commit

Permalink
Revert to using pattern for expires
Browse files Browse the repository at this point in the history
  • Loading branch information
Fridolin Pokorny committed Sep 14, 2022
1 parent a037d25 commit dba81f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schemas/root.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"expires": {
"type": "string",
"format": "date-time"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
},
"keys": {
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion schemas/snapshot.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"expires": {
"type": "string",
"format": "date-time"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
},
"meta": {
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion schemas/targets.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
},
"expires": {
"type": "string",
"format": "date-time"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
},
"spec_version": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion schemas/timestamp.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"expires": {
"type": "string",
"format": "date-time"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
},
"meta": {
"type": "object",
Expand Down

0 comments on commit dba81f9

Please sign in to comment.