{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventGatewayDataPlaneCertificate",
  "title": "EventGatewayDataPlaneCertificate",
  "description": "A dataplane certificate.",
  "type": "object",
  "properties": {
    "id": {
      "description": "The unique identifier of the certificate.",
      "type": "string",
      "format": "uuid"
    },
    "certificate": {
      "description": "JSON escaped string of the certificate.",
      "type": "string"
    },
    "name": {
      "description": "The name to identify of the certificate.",
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "x-unicode-pattern": "^[\\p{L}\\p{N}][\\p{L}\\p{N} _\\-\\.:/+']*[\\p{L}\\p{N}]$"
    },
    "description": {
      "description": "A description of the certificate.",
      "type": "string"
    },
    "created_at": {
      "$ref": "#/components/schemas/CreatedAt"
    },
    "updated_at": {
      "$ref": "#/components/schemas/UpdatedAt"
    },
    "metadata": {
      "$ref": "#/components/schemas/CertificateMetadata"
    }
  },
  "required": [
    "id",
    "certificate",
    "created_at",
    "updated_at"
  ]
}