{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unity-catalog/json-schema/unity-catalog-create-volume-request-content-schema.json",
  "title": "CreateVolumeRequestContent",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unity-catalog-volumes-api-openapi.yml#/components/schemas/CreateVolumeRequestContent",
  "type": "object",
  "properties": {
    "catalog_name": {
      "type": "string",
      "description": "The name of the catalog where the schema and the volume are"
    },
    "schema_name": {
      "type": "string",
      "description": "The name of the schema where the volume is"
    },
    "name": {
      "type": "string",
      "description": "The name of the volume"
    },
    "volume_type": {
      "$ref": "#/$defs/VolumeType"
    },
    "comment": {
      "type": "string",
      "maxLength": 65536,
      "minLength": 1,
      "description": "The comment attached to the volume"
    },
    "storage_location": {
      "type": "string",
      "description": "The storage location of the volume"
    }
  },
  "required": [
    "catalog_name",
    "schema_name",
    "name",
    "volume_type"
  ],
  "$defs": {
    "VolumeType": {
      "type": "string",
      "enum": [
        "MANAGED",
        "EXTERNAL"
      ],
      "description": "The type of the volume"
    }
  }
}