{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eztexting-com/json-schema/eztexting-com-contact-group-create-request-schema.json",
  "title": "ContactGroupCreateRequest",
  "description": "ContactGroupCreateRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eztexting-com-api-openapi.yml#/components/schemas/ContactGroupCreateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The group name, max length 25 chars",
      "maxLength": 25,
      "minLength": 1
    },
    "note": {
      "type": "string",
      "description": "Notes related to contact group",
      "maxLength": 500,
      "minLength": 0
    },
    "phoneNumbers": {
      "type": "array",
      "description": "Phone numbers of contacts to add to this group",
      "items": {
        "type": "string"
      }
    },
    "groupIds": {
      "type": "array",
      "description": "Groups of contacts to merge into this group",
      "items": {
        "type": "string"
      }
    },
    "strictValidation": {
      "type": "boolean",
      "description": "If false - contact group will be created with all valid numbers (all invalid phone numbers will be skipped),if true - group will not be created if there is at least one invalid phone number from list"
    }
  },
  "required": [
    "name"
  ]
}