Skip to content

Commit

Permalink
chore: generate config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-designer committed Sep 11, 2023
1 parent 3ef94cc commit 4164577
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions config/schema/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,52 @@
"check"
],
"default": "check"
},
"api": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"server_status": {
"type": "string",
"enum": [
"operational",
"degraded",
"partial_outage",
"major_outage",
"maintenence",
"error"
],
"default": "operational"
},
"server_status_description": {
"type": "string"
},
"server_status_started_at": {
"anyOf": [
{
"allOf": [
{
"type": "string"
},
{
"type": "string",
"format": "date-time"
}
]
},
{
"type": "string",
"format": "date-time"
}
],
"default": "2023-09-11T12:15:13.798Z"
}
},
"additionalProperties": false,
"default": {}
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 4164577

Please sign in to comment.