Apache ShardingSphere · JSON Structure

Apache Shardingsphere Data Source Structure

Physical data source configuration

Type: object Properties: 6
DatabaseDistributed SQLRead-Write SplittingShardingSQLApacheOpen Source

DataSource is a JSON Structure definition published by Apache ShardingSphere, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name url username maxPoolSize minPoolSize type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shardingsphere/refs/heads/main/json-structure/apache-shardingsphere-data-source-structure.json",
  "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": "int32",
      "description": "Maximum connection pool size"
    },
    "minPoolSize": {
      "type": "int32",
      "description": "Minimum connection pool size"
    },
    "type": {
      "type": "string",
      "description": "Connection pool type (HikariCP, etc.)"
    }
  },
  "name": "DataSource"
}