{
  "title": "AWS Bedrock Price Monitor – Models, Regions & Rate Changes",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "regionCodes": {
      "title": "AWS regions",
      "type": "array",
      "editor": "stringList",
      "default": [
        "us-east-1"
      ],
      "prefill": [
        "us-east-1"
      ],
      "description": "One to three public AWS region codes. Each region is read from its official AmazonBedrock price file."
    },
    "modelContains": {
      "title": "Model name contains",
      "type": "string",
      "editor": "textfield",
      "default": "Nova",
      "prefill": "Nova",
      "description": "Case-insensitive substring of the source model name. Empty selects all model-bearing price products."
    },
    "inferenceTypeContains": {
      "title": "Inference type contains",
      "type": "string",
      "editor": "textfield",
      "default": "input",
      "description": "Optional substring, such as input, output, cache, batch or image. Different inference modes are separate rates."
    },
    "maxResults": {
      "title": "Maximum saved results",
      "type": "integer",
      "default": 3,
      "minimum": 1,
      "maximum": 100,
      "description": "Maximum saved rate rows across all requested regions. Selection is region input order, then model, inference type and rate code. Rates beyond this window are not observed."
    },
    "comparePrevious": {
      "title": "Compare with previous observations",
      "type": "boolean",
      "default": false,
      "description": "The first complete run establishes a baseline under snapshotName. Partial runs do not advance it."
    },
    "onlyChanges": {
      "title": "Save only new or changed records",
      "type": "boolean",
      "default": false,
      "description": "Enables comparison. Unchanged records are neither saved nor charged."
    },
    "snapshotName": {
      "title": "Comparison history name",
      "type": "string",
      "editor": "textfield",
      "default": "default",
      "description": "Use 1–80 letters, digits, underscores or hyphens. Keep input filters the same to compare."
    },
    "maxRunSeconds": {
      "title": "Run time budget in seconds",
      "type": "integer",
      "default": 120,
      "minimum": 30,
      "maximum": 120,
      "description": "Source requests stop within this budget; partial coverage is reported explicitly."
    },
    "ratesPerRegion": {
      "title": "Selected rates per region",
      "type": "integer",
      "default": 3,
      "minimum": 1,
      "maximum": 50,
      "description": "Take this many sorted matching rates from each region before applying the overall maximum. For two regions and three rates each, set maximum results to six."
    }
  }
}
