2022-05-11 22:47:31 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
2023-01-04 05:36:56 +00:00
|
|
|
"description": "NginxTemplateObject",
|
2022-05-11 22:47:31 +00:00
|
|
|
"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",
|
|
|
|
"name",
|
2023-01-04 05:36:56 +00:00
|
|
|
"type",
|
2022-05-11 22:47:31 +00:00
|
|
|
"template"
|
|
|
|
],
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength": 1
|
|
|
|
},
|
2023-01-04 05:36:56 +00:00
|
|
|
"type": {
|
2022-05-11 22:47:31 +00:00
|
|
|
"type": "string",
|
2023-01-04 05:36:56 +00:00
|
|
|
"pattern": "^proxy|redirect|dead|stream|upstream$"
|
2022-05-11 22:47:31 +00:00
|
|
|
},
|
|
|
|
"template": {
|
|
|
|
"type": "string",
|
|
|
|
"minLength": 20
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|