{"version":3,"file":"dataIntegrityV2Context.mjs","names":[],"sources":["../../src/cryptosuites/dataIntegrityV2Context.ts"],"sourcesContent":["/**\n * Data Integrity v2 Context\n * https://w3id.org/security/data-integrity/v2\n *\n * This context defines the DataIntegrityProof and related terms.\n * Simplified without @protected to avoid conflicts when combining contexts.\n */\n\nimport { DATA_INTEGRITY_V2_CONTEXT_URL } from './constants'\n\nexport const dataIntegrityV2Context = {\n  '@context': {\n    id: '@id',\n    type: '@type',\n\n    // Data Integrity Proof terms\n    DataIntegrityProof: 'https://w3id.org/security#DataIntegrityProof',\n    challenge: 'https://w3id.org/security#challenge',\n    created: {\n      '@id': 'http://purl.org/dc/terms/created',\n      '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n    },\n    domain: 'https://w3id.org/security#domain',\n    expires: {\n      '@id': 'https://w3id.org/security#expiration',\n      '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n    },\n    nonce: 'https://w3id.org/security#nonce',\n    proofPurpose: {\n      '@id': 'https://w3id.org/security#proofPurpose',\n      '@type': '@vocab',\n    },\n    assertionMethod: {\n      '@id': 'https://w3id.org/security#assertionMethod',\n      '@type': '@id',\n    },\n    authentication: {\n      '@id': 'https://w3id.org/security#authenticationMethod',\n      '@type': '@id',\n    },\n    cryptosuite: {\n      '@id': 'https://w3id.org/security#cryptosuite',\n      '@type': 'https://w3id.org/security#cryptosuiteString',\n    },\n    proofValue: {\n      '@id': 'https://w3id.org/security#proofValue',\n      '@type': 'https://w3id.org/security#multibase',\n    },\n    verificationMethod: {\n      '@id': 'https://w3id.org/security#verificationMethod',\n      '@type': '@id',\n    },\n    previousProof: {\n      '@id': 'https://w3id.org/security#previousProof',\n      '@type': '@id',\n    },\n\n    // Multikey terms\n    Multikey: 'https://w3id.org/security#Multikey',\n    controller: {\n      '@id': 'https://w3id.org/security#controller',\n      '@type': '@id',\n    },\n    revoked: {\n      '@id': 'https://w3id.org/security#revoked',\n      '@type': 'http://www.w3.org/2001/XMLSchema#dateTime',\n    },\n    publicKeyMultibase: {\n      '@id': 'https://w3id.org/security#publicKeyMultibase',\n      '@type': 'https://w3id.org/security#multibase',\n    },\n    secretKeyMultibase: {\n      '@id': 'https://w3id.org/security#secretKeyMultibase',\n      '@type': 'https://w3id.org/security#multibase',\n    },\n\n    // Common terms\n    proof: {\n      '@id': 'https://w3id.org/security#proof',\n      '@type': '@id',\n      '@container': '@graph',\n    },\n  },\n}\n\nconst dataIntegrityContextMap = new Map<string, typeof dataIntegrityV2Context>()\ndataIntegrityContextMap.set(DATA_INTEGRITY_V2_CONTEXT_URL, dataIntegrityV2Context)\n\nexport { dataIntegrityContextMap }\n"],"mappings":";;;;;;;;;;AAUA,MAAa,yBAAyB,EACpC,YAAY;CACV,IAAI;CACJ,MAAM;CAGN,oBAAoB;CACpB,WAAW;CACX,SAAS;EACP,OAAO;EACP,SAAS;EACV;CACD,QAAQ;CACR,SAAS;EACP,OAAO;EACP,SAAS;EACV;CACD,OAAO;CACP,cAAc;EACZ,OAAO;EACP,SAAS;EACV;CACD,iBAAiB;EACf,OAAO;EACP,SAAS;EACV;CACD,gBAAgB;EACd,OAAO;EACP,SAAS;EACV;CACD,aAAa;EACX,OAAO;EACP,SAAS;EACV;CACD,YAAY;EACV,OAAO;EACP,SAAS;EACV;CACD,oBAAoB;EAClB,OAAO;EACP,SAAS;EACV;CACD,eAAe;EACb,OAAO;EACP,SAAS;EACV;CAGD,UAAU;CACV,YAAY;EACV,OAAO;EACP,SAAS;EACV;CACD,SAAS;EACP,OAAO;EACP,SAAS;EACV;CACD,oBAAoB;EAClB,OAAO;EACP,SAAS;EACV;CACD,oBAAoB;EAClB,OAAO;EACP,SAAS;EACV;CAGD,OAAO;EACL,OAAO;EACP,SAAS;EACT,cAAc;EACf;CACF,EACF;AAED,MAAM,0CAA0B,IAAI,KAA4C;AAChF,wBAAwB,IAAI,+BAA+B,uBAAuB"}