2022-05-11 22:47:31 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"description": "HostObject",
|
|
|
|
"additionalProperties": false,
|
|
|
|
"required": [
|
|
|
|
"id",
|
2023-05-28 22:50:27 +00:00
|
|
|
"created_at",
|
|
|
|
"updated_at",
|
2022-05-11 22:47:31 +00:00
|
|
|
"user_id",
|
|
|
|
"provider",
|
|
|
|
"name",
|
|
|
|
"domain_names"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
|
|
|
},
|
2023-05-28 22:50:27 +00:00
|
|
|
"created_at": {
|
2022-05-11 22:47:31 +00:00
|
|
|
"type": "integer",
|
2023-05-28 22:50:27 +00:00
|
|
|
"minimum": 1,
|
|
|
|
"description": "Created Unix time with milliseconds"
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
2023-05-28 22:50:27 +00:00
|
|
|
"updated_at": {
|
2022-05-11 22:47:31 +00:00
|
|
|
"type": "integer",
|
2023-05-28 22:50:27 +00:00
|
|
|
"minimum": 1,
|
|
|
|
"description": "Updated Unix time with milliseconds"
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
|
|
|
"user_id": {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 1
|
|
|
|
},
|
|
|
|
"provider": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength": 1,
|
|
|
|
"maxLength": 100
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength": 1,
|
|
|
|
"maxLength": 100
|
|
|
|
},
|
|
|
|
"domain_names": {
|
|
|
|
"type": "array",
|
|
|
|
"minItems": 1,
|
|
|
|
"items": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength": 4
|
|
|
|
}
|
2023-01-13 23:50:32 +00:00
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"$ref": "#/components/schemas/UserObject"
|
2022-05-11 22:47:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|