mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
76 lines
1.2 KiB
JSON
76 lines
1.2 KiB
JSON
{
|
|
"type": "object",
|
|
"description": "UserObject",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"created_at",
|
|
"updated_at",
|
|
"name",
|
|
"nickname",
|
|
"email",
|
|
"is_disabled"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"minimum": 1
|
|
},
|
|
"created_at": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"description": "Created Unix time with milliseconds"
|
|
},
|
|
"updated_at": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"description": "Updated Unix time with milliseconds"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 100
|
|
},
|
|
"nickname": {
|
|
"type": "string",
|
|
"minLength": 2,
|
|
"maxLength": 100
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"minLength": 5,
|
|
"maxLength": 150
|
|
},
|
|
"gravatar_url": {
|
|
"type": "string"
|
|
},
|
|
"is_disabled": {
|
|
"type": "boolean"
|
|
},
|
|
"is_system": {
|
|
"type": "boolean"
|
|
},
|
|
"auth": {
|
|
"type": "object",
|
|
"required": ["type"],
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"pattern": "^password$"
|
|
}
|
|
}
|
|
},
|
|
"capabilities": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
}
|
|
}
|