{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/broad-institute/json-schema/broad-institute-managed-group-with-members-schema.json",
  "title": "ManagedGroupWithMembers",
  "description": "a group with all of its members",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/broad-institute-groups-api-openapi.yml#/components/schemas/ManagedGroupWithMembers",
  "required": [
    "adminsEmails",
    "adminsGroup",
    "membersEmails",
    "membersGroup"
  ],
  "type": "object",
  "properties": {
    "membersGroup": {
      "$ref": "#/$defs/RawlsGroupShort"
    },
    "adminsGroup": {
      "$ref": "#/$defs/RawlsGroupShort"
    },
    "membersEmails": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "adminsEmails": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "RawlsGroupShort": {
      "type": "object",
      "properties": {
        "groupName": {
          "type": "string",
          "description": "the name of the group"
        },
        "groupEmail": {
          "type": "string",
          "description": "the email associated with the group"
        }
      },
      "description": "a reference to a group"
    }
  }
}