{
 "type": "object",
 "required": [
  "file",
  "rows"
 ],
 "properties": {
  "file": {
   "type": [
    "string",
    "null"
   ]
  },
  "example": {
   "type": "boolean"
  },
  "ratified": {
   "type": [
    "object",
    "null"
   ],
   "required": [
    "by",
    "at"
   ],
   "properties": {
    "by": {
     "type": "string"
    },
    "at": {
     "type": "string"
    },
    "why": {
     "type": "string"
    }
   }
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "state"
    ],
    "properties": {
     "state": {
      "enum": [
       "matched",
       "conflict",
       "ours only",
       "theirs only"
      ]
     },
     "id": {
      "type": "string"
     },
     "decision": {
      "enum": [
       "adopt",
       "keep",
       "merge",
       "reject"
      ]
     },
     "theirs": {
      "type": "object"
     },
     "diffs": {
      "type": "array"
     },
     "ratified": {
      "type": "object"
     }
    }
   }
  }
 },
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "urn:exploder-kit:reconcile:1",
 "title": "An owner list reconciled",
 "description": "05-checks/reconcile-*.json: each row matched, ours only, theirs only or in conflict, with the person's decision."
}
