Skip to content

Commit abf9328

Browse files
committed
meta-schemas: Add a pattern for maintainers emails
The jsonschema package doesn't do anything validation with 'format: email' because 'it's hard'. For our purposes, the requirements are a bit simpler. A local, not fully qualified, email address is not accepted so we can require at least a '@' character is present. Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 0312151 commit abf9328

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dtschema/meta-schemas/base.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ properties:
3939
maintainers:
4040
type: array
4141
items:
42+
pattern: '@'
4243
type: string
4344
format: email
4445

0 commit comments

Comments
 (0)