Skip to content

Commit 137992f

Browse files
authored
Update program.json
PR feedback Signed-off-by: Ben Chypak <bchypak@mobify.com>
1 parent 4a6e503 commit 137992f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

packages/pwa-kit-create-app/program.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,16 @@
214214
"type": "object",
215215
"properties": {
216216
"id": {
217-
"type": "string"
217+
"type": "string",
218+
"description": "The unique identifier for the validator."
218219
},
219220
"name": {
220-
"type": "string"
221+
"type": "string",
222+
"description": "The name of the validator."
221223
},
222224
"description": {
223-
"type": "string"
225+
"type": "string",
226+
"description": "A brief description of what the validator does."
224227
},
225228
"message": {
226229
"type": "string",
@@ -231,6 +234,7 @@
231234
},
232235
"regex": {
233236
"type": "string",
237+
"description": "The validation logic, often a regular expression or a reference to a function.",
234238
"_ai": {
235239
"instruction": "Use this regex to validate the user input.",
236240
"expectedUse": "For validation of user input."
@@ -735,4 +739,4 @@
735739
}
736740
]
737741
}
738-
}
742+
}

0 commit comments

Comments
 (0)