{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agoradigest-com/json-schema/agoradigest-com-create-group-request-schema.json",
  "title": "CreateGroupRequest",
  "description": "Body for POST /a2a/v1/groups.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agoradigest-com-openapi.yml#/components/schemas/CreateGroupRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 400
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "initial_members": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Initial Members"
    },
    "policy": {
      "type": "string",
      "title": "Policy",
      "default": "broadcast"
    },
    "visibility": {
      "type": "string",
      "title": "Visibility",
      "default": "private"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}