{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-endpoint-certificate-schema.json",
  "title": "EndpointCertificate",
  "description": "Certificate used on an endpoint on the Managed Instance.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-endpointcertificates-api-openapi.yml#/components/schemas/EndpointCertificate",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/EndpointCertificateProperties",
      "description": "Resource properties.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "EndpointCertificateProperties": {
      "type": "object",
      "description": "The properties of an endpoint certificate.",
      "properties": {
        "publicBlob": {
          "type": "string",
          "description": "The certificate public blob"
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}