Firecracker · Schema

Drive

Amazon Web ServicesContainersMicroVMOpen SourceServerlessVirtualizationKVM

Properties

Name Type Description
drive_id string
partuuid string Represents the unique id of the boot partition of this device. It is optional and it will be taken into account only if the is_root_device field is true.
is_root_device boolean
cache_type string Represents the caching strategy for the block device.
is_read_only boolean Is block read only. This field is required for virtio-block config and should be omitted for vhost-user-block configuration.
path_on_host string Host level path for the guest drive. This field is required for virtio-block config and should be omitted for vhost-user-block configuration.
rate_limiter object
io_engine string Type of the IO engine used by the device. "Async" is supported on host kernels newer than 5.10.51. This field is optional for virtio-block config and should be omitted for vhost-user-block configurati
socket string Path to the socket of vhost-user-block backend. This field is required for vhost-user-block config should be omitted for virtio-block configuration.
View JSON Schema on GitHub

JSON Schema

firecracker-drive-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/firecracker/json-schema/firecracker-drive-schema.json",
  "title": "Drive",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/firecracker-drives-api-openapi.yml#/components/schemas/Drive",
  "type": "object",
  "required": [
    "drive_id",
    "is_root_device"
  ],
  "properties": {
    "drive_id": {
      "type": "string"
    },
    "partuuid": {
      "type": "string",
      "description": "Represents the unique id of the boot partition of this device. It is optional and it will be taken into account only if the is_root_device field is true."
    },
    "is_root_device": {
      "type": "boolean"
    },
    "cache_type": {
      "type": "string",
      "description": "Represents the caching strategy for the block device.",
      "enum": [
        "Unsafe",
        "Writeback"
      ],
      "default": "Unsafe"
    },
    "is_read_only": {
      "type": "boolean",
      "description": "Is block read only. This field is required for virtio-block config and should be omitted for vhost-user-block configuration."
    },
    "path_on_host": {
      "type": "string",
      "description": "Host level path for the guest drive. This field is required for virtio-block config and should be omitted for vhost-user-block configuration."
    },
    "rate_limiter": {
      "$ref": "#/$defs/RateLimiter"
    },
    "io_engine": {
      "type": "string",
      "description": "Type of the IO engine used by the device. \"Async\" is supported on host kernels newer than 5.10.51. This field is optional for virtio-block config and should be omitted for vhost-user-block configuration.",
      "enum": [
        "Sync",
        "Async"
      ],
      "default": "Sync"
    },
    "socket": {
      "type": "string",
      "description": "Path to the socket of vhost-user-block backend. This field is required for vhost-user-block config should be omitted for virtio-block configuration."
    }
  },
  "$defs": {
    "RateLimiter": {
      "type": "object",
      "description": "Defines an IO rate limiter with independent bytes/s and ops/s limits. Limits are defined by configuring each of the _bandwidth_ and _ops_ token buckets. This field is optional for virtio-block config and should be omitted for vhost-user-block configuration.",
      "properties": {
        "bandwidth": {
          "$ref": "#/$defs/TokenBucket",
          "description": "Token bucket with bytes as tokens"
        },
        "ops": {
          "$ref": "#/$defs/TokenBucket",
          "description": "Token bucket with operations as tokens"
        }
      }
    },
    "TokenBucket": {
      "type": "object",
      "description": "Defines a token bucket with a maximum capacity (size), an initial burst size (one_time_burst) and an interval for refilling purposes (refill_time). The refill-rate is derived from size and refill_time, and it is the constant rate at which the tokens replenish. The refill process only starts happening after the initial burst budget is consumed. Consumption from the token bucket is unbounded in speed which allows for bursts bound in size by the amount of tokens available. Once the token bucket is empty, consumption speed is bound by the refill_rate.",
      "required": [
        "refill_time",
        "size"
      ],
      "properties": {
        "one_time_burst": {
          "type": "integer",
          "format": "int64",
          "description": "The initial size of a token bucket.",
          "minimum": 0
        },
        "refill_time": {
          "type": "integer",
          "format": "int64",
          "description": "The amount of milliseconds it takes for the bucket to refill.",
          "minimum": 0
        },
        "size": {
          "type": "integer",
          "format": "int64",
          "description": "The total number of tokens this bucket can hold.",
          "minimum": 0
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/firecracker-drive"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.