Commit a848cf80 authored by Bastien Durel's avatar Bastien Durel
Browse files

more patterns

parent e92dfd5b
......@@ -40,8 +40,9 @@
"$id": "#/properties/contact-info",
"type": "string",
"examples": [
"devnull@emaple.com"
]
"devnull@example.com"
],
"pattern": "^.+@.+$"
},
"report-id": {
"$id": "#/properties/report-id",
......@@ -71,7 +72,8 @@
"properties": {
"policy-type": {
"$id": "#/properties/policies/items/properties/policy/properties/policy-type",
"type": "string"
"type": "string",
"pattern": "^(tlsa|sts|no-policy-found)$"
},
"policy-string": {
"$id": "#/properties/policies/items/properties/policy/properties/policy-string",
......@@ -129,7 +131,8 @@
},
"sending-mta-ip": {
"$id": "#/properties/policies/items/properties/failure-details/items/properties/sending-mta-ip",
"type": "string"
"type": "string",
"pattern": "^[0-9a-fA-F\\.:]+$"
},
"receiving-mx-hostname": {
"$id": "#/properties/policies/items/properties/failure-details/items/properties/receiving-mx-hostname",
......@@ -141,7 +144,8 @@
},
"receiving-ip": {
"$id": "#/properties/policies/items/properties/failure-details/items/properties/receiving-ip",
"type": "string"
"type": "string",
"pattern": "^[0-9a-fA-F\\.:]+$"
},
"failed-session-count": {
"$id": "#/properties/policies/items/properties/failure-details/items/properties/failed-session-count",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment