{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firecracker/json-schema/firecracker-snapshot-create-params-schema.json",
  "title": "SnapshotCreateParams",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/firecracker-snapshot-api-openapi.yml#/components/schemas/SnapshotCreateParams",
  "type": "object",
  "required": [
    "mem_file_path",
    "snapshot_path"
  ],
  "properties": {
    "mem_file_path": {
      "type": "string",
      "description": "Path to the file that will contain the guest memory."
    },
    "snapshot_path": {
      "type": "string",
      "description": "Path to the file that will contain the microVM state."
    },
    "snapshot_type": {
      "type": "string",
      "enum": [
        "Full",
        "Diff"
      ],
      "description": "Type of snapshot to create. It is optional and by default, a full snapshot is created."
    }
  }
}