Finding and using a value from one string, based on data from another string

Hi all. I have a calculator for car tuning that gives answers based on input.

  • I have set up search in the road authorities database to search for registration and give car data back.

  • The calculator has api, an gives a json back when i search. Every brand and year, engine and so
    on has a code.

  • I want these to match and give me the result based on registration. See example.

  • I can make the calls but i need to match the car make with code, model with code, year with code, and engine, and so on.
    What should i use?

From reg search :

Calculator :

Models :

Generation :

Engines

Single engine search.

Welcome to the Make community!

For more information, please provide the following:

1. Link to list of codes

No screenshots of external documentation please.

1. Screenshots of module fields and filters

Please share screenshots of relevant module fields and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:
Screenshot_2023-10-07_111039

2. Scenario blueprint

Please export the scenario blueprint file to allow others to view the mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Screenshot_2023-08-24_230826
(Note: Exporting your scenario will not include private information or keys to your connections)

Uploading it here will look like this:

blueprint.json (12.3 KB)

3. And most importantly, Output bundles

Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module and select “Download output bundles”.
Screenshot_2023-10-06_141025

A.

Save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

Uploading it here will look like this:

bundle.txt (12.3 KB)

B.

If you are unable to upload files on this forum, alternatively you can paste the formatted output bundle in this manner:

  • Either add three backticks ``` before and after the code, like this:

    ```
    input/output bundle content goes here
    ```

  • Or use the format code button in the editor:
    Screenshot_2023-10-02_191027

Providing the output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

samliew – request private consultation

Join the unofficial Make Discord server to chat with us!

1 Like

Okay, Samliev. I´m sorry. :slight_smile:

This was poor thinking from my side.

  • From Authorities:
    (i have mapped it, so only useful information is taken into this string.
[
    {
        "json": "{\n\t\"Merke\": \"BMW\",\n\t\"Motor\": \"2993\",\n\t\"Effekt\": \"294\",\n\t\"Modell\": \"M550d xDrive\",\n\t\"Årsmodell\": \"2018-01-16\",\n\t\"Kjøretøytype\": \"Personbil\"\n}"
    }
]

From the server with calculator :
btw: i notice the response is in xml format.

[
    {
        "statusCode": 200,
        "headers": [
            {
                "name": "server",
                "value": "nginx"
            },
            {
                "name": "date",
                "value": "Mon, 13 May 2024 19:56:48 GMT"
            },
            {
                "name": "content-type",
                "value": "text/xml;charset=UTF-8"
            },
            {
                "name": "transfer-encoding",
                "value": "chunked"
            },
            {
                "name": "connection",
                "value": "close"
            },
            {
                "name": "x-powered-by",
                "value": "PHP/8.2.18, PleskLin"
            },
            {
                "name": "access-control-allow-origin",
                "value": "*"
            },
            {
                "name": "vary",
                "value": "Accept-Encoding"
            }
        ],
        "cookieHeaders": [],
        "data": "<?xml version=\"1.0\"?>\n<brands>\n <brand id=\"2\">Alfa Romeo</brand>\n <brand id=\"80\">Alpina</brand>\n <brand id=\"8\">Aston Martin</brand>\n <brand id=\"9\">Audi</brand>\n <brand id=\"10\">BMW</brand>\n <brand id=\"11\">Chevrolet</brand>\n <brand id=\"12\">Chrysler</brand>\n <brand id=\"13\">Citroen</brand>\n <brand id=\"14\">Dacia</brand>\n <brand id=\"15\">Daewoo</brand>\n <brand id=\"64\">Dodge</brand>\n <brand id=\"16\">Fiat</brand>\n <brand id=\"17\">Ford</brand>\n <brand id=\"18\">Honda</brand>\n <brand id=\"19\">Hyundai</brand>\n <brand id=\"20\">Isuzu</brand>\n <brand id=\"69\">Iveco</brand>\n <brand id=\"21\">Jaguar</brand>\n <brand id=\"22\">Jeep</brand>\n <brand id=\"23\">Kia</brand>\n <brand id=\"24\">Landrover</brand>\n <brand id=\"25\">Lexus</brand>\n <brand id=\"26\">Mazda</brand>\n <brand id=\"73\">McLaren</brand>\n <brand id=\"27\">Mercedes</brand>\n <brand id=\"28\">Mini</brand>\n <brand id=\"29\">Mitsubishi</brand>\n <brand id=\"30\">Nissan</brand>\n <brand id=\"31\">Opel</brand>\n <brand id=\"32\">Peugeot</brand>\n <brand id=\"33\">Porsche</brand>\n <brand id=\"34\">Renault</brand>\n <brand id=\"35\">Saab</brand>\n <brand id=\"36\">Seat</brand>\n <brand id=\"37\">Skoda</brand>\n <brand id=\"38\">Smart</brand>\n <brand id=\"39\">SsangYong</brand>\n <brand id=\"40\">Subaru</brand>\n <brand id=\"41\">Suzuki</brand>\n <brand id=\"43\">Toyota</brand>\n <brand id=\"44\">Volkswagen</brand>\n <brand id=\"45\">Volvo</brand>\n</brands>\n\r\n\r\n",
        "fileSize": 1349
    }
]```



