mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-10 23:47:05 +00:00
36 lines
863 B
JSON
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"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |