{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-certificate-manager/json-schema/google-cloud-certificate-manager-certificate-map-entry-schema.json",
  "title": "CertificateMapEntry",
  "description": "Defines a certificate map entry.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-certificate-manager-certificatemanager-projects-api-openapi.yml#/components/schemas/CertificateMapEntry",
  "type": "object",
  "properties": {
    "name": {
      "description": "Identifier. A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.",
      "type": "string"
    },
    "certificates": {
      "description": "Optional. A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "updateTime": {
      "readOnly": true,
      "format": "google-datetime",
      "type": "string",
      "description": "Output only. The update timestamp of a Certificate Map Entry."
    },
    "state": {
      "readOnly": true,
      "description": "Output only. A serving state of this Certificate Map Entry.",
      "enum": [
        "SERVING_STATE_UNSPECIFIED",
        "ACTIVE",
        "PENDING"
      ],
      "type": "string"
    },
    "matcher": {
      "type": "string",
      "enum": [
        "MATCHER_UNSPECIFIED",
        "PRIMARY"
      ],
      "description": "A predefined matcher for particular cases, other than SNI selection."
    },
    "description": {
      "description": "Optional. One or more paragraphs of text description of a certificate map entry.",
      "type": "string"
    },
    "labels": {
      "description": "Optional. Set of labels associated with a Certificate Map Entry.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "hostname": {
      "description": "A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.",
      "type": "string"
    },
    "createTime": {
      "description": "Output only. The creation timestamp of a Certificate Map Entry.",
      "format": "google-datetime",
      "type": "string",
      "readOnly": true
    }
  }
}