| 1 | use utf8; | ||
| 2 | |||
| 3 | package SemanticWeb::Schema::VideoGameSeries; | ||
| 4 | |||
| 5 | # ABSTRACT: A video game series. | ||
| 6 | |||
| 7 | use v5.14; | ||
| 8 | use Moo; | ||
| 9 | |||
| 10 | extends qw/ SemanticWeb::Schema::CreativeWorkSeries /; | ||
| 11 | |||
| 12 | |||
| 13 | use MooX::JSON_LD 'VideoGameSeries'; | ||
| 14 | use Ref::Util qw/ is_plain_hashref /; | ||
| 15 | # RECOMMEND PREREQ: Ref::Util::XS | ||
| 16 | |||
| 17 | use namespace::autoclean; | ||
| 18 | |||
| 19 | our $VERSION = 'v23.0.0'; | ||
| 20 | |||
| 21 | |||
| 22 | has actor => ( | ||
| 23 | is => 'rw', | ||
| 24 | predicate => '_has_actor', | ||
| 25 | json_ld => 'actor', | ||
| 26 | ); | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | has actors => ( | ||
| 31 | is => 'rw', | ||
| 32 | predicate => '_has_actors', | ||
| 33 | json_ld => 'actors', | ||
| 34 | ); | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | has character_attribute => ( | ||
| 39 | is => 'rw', | ||
| 40 | predicate => '_has_character_attribute', | ||
| 41 | json_ld => 'characterAttribute', | ||
| 42 | ); | ||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | has cheat_code => ( | ||
| 47 | is => 'rw', | ||
| 48 | predicate => '_has_cheat_code', | ||
| 49 | json_ld => 'cheatCode', | ||
| 50 | ); | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | has contains_season => ( | ||
| 55 | is => 'rw', | ||
| 56 | predicate => '_has_contains_season', | ||
| 57 | json_ld => 'containsSeason', | ||
| 58 | ); | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | has director => ( | ||
| 63 | is => 'rw', | ||
| 64 | predicate => '_has_director', | ||
| 65 | json_ld => 'director', | ||
| 66 | ); | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | has directors => ( | ||
| 71 | is => 'rw', | ||
| 72 | predicate => '_has_directors', | ||
| 73 | json_ld => 'directors', | ||
| 74 | ); | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | has episode => ( | ||
| 79 | is => 'rw', | ||
| 80 | predicate => '_has_episode', | ||
| 81 | json_ld => 'episode', | ||
| 82 | ); | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | has episodes => ( | ||
| 87 | is => 'rw', | ||
| 88 | predicate => '_has_episodes', | ||
| 89 | json_ld => 'episodes', | ||
| 90 | ); | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | has game_item => ( | ||
| 95 | is => 'rw', | ||
| 96 | predicate => '_has_game_item', | ||
| 97 | json_ld => 'gameItem', | ||
| 98 | ); | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | has game_location => ( | ||
| 103 | is => 'rw', | ||
| 104 | predicate => '_has_game_location', | ||
| 105 | json_ld => 'gameLocation', | ||
| 106 | ); | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | has game_platform => ( | ||
| 111 | is => 'rw', | ||
| 112 | predicate => '_has_game_platform', | ||
| 113 | json_ld => 'gamePlatform', | ||
| 114 | ); | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | has music_by => ( | ||
| 119 | is => 'rw', | ||
| 120 | predicate => '_has_music_by', | ||
| 121 | json_ld => 'musicBy', | ||
| 122 | ); | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | has number_of_episodes => ( | ||
| 127 | is => 'rw', | ||
| 128 | predicate => '_has_number_of_episodes', | ||
| 129 | json_ld => 'numberOfEpisodes', | ||
| 130 | ); | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | has number_of_players => ( | ||
| 135 | is => 'rw', | ||
| 136 | predicate => '_has_number_of_players', | ||
| 137 | json_ld => 'numberOfPlayers', | ||
| 138 | ); | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | has number_of_seasons => ( | ||
| 143 | is => 'rw', | ||
| 144 | predicate => '_has_number_of_seasons', | ||
| 145 | json_ld => 'numberOfSeasons', | ||
| 146 | ); | ||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | has play_mode => ( | ||
| 151 | is => 'rw', | ||
| 152 | predicate => '_has_play_mode', | ||
| 153 | json_ld => 'playMode', | ||
| 154 | ); | ||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | has production_company => ( | ||
| 159 | is => 'rw', | ||
| 160 | predicate => '_has_production_company', | ||
| 161 | json_ld => 'productionCompany', | ||
| 162 | ); | ||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | has quest => ( | ||
| 167 | is => 'rw', | ||
| 168 | predicate => '_has_quest', | ||
| 169 | json_ld => 'quest', | ||
| 170 | ); | ||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | has season => ( | ||
| 175 | is => 'rw', | ||
| 176 | predicate => '_has_season', | ||
| 177 | json_ld => 'season', | ||
| 178 | ); | ||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | has seasons => ( | ||
| 183 | is => 'rw', | ||
| 184 | predicate => '_has_seasons', | ||
| 185 | json_ld => 'seasons', | ||
| 186 | ); | ||
| 187 | |||
| 188 | |||
| 189 | |||
| 190 | has trailer => ( | ||
| 191 | is => 'rw', | ||
| 192 | predicate => '_has_trailer', | ||
| 193 | json_ld => 'trailer', | ||
| 194 | ); | ||
| 195 | |||
| 196 | |||
| 197 | |||
| 198 | |||
| 199 | |||
| 200 | 1; | ||
| 201 | |||
| 202 | __END__ |