{
  "swagger": "2.0",
  "info": {
    "version": "2018-01-01",
    "title": "Schema of Azure Key Vault events published to Azure Event Grid",
    "description": "Describes the schema of the Azure Key Vault events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
  },
  "paths": {},
  "definitions": {
    "KeyVaultCertificateNewVersionCreatedEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateNewVersionCreated event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultCertificateNearExpiryEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateNearExpiry event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultCertificateExpiredEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateExpired event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultKeyNewVersionCreatedEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.KeyNewVersionCreated event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultKeyNearExpiryEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.KeyNearExpiry event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultKeyExpiredEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.KeyExpired event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultSecretNewVersionCreatedEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretNewVersionCreated event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultSecretNearExpiryEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretNearExpiry event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultSecretExpiredEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretExpired event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    },
    "KeyVaultVaultAccessPolicyChangedEventData": {
      "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.VaultAccessPolicyChanged event.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The id of the object that triggered this event.",
          "type": "string"
        },
        "VaultName": {
          "description": "Key vault name of the object that triggered this event.",
          "type": "string"
        },
        "ObjectType": {
          "description": "The type of the object that triggered this event",
          "type": "string"
        },
        "ObjectName": {
          "description": "The name of the object that triggered this event",
          "type": "string"
        },
        "Version": {
          "description": "The version of the object that triggered this event",
          "type": "string"
        },
        "NBF": {
          "description": "Not before date of the object that triggered this event",
          "type": "number"
        },
        "EXP": {
          "description": "The expiration date of the object that triggered this event",
          "type": "number"
        }
      }
    }
  }
}