<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to create an action output schema for array of array or string in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9733#M3968</link>
    <description>&lt;P&gt;Can you provide a little more info or an example?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Apr 2025 20:10:54 GMT</pubDate>
    <dc:creator>gary1</dc:creator>
    <dc:date>2025-04-28T20:10:54Z</dc:date>
    <item>
      <title>How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/6839#M2955</link>
      <description>&lt;P&gt;I have a custom connector which I am creating a output field schema for.&lt;/P&gt;&lt;P&gt;The HTTP response is JSON in the following format:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
  Key: [
    [
      "string",
      "string2",
      "..."
     ]
    ],
  Key2: "String",
  Key3: "integer",
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Here is a sample:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{... 
"user_usage": [
      [
        "user-agent",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.81 Safari/537.36 Edg/104.0.1293.54"
      ],
      [
        "user-agent",
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"
      ],
  ],
"server_name": "THIS IS A SERVER",
...
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;How do I create the field definition schema for this Nested Array of a Nested Array? I've tried the below schema but it doesn't seem to work correctly. Looking through the docs, it seems to only accept a nested object for array "of" and not a nested array.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="ruby"&gt;          {
            name:"user_usage",
            type: "array",
            of: "object",
            properties:[
              {
                type:"array",
                of: "string"
              }
            ]  
          },&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 19:03:13 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/6839#M2955</guid>
      <dc:creator>fsantaana</dc:creator>
      <dc:date>2024-06-06T19:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/6840#M2956</link>
      <description>&lt;P&gt;I got this to work for me in a recipe (not in the SDK):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "name": "outer_array",
    "type": "array",
    "optional": false,
    "properties": [
      {
        "name": "array",
        "type": "array",
        "of": "string",
        "control_type": "text",
        "label": "Array"
      }
    ],
    "of": "object",
    "label": "Outer array"
  }
]&lt;/LI-CODE&gt;&lt;P&gt;It's weird that the outer array is "of object", but it seems to be correct.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 21:56:26 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/6840#M2956</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-06-06T21:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/6901#M2984</link>
      <description>&lt;P&gt;Thanks this worked!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 16:51:05 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/6901#M2984</guid>
      <dc:creator>fsantaana</dc:creator>
      <dc:date>2024-06-17T16:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9732#M3967</link>
      <description>&lt;P&gt;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;Do you know if its also possible to set a predefined list (Enum) for in the JSON SCHEMA?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 19:05:48 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9732#M3967</guid>
      <dc:creator>syepes</dc:creator>
      <dc:date>2025-04-28T19:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9733#M3968</link>
      <description>&lt;P&gt;Can you provide a little more info or an example?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 20:10:54 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9733#M3968</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-04-28T20:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9739#M3971</link>
      <description>&lt;P&gt;The example is that I would like to have a JSON schema for a Recipe function, that for a specific parameter it only accepts a predefined list of values (Enum):&lt;BR /&gt;&lt;A href="https://json-schema.org/understanding-json-schema/reference/enum" target="_blank"&gt;https://json-schema.org/understanding-json-schema/reference/enum&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 13:17:09 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9739#M3971</guid>
      <dc:creator>syepes</dc:creator>
      <dc:date>2025-04-30T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9769#M3979</link>
      <description>&lt;P&gt;Ignore my last response. I re-read your request. This is what you need:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[
  {
    "control_type": "select", // manual update
    "label": "Enum",
    "name": "enum",
    "type": "string",
    "optional": false,
    "pick_list": [ // add this manually
      [
        "label", // the label the user sees in the UI when calling the function
        "Value" // the actual value of the pick list opton
      ],
      [
        "one",
        "1"
      ],
      [
        "two",
        "2"
      ],
      [
        "three",
        "3"
      ]
    ]
  }
]&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 01 May 2025 19:15:36 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9769#M3979</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-05-01T19:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9779#M3980</link>
      <description>&lt;P&gt;Thanks for the response, it works!.&lt;BR /&gt;Do you know if this is documented somewhere. It looks very similar to JSON Schema but it has some custom operators&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 13:45:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9779#M3980</guid>
      <dc:creator>syepes</dc:creator>
      <dc:date>2025-05-02T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an action output schema for array of array or string</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9780#M3981</link>
      <description>&lt;P&gt;This is documented as part of the custom connector SDK object definitions schema, but the documentation doesn't clearly state it can &lt;EM&gt;also&lt;/EM&gt; be used in input fields in recipes (on triggers, in variables, etc.). However, the SDK and recipe actions both rely on the same object definition schemas, so it makes sense they would work in both places.&lt;/P&gt;</description>
      <pubDate>Fri, 02 May 2025 15:59:42 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-create-an-action-output-schema-for-array-of-array-or/m-p/9780#M3981</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-05-02T15:59:42Z</dc:date>
    </item>
  </channel>
</rss>

