{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/crystal-reports/refs/heads/main/json-schema/crystal-reports-data-source-schema.json",
  "title": "DataSource",
  "description": "A data source connection used by the report",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the data source",
      "example": "xtreme"
    },
    "type": {
      "type": "string",
      "description": "Type of data source connection",
      "example": "JDBC (JNDI)"
    },
    "tables": {
      "type": "array",
      "description": "Tables used from this data source",
      "items": {
        "type": "string"
      },
      "example": [
        "Customer",
        "Orders"
      ]
    }
  }
}