Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Card Properties

Galactic Cat edited this page Oct 4, 2017 · 1 revision

Introduction

Card properties are the most basic building blocks a CTIS card is built out of.
For people who are already familiar with CTIS cards, "actions:" is such a property.
Properties are the highest level nodes in a CTIS card. But it's probably best to just show it:

{
  "actions": [ // Here actions is a property
    {
      // Some action
    }
  ]
}

Properties

Currently there're only two types of properties: "actions" and "order".

Actions

This is the most important property and is expected to be present in all CTIS cards.
This property is an array containing all information of what a card does.
This array contains actions, of which more information can be read about here.

Order

The "order" property is only used when sorting cards.
If selected in the Teasing Dashboard screen, Black will look through all CTIS cards searching and sorting for/by this property. This property either takes a number indicating it's order, or a string containing that number (e.g. 1 or "1").