{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-changelog-page-schema.json",
  "title": "ChangelogPage",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-changelogs-api-openapi.yml#/components/schemas/ChangelogPage",
  "properties": {
    "count": {
      "description": "The total number of results available.",
      "format": "int32",
      "type": "integer"
    },
    "items": {
      "description": "The list of items retrieved.",
      "items": {
        "$ref": "#/$defs/Changelog"
      },
      "type": "array"
    },
    "limit": {
      "description": "The number of results retrieved.",
      "format": "int32",
      "type": "integer"
    },
    "offset": {
      "description": "The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.",
      "format": "int32",
      "type": "integer"
    }
  },
  "type": "object",
  "$defs": {
    "Changelog": {
      "properties": {
        "entityName": {
          "description": "The name of the device, manager or service to which the Change Log refers.",
          "type": "string"
        },
        "entityUid": {
          "description": "The unique identifier, represented as a UUID, of the device, manager or service to which the Change Log refers.",
          "format": "uuid",
          "type": "string"
        },
        "events": {
          "description": "The events recorded in this Change Log.",
          "items": {
            "$ref": "#/$defs/Event"
          },
          "type": "array"
        },
        "lastEventDate": {
          "description": "The time (UTC; represented using the RFC-3339 standard) at which the last event in the changelog occurred. You can perform range queries on this endpoint using the syntax `[lastEventDate:YYYY-MM-ddTHH:mm:ssZ TO lastEventDate:YYYY-MM-ddTHH:mm:ssZ]`: please note that this will need to be URL-encoded.",
          "format": "date-time",
          "type": "string"
        },
        "status": {
          "description": "The status of the Change Log.",
          "enum": [
            "ACTIVE",
            "COMPLETED",
            "UNKNOWN"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier, represented as a UUID, of the Change Log.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "uid"
      ],
      "type": "object"
    },
    "Event": {
      "properties": {
        "action": {
          "description": "The action performed.",
          "enum": [
            "CREATE",
            "UPDATE",
            "DELETE",
            "ERROR",
            "UNKNOWN"
          ],
          "type": "string"
        },
        "changeRequestName": {
          "description": "The name of the Change Request associated with the Change Log event.",
          "type": "string"
        },
        "changeRequestUid": {
          "description": "The unique identifier, represented as a UUID, of the Change Request associated with the Change Log event.",
          "format": "uuid",
          "type": "string"
        },
        "commands": {
          "description": "The commands executed, if any, by the Change Log event.",
          "type": "string"
        },
        "date": {
          "description": "The time (UTC; represented using the RFC-3339 standard) at which the Change Log Event occurred.",
          "format": "date-time",
          "type": "string"
        },
        "description": {
          "description": "A human-readable description of the Change Log event.",
          "type": "string"
        },
        "diff": {
          "description": "A textual Diff representation of the changes made to the configuration.",
          "type": "string"
        },
        "username": {
          "description": "The username of the user that triggered the Change Log event.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}