{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FunctionArgument",
  "title": "FunctionArgument",
  "type": "object",
  "description": "An argument of function",
  "properties": {
    "name": {
      "type": "string",
      "description": "Argument's name",
      "example": "Example Title"
    },
    "datatype": {
      "description": "Argument's type",
      "type": "string",
      "enum": [
        "FIXED",
        "INT",
        "REAL",
        "NUMBER",
        "TEXT",
        "BOOLEAN",
        "DATE",
        "TIME",
        "TIMESTAMP_TZ",
        "TIMESTAMP_LTZ",
        "TIMESTAMP_NTZ"
      ],
      "default": "TEXT",
      "example": "FIXED"
    },
    "value": {
      "description": "Argument's value",
      "example": "example_value"
    }
  }
}