# PhaseBanner
Cardscript
Displays a banner highlighting a phase.
# Example
{
"type": "AdaptiveCard",
"body": [
{
"type": "PhaseBanner",
"phase": "alpha"
},
{
"type": "PhaseBanner",
"phase": "beta"
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# type
Must be "PhaseBanner"
.
- Type:
string
- Values:
PhaseBanner
# Optional properties
# phase
The phase which the service is in.
- Type:
string
- Values:
alpha
beta
# id
A unique identifier associated with the element.
- Type:
string
# spacing
Controls the amount of spacing between this element and the preceding element.
- Type:
string
- Values:
none
small
default
medium
large
extraLarge
padding
# separator
When true
, draw a separating line at the top of the element.
- Type:
boolean
# JSON Schema
{
"additionalProperties": true,
"type": "PhaseBanner",
"description": "Displays a banner highlighting a phase.",
"version": "1.1",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"type": {
"type": "string",
"description": "Must be `\"PhaseBanner\"`.",
"enum": [
"PhaseBanner"
]
},
"phase": {
"type": "string",
"description": "The phase which the service is in.",
"enum": [
"alpha",
"beta"
]
}
},
"required": [
"type"
],
"typeSafe": "phase-banner",
"example": "FIXME!",
"propertySummary": [
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"PhaseBanner\"`."
},
{
"name": "phase",
"type": "string",
"required": "Optional",
"text": "The phase which the service is in."
}
]
}