Rajan Sharma commited on
Commit
05b73f1
·
verified ·
1 Parent(s): 7648c72

Create schemas/analysis_output.schema.json

Browse files
Files changed (1) hide show
  1. schemas/analysis_output.schema.json +58 -0
schemas/analysis_output.schema.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "title": "Clarity Ops Phase 2 Output",
4
+ "type": "object",
5
+ "required": ["prioritization", "capacity", "cost", "clinical_benefits", "recommendations"],
6
+ "properties": {
7
+ "prioritization": {
8
+ "type": "object",
9
+ "required": ["groups_prioritized", "rationale"],
10
+ "properties": {
11
+ "groups_prioritized": {
12
+ "type": "array",
13
+ "items": {"type": "string"},
14
+ "minItems": 1
15
+ },
16
+ "rationale": {"type": "string"}
17
+ }
18
+ },
19
+ "capacity": {
20
+ "type": "object",
21
+ "required": ["formula_used", "total_clients"],
22
+ "properties": {
23
+ "formula_used": {"type": "string"},
24
+ "total_clients": {"type": "integer", "minimum": 0}
25
+ }
26
+ },
27
+ "cost": {
28
+ "type": "object",
29
+ "required": ["startup_per_client", "ongoing_per_client", "total_per_client", "total_for_n", "benchmark_comparison"],
30
+ "properties": {
31
+ "startup_per_client": {"type": "number", "minimum": 0},
32
+ "ongoing_per_client": {"type": "number", "minimum": 0},
33
+ "total_per_client": {"type": "number", "minimum": 0},
34
+ "total_for_n": {"type": "number", "minimum": 0},
35
+ "benchmark_comparison": {"type": "string"}
36
+ }
37
+ },
38
+ "clinical_benefits": {
39
+ "type": "object",
40
+ "required": ["diabetes_group", "non_diabetes_group"],
41
+ "properties": {
42
+ "diabetes_group": {"type": "string"},
43
+ "non_diabetes_group": {"type": "string"}
44
+ }
45
+ },
46
+ "recommendations": {
47
+ "type": "array",
48
+ "items": {"type": "string"},
49
+ "minItems": 3,
50
+ "maxItems": 3
51
+ },
52
+ "provenance": {
53
+ "type": "object",
54
+ "additionalProperties": true
55
+ }
56
+ },
57
+ "additionalProperties": false"
58
+ }