Rajan Sharma commited on
Commit
5dc5935
·
verified ·
1 Parent(s): 5685623

Create phase2_output.schema.json

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