{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-certificate-schema.json",
  "title": "Certificate",
  "description": "Definition of the certificate.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-certificate-api-openapi.yml#/components/schemas/Certificate",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/CertificateProperties",
      "description": "Gets or sets the properties of the certificate.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "CertificateProperties": {
      "type": "object",
      "description": "Properties of the certificate.",
      "properties": {
        "thumbprint": {
          "type": "string",
          "description": "Gets the thumbprint of the certificate.",
          "readOnly": true
        },
        "expiryTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the expiry time of the certificate.",
          "readOnly": true
        },
        "isExportable": {
          "type": "boolean",
          "description": "Gets the is exportable flag of the certificate.",
          "readOnly": true
        },
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the creation time.",
          "readOnly": true
        },
        "lastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "Gets the last modified time.",
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "Gets or sets the description."
        }
      }
    },
    "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"
        }
      ]
    }
  }
}