

import { __decorateMetadata } from "../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorateMetadata.mjs";
import { __decorate } from "../../../../_virtual/_@oxc-project_runtime@0.94.0/helpers/decorate.mjs";
import { IsUri } from "../../../../utils/validators.mjs";
import "../../../../utils/index.mjs";
import { plainToClassFromExist } from "class-transformer";
import { IsOptional, IsString } from "class-validator";

//#region src/modules/vc/models/credential/W3cV2Evidence.ts
/**
* Represents an evidence.
*
*
* @see https://www.w3.org/TR/vc-data-model-2.0/#evidence
*/
var W3cV2Evidence = class {
	constructor(options) {
		if (options) {
			const { id, type,...rest } = options;
			plainToClassFromExist(this, rest);
			this.id = options.id;
			this.type = options.type;
		}
	}
};
__decorate([
	IsOptional(),
	IsUri(),
	__decorateMetadata("design:type", String)
], W3cV2Evidence.prototype, "id", void 0);
__decorate([IsString(), __decorateMetadata("design:type", String)], W3cV2Evidence.prototype, "type", void 0);

//#endregion
export { W3cV2Evidence };
//# sourceMappingURL=W3cV2Evidence.mjs.map