{
  "title": "GLEIF Entity Change Monitor - LEI and Parent Data",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "leis": {
      "title": "Legal Entity Identifiers (LEIs)",
      "type": "array",
      "editor": "stringList",
      "description": "Explicit watchlist of at most 50 valid 20-character LEIs. Empty input uses Apple Inc. and Microsoft India Corporation. No name-based fuzzy matching.",
      "prefill": [
        "HWUPKR0MPOU8FGXBT394",
        "8945006U6W5TYUM16C74"
      ],
      "sectionCaption": "1 · Choose exact entity identifiers",
      "sectionDescription": "Use valid LEIs; no company-name discovery or fuzzy matching is performed."
    },
    "includeParents": {
      "title": "Include accounting parents",
      "type": "boolean",
      "description": "Fetch both direct/ultimate accounting consolidation relationships or publisher reporting exceptions. If a required request fails, that entity produces no partial paid row.",
      "default": true
    },
    "maxResults": {
      "title": "Maximum saved entities",
      "type": "integer",
      "description": "Upper bound on paid saved rows. Unchanged observations skipped by onlyChanges do not consume this limit.",
      "default": 2,
      "minimum": 1,
      "maximum": 50
    },
    "comparePrevious": {
      "title": "Compare with saved observations",
      "type": "boolean",
      "description": "Compare within this exact configured watchlist/scope. The first run reports new observations; history advances only after confirmed saved output.",
      "default": false,
      "sectionCaption": "2 · Optional saved entity comparisons",
      "sectionDescription": "Only complete, confirmed saved rows advance history. Use one writer per scope."
    },
    "onlyChanges": {
      "title": "Only new or changed observations",
      "type": "boolean",
      "description": "Enables comparison and skips unchanged observations. First observations are emitted. A valid no-change run has zero results and a warning.",
      "default": false
    },
    "snapshotName": {
      "title": "Snapshot name",
      "type": "string",
      "editor": "textfield",
      "description": "1–80 letters, numbers, underscores or hyphens. Use one writer per name/scope. Concurrent modification is checked before saving, but the store is not an atomic lock.",
      "default": "default"
    },
    "maxRunSeconds": {
      "title": "Run time budget (seconds)",
      "type": "integer",
      "description": "Own wall-clock deadline, also bounded by the platform deadline with a 25-second safety reserve. Network requests and retry delays stay within it.",
      "default": 240,
      "minimum": 30,
      "maximum": 900,
      "sectionCaption": "3 · Run budget",
      "sectionDescription": "Entity and requested parent lookups share the bounded deadline."
    }
  },
  "required": [],
  "description": "Choose the supported LEI lookup or search scope and optionally compare saved records. Published registration and accounting-consolidation relationships do not establish beneficial ownership."
}
