File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,8 @@ const core = {
142
142
// relative JSON-pointer: http://tools.ietf.org/html/draft-luff-relative-json-pointer-00
143
143
'relative-json-pointer' : / ^ (?: 0 | [ 1 - 9 ] [ 0 - 9 ] * ) (?: | # | \/ (?: [ ^ ~ ] | ~ 0 | ~ 1 ) * ) $ / ,
144
144
145
- // matches ajv + unwrap nested group
146
145
// uuid: http://tools.ietf.org/html/rfc4122
147
- uuid : / ^ (?: u r n : u u i d : ) ? [ 0 - 9 a - f ] { 8 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 9 a - f ] { 12 } $ / i,
146
+ uuid : / ^ [ 0 - 9 a - f ] { 8 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 9 a - f ] { 4 } - [ 0 - 9 a - f ] { 12 } $ / i,
148
147
149
148
// length restriction is an arbitrary safeguard
150
149
// first regex checks if this a week duration (can't be combined with others)
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ const unsupported = new Set([
97
97
'rules/format.json/whitelisted unknown format is valid' ,
98
98
'rules/format.json/validation of URL strings' ,
99
99
'rules/format.json/validation of JSON-pointer URI fragment strings' ,
100
+ 'rules/format.json/validation of uuid strings' , // URI form not valid per new spec for { format: 'uuid' }
100
101
'issues/33_json_schema_latest.json/use latest json schema as v4 (#33)' ,
101
102
102
103
// draft-next only, object contains
You can’t perform that action at this time.
0 commit comments