2022-05-11 22:47:31 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"description": "UserObject",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"id",
|
2023-05-28 22:50:27 +00:00
|
|
|
"created_at",
|
|
|
|
"updated_at",
|
2022-05-11 22:47:31 +00:00
|
|
|
"name",
|
|
|
|
"nickname",
|
|
|
|
"email",
|
|
|
|
"is_disabled"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
|
|
|
},
|
2023-05-28 22:50:27 +00:00
|
|
|
"created_at": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1,
|
|
|
|
"description": "Created Unix time with milliseconds"
|
|
|
|
},
|
|
|
|
"updated_at": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1,
|
|
|
|
"description": "Updated Unix time with milliseconds"
|
|
|
|
},
|
2022-05-11 22:47:31 +00:00
|
|
|
"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"
|
|
|
|
},
|
2023-05-30 06:02:02 +00:00
|
|
|
"is_system": {
|
2022-05-11 22:47:31 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|