{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tradingview/json-schema/tradingview-group-list-response-schema.json",
  "title": "GroupListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tradingview-data-permissions-api-openapi.yml#/components/schemas/GroupListResponse",
  "type": "object",
  "properties": {
    "s": {
      "$ref": "#/$defs/OkStatus"
    },
    "d": {
      "$ref": "#/$defs/GroupList"
    }
  },
  "required": [
    "s",
    "d"
  ],
  "additionalProperties": false,
  "$defs": {
    "GroupList": {
      "title": "GroupList",
      "type": "object",
      "properties": {
        "groups": {
          "type": "array",
          "description": "Each element of this array is an group object.\n",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "description": "All characters in a group id must be either a lowercase alphabetic character, a number, or an underscore.\nA group id should start with the same prefix related to the broker's name.\n",
                "type": "string"
              }
            },
            "required": [
              "id"
            ],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    "OkStatus": {
      "title": "OkStatus",
      "type": "string",
      "description": "Status will always be `ok`.",
      "enum": [
        "ok"
      ]
    }
  }
}