{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DataSourceField",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "descriptor": {
      "type": "string"
    },
    "alias": {
      "type": "string",
      "description": "The alias used to reference this field in WQL queries."
    },
    "columnName": {
      "type": "string",
      "description": "The column name for the field."
    },
    "type": {
      "type": "string",
      "description": "The data type of the field (e.g., Text, Numeric, Date, Boolean)."
    },
    "isRequired": {
      "type": "boolean"
    },
    "isSortable": {
      "type": "boolean"
    },
    "isFilterable": {
      "type": "boolean"
    }
  }
}