{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "@context": [
    "https://schemas.meta-aiml.org/v3.0.0/context.jsonld"
  ],
  "@id": "https://schemas.meta-aiml.org/v3.0.0/entity/virtual_event_platform.json",
  "$id": "https://schemas.meta-aiml.org/v3.0.0/entity/virtual_event_platform.json",
  "@type": "VirtualEventPlatform",
  "schemaVersion": "3.0.0",
  "aimlVersion": "3.0.0",
  "title": "Virtual Event Platform Entity Schema",
  "description": "v3 schema for platforms that host virtual events and conferences, providing registration, session delivery, audience engagement, and sponsor workflows directly to participants.",
  "examples": [
    {
      "description": "Virtual conference platform with multi-track stage streams and networking lounges",
      "reference": "virtual_event_platform_example_conference"
    },
    {
      "description": "Webinar platform with attendee registration, Q&A, and replay library",
      "reference": "virtual_event_platform_example_webinar"
    }
  ],
  "type": "object",
  "additionalProperties": false,
  "allOf": [
    {
      "$ref": "../ontology/digital_entity.json"
    },
    {
      "$ref": "../archetypes/direct_service.json"
    }
  ],
  "properties": {
    "@type": {
      "const": "VirtualEventPlatform"
    },
    "ontologicalMode": {
      "const": "DigitalEntity"
    },
    "interactionArchetype": {
      "type": "array",
      "contains": {
        "const": "DirectService"
      },
      "items": {
        "type": "string",
        "enum": [
          "DirectService"
        ]
      }
    },
    "domain": {
      "const": "Events"
    },
    "businessModel": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Subscription",
          "Transactional",
          "Sponsorship"
        ]
      }
    },
    "deliveryFormat": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "WebApp",
          "MobileApp",
          "API"
        ]
      }
    },
    "name": {
      "$ref": "../components/multilingual_format.json#/$defs/LocalizedText"
    },
    "description": {
      "$ref": "../components/multilingual_format.json#/$defs/LocalizedText"
    },
    "shortDescription": {
      "$ref": "../components/multilingual_format.json#/$defs/LocalizedTextOrString"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "foundingDate": {
      "type": "string",
      "format": "date"
    },
    "properties": {
      "type": "object",
      "properties": {
        "eventScaleTier": {
          "type": "string",
          "enum": [
            "small",
            "medium",
            "enterprise"
          ]
        },
        "supportsBreakoutRooms": {
          "type": "boolean"
        },
        "supportsExpoBooths": {
          "type": "boolean"
        },
        "supportsHybridAttendance": {
          "type": "boolean"
        },
        "sessionInteractionModel": {
          "type": "string",
          "enum": [
            "qna_chat_polls",
            "qna_only",
            "chat_only"
          ]
        },
        "contactPoints": {
          "type": "array",
          "items": {
            "$ref": "../components/common_defs.json#/$defs/ContactPoint"
          }
        },
        "socialProfiles": {
          "type": "array",
          "items": {
            "$ref": "../components/common_defs.json#/$defs/SocialProfile"
          }
        },
        "identifiers": {
          "type": "array",
          "items": {
            "$ref": "../components/common_defs.json#/$defs/Identifier"
          }
        }
      }
    },
    "capabilities": {
      "type": "object",
      "required": [
        "interaction"
      ],
      "properties": {
        "interaction": {
          "$ref": "../components/capability_groups.json#/$defs/InteractionCapabilities"
        },
        "content": {
          "$ref": "../components/capability_groups.json#/$defs/ContentCapabilities"
        },
        "community": {
          "$ref": "../components/capability_groups.json#/$defs/CommunityCapabilities"
        },
        "financial": {
          "$ref": "../components/capability_groups.json#/$defs/FinancialCapabilities"
        },
        "booking": {
          "$ref": "../components/capability_groups.json#/$defs/BookingCapabilities"
        }
      }
    },
    "modules": {
      "type": "object",
      "properties": {
        "stage": {
          "type": "object",
          "properties": {
            "livestreamEnabled": {
              "type": "boolean"
            },
            "sessionRecordingEnabled": {
              "type": "boolean"
            },
            "speakerBackstageEnabled": {
              "type": "boolean"
            }
          }
        },
        "networking": {
          "type": "object",
          "properties": {
            "attendeeMatchingEnabled": {
              "type": "boolean"
            },
            "meetingSchedulerEnabled": {
              "type": "boolean"
            },
            "groupRoomCreationEnabled": {
              "type": "boolean"
            }
          }
        },
        "analytics": {
          "type": "object",
          "properties": {
            "engagementScoringEnabled": {
              "type": "boolean"
            },
            "sessionDropoffTrackingEnabled": {
              "type": "boolean"
            },
            "sponsorAttributionEnabled": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "structuralMetadata": {
      "type": "object",
      "properties": {
        "topology": {
          "const": "binary"
        },
        "roles": {
          "const": [
            "user",
            "platform"
          ]
        },
        "valueSource": {
          "const": "platform_provided"
        },
        "transactionFlow": {
          "const": "direct"
        },
        "networkEffects": {
          "const": "none"
        },
        "sessionDeliveryPattern": {
          "type": "string",
          "enum": [
            "live_only",
            "live_plus_replay",
            "hybrid_schedule"
          ]
        }
      }
    },
    "targetAudience": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "siteCapabilities": {
      "type": "object",
      "properties": {
        "supportedDevices": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ]
          }
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "accessibilityFeatures": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  },
  "required": [
    "@type",
    "ontologicalMode",
    "interactionArchetype",
    "domain",
    "name",
    "description",
    "deliveryFormat",
    "capabilities",
    "structuralMetadata",
    "modules"
  ],
  "validationMetadata": {
    "schemaVersion": "3.0.0",
    "phase": "entity",
    "status": "draft",
    "lastValidated": "2026-02-20T12:00:00Z",
    "validator": "META-AIML QA"
  },
  "semanticAnnotations": {
    "classificationRationale": "VirtualEventPlatform is modeled as DigitalEntity + DirectService because the platform directly delivers event infrastructure and attendee experience.",
    "disambiguationNotes": "Different from event listing marketplaces where platform only aggregates third-party events without first-party event delivery tooling."
  },
  "governanceMetadata": {
    "entityVersion": "3.0.0",
    "introducedIn": "META-AIML v3.0.0",
    "stabilityLevel": "draft",
    "sdkValidationRules": [
      "RULE-VEP-001: @type MUST equal \"VirtualEventPlatform\"",
      "RULE-VEP-002: ontologicalMode MUST equal \"DigitalEntity\"",
      "RULE-VEP-003: interactionArchetype MUST contain \"DirectService\"",
      "RULE-VEP-004: capabilities.interaction MUST be present",
      "RULE-VEP-005: structuralMetadata.topology MUST equal \"binary\"",
      "RULE-VEP-006: sessionInteractionModel SHOULD be explicitly declared"
    ]
  }
}
