{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-backup-record-schema.json",
  "title": "BackupRecord",
  "description": "Get details of the backup when backupUUID is provided or get list of all backup.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-backup-api-openapi.yml#/components/schemas/BackupRecord",
  "properties": {
    "backupOptions": {
      "description": "Type of the backup. Possible values are CONFIG, EVENTS, TID, or a combination of these.",
      "items": {
        "enum": [
          "CONFIG",
          "TID",
          "EVENTS"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "backupUUID": {
      "type": "string"
    },
    "creationDate": {
      "description": "Date and time when the backup was created.",
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "fileName": {
      "description": "Name of the backup file.",
      "type": "string"
    },
    "id": {
      "description": "UUID of the individual backup.",
      "type": "string"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "description": "Link to the backup file.",
      "type": "object"
    },
    "metadata": {
      "$ref": "#/$defs/IMetadata",
      "type": "object"
    },
    "name": {
      "description": "Name of the FMC, FTD or container.",
      "type": "string"
    },
    "sizeInMB": {
      "description": "Size of the backup in megabytes.",
      "format": "int32",
      "type": "integer"
    },
    "storageLocation": {
      "description": "Location where the backup is stored. Possible values are LOCAL and REMOTE.",
      "enum": [
        "LOCAL",
        "REMOTE"
      ],
      "type": "string"
    },
    "systemInformation": {
      "description": "System details for the backup.",
      "type": "string"
    },
    "target": {
      "$ref": "#/$defs/IReference",
      "description": "Information about the backup target.",
      "type": "object"
    },
    "type": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ILinks": {
      "description": "This defines the self referencing links for the given resource.",
      "properties": {
        "parent": {
          "description": "Full resource URL path to reference the parent (if any) for this resource.",
          "type": "string"
        },
        "self": {
          "description": "Full resource URL path to reference this particular resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IMetadata": {
      "properties": {
        "domain": {
          "$ref": "#/$defs/IDomain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/IMetadataUser",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/IReadonly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "IMetadataUser": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IReadonly": {
      "properties": {
        "reason": {
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IReference": {
      "description": "Contains reference information.",
      "properties": {
        "id": {
          "description": "Unique identifier representing resource.",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Object containing links to this resource.",
          "type": "object"
        },
        "name": {
          "description": "User chosen resource name.",
          "type": "string"
        },
        "type": {
          "description": "Response object associated with resource.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}