{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aurinko/json-schema/aurinko-create-meeting-dto-schema.json",
  "title": "CreateMeetingDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aurinko-availability-api-openapi.yml#/components/schemas/CreateMeetingDto",
  "type": "object",
  "properties": {
    "time": {
      "$ref": "#/$defs/SelectedMeetingTime"
    },
    "groupXids": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "Group external id from available meeting times request"
      }
    },
    "accountIds": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64",
        "description": "Account id from available meeting times request"
      }
    },
    "name": {
      "type": "string",
      "description": "Username of the person requesting the meeting"
    },
    "email": {
      "type": "string",
      "description": "Email of the person requesting the meeting, if not specified, an event will be created without an attendee"
    },
    "substitutionData": {
      "type": "object",
      "description": "Data for substitution instead of templates, key - value",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "SelectedMeetingTime": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "format": "date-time"
        },
        "end": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}