@f-o-h/cli 0.1.87 → 0.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/foh.js +2018 -391
- package/package.json +1 -1
- package/schemas/business-requirement-brief.schema.json +3 -3
- package/schemas/foh-template.schema.json +52 -1
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"properties": {
|
|
20
20
|
"schema_version": { "const": "business_requirement_brief.v1" },
|
|
21
21
|
"business_name": { "type": "string", "minLength": 1, "maxLength": 200 },
|
|
22
|
-
"industry": { "enum": ["real_estate", "general"] },
|
|
22
|
+
"industry": { "enum": ["real_estate", "restaurant", "general"] },
|
|
23
23
|
"desired_use_cases": {
|
|
24
24
|
"type": "array",
|
|
25
25
|
"minItems": 1,
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"maxItems": 30,
|
|
63
63
|
"items": { "type": "string", "minLength": 1, "maxLength": 300 }
|
|
64
64
|
},
|
|
65
|
-
"optimization_target": { "enum": ["
|
|
65
|
+
"optimization_target": { "enum": ["lead_quality", "booking_rate", "speed_to_lead", "support_resolution", "cost_efficiency"] }
|
|
66
66
|
}
|
|
67
|
-
}
|
|
67
|
+
}
|
|
@@ -34,10 +34,61 @@
|
|
|
34
34
|
"name": { "type": "string", "minLength": 1 },
|
|
35
35
|
"version": { "type": "string", "minLength": 1 },
|
|
36
36
|
"status": { "enum": ["draft", "certification_ready", "published", "deprecated"] },
|
|
37
|
-
"industry": { "enum": ["real_estate", "general"] },
|
|
37
|
+
"industry": { "enum": ["real_estate", "restaurant", "general"] },
|
|
38
38
|
"category": { "enum": ["buyer", "seller", "landlord", "tenant", "commercial", "support", "sales", "general"] },
|
|
39
39
|
"use_case": { "type": "string", "minLength": 1 },
|
|
40
40
|
"summary": { "type": "string", "minLength": 1 },
|
|
41
|
+
"business_blueprint": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"required": [
|
|
44
|
+
"schema_version",
|
|
45
|
+
"blueprint_id",
|
|
46
|
+
"name",
|
|
47
|
+
"industry",
|
|
48
|
+
"business_model",
|
|
49
|
+
"primary_audiences",
|
|
50
|
+
"supported_objectives",
|
|
51
|
+
"knowledge_source_types",
|
|
52
|
+
"default_channels"
|
|
53
|
+
],
|
|
54
|
+
"properties": {
|
|
55
|
+
"schema_version": { "const": "business_blueprint.v1" },
|
|
56
|
+
"blueprint_id": { "type": "string", "minLength": 1 },
|
|
57
|
+
"name": { "type": "string", "minLength": 1 },
|
|
58
|
+
"industry": { "enum": ["real_estate", "restaurant", "general"] },
|
|
59
|
+
"business_model": { "type": "string", "minLength": 1 },
|
|
60
|
+
"primary_audiences": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
|
61
|
+
"supported_objectives": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"minItems": 1,
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"required": ["id", "label", "outcome"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"id": { "type": "string", "minLength": 1 },
|
|
69
|
+
"label": { "type": "string", "minLength": 1 },
|
|
70
|
+
"outcome": { "type": "string", "minLength": 1 },
|
|
71
|
+
"required_fields": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
72
|
+
"default_tools": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
73
|
+
"scenario_tags": { "type": "array", "items": { "type": "string", "minLength": 1 } }
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"knowledge_source_types": {
|
|
78
|
+
"type": "array",
|
|
79
|
+
"minItems": 1,
|
|
80
|
+
"items": { "enum": ["website", "document", "manual_text", "crm", "property_feed", "booking_system", "menu"] }
|
|
81
|
+
},
|
|
82
|
+
"default_channels": {
|
|
83
|
+
"type": "array",
|
|
84
|
+
"minItems": 1,
|
|
85
|
+
"items": { "enum": ["widget", "voice", "whatsapp", "instagram", "sms"] }
|
|
86
|
+
},
|
|
87
|
+
"hard_constraints": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
88
|
+
"handoff_triggers": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
89
|
+
"evidence_requirements": { "type": "array", "items": { "type": "string", "minLength": 1 } }
|
|
90
|
+
}
|
|
91
|
+
},
|
|
41
92
|
"channel_support": {
|
|
42
93
|
"type": "array",
|
|
43
94
|
"minItems": 1,
|