RubyIntelligence commited on
Commit
f33e338
·
verified ·
1 Parent(s): e776799

Upload schema.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. schema.json +135 -0
schema.json ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "fda-high-risk-facilities-watchlist",
3
+ "title": "FDA High-Risk Facilities Watchlist",
4
+ "version": "1.0.0",
5
+ "source": "FDA Data Dashboard API + openFDA (U.S. Government public domain)",
6
+ "record_count": 4574,
7
+ "field_count": 25,
8
+ "fields": [
9
+ {
10
+ "name": "fei_number",
11
+ "type": "string",
12
+ "description": "FDA Facility Establishment Identifier (FEI) \u2014 the cross-source join key."
13
+ },
14
+ {
15
+ "name": "legal_name",
16
+ "type": "string",
17
+ "description": "Facility legal name, taken from its most recent inspection record."
18
+ },
19
+ {
20
+ "name": "city",
21
+ "type": "string",
22
+ "description": "Facility city (most recent inspection record)."
23
+ },
24
+ {
25
+ "name": "state",
26
+ "type": "string",
27
+ "description": "Facility state/province (most recent inspection record)."
28
+ },
29
+ {
30
+ "name": "country",
31
+ "type": "string",
32
+ "description": "Facility country (most recent inspection record)."
33
+ },
34
+ {
35
+ "name": "product_types",
36
+ "type": "list<string>",
37
+ "description": "Distinct FDA product areas inspected at this facility (e.g. Drugs, Devices, Foods)."
38
+ },
39
+ {
40
+ "name": "total_inspections",
41
+ "type": "integer",
42
+ "description": "Count of distinct FDA inspections on record for this facility."
43
+ },
44
+ {
45
+ "name": "oai_count",
46
+ "type": "integer",
47
+ "description": "Inspections classified Official Action Indicated (OAI) \u2014 the most serious outcome."
48
+ },
49
+ {
50
+ "name": "vai_count",
51
+ "type": "integer",
52
+ "description": "Inspections classified Voluntary Action Indicated (VAI)."
53
+ },
54
+ {
55
+ "name": "nai_count",
56
+ "type": "integer",
57
+ "description": "Inspections classified No Action Indicated (NAI)."
58
+ },
59
+ {
60
+ "name": "most_recent_inspection_date",
61
+ "type": "date",
62
+ "description": "End date of the facility's most recent inspection."
63
+ },
64
+ {
65
+ "name": "most_recent_classification",
66
+ "type": "string",
67
+ "description": "Classification of the most recent inspection (full text)."
68
+ },
69
+ {
70
+ "name": "most_recent_classification_code",
71
+ "type": "string",
72
+ "description": "Classification code of the most recent inspection (NAI/VAI/OAI)."
73
+ },
74
+ {
75
+ "name": "warning_letter_count",
76
+ "type": "integer",
77
+ "description": "Count of Warning Letter compliance actions issued to this FEI."
78
+ },
79
+ {
80
+ "name": "recall_count",
81
+ "type": "integer",
82
+ "description": "Count of device + drug recalls attributed to this facility. Recalls carry no FEI, so they are matched by unambiguous 1:1 normalized firm name (see Methodology)."
83
+ },
84
+ {
85
+ "name": "import_refusal_count",
86
+ "type": "integer",
87
+ "description": "Count of FDA import refusals recorded against this FEI."
88
+ },
89
+ {
90
+ "name": "total_citations",
91
+ "type": "integer",
92
+ "description": "Total inspection citations (483 observations) recorded across all inspections."
93
+ },
94
+ {
95
+ "name": "distinct_cfr_codes",
96
+ "type": "integer",
97
+ "description": "Number of distinct CFR codes cited across the facility's inspections."
98
+ },
99
+ {
100
+ "name": "repeat_citation_flag",
101
+ "type": "boolean",
102
+ "description": "True if the same CFR code was cited across 2+ distinct inspections."
103
+ },
104
+ {
105
+ "name": "most_cited_cfr",
106
+ "type": "string",
107
+ "description": "The CFR code cited across the most distinct inspections at this facility."
108
+ },
109
+ {
110
+ "name": "ever_escalated_to_wl",
111
+ "type": "boolean",
112
+ "description": "True if any inspection at this facility was followed by a Warning Letter (or stronger)."
113
+ },
114
+ {
115
+ "name": "fastest_escalation_days",
116
+ "type": "integer",
117
+ "description": "Shortest observed gap (days) from an inspection end to a subsequent Warning Letter; null if none."
118
+ },
119
+ {
120
+ "name": "has_510k_clearance",
121
+ "type": "boolean",
122
+ "description": "True if the facility holds at least one 510(k) device clearance."
123
+ },
124
+ {
125
+ "name": "count_510k",
126
+ "type": "integer",
127
+ "description": "Number of 510(k) device clearances linked to this facility's FEI."
128
+ },
129
+ {
130
+ "name": "facility_risk_score",
131
+ "type": "float",
132
+ "description": "Composite regulatory-risk score, 0\u2013100 (higher = more regulatory exposure). Heuristic, not an official FDA designation. Formula: min(100, oai_count*15 + warning_letter_count*20 + recall_count*10 + min(import_refusal_count*2,20) + repeat_citation_flag*10 + (recent OAI)*15 + recency_factor)."
133
+ }
134
+ ]
135
+ }