"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.OrganizationMixin = 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 OrganizationMixin(Resource) {
    let OrganizationClass = class OrganizationClass extends Thing_1.ThingMixin(Resource) {
    };
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "actionableFeedbackPolicy", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "address", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.address }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "addressLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "aggregateRating", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "alumni", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "areaServed", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.areaServed }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "areaServedLiteral", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "award", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "awards", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "brand", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "contactPoint", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "contactPoints", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "correctionsPolicy", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "department", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "dissolutionDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "diversityPolicy", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "diversityStaffingReport", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "duns", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "email", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "employee", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "employees", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "ethicsPolicy", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "event", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "events", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "faxNumber", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "founder", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "founders", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "foundingDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "foundingLocation", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "funder", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "globalLocationNumber", void 0);
    __decorate([
        rdfine_1.property(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "hasCredential", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "hasMerchantReturnPolicy", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "hasOfferCatalog", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "hasPOS", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "interactionStatistic", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "isicV4", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "knowsAbout", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.knowsAbout }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "knowsAboutLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "knowsLanguage", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.knowsLanguage }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "knowsLanguageLiteral", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "legalName", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "leiCode", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "location", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.location }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "locationLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "logo", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "makesOffer", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "member", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "memberOf", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "members", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "naics", void 0);
    __decorate([
        rdfine_1.property(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "nonprofitStatus", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "numberOfEmployees", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "ownershipFundingInfo", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.ownershipFundingInfo }),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "ownershipFundingInfoLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "owns", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "parentOrganization", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "publishingPrinciples", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "review", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "reviews", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "seeks", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "serviceArea", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "slogan", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "sponsor", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "subOrganization", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "taxID", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "telephone", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "unnamedSourcesPolicy", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], OrganizationClass.prototype, "vatID", void 0);
    OrganizationClass = __decorate([
        rdfine_1.namespace(namespace_1.schema)
    ], OrganizationClass);
    return OrganizationClass;
}
exports.OrganizationMixin = OrganizationMixin;
class OrganizationImpl extends OrganizationMixin(rdfine_1.default) {
    constructor(arg, init) {
        super(arg, init);
        this.types.add(namespace_1.schema.Organization);
    }
}
OrganizationImpl.__mixins = [OrganizationMixin, Thing_1.ThingMixin];
OrganizationMixin.appliesTo = namespace_1.schema.Organization;
OrganizationMixin.Class = OrganizationImpl;
