{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-secret-manager/json-schema/google-cloud-secret-manager-secret-version-schema.json",
  "title": "SecretVersion",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-cloud-secret-manager-secret-versions-api-openapi.yml#/components/schemas/SecretVersion",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Resource name of the secret version."
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the version was created."
    },
    "destroyTime": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the version was destroyed."
    },
    "state": {
      "type": "string",
      "enum": [
        "STATE_UNSPECIFIED",
        "ENABLED",
        "DISABLED",
        "DESTROYED"
      ],
      "description": "Current state of the secret version."
    },
    "etag": {
      "type": "string",
      "description": "Entity tag for optimistic concurrency control."
    },
    "replicationStatus": {
      "type": "object",
      "description": "Replication status of the secret version."
    },
    "clientSpecifiedPayloadChecksum": {
      "type": "boolean",
      "description": "Whether client specified a payload checksum."
    }
  }
}