{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-openmeetings/refs/heads/main/json-schema/apache-openmeetings-invitation-dto-schema.json",
  "title": "InvitationDTO",
  "description": "InvitationDTO schema from Apache OpenMeetings REST API",
  "type": "object",
  "properties": {
    "email": {
      "type": "string"
    },
    "firstname": {
      "type": "string"
    },
    "lastname": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "roomId": {
      "type": "integer",
      "format": "int64"
    },
    "passwordProtected": {
      "type": "boolean"
    },
    "password": {
      "type": "string"
    },
    "valid": {
      "type": "string",
      "enum": [
        "ONE_TIME",
        "PERIOD",
        "ENDLESS"
      ]
    },
    "validFrom": {
      "type": "string"
    },
    "validTo": {
      "type": "string"
    },
    "languageId": {
      "type": "integer",
      "format": "int64"
    }
  }
}