-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathprompt-config.schema.json
More file actions
181 lines (181 loc) · 5.78 KB
/
Copy pathprompt-config.schema.json
File metadata and controls
181 lines (181 loc) · 5.78 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Intuit Developer Prompt Library Configuration",
"description": "Schema for prompt-config.json — validates configurable and static fields used by merge-prompt.js",
"type": "object",
"required": [
"integration_mode",
"language_framework",
"type_of_transaction",
"typing_system",
"transaction_creation_instructions",
"markup_percentages",
"project_estimate_creation_instructions",
"graphql_endpoint_production",
"graphql_endpoint_sandbox",
"graphql_schema",
"transaction_v3_api_endpoint",
"get_transaction_endpoint",
"company_info_rest_v3_api_endpoint",
"company_preferences_rest_v3_api_endpoint",
"rest_v3_api_documentation",
"project-estimate-documentation",
"projects_discovery_query",
"project_creation_query"
],
"properties": {
"integration_mode": {
"type": "string",
"enum": ["new", "existing"],
"description": "Whether to scaffold a new project or produce importable modules for an existing codebase"
},
"language_framework": {
"type": "string",
"minLength": 1,
"description": "Target language or framework for generated code (e.g., Python3, TypeScript, Java)"
},
"type_of_transaction": {
"type": "string",
"pattern": "^[a-z]+$",
"enum": [
"bill",
"creditmemo",
"deposit",
"estimate",
"expense",
"purchase",
"invoice",
"journalentry",
"purchaseorder",
"refundreceipt",
"salesreceipt",
"vendorcredit"
],
"description": "QuickBooks transaction type (must be all lowercase)"
},
"typing_system": {
"type": "string",
"minLength": 1,
"description": "Type system style for the chosen language (e.g., hints (dataclasses), Pydantic models)"
},
"transaction_creation_instructions": {
"type": "string",
"minLength": 1,
"description": "Free-form instructions for creating a Dimensions-tagged transaction"
},
"markup_percentages": {
"type": "number",
"description": "Markup percentage for Project Estimate cost calculations (positive value = profit, negative value = loss)"
},
"project_estimate_creation_instructions": {
"type": "string",
"minLength": 1,
"description": "Free-form instructions for creating a Project Estimate"
},
"graphql_endpoint_production": {
"type": "string",
"description": "Production GraphQL endpoint"
},
"graphql_endpoint_sandbox": {
"type": "string",
"description": "Sandbox GraphQL endpoint"
},
"graphql_schema": {
"type": "string",
"description": "URL to the GraphQL schema documentation"
},
"create_dimension_qbo_ui": {
"type": "string",
"description": "URL to create dimensions in the QuickBooks UI"
},
"custom_extensions_structure": {
"type": "string",
"description": "JSON structure for CustomExtensions payload"
},
"transaction_v3_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for creating transactions"
},
"get_transaction_endpoint": {
"type": "string",
"description": "REST V3 endpoint for reading a transaction"
},
"transaction_v3_estimate_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for creating a Project Estimate"
},
"get_estimate_transaction_endpoint": {
"type": "string",
"description": "REST V3 endpoint for reading a Project Estimate"
},
"rest_baseurl_production": {
"type": "string",
"description": "Production REST API base URL (host only, no scheme)"
},
"rest_baseurl_sandbox": {
"type": "string",
"description": "Sandbox REST API base URL (host only, no scheme)"
},
"minorversion": {
"type": "string",
"description": "QuickBooks REST API minorversion to use in query strings"
},
"company_info_rest_v3_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for querying CompanyInfo"
},
"company_preferences_rest_v3_api_endpoint": {
"type": "string",
"description": "REST V3 endpoint for querying Company Preferences"
},
"dimension_Api_documentation": {
"type": "string",
"description": "URL to Dimensions API documentation"
},
"project-estimate-documentation": {
"type": "string",
"description": "URL to Project Estimate use-case documentation"
},
"rest_v3_api_documentation": {
"type": "string",
"description": "URL to REST V3 API reference documentation"
},
"dimension_discovery_query": {
"type": "string",
"description": "GraphQL query for fetching dimension definitions"
},
"dimension_values_query": {
"type": "string",
"description": "GraphQL query for fetching dimension values"
},
"projects_discovery_query": {
"type": "string",
"description": "GraphQL query for fetching projects"
},
"project_creation_query": {
"type": "string",
"description": "GraphQL mutation for creating a project"
},
"php-sdk-documentation": {
"type": "string",
"description": "URL to PHP SDK documentation"
},
"oauth2-documentation": {
"type": "string",
"description": "URL to OAuth 2.0 documentation"
},
"java-sdk-official": {
"type": "string",
"description": "URL to official Java SDK on Maven Central"
},
"java-sdk-dependency": {
"type": "string",
"description": "Build tool for Java SDK dependency (e.g., Gradle, Maven)"
},
"java-sdk-documentation": {
"type": "string",
"description": "URL to Java SDK installation documentation"
}
},
"additionalProperties": false
}