{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/juzpost/json-schema/juzpost-group-schema.json",
  "title": "Group",
  "description": "A channel group: a named bundle of social accounts you can schedule to by name.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/juzpost-accounts-api-openapi.yml#/components/schemas/Group",
  "type": "object",
  "required": [
    "id",
    "name",
    "accountIds",
    "accountCount",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The group id."
    },
    "name": {
      "type": "string",
      "description": "The group's name. This is the value `POST /schedule` accepts in its `group` field,\nmatched exactly.\n"
    },
    "accountIds": {
      "type": "array",
      "description": "Ids of the social accounts in this group, in no guaranteed order.",
      "items": {
        "type": "string",
        "format": "uuid",
        "description": "A social account id belonging to this group."
      }
    },
    "accountCount": {
      "type": "integer",
      "description": "How many accounts are in the group. The bulk scheduler rejects groups of more than\n10 with a `422`.\n"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "When the group was created."
    }
  }
}