# FactSet
Cardscript
The FactSet element displays a series of facts (i.e. name/value pairs) in a tabular form.
# Example
{
"type": "AdaptiveCard",
"body": [
{
"type": "FactSet",
"facts": [
{
"title": "Hello:",
"value": "World"
},
{
"title": "HELLO:",
"value": "WORLD"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# facts
The array of Fact
s.
- Type:
array
# type
Must be "FactSet"
.
- Type:
string
- Values:
FactSet
# Optional properties
# 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": "FactSet",
"description": "The FactSet element displays a series of facts (i.e. name/value pairs) in a tabular form.",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"facts": {
"type": "array",
"description": "The array of `Fact`s.",
"items": {
"$ref": "#/definitions/Fact"
}
},
"type": {
"type": "string",
"description": "Must be `\"FactSet\"`.",
"enum": [
"FactSet"
]
}
},
"required": [
"type",
"facts"
],
"typeSafe": "fact-set",
"example": "FIXME!",
"propertySummary": [
{
"name": "facts",
"type": "array",
"required": "Required",
"text": "The array of `Fact`s."
},
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"FactSet\"`."
}
]
}