ARCNM · Schema

CalculationCreate

ManufacturingCostingCADEngineering

Properties

Name Type Description
part_revision_id string UUID of the part revision to price.
dataset_link_id object UUID of a specific dataset link to use; omit to use the revision's active primary CAD.
costing_environment_id object UUID of the costing environment (machine rates, region) to price against. Omit to use your organization's default environment (the auto-provisioned default baseline).
costing_environment_ids object Price this part in several environments at once, in comparison order. Each environment becomes one calculation and counts as one against the plan quota. Mutually exclusive with ``costing_environment_i
name object Optional human-readable label; defaults to a timestamped name when omitted.
derived_from_calculation_id object The calculation this one is re-run from — pass it when pricing again after a drawing was attached or from a result's own page, so the new calculation records what it supersedes. Must name a calculatio
lot_size integer Number of identical parts produced per batch (1 to 1,000,000,000).
annual_volume integer Expected yearly quantity, used for amortizing setup over the run (1 to 1,000,000,000). On a re-run (`derived_from_calculation_id`), omitting it keeps the annual volume of the calculation re-run.
material_ref object Free-form material reference (URN, Werkstoffnummer, AISI/SAE code, trade name, or your SKU); resolved to a material grade. Unresolvable values are rejected with 422 material_unresolved plus ranked can
material_grade_id object UUID of a resolved material grade; takes precedence over material_ref when both are supplied. On a re-run (`derived_from_calculation_id`), omitting both it and `material_ref` keeps the material the ca
region object Pricing region override; defaults to the costing environment's region when omitted.
currency object ISO 4217 currency code for the quote; defaults to the costing environment's currency when omitted. Another currency needs an exchange rate from the environment's currency: a code that is not ISO 4217
engine string Pricing engine selector; retained for back-compat and always normalized to the sole engine.
material_is_provided boolean True when the customer supplies the raw material (beigestellt) — the material cost line is set to zero; machining, setup and overheads are billed normally.
provided_stock_kind string Shape of the provided stock. 'near_net_profile' (extruded profile) additionally scopes the process plan to the features the profile does not already provide.
stock_format_id object Price this calculation on one stock format — the `id` of a format from `GET /stock-formats`. An id names the format, not only the version it came from: when the format has been changed since, the vers
stock_format_mm object Price this calculation on a sheet of this size — length and width in mm — instead of a stock format from `GET /stock-formats`: the part is laid out on that one sheet, cut to size by your supplier, and
nest_item_id object Price this calculation's material on its part's line of a job nest — the `id` of a line (`items[].id`) of a job nest that has solved it. The material is then the line's share of the sheets the job nes
full_stock_charge string How the started sheet or bar of the lot is charged: `auto` applies the environment's `full_stock_threshold` (the lot pays the whole piece once its parts fill that share of it, the unused cells credite
language string BCP 47 language for the calculation's captured context (e.g. 'de', 'en'). Part of the calculation's cache identity.
View JSON Schema on GitHub

JSON Schema

