{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/penfield-app/json-schema/penfield-app-post-api-v2-memories-contradictions-request-schema.json",
  "title": "PostApiV2MemoriesContradictionsRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/penfield-app-openapi-generated.yml#/components/schemas/PostApiV2MemoriesContradictionsRequest",
  "type": "object",
  "properties": {
    "source_memory_id": {
      "type": "string",
      "description": "First memory"
    },
    "target_memory_id": {
      "type": "string",
      "description": "The memory that conflicts with it"
    },
    "contradiction_type": {
      "type": "string",
      "description": "direct , partial or contextual"
    },
    "confidence": {
      "type": "number",
      "description": "Confidence that the two conflict (0.0-1.0, default 0.5)"
    },
    "metadata": {
      "type": "object",
      "description": "Custom key-value data"
    }
  },
  "required": [
    "source_memory_id",
    "target_memory_id",
    "contradiction_type"
  ]
}