{"version":3,"file":"credentials_v1.mjs","names":[],"sources":["../../../../../../src/modules/vc/data-integrity/libraries/contexts/credentials_v1.ts"],"sourcesContent":["export const CREDENTIALS_V1 = {\n  '@context': {\n    '@version': 1.1,\n    '@protected': true,\n    id: '@id',\n    type: '@type',\n    VerifiableCredential: {\n      '@id': 'https://www.w3.org/2018/credentials#VerifiableCredential',\n      '@context': {\n        '@version': 1.1,\n        '@protected': true,\n        id: '@id',\n        type: '@type',\n        cred: 'https://www.w3.org/2018/credentials#',\n        sec: 'https://w3id.org/security#',\n        xsd: 'http://www.w3.org/2001/XMLSchema#',\n        credentialSchema: {\n          '@id': 'cred:credentialSchema',\n          '@type': '@id',\n          '@context': {\n            '@version': 1.1,\n            '@protected': true,\n            id: '@id',\n            type: '@type',\n            cred: 'https://www.w3.org/2018/credentials#',\n            JsonSchemaValidator2018: 'cred:JsonSchemaValidator2018',\n          },\n        },\n        credentialStatus: { '@id': 'cred:credentialStatus', '@type': '@id' },\n        credentialSubject: { '@id': 'cred:credentialSubject', '@type': '@id' },\n        evidence: { '@id': 'cred:evidence', '@type': '@id' },\n        expirationDate: {\n          '@id': 'cred:expirationDate',\n          '@type': 'xsd:dateTime',\n        },\n        holder: { '@id': 'cred:holder', '@type': '@id' },\n        issued: { '@id': 'cred:issued', '@type': 'xsd:dateTime' },\n        issuer: { '@id': 'cred:issuer', '@type': '@id' },\n        issuanceDate: { '@id': 'cred:issuanceDate', '@type': 'xsd:dateTime' },\n        proof: { '@id': 'sec:proof', '@type': '@id', '@container': '@graph' },\n        refreshService: {\n          '@id': 'cred:refreshService',\n          '@type': '@id',\n          '@context': {\n            '@version': 1.1,\n            '@protected': true,\n            id: '@id',\n            type: '@type',\n            cred: 'https://www.w3.org/2018/credentials#',\n            ManualRefreshService2018: 'cred:ManualRefreshService2018',\n          },\n        },\n        termsOfUse: { '@id': 'cred:termsOfUse', '@type': '@id' },\n        validFrom: { '@id': 'cred:validFrom', '@type': 'xsd:dateTime' },\n        validUntil: { '@id': 'cred:validUntil', '@type': 'xsd:dateTime' },\n      },\n    },\n    VerifiablePresentation: {\n      '@id': 'https://www.w3.org/2018/credentials#VerifiablePresentation',\n      '@context': {\n        '@version': 1.1,\n        '@protected': true,\n        id: '@id',\n        type: '@type',\n        cred: 'https://www.w3.org/2018/credentials#',\n        sec: 'https://w3id.org/security#',\n        holder: { '@id': 'cred:holder', '@type': '@id' },\n        proof: { '@id': 'sec:proof', '@type': '@id', '@container': '@graph' },\n        verifiableCredential: {\n          '@id': 'cred:verifiableCredential',\n          '@type': '@id',\n          '@container': '@graph',\n        },\n      },\n    },\n    EcdsaSecp256k1Signature2019: {\n      '@id': 'https://w3id.org/security#EcdsaSecp256k1Signature2019',\n      '@context': {\n        '@version': 1.1,\n        '@protected': true,\n        id: '@id',\n        type: '@type',\n        sec: 'https://w3id.org/security#',\n        xsd: 'http://www.w3.org/2001/XMLSchema#',\n        challenge: 'sec:challenge',\n        created: {\n          '@id': 'http://purl.org/dc/terms/created',\n          '@type': 'xsd:dateTime',\n        },\n        domain: 'sec:domain',\n        expires: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' },\n        jws: 'sec:jws',\n        nonce: 'sec:nonce',\n        proofPurpose: {\n          '@id': 'sec:proofPurpose',\n          '@type': '@vocab',\n          '@context': {\n            '@version': 1.1,\n            '@protected': true,\n            id: '@id',\n            type: '@type',\n            sec: 'https://w3id.org/security#',\n            assertionMethod: {\n              '@id': 'sec:assertionMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n            authentication: {\n              '@id': 'sec:authenticationMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n          },\n        },\n        proofValue: 'sec:proofValue',\n        verificationMethod: { '@id': 'sec:verificationMethod', '@type': '@id' },\n      },\n    },\n    EcdsaSecp256r1Signature2019: {\n      '@id': 'https://w3id.org/security#EcdsaSecp256r1Signature2019',\n      '@context': {\n        '@version': 1.1,\n        '@protected': true,\n        id: '@id',\n        type: '@type',\n        sec: 'https://w3id.org/security#',\n        xsd: 'http://www.w3.org/2001/XMLSchema#',\n        challenge: 'sec:challenge',\n        created: {\n          '@id': 'http://purl.org/dc/terms/created',\n          '@type': 'xsd:dateTime',\n        },\n        domain: 'sec:domain',\n        expires: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' },\n        jws: 'sec:jws',\n        nonce: 'sec:nonce',\n        proofPurpose: {\n          '@id': 'sec:proofPurpose',\n          '@type': '@vocab',\n          '@context': {\n            '@version': 1.1,\n            '@protected': true,\n            id: '@id',\n            type: '@type',\n            sec: 'https://w3id.org/security#',\n            assertionMethod: {\n              '@id': 'sec:assertionMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n            authentication: {\n              '@id': 'sec:authenticationMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n          },\n        },\n        proofValue: 'sec:proofValue',\n        verificationMethod: { '@id': 'sec:verificationMethod', '@type': '@id' },\n      },\n    },\n    Ed25519Signature2018: {\n      '@id': 'https://w3id.org/security#Ed25519Signature2018',\n      '@context': {\n        '@version': 1.1,\n        '@protected': true,\n        id: '@id',\n        type: '@type',\n        sec: 'https://w3id.org/security#',\n        xsd: 'http://www.w3.org/2001/XMLSchema#',\n        challenge: 'sec:challenge',\n        created: {\n          '@id': 'http://purl.org/dc/terms/created',\n          '@type': 'xsd:dateTime',\n        },\n        domain: 'sec:domain',\n        expires: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' },\n        jws: 'sec:jws',\n        nonce: 'sec:nonce',\n        proofPurpose: {\n          '@id': 'sec:proofPurpose',\n          '@type': '@vocab',\n          '@context': {\n            '@version': 1.1,\n            '@protected': true,\n            id: '@id',\n            type: '@type',\n            sec: 'https://w3id.org/security#',\n            assertionMethod: {\n              '@id': 'sec:assertionMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n            authentication: {\n              '@id': 'sec:authenticationMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n          },\n        },\n        proofValue: 'sec:proofValue',\n        verificationMethod: { '@id': 'sec:verificationMethod', '@type': '@id' },\n      },\n    },\n    RsaSignature2018: {\n      '@id': 'https://w3id.org/security#RsaSignature2018',\n      '@context': {\n        '@version': 1.1,\n        '@protected': true,\n        challenge: 'sec:challenge',\n        created: {\n          '@id': 'http://purl.org/dc/terms/created',\n          '@type': 'xsd:dateTime',\n        },\n        domain: 'sec:domain',\n        expires: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' },\n        jws: 'sec:jws',\n        nonce: 'sec:nonce',\n        proofPurpose: {\n          '@id': 'sec:proofPurpose',\n          '@type': '@vocab',\n          '@context': {\n            '@version': 1.1,\n            '@protected': true,\n            id: '@id',\n            type: '@type',\n            sec: 'https://w3id.org/security#',\n            assertionMethod: {\n              '@id': 'sec:assertionMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n            authentication: {\n              '@id': 'sec:authenticationMethod',\n              '@type': '@id',\n              '@container': '@set',\n            },\n          },\n        },\n        proofValue: 'sec:proofValue',\n        verificationMethod: { '@id': 'sec:verificationMethod', '@type': '@id' },\n      },\n    },\n    proof: {\n      '@id': 'https://w3id.org/security#proof',\n      '@type': '@id',\n      '@container': '@graph',\n    },\n  },\n}\n"],"mappings":";;;AAAA,MAAa,iBAAiB,EAC5B,YAAY;CACV,YAAY;CACZ,cAAc;CACd,IAAI;CACJ,MAAM;CACN,sBAAsB;EACpB,OAAO;EACP,YAAY;GACV,YAAY;GACZ,cAAc;GACd,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,KAAK;GACL,kBAAkB;IAChB,OAAO;IACP,SAAS;IACT,YAAY;KACV,YAAY;KACZ,cAAc;KACd,IAAI;KACJ,MAAM;KACN,MAAM;KACN,yBAAyB;KAC1B;IACF;GACD,kBAAkB;IAAE,OAAO;IAAyB,SAAS;IAAO;GACpE,mBAAmB;IAAE,OAAO;IAA0B,SAAS;IAAO;GACtE,UAAU;IAAE,OAAO;IAAiB,SAAS;IAAO;GACpD,gBAAgB;IACd,OAAO;IACP,SAAS;IACV;GACD,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