{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wayza-com/json-schema/wayza-com-group-settings-schema.json",
  "title": "GroupSettings",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/wayza-com-wayza-openapi.json#/components/schemas/GroupSettings",
  "type": "object",
  "properties": {
    "minors": {
      "type": "string",
      "description": "Under-18s in the group: no (adults only), guardian (only through a parent or guardian), teens (teens from consent_age may join themselves)",
      "enum": [
        "no",
        "guardian",
        "teens"
      ]
    },
    "consent_age": {
      "type": "integer",
      "enum": [
        13,
        16
      ],
      "description": "With minors teens: the age from which a teen joins for themselves"
    },
    "join_review": {
      "type": "string",
      "description": "Who checks new members before they are in: none, minors (only when the group has an under-18), all",
      "enum": [
        "none",
        "minors",
        "all"
      ]
    },
    "group_ai": {
      "type": "boolean",
      "description": "The group AI runs decisions and plans"
    },
    "plans": {
      "type": "string",
      "description": "Whether AIs may start plans: allow, ask (an organizer checks) or never",
      "enum": [
        "allow",
        "ask",
        "never"
      ]
    }
  }
}