"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.JobPostingMixin = void 0;
const rdfine_1 = __importStar(require("@tpluscode/rdfine"));
const $rdf = __importStar(require("@rdf-esm/data-model"));
const namespace_1 = require("./lib/namespace");
const Intangible_1 = require("./Intangible");
function JobPostingMixin(Resource) {
    let JobPostingClass = class JobPostingClass extends Intangible_1.IntangibleMixin(Resource) {
    };
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "applicantLocationRequirements", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "applicationContact", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "baseSalary", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.baseSalary, type: Number }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "baseSalaryLiteral", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "benefits", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "datePosted", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "educationRequirements", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "eligibilityToWorkRequirement", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "employerOverview", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "employmentType", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "employmentUnit", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "estimatedSalary", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.estimatedSalary, type: Number }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "estimatedSalaryLiteral", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "experienceRequirements", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "hiringOrganization", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "incentiveCompensation", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "incentives", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "industry", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "jobBenefits", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Boolean }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "jobImmediateStart", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "jobLocation", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "jobLocationType", void 0);
    __decorate([
        rdfine_1.property.literal({ datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "jobStartDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "occupationalCategory", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.occupationalCategory }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "occupationalCategoryLiteral", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "physicalRequirement", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.physicalRequirement }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "physicalRequirementTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "qualifications", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "relevantOccupation", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "responsibilities", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "salaryCurrency", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "securityClearanceRequirement", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.securityClearanceRequirement }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "securityClearanceRequirementTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "sensoryRequirement", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.sensoryRequirement }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "sensoryRequirementTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "skills", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "specialCommitments", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "title", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Number }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "totalJobOpenings", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "validThrough", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], JobPostingClass.prototype, "workHours", void 0);
    JobPostingClass = __decorate([
        rdfine_1.namespace(namespace_1.schema)
    ], JobPostingClass);
    return JobPostingClass;
}
exports.JobPostingMixin = JobPostingMixin;
class JobPostingImpl extends JobPostingMixin(rdfine_1.default) {
    constructor(arg, init) {
        super(arg, init);
        this.types.add(namespace_1.schema.JobPosting);
    }
}
JobPostingImpl.__mixins = [JobPostingMixin, Intangible_1.IntangibleMixin];
JobPostingMixin.appliesTo = namespace_1.schema.JobPosting;
JobPostingMixin.Class = JobPostingImpl;
