Files
matrix-authentication-service/policies/schema/email_input.json
T

35 lines
784 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "EmailInput",
"description": "Input for the email add policy.",
"type": "object",
"required": [
"email",
"requester"
],
"properties": {
"email": {
"type": "string"
},
"requester": {
"$ref": "#/definitions/Requester"
}
},
"definitions": {
"Requester": {
"description": "Identity of the requester",
"type": "object",
"properties": {
"ip_address": {
"description": "IP address of the entity making the request",
"type": "string",
"format": "ip"
},
"user_agent": {
"description": "User agent of the entity making the request",
"type": "string"
}
}
}
}
}