# Relevant Cardscript iconFact

Cardscript

Describes a Fact in a FactSet as a key/value pair.

# 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

# title

The title of the fact.

  • Type: string

# value

The value of the fact.

  • Type: string

# Optional properties

# type

  • Type: string
  • Values:
    • Fact

# JSON Schema

{
  "additionalProperties": true,
  "type": "Fact",
  "description": "Describes a Fact in a FactSet as a key/value pair.",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "Fact"
      ]
    },
    "title": {
      "type": "string",
      "description": "The title of the fact."
    },
    "value": {
      "type": "string",
      "description": "The value of the fact."
    }
  },
  "required": [
    "title",
    "value"
  ],
  "typeSafe": "fact",
  "example": "FIXME!",
  "propertySummary": [
    {
      "name": "type",
      "type": "string",
      "required": "Optional"
    },
    {
      "name": "title",
      "type": "string",
      "required": "Required",
      "text": "The title of the fact."
    },
    {
      "name": "value",
      "type": "string",
      "required": "Required",
      "text": "The value of the fact."
    }
  ]
}
Last Updated: 9/10/2023, 11:30:14 AM