Apache ShardingSphere · JSON Structure

Apache Shardingsphere Instance Structure

ShardingSphere Proxy instance

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

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

Properties

instanceId status host port

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-instance-structure.json",
  "description": "ShardingSphere Proxy instance",
  "type": "object",
  "properties": {
    "instanceId": {
      "type": "string",
      "description": "Instance identifier"
    },
    "status": {
      "type": "string",
      "enum": [
        "OK",
        "CIRCUIT_BREAKER"
      ],
      "description": "Instance status"
    },
    "host": {
      "type": "string",
      "description": "Host address"
    },
    "port": {
      "type": "int32",
      "description": "Port number"
    }
  },
  "name": "Instance"
}