Propose AR Collections Email
v0.1.0commandsWorkflow #4 — a relationship-aware dunning email queued for approval. The approval IS the send gate; the human can edit subject/body at send.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "ProposeArCollectionEmail",
4 "type": "object",
5 "properties": {
6 "fromMailbox": {
7 "type": "string",
8 "minLength": 1
9 },
10 "toAddress": {
11 "type": "string",
12 "format": "email"
13 },
14 "toName": {
15 "type": "string"
16 },
17 "ccAddresses": {
18 "type": "array",
19 "items": {
20 "type": "string",
21 "format": "email"
22 }
23 },
24 "subject": {
25 "type": "string",
26 "minLength": 1
27 },
28 "body": {
29 "type": "string",
30 "minLength": 1
31 },
32 "bodyType": {
33 "type": "string",
34 "enum": [
35 "Text",
36 "HTML"
37 ]
38 },
39 "customerName": {
40 "type": "string"
41 },
42 "amountDue": {
43 "type": "number",
44 "exclusiveMinimum": 0
45 },
46 "invoiceRefs": {
47 "type": "array",
48 "items": {
49 "type": "string"
50 }
51 }
52 },
53 "required": [
54 "fromMailbox",
55 "toAddress",
56 "subject",
57 "body"
58 ]
59}Details
- Format
- JSON Schema
- Resource
- commands
- Filename
- schema.json