[
  {
    "label": "Valid version chain",
    "graph": {
      "documents": [
        {
          "id": "a"
        },
        {
          "id": "b"
        },
        {
          "id": "c"
        }
      ],
      "relations": [
        {
          "source": "b",
          "target": "a",
          "type": "copy_of"
        },
        {
          "source": "c",
          "target": "b",
          "type": "translation_of"
        }
      ]
    },
    "expected_errors": [],
    "actual_errors": []
  },
  {
    "label": "Unsupported independence",
    "graph": {
      "documents": [
        {
          "id": "a"
        },
        {
          "id": "b"
        }
      ],
      "relations": [
        {
          "source": "a",
          "target": "b",
          "type": "independent_of"
        }
      ]
    },
    "expected_errors": [
      "unsupported_independence"
    ],
    "actual_errors": [
      "unsupported_independence"
    ]
  },
  {
    "label": "Cyclic version lineage",
    "graph": {
      "documents": [
        {
          "id": "a"
        },
        {
          "id": "b"
        }
      ],
      "relations": [
        {
          "source": "a",
          "target": "b",
          "type": "copy_of"
        },
        {
          "source": "b",
          "target": "a",
          "type": "ocr_of"
        }
      ]
    },
    "expected_errors": [
      "lineage_cycle"
    ],
    "actual_errors": [
      "lineage_cycle"
    ]
  },
  {
    "label": "Missing parent version",
    "graph": {
      "documents": [
        {
          "id": "a"
        }
      ],
      "relations": [
        {
          "source": "a",
          "target": "missing",
          "type": "copy_of"
        }
      ]
    },
    "expected_errors": [
      "dangling_relation"
    ],
    "actual_errors": [
      "dangling_relation"
    ]
  }
]
