{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Synchronization and reconciliation evaluation inputs",
  "description": "Compare eligible source and destination evidence and choose the next safe synchronization action.",
  "type": "object",
  "required": [
    "cursor_valid",
    "missing_records",
    "divergent_records",
    "permission_current"
  ],
  "properties": {
    "cursor_valid": {
      "type": "boolean",
      "description": "Whether source extraction can resume from this cursor."
    },
    "missing_records": {
      "type": "integer",
      "description": "Eligible source records absent from the destination.",
      "minimum": 0
    },
    "divergent_records": {
      "type": "integer",
      "description": "Matched records whose owned fields differ.",
      "minimum": 0
    },
    "permission_current": {
      "type": "boolean",
      "description": "Whether the connection still has required access."
    }
  },
  "additionalProperties": false
}