{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-machine-import-request-schema.json",
  "title": "MachineImportRequest",
  "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/MachineImportRequest",
  "properties": {
    "csv": {
      "type": "string",
      "maxLength": 512000,
      "minLength": 1,
      "title": "Csv",
      "description": "The machine list as CSV text (headered; comma, semicolon or tab separated). Columns: name, class, hourly_rate_eur — plus optional operator_eur_per_h, envelope_x_mm / envelope_y_mm / envelope_z_mm, spindle_power_kw and priority. Header spellings are matched tolerantly; at most 500 data rows."
    },
    "env_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Env Id",
      "description": "Costing environment the machines join; omit for your default environment."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "csv"
  ]
}