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

36 lines
863 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ClientRegistrationInput",
"description": "Input for the client registration policy.",
"type": "object",
"required": [
"client_metadata",
"requester"
],
"properties": {
"client_metadata": {
"type": "object",
"additionalProperties": true
},
"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"
}
}
}
}
}