{
  "additionalProperties": false,
  "properties": {
    "body": {
      "type": "string",
      "x-lumen-widget": "json"
    },
    "bodyType": {
      "default": "json",
      "enum": [
        "json",
        "text",
        "form"
      ],
      "type": "string",
      "x-lumen-widget": "segmented"
    },
    "connectorRef": {
      "minLength": 1,
      "type": "string",
      "x-lumen-widget": "connector-ref"
    },
    "expect": {
      "items": {
        "type": "integer"
      },
      "minItems": 1,
      "type": "array"
    },
    "form": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "x-lumen-widget": "key-value"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "x-lumen-widget": "key-value"
    },
    "idempotencyKey": {
      "minLength": 1,
      "type": "string",
      "x-lumen-widget": "field-picker"
    },
    "method": {
      "default": "GET",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
      ],
      "type": "string",
      "x-lumen-widget": "segmented"
    },
    "outputs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "jsonPath": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "maxLength": 64,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          },
          "type": {
            "default": "string",
            "enum": [
              "string",
              "number",
              "date",
              "money",
              "boolean"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "jsonPath"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "path": {
      "type": "string",
      "x-lumen-widget": "field-picker"
    },
    "query": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "x-lumen-widget": "key-value"
    },
    "timeoutSeconds": {
      "default": 20,
      "maximum": 60,
      "minimum": 1,
      "type": "integer"
    },
    "url": {
      "minLength": 1,
      "type": "string",
      "x-lumen-widget": "field-picker"
    }
  },
  "type": "object"
}
