Attachments
Attributes
For rules use #attachments
to refer to the attachment
- validationRule
- availabilityRule
- validationMessage
- camera
- image: hide | show
- video: hide | show
Example
"attachment": {
"validationRule": "#attachments kind includes [image] or #attachments kind includes [audio]",
"availabilityRule": "#attachments kind excludes [image, audio]",
"validationMessage": "Please provide a portrait orientation photo of your product and an audio recording about the product",
"camera": {
"image": "show",
"video": "hide"
},
"library": [
"image"
],
"file": "show",
"audio": "show",
"multiple": false
},