{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/arcnm-io/json-schema/arcnm-io-nesting-potential-schema.json",
  "title": "NestingPotential",
  "description": "What nesting the window's quotes together would save. No per-quote price.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/arcnm-io-nesting-api-openapi.yml#/components/schemas/NestingPotential",
  "properties": {
    "window_days": {
      "type": "integer",
      "title": "Window Days"
    },
    "window_start": {
      "type": "string",
      "title": "Window Start",
      "description": "First UTC date of the window, inclusive."
    },
    "window_end": {
      "type": "string",
      "title": "Window End",
      "description": "Last UTC date of the window, inclusive."
    },
    "count": {
      "type": "integer",
      "title": "Count",
      "description": "Sheet quotes in the window the figure reads."
    },
    "currency": {
      "type": "string",
      "const": "EUR",
      "title": "Currency",
      "default": "EUR"
    },
    "addon": {
      "type": "boolean",
      "title": "Addon",
      "description": "Whether the organization has the Nesting add-on."
    },
    "saving_eur_min": {
      "type": "number",
      "title": "Saving Eur Min",
      "description": "A lower bound on nesting the quotes' leftover copies together on shared sheets, against each part on its own sheet as its quote priced it. Without the Nesting add-on it is floored to steps of 10 EUR, from five quotes on, and 0 below that."
    },
    "combining_bound": {
      "type": "string",
      "const": "at_least",
      "title": "Combining Bound",
      "default": "at_least"
    },
    "combining_basis": {
      "type": "string",
      "const": "compared_with_each_part_alone",
      "title": "Combining Basis",
      "default": "compared_with_each_part_alone"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "window_days",
    "window_start",
    "window_end",
    "count",
    "addon",
    "saving_eur_min"
  ]
}