{
    "name": "getContentFields",
    "icon": "file:fwo.svg",
    "group": ["input"],
    "version": 1,
    "description": "Consume FWO API to fetch content fields using multiple Field IDs and optional Card IDs",
    "defaults": {
        "name": "FWO Get Content Fields",
        "color": "#772244"
    },
    "inputs": ["main"],
    "outputs": ["main"],
    "credentials": [
        {
            "name": "fwoCredentialsApi",
            "required": true
        }
    ],
    "properties": [
        {
            "displayName": "Field IDs",
            "name": "fieldIds",
            "type": "fixedCollection",
            "placeholder": "Add Field ID",
            "typeOptions": {
                "multipleValues": true
            },
            "default": {},
            "options": [
                {
                    "name": "ids",
                    "displayName": "IDs",
                    "values": [
                        {
                            "displayName": "Field ID",
                            "name": "id",
                            "type": "string",
                            "default": "",
                            "placeholder": "Id do Campo",
                            "description": "pegue o id do campo com o usuario root",
                            "required": true
                        }
                    ]
                }
            ]
        },
        {
            "displayName": "Card ID (Optional)",
            "name": "cardId",
            "type": "string",
            "default": "",
            "placeholder": "Enter a Card ID",
            "description": "The optional Card ID to refine the data."
        }
    ]
}
