-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmo-resources.schema.json
More file actions
96 lines (96 loc) · 3.41 KB
/
mo-resources.schema.json
File metadata and controls
96 lines (96 loc) · 3.41 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Missouri Resource Directory",
"type": "object",
"required": ["meta", "resources"],
"properties": {
"meta": {
"type": "object",
"required": ["version", "state", "last_updated"],
"properties": {
"version": { "type": "string" },
"state": { "type": "string" },
"last_updated": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" },
"note": { "type": "string" }
}
},
"resources": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "name", "domain", "type", "coverage", "population", "description", "verified"],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]*$",
"description": "Unique identifier (region-shortname pattern)"
},
"name": { "type": "string", "minLength": 1 },
"domain": {
"type": "array",
"items": {
"type": "string",
"enum": [
"food", "housing", "mental_health", "substance_use", "healthcare",
"education", "employment", "legal", "children", "family",
"public_safety", "disability", "aging", "transportation",
"crisis", "financial", "immigration", "reentry"
]
},
"minItems": 1
},
"type": { "type": "string", "minLength": 1 },
"phone": { "type": "string", "minLength": 1 },
"phone_alt": { "type": "string", "minLength": 1 },
"address": { "type": "string", "minLength": 1 },
"website": { "type": "string", "minLength": 1 },
"hours": { "type": "string", "minLength": 1 },
"coverage": {
"type": "string",
"enum": [
"national", "statewide", "eastern_mo", "western_mo", "central_ne_mo",
"sw_mo", "se_mo", "nw_mo", "stl_metro", "stl_city", "stl_north_county",
"kc_metro", "mid_mo", "rural_mo"
]
},
"counties": {
"type": "array",
"items": { "type": "string", "minLength": 1 }
},
"population": {
"type": "array",
"items": {
"type": "string",
"enum": [
"all", "low_income", "seniors", "disabled", "children", "children_0_3",
"children_under5", "school_age", "families_with_children", "veterans",
"pregnant", "lgbtq_youth", "justice_involved", "homeless", "immigrants",
"caregivers", "medicare", "families_prenatal_5",
"families_children_disabilities", "all_rural"
]
},
"minItems": 1
},
"cost": {
"type": "string",
"enum": ["free", "sliding_scale", "income_based", "suggested_donation"]
},
"insurance": {
"type": "array",
"items": {
"type": "string",
"enum": ["medicaid", "medicare", "private", "uninsured"]
}
},
"description": { "type": "string", "minLength": 10 },
"verified": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"note": { "type": "string" }
},
"additionalProperties": false
}
}
}
}