Skip to content

Commit ff315fa

Browse files
committed
Make schema check more precise for $self
Co-authored by: Karen Etheridge <[email protected]>
1 parent 10bec93 commit ff315fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/schemas/validation/schema.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ properties:
1111
$self:
1212
type: string
1313
format: uri-reference
14+
$comment: MUST NOT be empty, and MUST NOT contain a fragment
15+
pattern: '^[^#]+$'
1416
info:
1517
$ref: '#/$defs/info'
1618
jsonSchemaDialect:

0 commit comments

Comments
 (0)