Schema Explorer

Input.Time

Lets a user select a time.

Property Type Required Description Version
id string Yes Unique identifier for the value. Used to identify collected input when the Submit action is performed. 1.0
max string No Hint of maximum value (may be ignored by some clients). 1.0
min string No Hint of minimum value (may be ignored by some clients). 1.0
placeholder string No Description of the input desired. Displayed when no time has been selected. 1.0
type "Input.Time" Yes Must be "Input.Time". 1.0
value string No The initial value for this field expressed in ISO-8601 format. 1.0
spacing string No Controls the amount of spacing between this element and the preceding element. 1.0
separator boolean No, default: false When true, draw a separating line at the top of the element. 1.0

Example

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
		{
			"type": "TextBlock",
			"text": "What time do you want to meet?"
		},
		{
			"type": "Input.Time",
			"id": "time",
			"min": "09:00",
			"max": "17:00",
			"value": "15:30"
		}
	],
	"actions": [
		{
			"type": "Action.Submit",
			"title": "OK"
		}
	]
}
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "text": "What time do you want to meet?" }, { "type": "Input.Time", "id": "time", "min": "09:00", "max": "17:00", "value": "15:30" } ], "actions": [ { "type": "Action.Submit", "title": "OK" } ] }
Try it Yourself »

Properties

id

Unique identifier for the value. Used to identify collected input when the Submit action is performed.

  • Type: string
  • Required: Yes

max

Hint of maximum value (may be ignored by some clients).

  • Type: string
  • Required: No

min

Hint of minimum value (may be ignored by some clients).

  • Type: string
  • Required: No

placeholder

Description of the input desired. Displayed when no time has been selected.

  • Type: string
  • Required: No

type

Must be "Input.Time".

  • Type: "Input.Time"
  • Required: Yes
  • Allowed values:
    • Input.Time

value

The initial value for this field expressed in ISO-8601 format.

  • Type: string
  • Required: No

spacing

Controls the amount of spacing between this element and the preceding element.

  • Type: string
  • Required: No
  • Allowed values:
    • "none"
    • "small"
    • "default"
    • "medium"
    • "large"
    • "extraLarge"
    • "padding"

separator

When true, draw a separating line at the top of the element.

  • Type: boolean
  • Required: No, default: false