arcnm-io-calculation-create-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-calculation-create-schema.json",
  "title": "CalculationCreate",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcnm-io-openapi.yml#/components/schemas/CalculationCreate",
  "properties": {
    "part_revision_id": {
      "type": "string",
      "format": "uuid",
      "title": "Part Revision Id",
      "description": "UUID of the part revision to price."
    },
    "dataset_link_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dataset Link Id",
      "description": "UUID of a specific dataset link to use; omit to use the revision's active primary CAD."
    },
    "costing_environment_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Costing Environment Id",
      "description": "UUID of the costing environment (machine rates, region) to price against. Omit to use your organization's default environment (the auto-provisioned default baseline)."
    },
    "costing_environment_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "type": "array",
          "maxItems": 16,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Costing Environment Ids",
      "description": "Price this part in several environments at once, in comparison order. Each environment becomes one calculation and counts as one against the plan quota. Mutually exclusive with ``costing_environment_id``; duplicates are collapsed preserving first occurrence. The response then carries ``batch_id`` and ``environment_runs``."
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Optional human-readable label; defaults to a timestamped name when omitted."
    },
    "derived_from_calculation_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Derived From Calculation Id",
      "description": "The calculation this one is re-run from — pass it when pricing again after a drawing was attached or from a result's own page, so the new calculation records what it supersedes. Must name a calculation of your organization; the new calculation is its own row and counts as one."
    },
    "lot_size": {
      "type": "integer",
      "maximum": 1000000000.0,
      "minimum": 1.0,
      "title": "Lot Size",
      "description": "Number of identical parts produced per batch (1 to 1,000,000,000).",
      "default": 1
    },
    "annual_volume": {
      "type": "integer",
      "maximum": 1000000000.0,
      "minimum": 1.0,
      "title": "Annual Volume",
      "description": "Expected yearly quantity, used for amortizing setup over the run (1 to 1,000,000,000). On a re-run (`derived_from_calculation_id`), omitting it keeps the annual volume of the calculation re-run.",
      "default": 1
    },
    "material_ref": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Material Ref",
      "description": "Free-form material reference (URN, Werkstoffnummer, AISI/SAE code, trade name, or your SKU); resolved to a material grade. Unresolvable values are rejected with 422 material_unresolved plus ranked candidates. Omit to price the material read from the part's drawing (or the environment default). On a re-run (`derived_from_calculation_id`), omitting both it and `material_grade_id` keeps the material the calculation re-run was asked for (one read from its drawing is read again); send `null` to price the drawing's material instead."
    },
    "material_grade_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Material Grade Id",
      "description": "UUID of a resolved material grade; takes precedence over material_ref when both are supplied. On a re-run (`derived_from_calculation_id`), omitting both it and `material_ref` keeps the material the calculation re-run was asked for (one read from its drawing is read again)."
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region",
      "description": "Pricing region override; defaults to the costing environment's region when omitted."
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "description": "ISO 4217 currency code for the quote; defaults to the costing environment's currency when omitted. Another currency needs an exchange rate from the environment's currency: a code that is not ISO 4217 is refused with 422 `currency_unknown`, one the environment has no exchange rate into with 422 `currency_not_configured`, before any calculation is created."
    },
    "engine": {
      "type": "string",
      "title": "Engine",
      "description": "Pricing engine selector; retained for back-compat and always normalized to the sole engine.",
      "default": "arcnm"
    },
    "material_is_provided": {
      "type": "boolean",
      "title": "Material Is Provided",
      "description": "True when the customer supplies the raw material (beigestellt) — the material cost line is set to zero; machining, setup and overheads are billed normally.",
      "default": false
    },
    "provided_stock_kind": {
      "type": "string",
      "enum": [
        "none",
        "near_net_profile",
        "near_net_casting",
        "sawn_blank"
      ],
      "title": "Provided Stock Kind",
      "description": "Shape of the provided stock. 'near_net_profile' (extruded profile) additionally scopes the process plan to the features the profile does not already provide.",
      "default": "none"
    },
    "stock_format_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stock Format Id",
      "description": "Price this calculation on one stock format — the `id` of a format from `GET /stock-formats`. An id names the format, not only the version it came from: when the format has been changed since, the version current on the day the calculation is created is used. An id your organization cannot price with today (unknown, retired or hidden) is rejected with 422 `stock_format_unresolved`. When the part cannot be cut from that format — too small, not bought in the part's thickness or material, or one the machine cannot load — or is not cut from sheet at all (milled, turned or bought finished), the calculation is priced as if none had been chosen, and `analytics.pipeline_notes` says why (`stock_format_pin_unavailable`). Omit it to price on the format that uses the least material per part. On a re-run (`derived_from_calculation_id`), omitting it keeps the format of the calculation re-run; send `null` to price without one."
    },
    "stock_format_mm": {
      "anyOf": [
        {
          "$ref": "#/$defs/StockFormatMm"
        },
        {
          "type": "null"
        }
      ],
      "description": "Price this calculation on a sheet of this size — length and width in mm — instead of a stock format from `GET /stock-formats`: the part is laid out on that one sheet, cut to size by your supplier, and the purchased stock says `format_source` `custom`. It cannot be combined with `stock_format_id` or `nest_item_id`. When the part does not fit the sheet, or is not cut from sheet stock at all, the calculation is priced as if none had been stated and `analytics.pipeline_notes` says why. On a re-run (`derived_from_calculation_id`), omitting both it and `stock_format_id` keeps the size or format of the calculation re-run; send `null` to price without one."
    },
    "nest_item_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Nest Item Id",
      "description": "Price this calculation's material on its part's line of a job nest — the `id` of a line (`items[].id`) of a job nest that has solved it. The material is then the line's share of the sheets the job nest cut it from together with other parts, less its share of what their skeleton and reusable rests earn back; everything else is priced as usual. The line must be of your organization, of this costing environment and of this part revision, and its job nest must have solved it; otherwise the request is rejected with 422 `nest_item_unresolved`, `details.reason` saying why. It cannot be combined with `stock_format_id` or with customer-supplied material. An upload creates a new part revision, so the upload forms reject every line. A line of the sheets an assembly shares among its own components prices that assembly only: naming one is rejected as `not_found`, and a re-run of such a component prices it on its own sheet. Omit it to price the part on its own sheet. On a re-run (`derived_from_calculation_id`), omitting it keeps the line of the calculation re-run; send `null` to price the part on its own sheet."
    },
    "full_stock_charge": {
      "type": "string",
      "enum": [
        "auto",
        "full",
        "full_no_credit",
        "share"
      ],
      "title": "Full Stock Charge",
      "description": "How the started sheet or bar of the lot is charged: `auto` applies the environment's `full_stock_threshold` (the lot pays the whole piece once its parts fill that share of it, the unused cells credited as scrap where scrap is credited); `full` charges the whole piece at any lot; `full_no_credit` charges it whole with no scrap credit on the unused cells; `share` charges only the lot's share at any lot. A lot of whole pieces, or a piece holding one part, is charged the same under every word. On a re-run (`derived_from_calculation_id`), omitting it keeps the word of the calculation re-run.",
      "default": "auto"
    },
    "language": {
      "type": "string",
      "maxLength": 8,
      "title": "Language",
      "description": "BCP 47 language for the calculation's captured context (e.g. 'de', 'en'). Part of the calculation's cache identity.",
      "default": "de"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "part_revision_id"
  ],
  "$defs": {
    "StockFormatMm": {
      "properties": {
        "length_mm": {
          "type": "number",
          "maximum": 20000.0,
          "minimum": 100.0,
          "title": "Length Mm",
          "description": "The sheet's length in mm."
        },
        "width_mm": {
          "type": "number",
          "maximum": 20000.0,
          "minimum": 100.0,
          "title": "Width Mm",
          "description": "The sheet's width in mm."
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "length_mm",
        "width_mm"
      ],
      "title": "StockFormatMm",
      "description": "A sheet size stated by the caller, mm."
    }
  }
}

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/arcnm-io-calculation-create"
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.