[blueprint.json|attachment](upload://5TA9qMhLbXQ2SF3bkZwU8EGmI85.json) (114.2 KB)

Attached is output from both

What i want, is that the first here should match with the id for the car Make in my first search query :

E.G :

I want a module that takes JSON Parser output : PEUGEOT
And then search output from XML Parser and find that “PEUGEOT” has “id”: 32, and map 32 in it`s output, so it can continue finding “id” for next value.

Modules that gives the outputs :

XML Parser (Brands and id from Calculator)

Module:

{
    "subflows": [
        {
            "flow": [
                {
                    "id": 40,
                    "module": "xml:ParseXML",
                    "version": 1,
                    "parameters": {
                        "type": 56433,
                        "preserveNumbersAsText": false
                    },
                    "mapper": {
                        "xml": "{{19.data}}"
                    },
                    "metadata": {
                        "designer": {
                            "x": -670,
                            "y": -813,
                            "messages": [
                                {
                                    "category": "last",
                                    "severity": "warning",
                                    "message": "A transformer should not be the last module in the route."
                                }
                            ]
                        },
                        "restore": {
                            "parameters": {
                                "type": {
                                    "label": "Bilmerker fra TS"
                                }
                            }
                        },
                        "parameters": [
                            {
                                "name": "type",
                                "type": "udt",
                                "label": "Data structure"
                            },
                            {
                                "name": "preserveNumbersAsText",
                                "type": "boolean",
                                "label": "Preserve numbers as text",
                                "required": true
                            }
                        ],
                        "expect": [
                            {
                                "name": "xml",
                                "type": "text",
                                "label": "XML",
                                "required": true
                            }
                        ],
                        "interface": [
                            {
                                "name": "brand",
                                "label": "Brand",
                                "type": "collection",
                                "spec": [
                                    {
                                        "name": "brands",
                                        "label": "Brands",
                                        "type": "collection",
                                        "spec": [
                                            {
                                                "name": "brand",
                                                "label": null,
                                                "type": "array",
                                                "spec": {
                                                    "type": "collection",
                                                    "spec": [
                                                        {
                                                            "name": "_value",
                                                            "label": null,
                                                            "type": "text",
                                                            "default": null,
                                                            "required": false,
                                                            "multiline": false
                                                        },
                                                        {
                                                            "name": "_attributes",
                                                            "label": null,
                                                            "type": "collection",
                                                            "spec": [
                                                                {
                                                                    "name": "id",
                                                                    "label": null,
                                                                    "type": "number",
                                                                    "default": null,
                                                                    "required": false
                                                                }
                                                            ],
                                                            "required": false
                                                        }
                                                    ],
                                                    "required": false
                                                },
                                                "required": false
                                            }
                                        ],
                                        "required": false
                                    }
                                ],
                                "sequence": true,
                                "required": false
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "metadata": {
        "version": 1
    }
}

Output

[
    {
        "brands": {
            "brand": [
                {
                    "_value": "Alfa Romeo",
                    "_attributes": {
                        "id": 2
                    }
                },
                {
                    "_value": "Alpina",
                    "_attributes": {
                        "id": 80
                    }
                },
                {
                    "_value": "Aston Martin",
                    "_attributes": {
                        "id": 8
                    }
                },
                {
                    "_value": "Audi",
                    "_attributes": {
                        "id": 9
                    }
                },
                {
                    "_value": "BMW",
                    "_attributes": {
                        "id": 10
                    }
                },
                {
                    "_value": "Chevrolet",
                    "_attributes": {
                        "id": 11
                    }
                },
                {
                    "_value": "Chrysler",
                    "_attributes": {
                        "id": 12
                    }
                },
                {
                    "_value": "Citroen",
                    "_attributes": {
                        "id": 13
                    }
                },
                {
                    "_value": "Dacia",
                    "_attributes": {
                        "id": 14
                    }
                },
                {
                    "_value": "Daewoo",
                    "_attributes": {
                        "id": 15
                    }
                },
                {
                    "_value": "Dodge",
                    "_attributes": {
                        "id": 64
                    }
                },
                {
                    "_value": "Fiat",
                    "_attributes": {
                        "id": 16
                    }
                },
                {
                    "_value": "Ford",
                    "_attributes": {
                        "id": 17
                    }
                },
                {
                    "_value": "Honda",
                    "_attributes": {
                        "id": 18
                    }
                },
                {
                    "_value": "Hyundai",
                    "_attributes": {
                        "id": 19
                    }
                },
                {
                    "_value": "Isuzu",
                    "_attributes": {
                        "id": 20
                    }
                },
                {
                    "_value": "Iveco",
                    "_attributes": {
                        "id": 69
                    }
                },
                {
                    "_value": "Jaguar",
                    "_attributes": {
                        "id": 21
                    }
                },
                {
                    "_value": "Jeep",
                    "_attributes": {
                        "id": 22
                    }
                },
                {
                    "_value": "Kia",
                    "_attributes": {
                        "id": 23
                    }
                },
                {
                    "_value": "Landrover",
                    "_attributes": {
                        "id": 24
                    }
                },
                {
                    "_value": "Lexus",
                    "_attributes": {
                        "id": 25
                    }
                },
                {
                    "_value": "Mazda",
                    "_attributes": {
                        "id": 26
                    }
                },
                {
                    "_value": "McLaren",
                    "_attributes": {
                        "id": 73
                    }
                },
                {
                    "_value": "Mercedes",
                    "_attributes": {
                        "id": 27
                    }
                },
                {
                    "_value": "Mini",
                    "_attributes": {
                        "id": 28
                    }
                },
                {
                    "_value": "Mitsubishi",
                    "_attributes": {
                        "id": 29
                    }
                },
                {
                    "_value": "Nissan",
                    "_attributes": {
                        "id": 30
                    }
                },
                {
                    "_value": "Opel",
                    "_attributes": {
                        "id": 31
                    }
                },
                {
                    "_value": "Peugeot",
                    "_attributes": {
                        "id": 32
                    }
                },
                {
                    "_value": "Porsche",
                    "_attributes": {
                        "id": 33
                    }
                },
                {
                    "_value": "Renault",
                    "_attributes": {
                        "id": 34
                    }
                },
                {
                    "_value": "Saab",
                    "_attributes": {
                        "id": 35
                    }
                },
                {
                    "_value": "Seat",
                    "_attributes": {
                        "id": 36
                    }
                },
                {
                    "_value": "Skoda",
                    "_attributes": {
                        "id": 37
                    }
                },
                {
                    "_value": "Smart",
                    "_attributes": {
                        "id": 38
                    }
                },
                {
                    "_value": "SsangYong",
                    "_attributes": {
                        "id": 39
                    }
                },
                {
                    "_value": "Subaru",
                    "_attributes": {
                        "id": 40
                    }
                },
                {
                    "_value": "Suzuki",
                    "_attributes": {
                        "id": 41
                    }
                },
                {
                    "_value": "Toyota",
                    "_attributes": {
                        "id": 43
                    }
                },
                {
                    "_value": "Volkswagen",
                    "_attributes": {
                        "id": 44
                    }
                },
                {
                    "_value": "Volvo",
                    "_attributes": {
                        "id": 45
                    }
                }
            ]
        }
    }
]

Json Parser
Module:

{
    "subflows": [
        {
            "flow": [
                {
                    "id": 35,
                    "module": "json:ParseJSON",
                    "version": 1,
                    "parameters": {
                        "type": 56367
                    },
                    "mapper": {
                        "json": "{{15.json}}"
                    },
                    "metadata": {
                        "designer": {
                            "x": -984,
                            "y": -853
                        },
                        "restore": {
                            "parameters": {
                                "type": {
                                    "label": "Kjøretøydata"
                                }
                            }
                        },
                        "parameters": [
                            {
                                "name": "type",
                                "type": "udt",
                                "label": "Data structure"
                            }
                        ],
                        "expect": [
                            {
                                "name": "json",
                                "type": "text",
                                "label": "JSON string",
                                "required": true
                            }
                        ],
                        "interface": [
                            {
                                "name": "Kjøretøytype",
                                "label": null,
                                "type": "text",
                                "default": null,
                                "required": false,
                                "multiline": false
                            },
                            {
                                "name": "Merke",
                                "label": null,
                                "type": "text",
                                "default": null,
                                "required": false,
                                "multiline": false
                            },
                            {
                                "name": "Modell",
                                "label": null,
                                "type": "text",
                                "default": null,
                                "required": false,
                                "multiline": false
                            },
                            {
                                "name": "Motorvolum",
                                "label": null,
                                "type": "text",
                                "default": null,
                                "required": false,
                                "multiline": false
                            },
                            {
                                "name": "Effekt",
                                "label": null,
                                "type": "text",
                                "default": null,
                                "required": false,
                                "multiline": false
                            },
                            {
                                "name": "Ă…rsmodell",
                                "label": null,
                                "type": "text",
                                "default": null,
                                "required": false,
                                "multiline": false
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "metadata": {
        "version": 1
    }
}

Output:

[
    {
        "Merke": "PEUGEOT",
        "Motor": "1997",
        "Effekt": "120",
        "Modell": "508",
        "Ă…rsmodell": "2015-03-20",
        "Kjøretøytype": "Personbil"
    }
]

TS.json (146.5 KB)

@samliew
Do you have any tips for me here ?:blush:

Welcome to the Make community!

Sorry for the late reply – I am on a holiday.

Yes, that is possible. You’ll need a minimum of two modules:

1. You iterate the Brand array,

Screenshot_2024-05-23_181011

2. You filter the lowercase of the brand name,

Screenshot_2024-05-23_181037

3. And then you return the ID in the text aggregator.

Screenshot_2024-05-23_181100

Give it a go and let us know if you have any issues!

Module Export

You can copy and paste this module export into your scenario. This will paste the modules shown in my screenshots above.

  1. Copy the JSON code below by clicking the copy button when you mouseover the top-right of the code block
    Screenshot_2024-01-17_200117

  2. Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the canvas.

  3. Click on each imported module and save it for validation. You may be prompted to remap some variables and connections.

View Module Export Code

JSON

{
    "subflows": [
        {
            "flow": [
                {
                    "id": 14,
                    "module": "json:ParseJSON",
                    "version": 1,
                    "parameters": {
                        "type": ""
                    },
                    "mapper": {
                        "json": "[\n    {\n        \"brands\": {\n            \"brand\": [\n                {\n                    \"_value\": \"Alfa Romeo\",\n                    \"_attributes\": {\n                        \"id\": 2\n                    }\n                },\n                {\n                    \"_value\": \"Alpina\",\n                    \"_attributes\": {\n                        \"id\": 80\n                    }\n                },\n                {\n                    \"_value\": \"Aston Martin\",\n                    \"_attributes\": {\n                        \"id\": 8\n                    }\n                },\n                {\n                    \"_value\": \"Audi\",\n                    \"_attributes\": {\n                        \"id\": 9\n                    }\n                },\n                {\n                    \"_value\": \"BMW\",\n                    \"_attributes\": {\n                        \"id\": 10\n                    }\n                },\n                {\n                    \"_value\": \"Chevrolet\",\n                    \"_attributes\": {\n                        \"id\": 11\n                    }\n                },\n                {\n                    \"_value\": \"Chrysler\",\n                    \"_attributes\": {\n                        \"id\": 12\n                    }\n                },\n                {\n                    \"_value\": \"Citroen\",\n                    \"_attributes\": {\n                        \"id\": 13\n                    }\n                },\n                {\n                    \"_value\": \"Dacia\",\n                    \"_attributes\": {\n                        \"id\": 14\n                    }\n                },\n                {\n                    \"_value\": \"Daewoo\",\n                    \"_attributes\": {\n                        \"id\": 15\n                    }\n                },\n                {\n                    \"_value\": \"Dodge\",\n                    \"_attributes\": {\n                        \"id\": 64\n                    }\n                },\n                {\n                    \"_value\": \"Fiat\",\n                    \"_attributes\": {\n                        \"id\": 16\n                    }\n                },\n                {\n                    \"_value\": \"Ford\",\n                    \"_attributes\": {\n                        \"id\": 17\n                    }\n                },\n                {\n                    \"_value\": \"Honda\",\n                    \"_attributes\": {\n                        \"id\": 18\n                    }\n                },\n                {\n                    \"_value\": \"Hyundai\",\n                    \"_attributes\": {\n                        \"id\": 19\n                    }\n                },\n                {\n                    \"_value\": \"Isuzu\",\n                    \"_attributes\": {\n                        \"id\": 20\n                    }\n                },\n                {\n                    \"_value\": \"Iveco\",\n                    \"_attributes\": {\n                        \"id\": 69\n                    }\n                },\n                {\n                    \"_value\": \"Jaguar\",\n                    \"_attributes\": {\n                        \"id\": 21\n                    }\n                },\n                {\n                    \"_value\": \"Jeep\",\n                    \"_attributes\": {\n                        \"id\": 22\n                    }\n                },\n                {\n                    \"_value\": \"Kia\",\n                    \"_attributes\": {\n                        \"id\": 23\n                    }\n                },\n                {\n                    \"_value\": \"Landrover\",\n                    \"_attributes\": {\n                        \"id\": 24\n                    }\n                },\n                {\n                    \"_value\": \"Lexus\",\n                    \"_attributes\": {\n                        \"id\": 25\n                    }\n                },\n                {\n                    \"_value\": \"Mazda\",\n                    \"_attributes\": {\n                        \"id\": 26\n                    }\n                },\n                {\n                    \"_value\": \"McLaren\",\n                    \"_attributes\": {\n                        \"id\": 73\n                    }\n                },\n                {\n                    \"_value\": \"Mercedes\",\n                    \"_attributes\": {\n                        \"id\": 27\n                    }\n                },\n                {\n                    \"_value\": \"Mini\",\n                    \"_attributes\": {\n                        \"id\": 28\n                    }\n                },\n                {\n                    \"_value\": \"Mitsubishi\",\n                    \"_attributes\": {\n                        \"id\": 29\n                    }\n                },\n                {\n                    \"_value\": \"Nissan\",\n                    \"_attributes\": {\n                        \"id\": 30\n                    }\n                },\n                {\n                    \"_value\": \"Opel\",\n                    \"_attributes\": {\n                        \"id\": 31\n                    }\n                },\n                {\n                    \"_value\": \"Peugeot\",\n                    \"_attributes\": {\n                        \"id\": 32\n                    }\n                },\n                {\n                    \"_value\": \"Porsche\",\n                    \"_attributes\": {\n                        \"id\": 33\n                    }\n                },\n                {\n                    \"_value\": \"Renault\",\n                    \"_attributes\": {\n                        \"id\": 34\n                    }\n                },\n                {\n                    \"_value\": \"Saab\",\n                    \"_attributes\": {\n                        \"id\": 35\n                    }\n                },\n                {\n                    \"_value\": \"Seat\",\n                    \"_attributes\": {\n                        \"id\": 36\n                    }\n                },\n                {\n                    \"_value\": \"Skoda\",\n                    \"_attributes\": {\n                        \"id\": 37\n                    }\n                },\n                {\n                    \"_value\": \"Smart\",\n                    \"_attributes\": {\n                        \"id\": 38\n                    }\n                },\n                {\n                    \"_value\": \"SsangYong\",\n                    \"_attributes\": {\n                        \"id\": 39\n                    }\n                },\n                {\n                    \"_value\": \"Subaru\",\n                    \"_attributes\": {\n                        \"id\": 40\n                    }\n                },\n                {\n                    \"_value\": \"Suzuki\",\n                    \"_attributes\": {\n                        \"id\": 41\n                    }\n                },\n                {\n                    \"_value\": \"Toyota\",\n                    \"_attributes\": {\n                        \"id\": 43\n                    }\n                },\n                {\n                    \"_value\": \"Volkswagen\",\n                    \"_attributes\": {\n                        \"id\": 44\n                    }\n                },\n                {\n                    \"_value\": \"Volvo\",\n                    \"_attributes\": {\n                        \"id\": 45\n                    }\n                }\n            ]\n        }\n    }\n]"
                    },
                    "metadata": {
                        "designer": {
                            "x": -716,
                            "y": -686,
                            "name": "XML Parser (Brands)"
                        },
                        "restore": {
                            "parameters": {
                                "type": {
                                    "label": "Choose a data structure"
                                }
                            }
                        },
                        "parameters": [
                            {
                                "name": "type",
                                "type": "udt",
                                "label": "Data structure"
                            }
                        ],
                        "expect": [
                            {
                                "name": "json",
                                "type": "text",
                                "label": "JSON string",
                                "required": true
                            }
                        ]
                    }
                },
                {
                    "id": 15,
                    "module": "json:ParseJSON",
                    "version": 1,
                    "parameters": {
                        "type": ""
                    },
                    "mapper": {
                        "json": "[\n    {\n        \"Merke\": \"PEUGEOT\",\n        \"Motor\": \"1997\",\n        \"Effekt\": \"120\",\n        \"Modell\": \"508\",\n        \"Årsmodell\": \"2015-03-20\",\n        \"Kjøretøytype\": \"Personbil\"\n    }\n]"
                    },
                    "metadata": {
                        "designer": {
                            "x": -469,
                            "y": -683
                        },
                        "restore": {
                            "parameters": {
                                "type": {
                                    "label": "Choose a data structure"
                                }
                            }
                        },
                        "parameters": [
                            {
                                "name": "type",
                                "type": "udt",
                                "label": "Data structure"
                            }
                        ],
                        "expect": [
                            {
                                "name": "json",
                                "type": "text",
                                "label": "JSON string",
                                "required": true
                            }
                        ]
                    }
                },
                {
                    "id": 18,
                    "module": "builtin:BasicFeeder",
                    "version": 1,
                    "parameters": {},
                    "mapper": {
                        "array": "{{14.brands.brand}}"
                    },
                    "metadata": {
                        "designer": {
                            "x": -222,
                            "y": -681
                        },
                        "restore": {
                            "expect": {
                                "array": {
                                    "mode": "edit"
                                }
                            }
                        },
                        "expect": [
                            {
                                "name": "array",
                                "type": "array",
                                "label": "Array",
                                "mode": "edit",
                                "spec": []
                            }
                        ]
                    }
                },
                {
                    "id": 20,
                    "module": "util:TextAggregator",
                    "version": 1,
                    "parameters": {
                        "rowSeparator": "",
                        "feeder": 18
                    },
                    "filter": {
                        "name": "match brand",
                        "conditions": [
                            [
                                {
                                    "a": "{{lower(15.Merke)}}",
                                    "o": "text:equal",
                                    "b": "{{lower(18.`_value`)}}"
                                }
                            ]
                        ]
                    },
                    "mapper": {
                        "value": "{{18.`_attributes`.id}}"
                    },
                    "metadata": {
                        "designer": {
                            "x": 74,
                            "y": -679,
                            "messages": [
                                {
                                    "category": "last",
                                    "severity": "warning",
                                    "message": "A transformer should not be the last module in the route."
                                }
                            ]
                        },
                        "restore": {
                            "parameters": {
                                "rowSeparator": {
                                    "label": "Empty"
                                }
                            },
                            "extra": {
                                "feeder": {
                                    "label": "Iterator"
                                }
                            }
                        },
                        "parameters": [
                            {
                                "name": "rowSeparator",
                                "type": "select",
                                "label": "Row separator",
                                "validate": {
                                    "enum": [
                                        "\n",
                                        "\t",
                                        "other"
                                    ]
                                }
                            }
                        ],
                        "expect": [
                            {
                                "name": "value",
                                "type": "text",
                                "label": "Text"
                            }
                        ]
                    }
                }
            ]
        }
    ],
    "metadata": {
        "version": 1
    }
}

samliew – request private consultation

Join the unofficial Make Discord server to chat with other makers!

2 Likes