{
  "additionalProperties": false,
  "properties": {
    "code": {
      "maxLength": 65536,
      "minLength": 1,
      "type": "string",
      "x-lumen-title": {
        "en": "Code",
        "he": "קוד"
      },
      "x-lumen-widget": "textarea"
    },
    "connections": {
      "items": {
        "type": "string"
      },
      "maxItems": 10,
      "type": "array",
      "x-lumen-title": {
        "en": "API connections",
        "he": "חיבורי API"
      }
    },
    "inputs": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "x-lumen-title": {
        "en": "Inputs",
        "he": "קלט"
      }
    },
    "methods": {
      "items": {
        "enum": [
          "GET",
          "HEAD",
          "POST",
          "PUT",
          "PATCH",
          "DELETE"
        ],
        "type": "string"
      },
      "type": "array",
      "x-lumen-title": {
        "en": "Methods",
        "he": "שיטות"
      }
    },
    "outputs": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "maxLength": 64,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string",
            "x-lumen-title": {
              "en": "Name",
              "he": "שם"
            }
          },
          "type": {
            "enum": [
              "string",
              "number",
              "boolean",
              "date",
              "money"
            ],
            "type": "string",
            "x-lumen-title": {
              "en": "Type",
              "he": "סוג"
            }
          }
        },
        "required": [
          "name",
          "type"
        ],
        "type": "object"
      },
      "maxItems": 50,
      "type": "array",
      "x-lumen-title": {
        "en": "Result fields",
        "he": "שדות תוצאה"
      }
    },
    "timeoutSeconds": {
      "maximum": 30,
      "minimum": 1,
      "type": "integer",
      "x-lumen-title": {
        "en": "Time limit (seconds)",
        "he": "מגבלת זמן (שניות)"
      }
    }
  },
  "required": [
    "code"
  ],
  "type": "object"
}
