Spaces:
Sleeping
Sleeping
Commit
·
6cd62e1
1
Parent(s):
8f52b9f
commit
Browse files- json/example.json +9 -0
- json/schema.json +32 -0
json/example.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"subject": "ACTION: Submit Timesheets by Friday",
|
4 |
+
"bluf_tag": "ACTION:",
|
5 |
+
"bluf_summary": "Timesheets must be submitted by Friday so payroll can be processed. Please ensure all staff complete their entries before the deadline.",
|
6 |
+
"email": "Bottom Line Up Front\n\nPurpose: ACTION:\n\nTimesheets must be submitted by Friday so payroll can be processed. Please ensure all staff complete their entries before the deadline.\n\nHi team, just reminding everyone that timesheets for this week are due on Friday. Please make sure to submit them by then so payroll can be processed."
|
7 |
+
}
|
8 |
+
]
|
9 |
+
|
json/schema.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
3 |
+
"title": "BLUFEmail",
|
4 |
+
"type": "array",
|
5 |
+
"items": {
|
6 |
+
"type": "object",
|
7 |
+
"properties": {
|
8 |
+
"subject": {
|
9 |
+
"type": "string",
|
10 |
+
"description": "The email subject line, starting with the BLUF tag followed by a concise summary (e.g., 'ACTION: Submit Timesheets by Friday')."
|
11 |
+
},
|
12 |
+
"bluf_tag": {
|
13 |
+
"type": "string",
|
14 |
+
"enum": ["ACTION:", "SIGN:", "INFO:", "DECISION:", "REQUEST:", "COORD:"],
|
15 |
+
"description": "The BLUF tag selected based on the email's intent."
|
16 |
+
},
|
17 |
+
"bluf_summary": {
|
18 |
+
"type": "string",
|
19 |
+
"description": "A two-sentence plain-language summary of the email, capturing the Bottom Line Up Front."
|
20 |
+
},
|
21 |
+
"email": {
|
22 |
+
"type": "string",
|
23 |
+
"description": "The full email body, formatted with the BLUF structure (BLUF header, purpose, BLUF summary, and the original email text)."
|
24 |
+
}
|
25 |
+
},
|
26 |
+
"required": ["subject", "bluf_tag", "bluf_summary", "email"],
|
27 |
+
"additionalProperties": false
|
28 |
+
},
|
29 |
+
"minItems": 1,
|
30 |
+
"maxItems": 1
|
31 |
+
}
|
32 |
+
|