forked from ChelseaKR/exitdrill
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcivicrm-evidence-index-v0.2.schema.json
More file actions
140 lines (140 loc) · 5.07 KB
/
Copy pathcivicrm-evidence-index-v0.2.schema.json
File metadata and controls
140 lines (140 loc) · 5.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://exitdrill.example/schemas/civicrm-evidence-index-v0.2.schema.json",
"title": "ExitDrill CiviCRM evidence index v0.2",
"type": "object",
"additionalProperties": false,
"required": ["decision_scope", "entries", "limitations", "schema_version", "target_profile"],
"$defs": {
"bound_artifact": {
"type": "object",
"additionalProperties": false,
"required": ["artifact_id", "bytes", "decision_scope", "filename", "schema_version", "sha256"],
"properties": {
"artifact_id": {"type": "string"},
"bytes": {"type": "integer", "minimum": 1, "maximum": 10485760},
"decision_scope": {"type": "string"},
"filename": {"type": "string"},
"schema_version": {"type": "string"},
"sha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"}
}
}
},
"properties": {
"decision_scope": {"const": "separate_non_composite_evidence_families"},
"entries": {
"type": "array",
"minItems": 7,
"maxItems": 7,
"items": false,
"prefixItems": [
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "normalized_target_readback"},
"decision_scope": {"const": "normalized_target_readback_for_structural_evaluation"},
"filename": {"const": "export.json"},
"schema_version": {"const": "exitdrill/export/v0.1"}
}
}
]
},
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "target_interface"},
"decision_scope": {"const": "pinned_synthetic_target_roundtrip_only"},
"filename": {"const": "target-result.json"},
"schema_version": {"const": "exitdrill/civicrm-target-roundtrip-result/v0.1"}
}
}
]
},
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "ui_surface"},
"decision_scope": {"const": "pinned_synthetic_ui_surface_only"},
"filename": {"const": "ui-surface-result.json"},
"schema_version": {"const": "exitdrill/civicrm-ui-surface-result/v0.1"}
}
}
]
},
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "browser_workflow"},
"decision_scope": {"const": "pinned_synthetic_browser_workflow_only"},
"filename": {"const": "browser-workflow-result.json"},
"schema_version": {"const": "exitdrill/civicrm-browser-workflow-result/v0.1"}
}
}
]
},
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "automated_accessibility"},
"decision_scope": {"const": "pinned_synthetic_manage_case_automated_scan_only"},
"filename": {"const": "accessibility-result.json"},
"schema_version": {"const": "exitdrill/civicrm-accessibility-result/v0.1"}
}
}
]
},
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "keyboard_interaction"},
"decision_scope": {"const": "pinned_synthetic_manage_case_keyboard_interaction_only"},
"filename": {"const": "keyboard-result.json"},
"schema_version": {"const": "exitdrill/civicrm-keyboard-result/v0.1"}
}
}
]
},
{
"allOf": [
{"$ref": "#/$defs/bound_artifact"},
{
"properties": {
"artifact_id": {"const": "activity_view"},
"decision_scope": {"const": "pinned_synthetic_generated_activity_view_only"},
"filename": {"const": "activity-view-result.json"},
"schema_version": {"const": "exitdrill/civicrm-activity-view-result/v0.1"}
}
}
]
}
]
},
"limitations": {
"const": [
"index_is_unsigned_and_unauthenticated",
"index_is_not_a_composite_assessment",
"entries_have_independent_decision_scopes",
"normalized_export_requires_separate_baseline_evaluation",
"each_result_must_be_interpreted_with_its_own_limitations",
"digests_prove_internal_consistency_not_authenticity",
"target_version_and_execution_context_are_operator_asserted"
]
},
"schema_version": {"const": "exitdrill/civicrm-evidence-index/v0.2"},
"target_profile": {
"const": "directus-11.17.4-civic-case-to-civicrm-standalone-6.16.2/v0.1"
}
}
}