@rvdbreemen/adr-kit-opencode 0.52.0 → 0.52.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +29 -29
- package/README.md +861 -850
- package/bin/adr +0 -0
- package/bin/adr-audit +0 -0
- package/bin/adr-context +0 -0
- package/bin/adr-discover +0 -0
- package/bin/adr-doctor +0 -0
- package/bin/adr-generate-scripts +0 -0
- package/bin/adr-grill-signal +0 -0
- package/bin/adr-guardian +0 -0
- package/bin/adr-index +0 -0
- package/bin/adr-judge +0 -0
- package/bin/adr-judge-precommit +0 -0
- package/bin/adr-lint +0 -0
- package/bin/adr-mcp +0 -0
- package/bin/adr-migrate +0 -0
- package/bin/adr-quality +0 -0
- package/bin/adr-readiness +0 -0
- package/bin/adr-readiness-ci +0 -0
- package/bin/adr-related +0 -0
- package/bin/adr-renumber +254 -254
- package/bin/adr-retire +0 -0
- package/bin/adr-settings +0 -0
- package/bin/adr-status +0 -0
- package/bin/adr-suggest +0 -0
- package/bin/adr-watch +0 -0
- package/bin/bump-version +0 -0
- package/clients/workflows.json +229 -229
- package/hooks/__init__.py +1 -1
- package/hooks/adapters/__init__.py +13 -13
- package/hooks/adapters/claude.py +27 -27
- package/hooks/adapters/codex.py +26 -26
- package/hooks/adapters/copilot.py +11 -11
- package/hooks/adr-hook.py +128 -128
- package/hooks/adr_hook_core.py +843 -843
- package/hooks/adr_pr_guard.py +367 -367
- package/instructions/ADR-guide.md +48 -48
- package/instructions/adr.coding.md +82 -82
- package/instructions/adr.review.md +182 -182
- package/opencode/plugin.ts +1 -4
- package/package.json +5 -2
- package/schemas/adr-context-probes.schema.json +56 -56
- package/schemas/adr-enforcement.schema.json +57 -57
- package/schemas/adr-frontmatter.schema.json +144 -144
- package/schemas/adr-index.schema.json +276 -276
- package/schemas/adr-kit-config.schema.json +371 -371
- package/schemas/adr-readiness.schema.json +41 -41
- package/schemas/client-capabilities.schema.json +503 -503
- package/schemas/client-certification.schema.json +101 -101
- package/schemas/doctor-output.schema.json +92 -92
- package/skills/adr/SKILL.md +780 -780
- package/skills/audit/SKILL.md +103 -103
- package/skills/context/SKILL.md +77 -77
- package/skills/grill/SKILL.md +84 -84
- package/skills/grill/agents/openai.yaml +4 -4
- package/skills/guardian/SKILL.md +316 -316
- package/skills/init/SKILL.md +499 -499
- package/skills/install-hooks/SKILL.md +154 -154
- package/skills/judge/SKILL.md +168 -168
- package/skills/lint/SKILL.md +321 -321
- package/skills/migrate/SKILL.md +313 -313
- package/skills/related/SKILL.md +62 -62
- package/skills/retire/SKILL.md +41 -41
- package/skills/review/SKILL.md +167 -167
- package/skills/settings/SKILL.md +73 -73
- package/skills/setup/SKILL.md +128 -128
- package/skills/supersede/SKILL.md +136 -136
- package/skills/upgrade/SKILL.md +273 -273
- package/templates/adr-kit-guide.md +354 -354
- package/templates/adr-template.canonical.md +115 -115
- package/templates/adr-template.madr.md +131 -131
- package/templates/adr-template.md +131 -131
- package/templates/adr-template.nygard.md +111 -111
- package/templates/cc-settings/guardian-hook-entry.json +9 -9
- package/templates/githooks/pre-commit +1 -1
- package/templates/github-workflows/adr-audit.yml +58 -58
- package/templates/github-workflows/adr-guardian-audit.yml +133 -133
- package/templates/github-workflows/adr-index-check.yml +30 -30
- package/templates/github-workflows/adr-judge.yml +31 -31
- package/templates/github-workflows/adr-readiness.yml +18 -18
- package/templates/validate_adr_template.py +38 -38
- package/templates/validate_adr_template.sh +74 -74
|
@@ -1,276 +1,276 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://github.com/rvdbreemen/adr-kit/schemas/adr-index.schema.json",
|
|
4
|
-
"title": "ADR Kit generated graph index",
|
|
5
|
-
"description": "Versioned machine-readable projection of Markdown ADR metadata and declared relationships.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"additionalProperties": false,
|
|
8
|
-
"required": [
|
|
9
|
-
"$schema",
|
|
10
|
-
"schema_version",
|
|
11
|
-
"adrs",
|
|
12
|
-
"relationships"
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"$schema": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"minLength": 1
|
|
18
|
-
},
|
|
19
|
-
"schema_version": {
|
|
20
|
-
"const": 2
|
|
21
|
-
},
|
|
22
|
-
"adrs": {
|
|
23
|
-
"type": "array",
|
|
24
|
-
"items": {
|
|
25
|
-
"$ref": "#/$defs/adr"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"relationships": {
|
|
29
|
-
"type": "array",
|
|
30
|
-
"items": {
|
|
31
|
-
"$ref": "#/$defs/relationship"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"$defs": {
|
|
36
|
-
"adrId": {
|
|
37
|
-
"type": "string",
|
|
38
|
-
"pattern": "^ADR-[0-9]{3,4}$"
|
|
39
|
-
},
|
|
40
|
-
"nullableAdrId": {
|
|
41
|
-
"oneOf": [
|
|
42
|
-
{
|
|
43
|
-
"$ref": "#/$defs/adrId"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"type": "null"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"adr": {
|
|
51
|
-
"type": "object",
|
|
52
|
-
"additionalProperties": false,
|
|
53
|
-
"required": [
|
|
54
|
-
"id",
|
|
55
|
-
"title",
|
|
56
|
-
"path",
|
|
57
|
-
"format",
|
|
58
|
-
"status",
|
|
59
|
-
"date",
|
|
60
|
-
"decision_summary",
|
|
61
|
-
"topics",
|
|
62
|
-
"aliases",
|
|
63
|
-
"components",
|
|
64
|
-
"symbols",
|
|
65
|
-
"context_scope",
|
|
66
|
-
"decision_contract",
|
|
67
|
-
"scope",
|
|
68
|
-
"metadata"
|
|
69
|
-
],
|
|
70
|
-
"properties": {
|
|
71
|
-
"id": {
|
|
72
|
-
"$ref": "#/$defs/adrId"
|
|
73
|
-
},
|
|
74
|
-
"title": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"minLength": 1
|
|
77
|
-
},
|
|
78
|
-
"path": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"minLength": 1,
|
|
81
|
-
"description": "Source Markdown path relative to ADR-INDEX.json."
|
|
82
|
-
},
|
|
83
|
-
"format": {
|
|
84
|
-
"type": "string",
|
|
85
|
-
"enum": [
|
|
86
|
-
"madr",
|
|
87
|
-
"nygard",
|
|
88
|
-
"canonical",
|
|
89
|
-
"hybrid",
|
|
90
|
-
"unknown"
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
"status": {
|
|
94
|
-
"type": "string",
|
|
95
|
-
"enum": [
|
|
96
|
-
"Proposed",
|
|
97
|
-
"Accepted",
|
|
98
|
-
"Deprecated",
|
|
99
|
-
"Superseded",
|
|
100
|
-
"Amended",
|
|
101
|
-
"Rejected",
|
|
102
|
-
"Unknown"
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
"date": {
|
|
106
|
-
"type": [
|
|
107
|
-
"string",
|
|
108
|
-
"null"
|
|
109
|
-
],
|
|
110
|
-
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
111
|
-
},
|
|
112
|
-
"decision_summary": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"maxLength": 120
|
|
115
|
-
},
|
|
116
|
-
"topics": {
|
|
117
|
-
"$ref": "#/$defs/retrievalStrings"
|
|
118
|
-
},
|
|
119
|
-
"aliases": {
|
|
120
|
-
"$ref": "#/$defs/retrievalStrings"
|
|
121
|
-
},
|
|
122
|
-
"components": {
|
|
123
|
-
"$ref": "#/$defs/retrievalStrings"
|
|
124
|
-
},
|
|
125
|
-
"symbols": {
|
|
126
|
-
"$ref": "#/$defs/retrievalStrings"
|
|
127
|
-
},
|
|
128
|
-
"context_scope": {
|
|
129
|
-
"type": "string",
|
|
130
|
-
"enum": [
|
|
131
|
-
"global",
|
|
132
|
-
"selective"
|
|
133
|
-
]
|
|
134
|
-
},
|
|
135
|
-
"decision_contract": {
|
|
136
|
-
"$ref": "#/$defs/decisionContract"
|
|
137
|
-
},
|
|
138
|
-
"scope": {
|
|
139
|
-
"type": "object",
|
|
140
|
-
"additionalProperties": false,
|
|
141
|
-
"required": [
|
|
142
|
-
"path_globs"
|
|
143
|
-
],
|
|
144
|
-
"properties": {
|
|
145
|
-
"path_globs": {
|
|
146
|
-
"type": "array",
|
|
147
|
-
"uniqueItems": true,
|
|
148
|
-
"items": {
|
|
149
|
-
"type": "string",
|
|
150
|
-
"minLength": 1
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"metadata": {
|
|
156
|
-
"type": "object",
|
|
157
|
-
"additionalProperties": false,
|
|
158
|
-
"required": [
|
|
159
|
-
"binding",
|
|
160
|
-
"gate",
|
|
161
|
-
"documents_shipped",
|
|
162
|
-
"verified_in",
|
|
163
|
-
"supersedes",
|
|
164
|
-
"superseded_by"
|
|
165
|
-
],
|
|
166
|
-
"properties": {
|
|
167
|
-
"binding": {
|
|
168
|
-
"type": "boolean"
|
|
169
|
-
},
|
|
170
|
-
"gate": {
|
|
171
|
-
"type": [
|
|
172
|
-
"string",
|
|
173
|
-
"null"
|
|
174
|
-
],
|
|
175
|
-
"minLength": 1
|
|
176
|
-
},
|
|
177
|
-
"documents_shipped": {
|
|
178
|
-
"type": "boolean"
|
|
179
|
-
},
|
|
180
|
-
"verified_in": {
|
|
181
|
-
"type": "array",
|
|
182
|
-
"items": {
|
|
183
|
-
"type": "string",
|
|
184
|
-
"minLength": 1
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"supersedes": {
|
|
188
|
-
"type": "array",
|
|
189
|
-
"uniqueItems": true,
|
|
190
|
-
"items": {
|
|
191
|
-
"$ref": "#/$defs/adrId"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"superseded_by": {
|
|
195
|
-
"$ref": "#/$defs/nullableAdrId"
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"retrievalStrings": {
|
|
202
|
-
"type": "array",
|
|
203
|
-
"maxItems": 32,
|
|
204
|
-
"uniqueItems": true,
|
|
205
|
-
"items": {
|
|
206
|
-
"type": "string",
|
|
207
|
-
"minLength": 1,
|
|
208
|
-
"maxLength": 120
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"contractStrings": {
|
|
212
|
-
"type": "array",
|
|
213
|
-
"maxItems": 20,
|
|
214
|
-
"uniqueItems": true,
|
|
215
|
-
"items": {
|
|
216
|
-
"type": "string",
|
|
217
|
-
"minLength": 1,
|
|
218
|
-
"maxLength": 240
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
"decisionContract": {
|
|
222
|
-
"type": "object",
|
|
223
|
-
"additionalProperties": false,
|
|
224
|
-
"required": [
|
|
225
|
-
"must",
|
|
226
|
-
"must_not",
|
|
227
|
-
"exceptions",
|
|
228
|
-
"verification"
|
|
229
|
-
],
|
|
230
|
-
"properties": {
|
|
231
|
-
"must": {
|
|
232
|
-
"$ref": "#/$defs/contractStrings"
|
|
233
|
-
},
|
|
234
|
-
"must_not": {
|
|
235
|
-
"$ref": "#/$defs/contractStrings"
|
|
236
|
-
},
|
|
237
|
-
"exceptions": {
|
|
238
|
-
"$ref": "#/$defs/contractStrings"
|
|
239
|
-
},
|
|
240
|
-
"verification": {
|
|
241
|
-
"$ref": "#/$defs/contractStrings"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
"relationship": {
|
|
246
|
-
"type": "object",
|
|
247
|
-
"additionalProperties": false,
|
|
248
|
-
"required": [
|
|
249
|
-
"source",
|
|
250
|
-
"target",
|
|
251
|
-
"type",
|
|
252
|
-
"resolved"
|
|
253
|
-
],
|
|
254
|
-
"properties": {
|
|
255
|
-
"source": {
|
|
256
|
-
"$ref": "#/$defs/adrId"
|
|
257
|
-
},
|
|
258
|
-
"target": {
|
|
259
|
-
"$ref": "#/$defs/adrId"
|
|
260
|
-
},
|
|
261
|
-
"type": {
|
|
262
|
-
"type": "string",
|
|
263
|
-
"enum": [
|
|
264
|
-
"related",
|
|
265
|
-
"supersedes",
|
|
266
|
-
"superseded-by",
|
|
267
|
-
"amended-by"
|
|
268
|
-
]
|
|
269
|
-
},
|
|
270
|
-
"resolved": {
|
|
271
|
-
"type": "boolean"
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://github.com/rvdbreemen/adr-kit/schemas/adr-index.schema.json",
|
|
4
|
+
"title": "ADR Kit generated graph index",
|
|
5
|
+
"description": "Versioned machine-readable projection of Markdown ADR metadata and declared relationships.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"$schema",
|
|
10
|
+
"schema_version",
|
|
11
|
+
"adrs",
|
|
12
|
+
"relationships"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"$schema": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"minLength": 1
|
|
18
|
+
},
|
|
19
|
+
"schema_version": {
|
|
20
|
+
"const": 2
|
|
21
|
+
},
|
|
22
|
+
"adrs": {
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"$ref": "#/$defs/adr"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"relationships": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"$ref": "#/$defs/relationship"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"$defs": {
|
|
36
|
+
"adrId": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"pattern": "^ADR-[0-9]{3,4}$"
|
|
39
|
+
},
|
|
40
|
+
"nullableAdrId": {
|
|
41
|
+
"oneOf": [
|
|
42
|
+
{
|
|
43
|
+
"$ref": "#/$defs/adrId"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "null"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"adr": {
|
|
51
|
+
"type": "object",
|
|
52
|
+
"additionalProperties": false,
|
|
53
|
+
"required": [
|
|
54
|
+
"id",
|
|
55
|
+
"title",
|
|
56
|
+
"path",
|
|
57
|
+
"format",
|
|
58
|
+
"status",
|
|
59
|
+
"date",
|
|
60
|
+
"decision_summary",
|
|
61
|
+
"topics",
|
|
62
|
+
"aliases",
|
|
63
|
+
"components",
|
|
64
|
+
"symbols",
|
|
65
|
+
"context_scope",
|
|
66
|
+
"decision_contract",
|
|
67
|
+
"scope",
|
|
68
|
+
"metadata"
|
|
69
|
+
],
|
|
70
|
+
"properties": {
|
|
71
|
+
"id": {
|
|
72
|
+
"$ref": "#/$defs/adrId"
|
|
73
|
+
},
|
|
74
|
+
"title": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"minLength": 1
|
|
77
|
+
},
|
|
78
|
+
"path": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 1,
|
|
81
|
+
"description": "Source Markdown path relative to ADR-INDEX.json."
|
|
82
|
+
},
|
|
83
|
+
"format": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"enum": [
|
|
86
|
+
"madr",
|
|
87
|
+
"nygard",
|
|
88
|
+
"canonical",
|
|
89
|
+
"hybrid",
|
|
90
|
+
"unknown"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"status": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"enum": [
|
|
96
|
+
"Proposed",
|
|
97
|
+
"Accepted",
|
|
98
|
+
"Deprecated",
|
|
99
|
+
"Superseded",
|
|
100
|
+
"Amended",
|
|
101
|
+
"Rejected",
|
|
102
|
+
"Unknown"
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"date": {
|
|
106
|
+
"type": [
|
|
107
|
+
"string",
|
|
108
|
+
"null"
|
|
109
|
+
],
|
|
110
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
111
|
+
},
|
|
112
|
+
"decision_summary": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"maxLength": 120
|
|
115
|
+
},
|
|
116
|
+
"topics": {
|
|
117
|
+
"$ref": "#/$defs/retrievalStrings"
|
|
118
|
+
},
|
|
119
|
+
"aliases": {
|
|
120
|
+
"$ref": "#/$defs/retrievalStrings"
|
|
121
|
+
},
|
|
122
|
+
"components": {
|
|
123
|
+
"$ref": "#/$defs/retrievalStrings"
|
|
124
|
+
},
|
|
125
|
+
"symbols": {
|
|
126
|
+
"$ref": "#/$defs/retrievalStrings"
|
|
127
|
+
},
|
|
128
|
+
"context_scope": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"global",
|
|
132
|
+
"selective"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"decision_contract": {
|
|
136
|
+
"$ref": "#/$defs/decisionContract"
|
|
137
|
+
},
|
|
138
|
+
"scope": {
|
|
139
|
+
"type": "object",
|
|
140
|
+
"additionalProperties": false,
|
|
141
|
+
"required": [
|
|
142
|
+
"path_globs"
|
|
143
|
+
],
|
|
144
|
+
"properties": {
|
|
145
|
+
"path_globs": {
|
|
146
|
+
"type": "array",
|
|
147
|
+
"uniqueItems": true,
|
|
148
|
+
"items": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"minLength": 1
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"metadata": {
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": [
|
|
159
|
+
"binding",
|
|
160
|
+
"gate",
|
|
161
|
+
"documents_shipped",
|
|
162
|
+
"verified_in",
|
|
163
|
+
"supersedes",
|
|
164
|
+
"superseded_by"
|
|
165
|
+
],
|
|
166
|
+
"properties": {
|
|
167
|
+
"binding": {
|
|
168
|
+
"type": "boolean"
|
|
169
|
+
},
|
|
170
|
+
"gate": {
|
|
171
|
+
"type": [
|
|
172
|
+
"string",
|
|
173
|
+
"null"
|
|
174
|
+
],
|
|
175
|
+
"minLength": 1
|
|
176
|
+
},
|
|
177
|
+
"documents_shipped": {
|
|
178
|
+
"type": "boolean"
|
|
179
|
+
},
|
|
180
|
+
"verified_in": {
|
|
181
|
+
"type": "array",
|
|
182
|
+
"items": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"supersedes": {
|
|
188
|
+
"type": "array",
|
|
189
|
+
"uniqueItems": true,
|
|
190
|
+
"items": {
|
|
191
|
+
"$ref": "#/$defs/adrId"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"superseded_by": {
|
|
195
|
+
"$ref": "#/$defs/nullableAdrId"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"retrievalStrings": {
|
|
202
|
+
"type": "array",
|
|
203
|
+
"maxItems": 32,
|
|
204
|
+
"uniqueItems": true,
|
|
205
|
+
"items": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"minLength": 1,
|
|
208
|
+
"maxLength": 120
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"contractStrings": {
|
|
212
|
+
"type": "array",
|
|
213
|
+
"maxItems": 20,
|
|
214
|
+
"uniqueItems": true,
|
|
215
|
+
"items": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"minLength": 1,
|
|
218
|
+
"maxLength": 240
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
"decisionContract": {
|
|
222
|
+
"type": "object",
|
|
223
|
+
"additionalProperties": false,
|
|
224
|
+
"required": [
|
|
225
|
+
"must",
|
|
226
|
+
"must_not",
|
|
227
|
+
"exceptions",
|
|
228
|
+
"verification"
|
|
229
|
+
],
|
|
230
|
+
"properties": {
|
|
231
|
+
"must": {
|
|
232
|
+
"$ref": "#/$defs/contractStrings"
|
|
233
|
+
},
|
|
234
|
+
"must_not": {
|
|
235
|
+
"$ref": "#/$defs/contractStrings"
|
|
236
|
+
},
|
|
237
|
+
"exceptions": {
|
|
238
|
+
"$ref": "#/$defs/contractStrings"
|
|
239
|
+
},
|
|
240
|
+
"verification": {
|
|
241
|
+
"$ref": "#/$defs/contractStrings"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"relationship": {
|
|
246
|
+
"type": "object",
|
|
247
|
+
"additionalProperties": false,
|
|
248
|
+
"required": [
|
|
249
|
+
"source",
|
|
250
|
+
"target",
|
|
251
|
+
"type",
|
|
252
|
+
"resolved"
|
|
253
|
+
],
|
|
254
|
+
"properties": {
|
|
255
|
+
"source": {
|
|
256
|
+
"$ref": "#/$defs/adrId"
|
|
257
|
+
},
|
|
258
|
+
"target": {
|
|
259
|
+
"$ref": "#/$defs/adrId"
|
|
260
|
+
},
|
|
261
|
+
"type": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"enum": [
|
|
264
|
+
"related",
|
|
265
|
+
"supersedes",
|
|
266
|
+
"superseded-by",
|
|
267
|
+
"amended-by"
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"resolved": {
|
|
271
|
+
"type": "boolean"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|