"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.VehicleMixin = void 0;
const rdfine_1 = __importStar(require("@tpluscode/rdfine"));
const $rdf = __importStar(require("@rdf-esm/data-model"));
const namespace_1 = require("./lib/namespace");
const Product_1 = require("./Product");
function VehicleMixin(Resource) {
    let VehicleClass = class VehicleClass extends Product_1.ProductMixin(Resource) {
    };
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "accelerationTime", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "bodyType", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.bodyType }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "bodyTypeTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "callSign", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "cargoVolume", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "dateVehicleFirstRegistered", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "driveWheelConfiguration", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.driveWheelConfiguration }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "driveWheelConfigurationTerm", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "emissionsCO2", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "fuelCapacity", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "fuelConsumption", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "fuelEfficiency", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "fuelType", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.fuelType }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "fuelTypeTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "knownVehicleDamages", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "meetsEmissionStandard", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.meetsEmissionStandard }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "meetsEmissionStandardTerm", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "mileageFromOdometer", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "modelDate", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfAirbags", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfAxles", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.numberOfAxles, type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfAxlesLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfDoors", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.numberOfDoors, type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfDoorsLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfForwardGears", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.numberOfForwardGears, type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfForwardGearsLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfPreviousOwners", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.numberOfPreviousOwners, type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "numberOfPreviousOwnersLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "payload", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "productionDate", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "purchaseDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "seatingCapacity", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.seatingCapacity, type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "seatingCapacityLiteral", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "speed", void 0);
    __decorate([
        rdfine_1.property(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "steeringPosition", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "tongueWeight", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "trailerWeight", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleConfiguration", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleEngine", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleIdentificationNumber", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleInteriorColor", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleInteriorType", void 0);
    __decorate([
        rdfine_1.property.literal({ type: Date, datatype: $rdf.namedNode('http://www.w3.org/2001/XMLSchema#date') }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleModelDate", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleSeatingCapacity", void 0);
    __decorate([
        rdfine_1.property.literal({ path: namespace_1.schema.vehicleSeatingCapacity, type: Number }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleSeatingCapacityLiteral", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleSpecialUsage", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.vehicleSpecialUsage }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleSpecialUsageTerm", void 0);
    __decorate([
        rdfine_1.property.literal(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleTransmission", void 0);
    __decorate([
        rdfine_1.property({ path: namespace_1.schema.vehicleTransmission }),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "vehicleTransmissionTerm", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "weightTotal", void 0);
    __decorate([
        rdfine_1.property.resource(),
        __metadata("design:type", Object)
    ], VehicleClass.prototype, "wheelbase", void 0);
    VehicleClass = __decorate([
        rdfine_1.namespace(namespace_1.schema)
    ], VehicleClass);
    return VehicleClass;
}
exports.VehicleMixin = VehicleMixin;
class VehicleImpl extends VehicleMixin(rdfine_1.default) {
    constructor(arg, init) {
        super(arg, init);
        this.types.add(namespace_1.schema.Vehicle);
    }
}
VehicleImpl.__mixins = [VehicleMixin, Product_1.ProductMixin];
VehicleMixin.appliesTo = namespace_1.schema.Vehicle;
VehicleMixin.Class = VehicleImpl;
