87 lines
2.6 KiB
Text
87 lines
2.6 KiB
Text
|
// NOTE: JSON5 is not supported! Change the extension to `json` and remove the comments.
|
||
|
// NOTE: This example _may be_ obsolete. Check [src/db.ts] for the full schema.
|
||
|
{
|
||
|
"metadata": {
|
||
|
"title": "Example"
|
||
|
},
|
||
|
"statuses": {
|
||
|
"working": {
|
||
|
"displayName": "Working",
|
||
|
"color": "#26a269",
|
||
|
"description": "The service is up and running"
|
||
|
},
|
||
|
"unstable": {
|
||
|
"displayName": "Unstable",
|
||
|
"color": "#e5a50a",
|
||
|
"description": "The service may have some short-lived problems"
|
||
|
},
|
||
|
"degraded": {
|
||
|
"displayName": "Degraded",
|
||
|
"color": "#c64600",
|
||
|
"description": "There are known issues being resolved right now"
|
||
|
},
|
||
|
"down": {
|
||
|
"display": "Down",
|
||
|
"color": "#a51d2d",
|
||
|
"description": "The service is down"
|
||
|
},
|
||
|
"deprecated": {
|
||
|
"display": "Deprecated",
|
||
|
"color": "#613583",
|
||
|
"description": "Status of this service is not tracked and it may be turned off at any time"
|
||
|
}
|
||
|
},
|
||
|
"notices": [
|
||
|
{
|
||
|
"title": "Maintenance of the CDN",
|
||
|
"expectedStatus": "unstable", // Optional
|
||
|
"affectedServices": ["cdn", "invidious"], // Optional
|
||
|
"expectedDuration": { // Optional
|
||
|
"from": 1698408000000, // Result of Date.UTC(...)
|
||
|
"to": 1698494400000
|
||
|
},
|
||
|
"description": "The CDN is going to be in maintenance for some time"
|
||
|
}
|
||
|
],
|
||
|
"services": {
|
||
|
"cdn": {
|
||
|
"displayName": "CDN",
|
||
|
"link": "https://cdn.sofiaritz.com", // The link is optional
|
||
|
"description": "CDN used to host things like GFonts",
|
||
|
"status": "working"
|
||
|
},
|
||
|
"invidious": {
|
||
|
"displayName": "Invidious",
|
||
|
"description": "Invite-only Invidious instance",
|
||
|
"status": "unstable",
|
||
|
"updates": [
|
||
|
{
|
||
|
"time": 1698348215919,
|
||
|
"description": "**Monitoring** ‐ A fix has been implemented and the result are being monitored.",
|
||
|
"author": "Sofía Aritz" // The author is optional
|
||
|
},
|
||
|
{
|
||
|
"time": 169834801889, // The result of `Date.now()`
|
||
|
"description": "**Investigating** ‐ Log-in is not working properly."
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"contact": [
|
||
|
{
|
||
|
"name": "Sofía Aritz",
|
||
|
"links": [
|
||
|
{
|
||
|
"name": "E-Mail",
|
||
|
"href": "mailto:sofi@sofiaritz.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "Matrix",
|
||
|
"href": "https://matrix.to/#/@sofiaritz:matrix.org"
|
||
|
}
|
||
|
],
|
||
|
"gravatarEmail": "sofi@sofiaritz.com", // This is optional
|
||
|
"additionalInfo": "My PGP key is available at [sofiaritz.com/keys/pub.asc](https://sofiaritz.com/keys/pub.asc)" // This is optional
|
||
|
}
|
||
|
]
|
||
|
}
|