|
2 | 2 | "metadata": {}, |
3 | 3 | "startPage": "/start", |
4 | 4 | "fullStartPage": "/kls-path-1/start", |
| 5 | + "authentication": true, |
| 6 | + "toggle": true, |
5 | 7 | "serviceName": "Knowledge and Library Services", |
6 | 8 | "analytics": { |
7 | 9 | "matomoUrl": "https://ukhsakls.matomo.cloud", |
8 | 10 | "matomoId": "11" |
9 | 11 | }, |
10 | 12 | "webhookHmacSharedKey": "${KLSkey}", |
| 13 | + "fileUploadHmacSharedKey": "${KLSFileUploadKey}", |
11 | 14 | "magicLinkConfig": "kls-magic-link", |
12 | 15 | "pages": [ |
13 | 16 | { |
14 | 17 | "title": "Contact the Knowledge and Library Services team", |
15 | 18 | "path": "/start", |
| 19 | + "unauthenticated": true, |
16 | 20 | "components": [], |
17 | 21 | "next": [ |
18 | 22 | { |
|
23 | 27 | }, |
24 | 28 | { |
25 | 29 | "path": "/which-organisation-do-you-work-for", |
| 30 | + "unauthenticated": true, |
26 | 31 | "title": "Which organisation do you work for?", |
27 | 32 | "components": [ |
28 | 33 | { |
|
51 | 56 | }, |
52 | 57 | { |
53 | 58 | "path": "/please-contact-us-via-email", |
| 59 | + "unauthenticated": true, |
54 | 60 | "title": "Please contact us via email", |
55 | 61 | "components": [ |
56 | 62 | { |
|
93 | 99 | { |
94 | 100 | "name": "RpctHr", |
95 | 101 | "options": { |
96 | | - "required": true |
| 102 | + "required": true, |
| 103 | + "customValidationMessages": { |
| 104 | + "any.required": "Enter job title", |
| 105 | + "any.only": "Enter job title", |
| 106 | + "string.empty": "Enter job title" |
| 107 | + } |
97 | 108 | }, |
98 | 109 | "type": "TextField", |
99 | 110 | "title": "Job title", |
|
195 | 206 | "schema": {} |
196 | 207 | }, |
197 | 208 | { |
198 | | - "name": "aazUpS", |
199 | | - "options": { |
200 | | - "required": false |
201 | | - }, |
202 | | - "type": "FileUploadField", |
203 | | - "title": "Please attach any supporting information, for example a protocol or list of references.", |
204 | | - "schema": {}, |
205 | | - "hint": "" |
206 | | - } |
| 209 | + "name":"bYWcrH", |
| 210 | + "options":{ |
| 211 | + "multiple":true, |
| 212 | + "accept": "image/png,image/jpeg,image/gif,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel.sheet.macroEnabled.12,text/csv,application/xml,text/xml,application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/rtf,text/rtf,application/msword,application/x-research-info-systems,text/plain,application/vnd.ms-outlook,application/vnd.openxmlformats-officedocument.presentationml.presentation,.ris,application/vnd.ms-excel" |
| 213 | + }, |
| 214 | + "type":"FileUploadField", |
| 215 | + "title":"CHANGE Me 1 :)!" |
| 216 | + } |
| 217 | + |
| 218 | + |
207 | 219 | ], |
208 | 220 | "next": [ |
209 | 221 | { |
|
272 | 284 | { |
273 | 285 | "name": "bhBuDQ", |
274 | 286 | "options": { |
275 | | - "required": true |
| 287 | + "required": true, |
| 288 | + "customValidationMessages": { |
| 289 | + "any.required": "Enter relevant concepts", |
| 290 | + "any.only": "Enter relevant concepts", |
| 291 | + "string.empty": "Enter relevant concepts" |
| 292 | + } |
276 | 293 | }, |
277 | 294 | "type": "MultilineTextField", |
278 | 295 | "title": "Explain any relevant concepts", |
|
397 | 414 | { |
398 | 415 | "name": "WNVZzn", |
399 | 416 | "options": { |
400 | | - "required": true |
| 417 | + "required": true, |
| 418 | + "customValidationMessages": { |
| 419 | + "any.required": "Enter what you will use the results for", |
| 420 | + "any.only": "Enter what you will use the results for", |
| 421 | + "string.empty": "Enter what you will use the results for" |
| 422 | + } |
401 | 423 | }, |
402 | 424 | "type": "SelectField", |
403 | 425 | "title": "What will you primarily use the results of this search for?", |
|
420 | 442 | { |
421 | 443 | "name": "qwQlWP", |
422 | 444 | "options": { |
423 | | - "required": true |
| 445 | + "required": true, |
| 446 | + "customValidationMessages": { |
| 447 | + "any.required": "Enter your preferred results format", |
| 448 | + "any.only": "Enter your preferred results format", |
| 449 | + "string.empty": "Enter your preferred results format" |
| 450 | + } |
424 | 451 | }, |
425 | 452 | "type": "CheckboxesField", |
426 | 453 | "title": "What is your preferred results format?", |
|
448 | 475 | }, |
449 | 476 | { |
450 | 477 | "name": "lIUPMw", |
451 | | - "options": {}, |
| 478 | + "options": { |
| 479 | + "customValidationMessages": { |
| 480 | + "any.required": "Enter type of review", |
| 481 | + "any.only": "Enter type of review", |
| 482 | + "string.empty": "Enter type of review" |
| 483 | + } |
| 484 | + }, |
452 | 485 | "type": "SelectField", |
453 | 486 | "title": "What type of review are you doing?", |
454 | 487 | "list": "cZlqVP", |
|
470 | 503 | { |
471 | 504 | "name": "byRMpb", |
472 | 505 | "options": { |
473 | | - "required": true |
| 506 | + "required": true, |
| 507 | + "customValidationMessages": { |
| 508 | + "any.required": "Enter reason for review", |
| 509 | + "any.only": "Enter reason review", |
| 510 | + "string.empty": "Enter reason review" |
| 511 | + } |
474 | 512 | }, |
475 | 513 | "type": "SelectField", |
476 | 514 | "title": "What is the reason for conducting this review?", |
|
492 | 530 | { |
493 | 531 | "name": "diftRU", |
494 | 532 | "options": { |
495 | | - "required": true |
| 533 | + "required": true, |
| 534 | + "customValidationMessages": { |
| 535 | + "any.required": "Enter where to publish review", |
| 536 | + "any.only": "Enter where to publish review", |
| 537 | + "string.empty": "Enter where to publish review" |
| 538 | + } |
496 | 539 | }, |
497 | 540 | "type": "SelectField", |
498 | 541 | "title": "Where do you intend to publish your review?", |
|
521 | 564 | { |
522 | 565 | "name": "dmgVPY", |
523 | 566 | "options": { |
524 | | - "required": true |
| 567 | + "required": true, |
| 568 | + "customValidationMessages": { |
| 569 | + "any.required": "Enter if you have written a protocol", |
| 570 | + "any.only": "Enter if you have written a protocol", |
| 571 | + "string.empty": "Enter if you have written a protocol" |
| 572 | + } |
525 | 573 | }, |
526 | 574 | "type": "YesNoField", |
527 | 575 | "title": "Have you written a protocol?", |
|
569 | 617 | { |
570 | 618 | "name": "TNXqpA", |
571 | 619 | "options": { |
572 | | - "required": true |
| 620 | + "required": true, |
| 621 | + "customValidationMessages": { |
| 622 | + "any.required": "Enter your inclusion criteria for population", |
| 623 | + "any.only": "Enter your inclusion criteria for population", |
| 624 | + "string.empty": "Enter your inclusion criteria for population" |
| 625 | + } |
573 | 626 | }, |
574 | 627 | "type": "MultilineTextField", |
575 | 628 | "title": "What are your inclusion criteria for population?", |
|
578 | 631 | { |
579 | 632 | "name": "KXXNzf", |
580 | 633 | "options": { |
581 | | - "required": true |
| 634 | + "required": true, |
| 635 | + "customValidationMessages": { |
| 636 | + "any.required": "Enter your inclusion criteria for intervention or exposure", |
| 637 | + "any.only": "Enter your inclusion criteria for intervention or exposure", |
| 638 | + "string.empty": "Enter your inclusion criteria for intervention or exposure" |
| 639 | + } |
582 | 640 | }, |
583 | 641 | "type": "MultilineTextField", |
584 | 642 | "title": "What are your inclusion criteria for intervention or exposure?", |
|
587 | 645 | { |
588 | 646 | "name": "GjCFLx", |
589 | 647 | "options": { |
590 | | - "required": true |
| 648 | + "required": true, |
| 649 | + "customValidationMessages": { |
| 650 | + "any.required": "Enter your inclusion criteria for setting/location", |
| 651 | + "any.only": "Enter your inclusion criteria for setting/location", |
| 652 | + "string.empty": "Enter your inclusion criteria for setting/location" |
| 653 | + } |
591 | 654 | }, |
592 | 655 | "type": "MultilineTextField", |
593 | 656 | "title": "What are your inclusion criteria for setting/location?", |
|
596 | 659 | { |
597 | 660 | "name": "MgKlsM", |
598 | 661 | "options": { |
599 | | - "required": true |
| 662 | + "required": true, |
| 663 | + "customValidationMessages": { |
| 664 | + "any.required": "Enter your inclusion criteria for outcomes", |
| 665 | + "any.only": "Enter your inclusion criteria for outcomes", |
| 666 | + "string.empty": "Enter your inclusion criteria for outcomes" |
| 667 | + } |
600 | 668 | }, |
601 | 669 | "type": "MultilineTextField", |
602 | 670 | "title": "What are your inclusion criteria for outcomes?", |
|
638 | 706 | "title": "Enquiry title", |
639 | 707 | "schema": {} |
640 | 708 | }, |
641 | | - { |
642 | | - "name": "FIvjTg", |
643 | | - "options": { |
644 | | - "required": false |
645 | | - }, |
646 | | - "type": "FileUploadField", |
647 | | - "title": "Upload a file", |
648 | | - "hint": "To support the KLS team in dealing with your query, you may upload a file here.", |
649 | | - "schema": {} |
650 | | - } |
| 709 | +{ |
| 710 | + "name": "FIvjTg", |
| 711 | + "type": "FileUploadField", |
| 712 | + "title": "Upload a file v2", |
| 713 | + "hint": "To support the KLS team in dealing with your query, you may upload a file here.", |
| 714 | + "schema": {}, |
| 715 | + "options": { |
| 716 | + "multiple": true, |
| 717 | + "accept": "image/png,image/jpeg,image/gif,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel.sheet.macroEnabled.12,text/csv,application/xml,text/xml,application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/rtf,text/rtf,application/msword,application/x-research-info-systems,text/plain,application/vnd.ms-outlook,application/vnd.openxmlformats-officedocument.presentationml.presentation,.ris,application/vnd.ms-excel" |
| 718 | + } |
| 719 | +} |
651 | 720 | ], |
652 | 721 | "next": [ |
653 | 722 | { |
|
1529 | 1598 | "items": [ |
1530 | 1599 | { |
1531 | 1600 | "text": "Peer reviewed journal", |
1532 | | - "value": "Journal" |
| 1601 | + "value": "Peer reviewed journal" |
1533 | 1602 | }, |
1534 | 1603 | { |
1535 | 1604 | "description": "", |
|
2297 | 2366 | "feedbackForm": true, |
2298 | 2367 | "url": "/kls-feedback" |
2299 | 2368 | }, |
2300 | | - "jwtKey": "23029328asdasd3923208902de902" |
| 2369 | + "jwtKey": "${KLSJwtKey}" |
2301 | 2370 | } |
0 commit comments