{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commentary-dev/json-schema/commentary-dev-add-review-participant-request-schema.json",
  "title": "AddReviewParticipantRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commentary-dev-review-participants-api-openapi.yml#/components/schemas/AddReviewParticipantRequest",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "enum": [
        "github"
      ],
      "default": "github"
    },
    "owner": {
      "type": "string"
    },
    "repo": {
      "type": "string"
    },
    "prNumber": {
      "type": "integer"
    },
    "branchRef": {
      "type": "string"
    },
    "draftSessionId": {
      "type": "string"
    },
    "webAppReviewId": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "user",
        "agent"
      ]
    },
    "providerLogin": {
      "type": "string"
    },
    "providerUserId": {
      "type": "string"
    },
    "userId": {
      "type": "string"
    },
    "agentAlias": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "mentionHandle": {
      "type": "string"
    },
    "recipient": {
      "type": "string"
    }
  },
  "additionalProperties": false
}