

const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.js');
const require_decorateMetadata = require('../../../../_virtual/_@oxc-project_runtime@0.95.0/helpers/decorateMetadata.js');
const require_decorate = require('../../../../_virtual/_@oxc-project_runtime@0.95.0/helpers/decorate.js');
const require_validators = require('../../../../utils/validators.js');
require('../../../../utils/index.js');
let class_validator = require("class-validator");
class_validator = require_rolldown_runtime.__toESM(class_validator);

//#region src/modules/vc/data-integrity/models/LinkedDataProof.ts
/**
* Linked Data Proof
* @see https://w3c.github.io/vc-data-model/#proofs-signatures
*
* @class LinkedDataProof
*/
var LinkedDataProof = class {
	constructor(options) {
		if (options) {
			this.type = options.type;
			this.proofPurpose = options.proofPurpose;
			this.verificationMethod = options.verificationMethod;
			this.created = options.created;
			this.domain = options.domain;
			this.challenge = options.challenge;
			this.jws = options.jws;
			this.proofValue = options.proofValue;
			this.nonce = options.nonce;
		}
	}
};
require_decorate.__decorate([(0, class_validator.IsString)(), require_decorateMetadata.__decorateMetadata("design:type", String)], LinkedDataProof.prototype, "type", void 0);
require_decorate.__decorate([(0, class_validator.IsString)(), require_decorateMetadata.__decorateMetadata("design:type", String)], LinkedDataProof.prototype, "proofPurpose", void 0);
require_decorate.__decorate([(0, class_validator.IsString)(), require_decorateMetadata.__decorateMetadata("design:type", String)], LinkedDataProof.prototype, "verificationMethod", void 0);
require_decorate.__decorate([(0, class_validator.IsString)(), require_decorateMetadata.__decorateMetadata("design:type", String)], LinkedDataProof.prototype, "created", void 0);
require_decorate.__decorate([
	require_validators.IsUri(),
	(0, class_validator.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", String)
], LinkedDataProof.prototype, "domain", void 0);
require_decorate.__decorate([
	(0, class_validator.IsString)(),
	(0, class_validator.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", String)
], LinkedDataProof.prototype, "challenge", void 0);
require_decorate.__decorate([
	(0, class_validator.IsString)(),
	(0, class_validator.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", String)
], LinkedDataProof.prototype, "jws", void 0);
require_decorate.__decorate([
	(0, class_validator.IsString)(),
	(0, class_validator.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", String)
], LinkedDataProof.prototype, "proofValue", void 0);
require_decorate.__decorate([
	(0, class_validator.IsString)(),
	(0, class_validator.IsOptional)(),
	require_decorateMetadata.__decorateMetadata("design:type", String)
], LinkedDataProof.prototype, "nonce", void 0);

//#endregion
exports.LinkedDataProof = LinkedDataProof;