{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:VideoGame",
  "title": "VideoGame",
  "description": "A video game is an electronic game that involves human interaction with a user interface to generate visual feedback on a video device.",
  "type": "object",
  "allOf": [
    {
      "description": "The Game type represents things which are games. These are typically rule-governed recreational activities, e.g. role-playing games in which players assume the role of characters in a fictional setting.",
      "$ref": "schema:Game"
    },
    {
      "description": "A software application.",
      "$ref": "schema:SoftwareApplication"
    }
  ],
  "properties": {
    "actor": {
      "description": "An actor (individual or a group), e.g. in TV, radio, movie, video games etc., or in an event. Actors can be associated with individual items or with a series, episode, clip.",
      "oneOf": [
        {
          "anyOf": [
            { "$ref": "schema:PerformingGroup" },
            { "$ref": "schema:Person" }
          ]
        },
        {
          "type": "array",
          "items": {
            "anyOf": [
              { "$ref": "schema:PerformingGroup" },
              { "$ref": "schema:Person" }
            ]
          }
        }
      ]
    },
    "actors": {
      "description": "An actor, e.g. in TV, radio, movie, video games etc. Actors can be associated with individual items or with a series, episode, clip.",
      "oneOf": [
        { "$ref": "schema:Person" },
        { "type": "array", "items": { "$ref": "schema:Person" } }
      ]
    },
    "cheatCode": {
      "description": "Cheat codes to the game.",
      "oneOf": [
        { "$ref": "schema:CreativeWork" },
        { "type": "array", "items": { "$ref": "schema:CreativeWork" } }
      ]
    },
    "director": {
      "description": "A director of e.g. TV, radio, movie, video gaming etc. content, or of an event. Directors can be associated with individual items or with a series, episode, clip.",
      "$ref": "schema:Person"
    },
    "directors": {
      "description": "A director of e.g. TV, radio, movie, video games etc. content. Directors can be associated with individual items or with a series, episode, clip.",
      "oneOf": [
        { "$ref": "schema:Person" },
        { "type": "array", "items": { "$ref": "schema:Person" } }
      ]
    },
    "gameEdition": {
      "description": "The edition of a video game.",
      "type": "string"
    },
    "gamePlatform": {
      "description": "The electronic systems used to play video games.",
      "anyOf": [
        { "type": "string", "format": "uri" },
        { "type": "string" },
        { "$ref": "schema:Thing" }
      ]
    },
    "gameServer": {
      "description": "The server on which  it is possible to play the game.",
      "$ref": "schema:GameServer"
    },
    "gameTip": {
      "description": "Links to tips, tactics, etc.",
      "oneOf": [
        { "$ref": "schema:CreativeWork" },
        { "type": "array", "items": { "$ref": "schema:CreativeWork" } }
      ]
    },
    "musicBy": {
      "description": "The composer of the soundtrack.",
      "anyOf": [{ "$ref": "schema:MusicGroup" }, { "$ref": "schema:Person" }]
    },
    "playMode": {
      "description": "Indicates whether this game is multi-player, co-op or single-player.  The game can be marked as multi-player, co-op and single-player at the same time.",
      "oneOf": [
        { "$ref": "schema:GamePlayMode" },
        { "type": "array", "items": { "$ref": "schema:GamePlayMode" } }
      ]
    },
    "trailer": {
      "description": "The trailer of a movie or TV/radio series, season, episode, etc.",
      "$ref": "schema:VideoObject"
    }
  }
}
