Functions for the adaptive-cards api