github.com/gemaraproj/gemara@v1.3.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: "1.1.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
21  entry-type: Control
22target-reference:
23  reference-id: TGT
24  entry-type: Guideline
25mappings:
26  - id: m1
27    source: S1
28    relationship: implements
29    remarks: This should fail because targets is missing