{
  "meta": {
    "options": {
      "linkedFile": "/views/index.ejs",
      "linkedForm": "form1"
    },
    "$_POST": [
      {
        "type": "text",
        "fieldName": "partnumber",
        "name": "partnumber"
      },
      {
        "type": "text",
        "fieldName": "partcodes",
        "name": "partcodes"
      },
      {
        "type": "text",
        "fieldName": "text1",
        "name": "text1"
      }
    ]
  },
  "exec": {
    "steps": {
      "name": "api",
      "module": "api",
      "action": "send",
      "options": {
        "url": "{{$_ENV.API_BASEURL+'partcodes'}}",
        "schema": [
          {
            "type": "array",
            "name": "data",
            "sub": [
              {
                "type": "number",
                "name": "id"
              },
              {
                "type": "text",
                "name": "description"
              },
              {
                "type": "number",
                "name": "createuserid"
              },
              {
                "type": "text",
                "name": "updatedate"
              },
              {
                "type": "object",
                "name": "parent",
                "sub": [
                  {
                    "type": "number",
                    "name": "id"
                  }
                ]
              },
              {
                "type": "object",
                "name": "parttype",
                "sub": [
                  {
                    "type": "number",
                    "name": "ending"
                  },
                  {
                    "type": "text",
                    "name": "updatedate"
                  },
                  {
                    "type": "number",
                    "name": "id"
                  },
                  {
                    "type": "number",
                    "name": "updateuserid"
                  },
                  {
                    "type": "number",
                    "name": "starting"
                  },
                  {
                    "type": "text",
                    "name": "createdate"
                  },
                  {
                    "type": "text",
                    "name": "description"
                  },
                  {
                    "type": "text",
                    "name": "name"
                  },
                  {
                    "type": "number",
                    "name": "createuserid"
                  }
                ]
              },
              {
                "type": "boolean",
                "name": "ispartcode"
              },
              {
                "type": "number",
                "name": "updateuserid"
              },
              {
                "type": "text",
                "name": "code"
              },
              {
                "type": "array",
                "name": "children"
              },
              {
                "type": "boolean",
                "name": "isactive"
              },
              {
                "type": "text",
                "name": "createdate"
              },
              {
                "type": "text",
                "name": "name"
              }
            ]
          },
          {
            "type": "object",
            "name": "headers",
            "sub": [
              {
                "type": "text",
                "name": "connection"
              },
              {
                "type": "text",
                "name": "content-length"
              },
              {
                "type": "text",
                "name": "content-type"
              },
              {
                "type": "text",
                "name": "date"
              }
            ]
          }
        ]
      },
      "output": true,
      "meta": [
        {
          "type": "array",
          "name": "data",
          "sub": [
            {
              "type": "number",
              "name": "id"
            },
            {
              "type": "text",
              "name": "description"
            },
            {
              "type": "number",
              "name": "createuserid"
            },
            {
              "type": "text",
              "name": "updatedate"
            },
            {
              "type": "object",
              "name": "parent",
              "sub": [
                {
                  "type": "number",
                  "name": "id"
                }
              ]
            },
            {
              "type": "object",
              "name": "parttype",
              "sub": [
                {
                  "type": "number",
                  "name": "ending"
                },
                {
                  "type": "text",
                  "name": "updatedate"
                },
                {
                  "type": "number",
                  "name": "id"
                },
                {
                  "type": "number",
                  "name": "updateuserid"
                },
                {
                  "type": "number",
                  "name": "starting"
                },
                {
                  "type": "text",
                  "name": "createdate"
                },
                {
                  "type": "text",
                  "name": "description"
                },
                {
                  "type": "text",
                  "name": "name"
                },
                {
                  "type": "number",
                  "name": "createuserid"
                }
              ]
            },
            {
              "type": "boolean",
              "name": "ispartcode"
            },
            {
              "type": "number",
              "name": "updateuserid"
            },
            {
              "type": "text",
              "name": "code"
            },
            {
              "type": "array",
              "name": "children"
            },
            {
              "type": "boolean",
              "name": "isactive"
            },
            {
              "type": "text",
              "name": "createdate"
            },
            {
              "type": "text",
              "name": "name"
            }
          ]
        },
        {
          "type": "object",
          "name": "headers",
          "sub": [
            {
              "type": "text",
              "name": "connection"
            },
            {
              "type": "text",
              "name": "content-length"
            },
            {
              "type": "text",
              "name": "content-type"
            },
            {
              "type": "text",
              "name": "date"
            }
          ]
        }
      ],
      "outputType": "object"
    }
  }
}