{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hostinger/main/json-schema/hostinger-agency-hosting-v1-ssl-ssl-status-resource-schema.json",
  "title": "AgencyHosting.V1.Ssl.SslStatusResource",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostinger-agency-hosting-ssl-api-openapi.yml#/components/schemas/AgencyHosting.V1.Ssl.SslStatusResource",
  "required": [
    "status",
    "is_custom",
    "expires_at"
  ],
  "properties": {
    "status": {
      "description": "`installing` while a certificate setup is running or retrying, `active` when a valid\ncertificate is in place (uploaded, platform-issued, or a lifetime certificate bought for\nthe domain), `failed` when the last setup gave up and no valid certificate is in place,\n`expired` when the certificate has run out, `not_installed` when the domain has no\ncertificate and no setup process.",
      "type": "string",
      "enum": [
        "not_installed",
        "installing",
        "failed",
        "active",
        "expired"
      ]
    },
    "is_custom": {
      "description": "Whether the certificate was uploaded by the customer instead of issued or sold by the\nplatform.",
      "type": "boolean"
    },
    "expires_at": {
      "description": "End of the validity period of the certificate in place; null when there is none or the\nuploaded certificate carries no expiry.",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "type": "object"
}