Skip to content

Commit b81ff12

Browse files
fix prefill json in create document with template v1.1
1 parent 65be6d1 commit b81ff12

File tree

1 file changed

+61
-50
lines changed

1 file changed

+61
-50
lines changed

docs/docs/API-docs/v1.1/opensign.yaml

Lines changed: 61 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -913,17 +913,17 @@ paths:
913913
2. **date**
914914
```
915915
{
916-
"type": "date"
917-
"page": 1
918-
"x": 173
919-
"y": 588
920-
"w": 114
921-
"h": 21
916+
"type": "date",
917+
"page": 1,
918+
"x": 173,
919+
"y": 588,
920+
"w": 114,
921+
"h": 21,
922922
"options": {
923-
"name": "date"
924-
"response": "04/15/2024"
925-
"format": "mm/dd/yyyy"
926-
"color": "black"
923+
"name": "date",
924+
"response": "04/15/2024",
925+
"format": "mm/dd/yyyy",
926+
"color": "black",
927927
"fontsize": 12
928928
}
929929
}
@@ -1359,17 +1359,17 @@ paths:
13591359
2. **date**
13601360
```
13611361
{
1362-
"type": "date"
1363-
"page": 1
1364-
"x": 173
1365-
"y": 588
1366-
"w": 114
1367-
"h": 21
1362+
"type": "date",
1363+
"page": 1,
1364+
"x": 173,
1365+
"y": 588,
1366+
"w": 114,
1367+
"h": 21,
13681368
"options": {
1369-
"name": "date"
1370-
"response": "04/15/2024"
1371-
"format": "mm/dd/yyyy"
1372-
"color": "black"
1369+
"name": "date",
1370+
"response": "04/15/2024",
1371+
"format": "mm/dd/yyyy",
1372+
"color": "black",
13731373
"fontsize": 12
13741374
}
13751375
}
@@ -2313,16 +2313,16 @@ paths:
23132313
```
23142314
{
23152315
"type": "date"
2316-
"page": 1
2317-
"x": 173
2318-
"y": 588
2319-
"w": 114
2320-
"h": 21
2316+
"page": 1,
2317+
"x": 173,
2318+
"y": 588,
2319+
"w": 114,
2320+
"h": 21,
23212321
"options": {
2322-
"name": "date"
2323-
"response": "04/15/2024"
2324-
"format": "mm/dd/yyyy"
2325-
"color": "black"
2322+
"name": "date",
2323+
"response": "04/15/2024",
2324+
"format": "mm/dd/yyyy",
2325+
"color": "black",
23262326
"fontsize": 12
23272327
}
23282328
}
@@ -2779,17 +2779,17 @@ paths:
27792779
2. **date**
27802780
```
27812781
{
2782-
"type": "date"
2783-
"page": 1
2784-
"x": 173
2785-
"y": 588
2786-
"w": 114
2787-
"h": 21
2782+
"type": "date",
2783+
"page": 1,
2784+
"x": 173,
2785+
"y": 588,
2786+
"w": 114,
2787+
"h": 21,
27882788
"options": {
2789-
"name": "date"
2790-
"response": "04/15/2024"
2791-
"format": "mm/dd/yyyy"
2792-
"color": "black"
2789+
"name": "date",
2790+
"response": "04/15/2024",
2791+
"format": "mm/dd/yyyy",
2792+
"color": "black",
27932793
"fontsize": 12
27942794
}
27952795
}
@@ -3245,17 +3245,17 @@ paths:
32453245
2. **date**
32463246
```
32473247
{
3248-
"type": "date"
3249-
"page": 1
3250-
"x": 173
3251-
"y": 588
3252-
"w": 114
3253-
"h": 21
3248+
"type": "date",
3249+
"page": 1,
3250+
"x": 173,
3251+
"y": 588,
3252+
"w": 114,
3253+
"h": 21,
32543254
"options": {
3255-
"name": "date"
3256-
"response": "04/15/2024"
3257-
"format": "mm/dd/yyyy"
3258-
"color": "black"
3255+
"name": "date",
3256+
"response": "04/15/2024",
3257+
"format": "mm/dd/yyyy",
3258+
"color": "black",
32593259
"fontsize": 12
32603260
}
32613261
}
@@ -4839,7 +4839,18 @@ components:
48394839
If nothing is set, it will use the owner’s preferences. If the owner’s preferences are also not set, it will default to false.
48404840
example: false
48414841
prefill:
4842-
$ref: '#/components/schemas/prefill'
4842+
type: array
4843+
items:
4844+
type: object
4845+
properties:
4846+
name:
4847+
type: string
4848+
format: string
4849+
example: textbox
4850+
response:
4851+
type: string
4852+
format: string
4853+
example: andrew bee
48434854
revokedocument:
48444855
type: object
48454856
properties:

0 commit comments

Comments
 (0)