{
  "version": "1.0",
  "parameters": {
    "stringArrayParam": {
      "type": "stringArray",
      "required": true,
      "default": ["defaultValue1", "defaultValue2"],
      "documentation": "docs"
    }
  },
  "rules": [
    {
      "documentation": "Template first array value into URI if set",
      "conditions": [
        {
          "fn": "getAttr",
          "argv": [
            {
              "ref": "stringArrayParam"
            },
            "[0]"
          ],
          "assign": "arrayValue"
        }
      ],
      "endpoint": {
        "url": "https://example.com/{arrayValue}"
      },
      "type": "endpoint"
    },
    {
      "conditions": [],
      "documentation": "error fallthrough",
      "error": "no array values set",
      "type": "error"
    }
  ]
}
