| 1 | use utf8; | ||
| 2 | |||
| 3 | package SemanticWeb::Schema::JobPosting; | ||
| 4 | |||
| 5 | # ABSTRACT: A listing that describes a job opening in a certain organization. | ||
| 6 | |||
| 7 | use v5.14; | ||
| 8 | use Moo; | ||
| 9 | |||
| 10 | extends qw/ SemanticWeb::Schema::Intangible /; | ||
| 11 | |||
| 12 | |||
| 13 | use MooX::JSON_LD 'JobPosting'; | ||
| 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 applicant_location_requirements => ( | ||
| 23 | is => 'rw', | ||
| 24 | predicate => '_has_applicant_location_requirements', | ||
| 25 | json_ld => 'applicantLocationRequirements', | ||
| 26 | ); | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | has application_contact => ( | ||
| 31 | is => 'rw', | ||
| 32 | predicate => '_has_application_contact', | ||
| 33 | json_ld => 'applicationContact', | ||
| 34 | ); | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | has base_salary => ( | ||
| 39 | is => 'rw', | ||
| 40 | predicate => '_has_base_salary', | ||
| 41 | json_ld => 'baseSalary', | ||
| 42 | ); | ||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | has benefits => ( | ||
| 47 | is => 'rw', | ||
| 48 | predicate => '_has_benefits', | ||
| 49 | json_ld => 'benefits', | ||
| 50 | ); | ||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | has date_posted => ( | ||
| 55 | is => 'rw', | ||
| 56 | predicate => '_has_date_posted', | ||
| 57 | json_ld => 'datePosted', | ||
| 58 | ); | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | has direct_apply => ( | ||
| 63 | is => 'rw', | ||
| 64 | predicate => '_has_direct_apply', | ||
| 65 | json_ld => 'directApply', | ||
| 66 | ); | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | has education_requirements => ( | ||
| 71 | is => 'rw', | ||
| 72 | predicate => '_has_education_requirements', | ||
| 73 | json_ld => 'educationRequirements', | ||
| 74 | ); | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | has eligibility_to_work_requirement => ( | ||
| 79 | is => 'rw', | ||
| 80 | predicate => '_has_eligibility_to_work_requirement', | ||
| 81 | json_ld => 'eligibilityToWorkRequirement', | ||
| 82 | ); | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | has employer_overview => ( | ||
| 87 | is => 'rw', | ||
| 88 | predicate => '_has_employer_overview', | ||
| 89 | json_ld => 'employerOverview', | ||
| 90 | ); | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | has employment_type => ( | ||
| 95 | is => 'rw', | ||
| 96 | predicate => '_has_employment_type', | ||
| 97 | json_ld => 'employmentType', | ||
| 98 | ); | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | has employment_unit => ( | ||
| 103 | is => 'rw', | ||
| 104 | predicate => '_has_employment_unit', | ||
| 105 | json_ld => 'employmentUnit', | ||
| 106 | ); | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | has estimated_salary => ( | ||
| 111 | is => 'rw', | ||
| 112 | predicate => '_has_estimated_salary', | ||
| 113 | json_ld => 'estimatedSalary', | ||
| 114 | ); | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | has experience_in_place_of_education => ( | ||
| 119 | is => 'rw', | ||
| 120 | predicate => '_has_experience_in_place_of_education', | ||
| 121 | json_ld => 'experienceInPlaceOfEducation', | ||
| 122 | ); | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | has experience_requirements => ( | ||
| 127 | is => 'rw', | ||
| 128 | predicate => '_has_experience_requirements', | ||
| 129 | json_ld => 'experienceRequirements', | ||
| 130 | ); | ||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | has hiring_organization => ( | ||
| 135 | is => 'rw', | ||
| 136 | predicate => '_has_hiring_organization', | ||
| 137 | json_ld => 'hiringOrganization', | ||
| 138 | ); | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | has incentive_compensation => ( | ||
| 143 | is => 'rw', | ||
| 144 | predicate => '_has_incentive_compensation', | ||
| 145 | json_ld => 'incentiveCompensation', | ||
| 146 | ); | ||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | has incentives => ( | ||
| 151 | is => 'rw', | ||
| 152 | predicate => '_has_incentives', | ||
| 153 | json_ld => 'incentives', | ||
| 154 | ); | ||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | has industry => ( | ||
| 159 | is => 'rw', | ||
| 160 | predicate => '_has_industry', | ||
| 161 | json_ld => 'industry', | ||
| 162 | ); | ||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | has job_benefits => ( | ||
| 167 | is => 'rw', | ||
| 168 | predicate => '_has_job_benefits', | ||
| 169 | json_ld => 'jobBenefits', | ||
| 170 | ); | ||
| 171 | |||
| 172 | |||
| 173 | |||
| 174 | has job_immediate_start => ( | ||
| 175 | is => 'rw', | ||
| 176 | predicate => '_has_job_immediate_start', | ||
| 177 | json_ld => 'jobImmediateStart', | ||
| 178 | ); | ||
| 179 | |||
| 180 | |||
| 181 | |||
| 182 | has job_location => ( | ||
| 183 | is => 'rw', | ||
| 184 | predicate => '_has_job_location', | ||
| 185 | json_ld => 'jobLocation', | ||
| 186 | ); | ||
| 187 | |||
| 188 | |||
| 189 | |||
| 190 | has job_location_type => ( | ||
| 191 | is => 'rw', | ||
| 192 | predicate => '_has_job_location_type', | ||
| 193 | json_ld => 'jobLocationType', | ||
| 194 | ); | ||
| 195 | |||
| 196 | |||
| 197 | |||
| 198 | has job_start_date => ( | ||
| 199 | is => 'rw', | ||
| 200 | predicate => '_has_job_start_date', | ||
| 201 | json_ld => 'jobStartDate', | ||
| 202 | ); | ||
| 203 | |||
| 204 | |||
| 205 | |||
| 206 | has occupational_category => ( | ||
| 207 | is => 'rw', | ||
| 208 | predicate => '_has_occupational_category', | ||
| 209 | json_ld => 'occupationalCategory', | ||
| 210 | ); | ||
| 211 | |||
| 212 | |||
| 213 | |||
| 214 | has physical_requirement => ( | ||
| 215 | is => 'rw', | ||
| 216 | predicate => '_has_physical_requirement', | ||
| 217 | json_ld => 'physicalRequirement', | ||
| 218 | ); | ||
| 219 | |||
| 220 | |||
| 221 | |||
| 222 | has qualifications => ( | ||
| 223 | is => 'rw', | ||
| 224 | predicate => '_has_qualifications', | ||
| 225 | json_ld => 'qualifications', | ||
| 226 | ); | ||
| 227 | |||
| 228 | |||
| 229 | |||
| 230 | has relevant_occupation => ( | ||
| 231 | is => 'rw', | ||
| 232 | predicate => '_has_relevant_occupation', | ||
| 233 | json_ld => 'relevantOccupation', | ||
| 234 | ); | ||
| 235 | |||
| 236 | |||
| 237 | |||
| 238 | has responsibilities => ( | ||
| 239 | is => 'rw', | ||
| 240 | predicate => '_has_responsibilities', | ||
| 241 | json_ld => 'responsibilities', | ||
| 242 | ); | ||
| 243 | |||
| 244 | |||
| 245 | |||
| 246 | has salary_currency => ( | ||
| 247 | is => 'rw', | ||
| 248 | predicate => '_has_salary_currency', | ||
| 249 | json_ld => 'salaryCurrency', | ||
| 250 | ); | ||
| 251 | |||
| 252 | |||
| 253 | |||
| 254 | has security_clearance_requirement => ( | ||
| 255 | is => 'rw', | ||
| 256 | predicate => '_has_security_clearance_requirement', | ||
| 257 | json_ld => 'securityClearanceRequirement', | ||
| 258 | ); | ||
| 259 | |||
| 260 | |||
| 261 | |||
| 262 | has sensory_requirement => ( | ||
| 263 | is => 'rw', | ||
| 264 | predicate => '_has_sensory_requirement', | ||
| 265 | json_ld => 'sensoryRequirement', | ||
| 266 | ); | ||
| 267 | |||
| 268 | |||
| 269 | |||
| 270 | has skills => ( | ||
| 271 | is => 'rw', | ||
| 272 | predicate => '_has_skills', | ||
| 273 | json_ld => 'skills', | ||
| 274 | ); | ||
| 275 | |||
| 276 | |||
| 277 | |||
| 278 | has special_commitments => ( | ||
| 279 | is => 'rw', | ||
| 280 | predicate => '_has_special_commitments', | ||
| 281 | json_ld => 'specialCommitments', | ||
| 282 | ); | ||
| 283 | |||
| 284 | |||
| 285 | |||
| 286 | has title => ( | ||
| 287 | is => 'rw', | ||
| 288 | predicate => '_has_title', | ||
| 289 | json_ld => 'title', | ||
| 290 | ); | ||
| 291 | |||
| 292 | |||
| 293 | |||
| 294 | has total_job_openings => ( | ||
| 295 | is => 'rw', | ||
| 296 | predicate => '_has_total_job_openings', | ||
| 297 | json_ld => 'totalJobOpenings', | ||
| 298 | ); | ||
| 299 | |||
| 300 | |||
| 301 | |||
| 302 | has valid_through => ( | ||
| 303 | is => 'rw', | ||
| 304 | predicate => '_has_valid_through', | ||
| 305 | json_ld => 'validThrough', | ||
| 306 | ); | ||
| 307 | |||
| 308 | |||
| 309 | |||
| 310 | has work_hours => ( | ||
| 311 | is => 'rw', | ||
| 312 | predicate => '_has_work_hours', | ||
| 313 | json_ld => 'workHours', | ||
| 314 | ); | ||
| 315 | |||
| 316 | |||
| 317 | |||
| 318 | |||
| 319 | |||
| 320 | 1; | ||
| 321 | |||
| 322 | __END__ |