{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Certificate",
  "type": "object",
  "description": "A Certificate object represents a public certificate for TLS termination.",
  "properties": {
    "id": {
      "type": "string"
    },
    "cert": {
      "type": "string",
      "description": "PEM-encoded public certificate chain."
    },
    "key": {
      "type": "string",
      "description": "PEM-encoded private key of the certificate."
    },
    "cert_alt": {
      "type": "string",
      "description": "PEM-encoded public certificate chain of the alternate certificate."
    },
    "key_alt": {
      "type": "string",
      "description": "PEM-encoded private key of the alternate certificate."
    },
    "snis": {
      "type": "array",
      "description": "The list of SNI hostnames associated with this certificate."
    },
    "tags": {
      "type": "array"
    },
    "created_at": {
      "type": "integer"
    },
    "updated_at": {
      "type": "integer"
    }
  }
}