File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ export const formats: {fast: DefinedFormats; full: DefinedFormats} = {
79
79
time : / ^ (?: [ 0 - 2 ] \d : [ 0 - 5 ] \d : [ 0 - 5 ] \d | 2 3 : 5 9 : 6 0 ) (?: \. \d + ) ? (?: z | [ + - ] \d \d (?: : ? \d \d ) ? ) ? $ / i,
80
80
"date-time" : / ^ \d \d \d \d - [ 0 - 1 ] \d - [ 0 - 3 ] \d [ t \s ] (?: [ 0 - 2 ] \d : [ 0 - 5 ] \d : [ 0 - 5 ] \d | 2 3 : 5 9 : 6 0 ) (?: \. \d + ) ? (?: z | [ + - ] \d \d (?: : ? \d \d ) ? ) $ / i,
81
81
// uri: https://github.com/mafintosh/is-my-json-valid/blob/master/formats.js
82
- uri : / ^ (?: [ a - z ] [ a - z 0 - 9 + - . ] * : ) (?: \/ ? \/ ) ? [ ^ \s ] * $ / i,
83
- "uri-reference" : / ^ (?: (?: [ a - z ] [ a - z 0 - 9 + - . ] * : ) ? \/ ? \/ ) ? (?: [ ^ \\ \s # ] [ ^ \s # ] * ) ? (?: # [ ^ \\ \s ] * ) ? $ / i,
82
+ uri : / ^ (?: [ a - z ] [ a - z 0 - 9 + \ -. ] * : ) (?: \/ ? \/ ) ? [ ^ \s ] * $ / i,
83
+ "uri-reference" : / ^ (?: (?: [ a - z ] [ a - z 0 - 9 + \ -. ] * : ) ? \/ ? \/ ) ? (?: [ ^ \\ \s # ] [ ^ \s # ] * ) ? (?: # [ ^ \\ \s ] * ) ? $ / i,
84
84
"uri-template" : URITEMPLATE ,
85
85
url : URL ,
86
86
// email (sources from jsen validator):
You can’t perform that action at this time.
0 commit comments