{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-tool-import-request-schema.json",
  "title": "ToolImportRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcnm-io-import-api-openapi.yml#/components/schemas/ToolImportRequest",
  "properties": {
    "csv": {
      "type": "string",
      "maxLength": 1000000,
      "minLength": 1,
      "title": "Csv",
      "description": "The tool list as CSV text (headered). Columns: name, kind — plus optional diameter_mm, teeth, cutting_material, price_eur, tool_life_min, vendor, item_no, coating, notes, and any kind-specific property as its own column (e.g. kerf_mm, blade_type and format for a saw blade, life_quantity for non-rotating tools). An empty cutting_material is read as carbide for every kind, saw blades included — state it (e.g. hss_e) for a tool that is not carbide. At most 1000 data rows."
    },
    "env_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Env Id",
      "description": "Costing environment the tools join; omit for your default environment."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "csv"
  ]
}