{
    "Tokens": {
        "version": 1,
        "categories": "tutorials",
        "scheduling": ["threadsafe"],
        "description": ["This is a tutorial node. It exercises the feature of providing hardcoded token values",
                        "in the database after a node type has been initialized. It sets output booleans to the",
                        "truth value of whether corresponding inputs appear in the hardcoded token list."
        ],
        "uiName": "Tutorial Node: Tokens",
        "inputs": {
            "valuesToCheck": {
                "type": "token[]",
                "description": "Array of tokens that are to be checked"
            }
        },
        "outputs": {
            "isColor": {
                "type": "bool[]",
                "description": "True values if the corresponding input value appears in the token list"
           }
        },
        "$comment": [
            "The tokens can be a list or a dictionary. If a list then the token string is also the name of the",
            "variable in the database through which they can be accessed. If a dictionary then the key is the",
            "name of the access variable and the value is the actual token string. Use a list if your token values",
            "are all legal variable names in your node's implementation language (C++ or Python)."
        ],
        "tokens": ["red", "green", "blue"],
        "tests": [
            {
                "inputs:valuesToCheck": ["red", "Red", "magenta", "green", "cyan", "blue", "yellow"],
                "outputs:isColor": [true, false, false, true, false, true, false]
            }
        ]
    }
}
