[
  {
    "name": "api",
    "module": "api",
    "action": "send",
    "options": {
      "url": "{{$_ENV.API_BASEURL+'pns/max'}}",
      "schema": [
        {
          "type": "object",
          "name": "data",
          "sub": [
            {
              "type": "number",
              "name": "id"
            },
            {
              "type": "number",
              "name": "number"
            }
          ]
        },
        {
          "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": "object",
        "name": "data",
        "sub": [
          {
            "type": "number",
            "name": "id"
          },
          {
            "type": "number",
            "name": "number"
          }
        ]
      },
      {
        "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"
  },
  {
    "name": "api1",
    "module": "api",
    "action": "send",
    "options": {
      "method": "POST",
      "url": "{{$_ENV.API_BASEURL+'pns/'}}",
      "dataType": "json",
      "data": {
        "id": null,
        "number": "{{api.data.number + 1}}"
      }
    },
    "output": true
  }
]