{
  "title": "Azure Retail Price Comparator – Regions & Meter Changes",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "armSkuNames": {
      "title": "Azure VM SKU names",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": [
        "Standard_D2s_v5"
      ],
      "prefill": [
        "Standard_D2s_v5"
      ],
      "description": "Exact ARM SKUs, e.g. Standard_D2s_v5. At most3; SKU × region combinations limited to6."
    },
    "regions": {
      "title": "Azure regions",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": [
        "eastus",
        "westeurope"
      ],
      "prefill": [
        "eastus",
        "westeurope"
      ],
      "description": "Exact lowercase ARM regions, at most3. This reads published prices, not current availability."
    },
    "priceTypes": {
      "title": "Price types",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": [
        "Consumption"
      ],
      "prefill": [
        "Consumption"
      ],
      "description": "Consumption, DevTestConsumption or Reservation. Terms stay separate; reservation price is never multiplied as an hourly charge."
    },
    "purchaseOptions": {
      "title": "Purchase options",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": [
        "standard"
      ],
      "prefill": [
        "standard"
      ],
      "description": "standard, spot or low_priority. Inferred only from explicit Spot/Low Priority meter labels."
    },
    "productVariants": {
      "title": "Product variants",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": [
        "base"
      ],
      "prefill": [
        "base"
      ],
      "description": "base or windows. base means the published product name has no Windows marker; it is not an OS compatibility guarantee."
    },
    "primaryMetersOnly": {
      "title": "Primary meters only",
      "type": "boolean",
      "default": true,
      "description": "Keep isPrimaryMeterRegion:true meters. False includes other published meters, preserving the flag."
    },
    "computeHours": {
      "title": "Planning compute hours",
      "type": "integer",
      "default": 730,
      "minimum": 1,
      "maximum": 8760,
      "description": "Used only for non-reservation 1 Hour meters. Hours × retail rate excludes ancillary costs; it is not a quote."
    },
    "maxResults": {
      "title": "Maximum saved results",
      "type": "integer",
      "default": 5,
      "minimum": 1,
      "maximum": 100,
      "description": "A billed result is one confirmed saved observation. Truncation prevents history advancement."
    },
    "comparePrevious": {
      "title": "Compare with previous complete check",
      "type": "boolean",
      "default": false,
      "description": "The first complete run establishes history. Partial/failed/capped runs never advance it."
    },
    "onlyChanges": {
      "title": "Save only new or changed observations",
      "type": "boolean",
      "default": false,
      "description": "Enables comparison. Unchanged runs may save zero rows. Source-date changes can count as changes."
    },
    "snapshotName": {
      "title": "Comparison snapshot",
      "type": "string",
      "editor": "textfield",
      "default": "default",
      "description": "1–80 letters, digits, underscores or hyphens. Inputs/filters/output cap also separate history."
    },
    "maxRunSeconds": {
      "title": "Time budget (seconds)",
      "type": "integer",
      "default": 90,
      "minimum": 30,
      "maximum": 120,
      "description": "Shared request/deadline budget. Source API calls are paced and access-denied responses stop remaining work."
    }
  }
}
