{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dregs-com/json-schema/dregs-com-v1-create-group-request-schema.json",
  "title": "V1CreateGroupRequest",
  "description": "Create a group, or merge attributes into the existing group with the same type and id. attributes is required; send an empty object when there are none.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dregs-com-groups-api-openapi.yml#/components/schemas/V1CreateGroupRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The group's type, such as organization or team. Defaults to organization."
    },
    "id": {
      "type": "string",
      "description": "The group's ID in your system.",
      "maxLength": 64,
      "minLength": 0
    },
    "attributes": {
      "type": "object",
      "additionalProperties": {},
      "description": "Attributes merged into the group. Required; send an empty object when there are none."
    }
  },
  "required": [
    "attributes",
    "id"
  ]
}