JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://suporte.inspire4u.com.br/schemas/eksp/v1/status.schema.json",
"title": "Status do serviço",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"status",
"updated_at"
],
"properties": {
"status": {
"type": "string",
"enum": [
"operational",
"degraded",
"partial_outage",
"major_outage",
"maintenance"
]
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"components": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"status"
],
"properties": {
"name": {
"type": "string"
},
"status": {
"type": "string"
}
}
}
},
"incidents": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"status"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"investigating",
"identified",
"monitoring",
"resolved",
"scheduled"
]
},
"severity": {
"type": "string",
"enum": [
"minor",
"major",
"critical",
"maintenance"
]
},
"started_at": {
"type": [
"string",
"null"
]
},
"resolved_at": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"body": {
"type": "string"
}
}
}
}
}
}
}
}
Encontrou algo para melhorar? Escreva para master@inspire4u.com.br.