{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimerobot/json-schema/uptimerobot-psp-dto-schema.json",
  "title": "PspDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimerobot-public-status-pages-api-openapi.yml#/components/schemas/PspDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 0
    },
    "friendlyName": {
      "type": "string",
      "minLength": 1
    },
    "customDomain": {
      "type": [
        "string",
        "null"
      ]
    },
    "isPasswordSet": {
      "type": "boolean"
    },
    "monitorIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "number"
      }
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "monitorsCount": {
      "type": [
        "number",
        "null"
      ]
    },
    "status": {},
    "urlKey": {
      "type": "string",
      "minLength": 1
    },
    "homepageLink": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 3
    },
    "gaCode": {
      "type": [
        "string",
        "null"
      ]
    },
    "shareAnalyticsConsent": {
      "type": "boolean"
    },
    "useSmallCookieConsentModal": {
      "type": "boolean"
    },
    "icon": {
      "type": [
        "string",
        "null"
      ]
    },
    "noIndex": {
      "type": "boolean"
    },
    "logo": {
      "type": [
        "string",
        "null"
      ]
    },
    "hideUrlLinks": {
      "type": "boolean"
    },
    "subscription": {
      "type": "boolean"
    },
    "showCookieBar": {
      "type": "boolean"
    },
    "pinnedAnnouncementId": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "customSettings": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "font": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "family": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "family"
          ]
        },
        "page": {
          "type": "object",
          "properties": {
            "layout": {
              "type": "string"
            },
            "theme": {
              "type": "string",
              "enum": [
                "light",
                "dark"
              ]
            },
            "density": {
              "type": "string",
              "enum": [
                "normal",
                "compact"
              ]
            }
          }
        },
        "colors": {
          "type": "object",
          "properties": {
            "main": {
              "type": [
                "string",
                "null"
              ]
            },
            "text": {
              "type": [
                "string",
                "null"
              ]
            },
            "link": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "main",
            "text",
            "link"
          ]
        },
        "features": {
          "type": "object",
          "properties": {
            "showBars": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "showUptimePercentage": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "enableFloatingStatus": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "showOverallUptime": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "showOutageUpdates": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "showOutageDetails": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "enableDetailsPage": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "showMonitorURL": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            },
            "hidePausedMonitors": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "true",
                "false"
              ]
            }
          },
          "required": [
            "showUptimePercentage"
          ]
        }
      }
    }
  },
  "required": [
    "id",
    "friendlyName",
    "customDomain",
    "isPasswordSet",
    "monitorIds",
    "tagIds",
    "monitorsCount",
    "status",
    "urlKey",
    "homepageLink",
    "gaCode",
    "shareAnalyticsConsent",
    "useSmallCookieConsentModal",
    "icon",
    "noIndex",
    "logo",
    "hideUrlLinks",
    "subscription",
    "showCookieBar",
    "pinnedAnnouncementId",
    "customSettings"
  ]
}