{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shardingsphere/refs/heads/main/json-schema/apache-shardingsphere-data-source-schema.json",
  "title": "DataSource",
  "description": "Physical data source configuration",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Data source name"
    },
    "url": {
      "type": "string",
      "description": "JDBC connection URL"
    },
    "username": {
      "type": "string",
      "description": "Database username"
    },
    "maxPoolSize": {
      "type": "integer",
      "description": "Maximum connection pool size"
    },
    "minPoolSize": {
      "type": "integer",
      "description": "Minimum connection pool size"
    },
    "type": {
      "type": "string",
      "description": "Connection pool type (HikariCP, etc.)"
    }
  }
}