{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/safetyculture/json-schema/safetyculture-s12-thepub-v1-list-groups-response-schema.json",
  "title": "ListGroupsResponse",
  "description": "Result returned from `ListGroups`",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/safetyculture-groups-api-openapi.yml#/components/schemas/s12.thepub.v1.ListGroupsResponse",
  "type": "object",
  "properties": {
    "groups": {
      "type": "array",
      "items": {
        "type": "object",
        "$ref": "#/$defs/s12.thepub.v1.ListGroupsResponse.Group"
      },
      "description": "The groups returned by the request."
    }
  },
  "$defs": {
    "s12.thepub.v1.ListGroupsResponse.Group": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The id of the group."
        },
        "name": {
          "type": "string",
          "description": "The name of the group."
        }
      },
      "description": "A group returned by `ListGroups`",
      "title": "Group"
    }
  }
}