{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/authors-api-attach-to-language-group-request-schema.json",
  "title": "AttachToLanguageGroupRequest",
  "description": "Request to attach an author to a multi-language group",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the author to attach",
      "example": "500123"
    },
    "language": {
      "type": "string",
      "description": "Language code for the author (e.g., es, fr, de)",
      "example": "en"
    },
    "primaryId": {
      "type": "string",
      "description": "ID of the primary language author",
      "example": "500123"
    },
    "primaryLanguage": {
      "type": "string",
      "description": "Language code of the primary author",
      "example": "en"
    }
  },
  "required": [
    "id",
    "language",
    "primaryId"
  ]
}