{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.turso.tech/schemas/group.json",
  "title": "Group",
  "description": "A Turso database group (replica set)",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The group name, unique across your organization.",
      "example": "default"
    },
    "version": {
      "type": "string",
      "description": "The current libSQL server version the databases in that group are running.",
      "example": "v0.23.7",
      "deprecated": true
    },
    "uuid": {
      "type": "string",
      "description": "The group universal unique identifier (UUID).",
      "example": "0a28102d-6906-11ee-8553-eaa7715aeaf2"
    },
    "locations": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of location keys the group is located.",
      "example": [
        "aws-us-east-1"
      ],
      "deprecated": true
    },
    "primary": {
      "type": "string",
      "description": "The primary location key.",
      "example": "us-east-1"
    },
    "delete_protection": {
      "type": "boolean",
      "description": "The current status for delete protection. If enabled, the group and all its databases cannot be deleted.",
      "example": false
    }
  }
}