{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-catalog-reconcile-request-schema.json",
  "title": "CatalogReconcileRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-utilities-api-openapi.yml#/components/schemas/CatalogReconcileRequest",
  "properties": {
    "candidate": {
      "additionalProperties": true,
      "type": "object",
      "title": "Candidate",
      "description": "Candidate tool: name (req) + slug/website/heading/sourceTaskId/sourceNodeId"
    },
    "existing_candidates": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Existing Candidates",
      "description": "Similar existing catalog pages (Payload computes from its DB). Empty -> standalone, no LLM call."
    },
    "official_evidence": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Official Evidence",
      "description": "Official-website evidence strings"
    }
  },
  "type": "object",
  "required": [
    "candidate"
  ]
}