github.com/gemaraproj/gemara@v0.23.0

test/test-data/bad-mapping-no-target.yaml raw

 1title: Test Missing Target
 2metadata:
 3  id: TEST-MAP-001
 4  version: "1.0.0"
 5  type: MappingDocument
 6  gemara-version: "0.20.0"
 7  description: Test
 8  author:
 9    id: test
10    name: Test
11    type: Human
12  mapping-references:
13    - id: SRC
14      title: Source
15      version: "1.0"
16    - id: TGT
17      title: Target
18      version: "1.0"
19source-reference:
20  reference-id: SRC
21target-reference:
22  reference-id: TGT
23mappings:
24  - id: m1
25    source:
26      entry-id: S1
27      entry-type: Control
28    relationship: implements
29    rationale: This should fail because target is missing