MessageML is a markup language used by the Symphony Agent API for representing messages, including formatting (bold, italic, numbered and unnumbered lists etc.) and entity data representing structured objects.
Description of the Element that will be shown in a hint
label
true
String
64
Label that will be displayed on top of the Element
required
true
String (true or false)
64
If true, it specifies that the input field must be filled out before submitting the form.Accepted values; true and false.
placeholder
true
String
64
If null, use display the accepted format
min
true
String “yyyy-MM-dd”
64
The earliest acceptable date with ISO_8601 format (yyyy-MM-dd)
max
true
String “yyyy-MM-dd”
64
The latest acceptable date with ISO_8601 format (yyyy-MM-dd)
disabled-date
true
Array of json, in string format
1024
Date or Range Date to disable, it can be day of week as well[ {'from': 'YYYY-MM-DD’, to: 'YYYY-MM-DD’}, {'day': 'YYYY-MM-DD’ }, {'day': 'YYYY-MM-DD’ }, {'day': 'YYYY-MM-DD’ }, {'from': 'YYYY-MM-DD’, to: 'YYYY-MM-DD’}, {'daysOfWeek': [0, 1]} ]Note: for daysOfWeek 0 always corresponds to Sunday, 6 corresponds to Saturday
highlighted-date
true
Array of json, in string format
1024
Date or Range Date to highlight, it can be day of week as well[ {'from': 'YYYY-MM-DD’, 'to': 'YYYY-MM-DD’}, {'day': 'YYYY-MM-DD’ }, {'day': 'YYYY-MM-DD’ }, {'day': 'YYYY-MM-DD’ }, {from: 'YYYY-MM-DD’, 'to': 'YYYY-MM-DD’}, {'daysOfWeek': [0, 1]} ]
Description of the Element that will be shown in a hint
label
true
String
Label that will be displayed on top of the Element
required
true
String (true or false)
If true, it specifies that the input field must be filled out before submitting the form.Accepted values; true and false.
placeholder
true
String
If null, use display the accepted format
min
true
String “yyyy-MM-dd”
The earliest acceptable date with ISO_8601 format (yyyy-MM-dd)
max
true
String “yyyy-MM-dd”
The latest acceptable date with ISO_8601 format (yyyy-MM-dd)
data-disabled-date
true
Array of json, in string format
1024
Date or Range Date to disable, it can be day of week as well type: should be added during the presentationML transformation, more details above the table[ {type: "range", from: 'YYYY-MM-DD’, to: 'YYYY-MM-DD’}, {type: "date", day: 'YYYY-MM-DD’ }, {type: "date", day: 'YYYY-MM-DD’ }, {type: "date", day: 'YYYY-MM-DD’ }, {type: "range", from: 'YYYY-MM-DD’, to: 'YYYY-MM-DD’}, {type: "weekdays", daysOfWeek: [0, 1]} ]Note: for daysOfWeek 0 always corresponds to Sunday, 6 corresponds to Saturday
data-highlighted-date
true
Array of json, in string format
1024
Date or Range Date to highlight, it can be day of week as well type: should be added during the presentationML transformation[ {type: "range", from: 'YYYY-MM-DD’, to: 'YYYY-MM-DD’}, {type: "date", day: 'YYYY-MM-DD’ }, {type: "date", day: 'YYYY-MM-DD’ }, {type: "date", day: 'YYYY-MM-DD’ }, {type: "range", from: 'YYYY-MM-DD’, to: 'YYYY-MM-DD’}, {type: "weekdays", daysOfWeek: [0, 1]} ]
data-format
true
String
Format of the date to write on the input field, doesn’t affect value, disabled-date nor highlighted-date props format
Support for a new kind of element, called date-picker. This element can have a title (tooltip) and a label, that generate related spans.
MessageML
PresentationML