{
    "TestAllowedTokens": {
        "version": 1,
        "description": ["Example node testing the allowedToken list on attributes"],
        "language": "python",
        "uiName": "Test Node: Allowed Tokens (Python)",
        "icon": {
            "path": "TestNodeIcon.svg"
        },
        "categories": "internal:test",
        "exclude": ["usd", "docs"],
        "inputs": {
            "simpleTokens": {
                "type": "token",
                "description": "Attribute with simple allowedTokens",
                "metadata": {
                    "allowedTokens": ["red", "green", "blue"]
                },
                "default": "red"
             },
             "specialTokens": {
                "type": "token",
                "description": "Attribute with allowedTokens containing special characters",
                "metadata": {
                    "allowedTokens": {
                        "lt": "<",
                        "gt": ">"
                    }
                },
                "default": ">"
            }
        },
        "outputs": {
            "combinedTokens": {
                "type": "token",
                "description": "Token consisting of the two inputs, concatenated."
            }
        },
        "tests": [
            { "inputs:simpleTokens": "red", "inputs:specialTokens": "<", "outputs:combinedTokens": "red<" },
            { "inputs:simpleTokens": "green", "inputs:specialTokens": ">", "outputs:combinedTokens": "green>" },
            { "inputs:simpleTokens": "blue", "inputs:specialTokens": "<", "outputs:combinedTokens": "blue<" }
        ]
    }
}
