"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.PersonMixin = void 0;
const rdfine_1 = __importStar(require("@tpluscode/rdfine"));
const $rdf = __importStar(require("@rdf-esm/data-model"));
const namespace_1 = require("./lib/namespace");
const Thing_1 = require("./Thing");
function PersonMixin(Resource) {
    let PersonClass = class PersonClass extends Thing_1.ThingMixin(Resource) {
    };
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "additionalName", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "address", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.address }),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "addressLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "affiliation", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "alumniOf", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "award", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "awards", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "birthDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "birthPlace", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "brand", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "callSign", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "children", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "colleague", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "colleagues", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "contactPoint", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "contactPoints", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "deathDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "deathPlace", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "duns", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "email", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "familyName", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "faxNumber", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "follows", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "funder", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "gender", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.gender }),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "genderTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "givenName", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "globalLocationNumber", void 0);
    __decorate([
        rdfine_1.property(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "hasCredential", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "hasOccupation", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "hasOfferCatalog", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "hasPOS", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "height", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "homeLocation", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "honorificPrefix", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "honorificSuffix", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "interactionStatistic", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "isicV4", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "jobTitle", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "knows", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "knowsAbout", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.knowsAbout }),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "knowsAboutLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "knowsLanguage", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.knowsLanguage }),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "knowsLanguageLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "makesOffer", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "memberOf", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "naics", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "nationality", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "netWorth", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "owns", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "parent", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "parents", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "performerIn", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "publishingPrinciples", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "relatedTo", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "seeks", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "sibling", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "siblings", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "sponsor", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "spouse", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "taxID", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "telephone", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "vatID", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "weight", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "workLocation", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], PersonClass.prototype, "worksFor", void 0);
    PersonClass = __decorate([
        rdfine_1.namespace(namespace_1.schema)
    ], PersonClass);
    return PersonClass;
}
exports.PersonMixin = PersonMixin;
class PersonImpl extends PersonMixin(rdfine_1.default) {
    constructor(arg, init) {
        super(arg, init);
        this.types.add(namespace_1.schema.Person);
    }
}
PersonImpl.__mixins = [PersonMixin, Thing_1.ThingMixin];
PersonMixin.appliesTo = namespace_1.schema.Person;
PersonMixin.Class = PersonImpl;
