{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-messaging-v1-domain-cert-v4-schema.json",
  "title": "messaging.v1.domain_cert_v4",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-linkshortening-api-openapi.yml#/components/schemas/messaging.v1.domain_cert_v4",
  "type": "object",
  "properties": {
    "domain_sid": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 34,
      "maxLength": 34,
      "pattern": "^DN[0-9a-fA-F]{32}$",
      "description": "The unique string that we created to identify the Domain resource."
    },
    "date_updated": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Date that this Domain was last updated."
    },
    "date_expires": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Date that the private certificate associated with this domain expires. You will need to update the certificate before that date to ensure your shortened links will continue to work."
    },
    "date_created": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Date that this Domain was registered to the Twilio platform to create a new Domain object."
    },
    "domain_name": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "Full url path for this domain."
    },
    "certificate_sid": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 34,
      "maxLength": 34,
      "pattern": "^CW[0-9a-fA-F]{32}$",
      "description": "The unique string that we created to identify this Certificate resource."
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "cert_in_validation": {
      "description": "Optional JSON field describing the status and upload date of a new certificate in the process of validation"
    }
  }
}