@semapps/ontologies 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ontologies/core/acl.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"prefix": "cred",
|
|
3
|
+
"namespace": "https://www.w3.org/2018/credentials#",
|
|
4
|
+
"preserveContextUri": false,
|
|
5
|
+
"jsonldContext": {
|
|
6
|
+
"credentialSubject": {
|
|
7
|
+
"@id": "https://www.w3.org/2018/credentials#credentialSubject",
|
|
8
|
+
"@type": "@id"
|
|
9
|
+
},
|
|
10
|
+
"holder": {
|
|
11
|
+
"@id": "https://www.w3.org/2018/credentials#holder",
|
|
12
|
+
"@type": "@id"
|
|
13
|
+
},
|
|
14
|
+
"issuer": {
|
|
15
|
+
"@id": "https://www.w3.org/2018/credentials#issuer",
|
|
16
|
+
"@type": "@id"
|
|
17
|
+
},
|
|
18
|
+
"verifiableCredential": "https://www.w3.org/2018/credentials#verifiableCredential",
|
|
19
|
+
"VerifiableCredential": "https://www.w3.org/2018/credentials#VerifiableCredential",
|
|
20
|
+
"VerifiablePresentation": "https://www.w3.org/2018/credentials#VerifiablePresentation"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"prefix": "did",
|
|
3
|
+
"namespace": "https://www.w3.org/ns/did#",
|
|
4
|
+
"jsonldContext": {
|
|
5
|
+
"service": {
|
|
6
|
+
"@id": "https://www.w3.org/ns/did#service",
|
|
7
|
+
"@type": "@id",
|
|
8
|
+
"@context": {
|
|
9
|
+
"@protected": true,
|
|
10
|
+
"id": "@id",
|
|
11
|
+
"type": "@type",
|
|
12
|
+
"serviceEndpoint": {
|
|
13
|
+
"@id": "https://www.w3.org/ns/did#serviceEndpoint",
|
|
14
|
+
"@type": "@id"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
package/ontologies/core/index.js
CHANGED
package/ontologies/core/sec.json
CHANGED
|
@@ -1,49 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"prefix": "sec",
|
|
3
3
|
"namespace": "https://w3id.org/security#",
|
|
4
|
+
|
|
4
5
|
"jsonldContext": {
|
|
6
|
+
"sec": "https://w3id.org/security#",
|
|
5
7
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
6
8
|
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"LinkedDataSignature2015": "sec:LinkedDataSignature2015",
|
|
12
|
-
"LinkedDataSignature2016": "sec:LinkedDataSignature2016",
|
|
13
|
-
"CryptographicKey": "sec:Key",
|
|
14
|
-
|
|
9
|
+
"assertionMethod": {
|
|
10
|
+
"@id": "sec:assertionMethod",
|
|
11
|
+
"@type": "@id"
|
|
12
|
+
},
|
|
15
13
|
"authenticationTag": "sec:authenticationTag",
|
|
16
|
-
"assertionMethod": { "@id": "sec:assertionMethod", "@type": "@id" },
|
|
17
14
|
"canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
|
|
15
|
+
"capability": "sec:capability",
|
|
16
|
+
"challenge": "sec:challenge",
|
|
18
17
|
"cipherAlgorithm": "sec:cipherAlgorithm",
|
|
19
18
|
"cipherData": "sec:cipherData",
|
|
20
19
|
"cipherKey": "sec:cipherKey",
|
|
20
|
+
"controller": {
|
|
21
|
+
"@id": "sec:controller",
|
|
22
|
+
"@type": "@id"
|
|
23
|
+
},
|
|
24
|
+
"CryptographicKey": "sec:Key",
|
|
25
|
+
"cryptosuite": "sec:cryptosuite",
|
|
21
26
|
"digestAlgorithm": "sec:digestAlgorithm",
|
|
22
27
|
"digestValue": "sec:digestValue",
|
|
23
|
-
"controller": { "@id": "sec:controller", "@type": "@id" },
|
|
24
28
|
"domain": "sec:domain",
|
|
29
|
+
"EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
|
|
30
|
+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
|
|
31
|
+
"EncryptedMessage": "sec:EncryptedMessage",
|
|
25
32
|
"encryptionKey": "sec:encryptionKey",
|
|
26
|
-
"expiration": {
|
|
27
|
-
|
|
33
|
+
"expiration": {
|
|
34
|
+
"@id": "sec:expiration",
|
|
35
|
+
"@type": "xsd:dateTime"
|
|
36
|
+
},
|
|
37
|
+
"expires": {
|
|
38
|
+
"@id": "sec:expiration",
|
|
39
|
+
"@type": "xsd:dateTime"
|
|
40
|
+
},
|
|
41
|
+
"GraphSignature2012": "sec:GraphSignature2012",
|
|
28
42
|
"initializationVector": "sec:initializationVector",
|
|
29
43
|
"iterationCount": "sec:iterationCount",
|
|
44
|
+
"LinkedDataSignature2015": "sec:LinkedDataSignature2015",
|
|
45
|
+
"LinkedDataSignature2016": "sec:LinkedDataSignature2016",
|
|
30
46
|
"nonce": "sec:nonce",
|
|
31
47
|
"normalizationAlgorithm": "sec:normalizationAlgorithm",
|
|
32
|
-
"owner": {
|
|
48
|
+
"owner": {
|
|
49
|
+
"@id": "sec:owner",
|
|
50
|
+
"@type": "@id"
|
|
51
|
+
},
|
|
33
52
|
"password": "sec:password",
|
|
34
|
-
"privateKey": {
|
|
53
|
+
"privateKey": {
|
|
54
|
+
"@id": "sec:privateKey",
|
|
55
|
+
"@type": "@id"
|
|
56
|
+
},
|
|
35
57
|
"privateKeyPem": "sec:privateKeyPem",
|
|
36
|
-
"
|
|
58
|
+
"proof": "sec:proof",
|
|
59
|
+
"proofPurpose": "sec:proofPurpose",
|
|
60
|
+
"proofValue": "sec:proofValue",
|
|
61
|
+
"publicKey": {
|
|
62
|
+
"@id": "sec:publicKey",
|
|
63
|
+
"@type": "@id"
|
|
64
|
+
},
|
|
37
65
|
"publicKeyBase58": "sec:publicKeyBase58",
|
|
38
|
-
"publicKeyMultibase": {
|
|
66
|
+
"publicKeyMultibase": {
|
|
67
|
+
"@id": "sec:publicKeyMultibase",
|
|
68
|
+
"@type": "sec:multibase"
|
|
69
|
+
},
|
|
39
70
|
"publicKeyPem": "sec:publicKeyPem",
|
|
71
|
+
"publicKeysService": {
|
|
72
|
+
"@id": "sec:publicKeysService",
|
|
73
|
+
"@type": "@id"
|
|
74
|
+
},
|
|
40
75
|
"publicKeyWif": "sec:publicKeyWif",
|
|
41
|
-
"
|
|
42
|
-
|
|
76
|
+
"revoked": {
|
|
77
|
+
"@id": "sec:revoked",
|
|
78
|
+
"@type": "xsd:dateTime"
|
|
79
|
+
},
|
|
43
80
|
"salt": "sec:salt",
|
|
44
|
-
"secretKeyMultibase": {
|
|
81
|
+
"secretKeyMultibase": {
|
|
82
|
+
"@id": "sec:secretKeyMultibase",
|
|
83
|
+
"@type": "sec:multibase"
|
|
84
|
+
},
|
|
45
85
|
"signature": "sec:signature",
|
|
46
86
|
"signatureAlgorithm": "sec:signingAlgorithm",
|
|
47
|
-
"signatureValue": "sec:signatureValue"
|
|
87
|
+
"signatureValue": "sec:signatureValue",
|
|
88
|
+
"verificationMethod": "sec:verificationMethod"
|
|
48
89
|
}
|
|
49
90
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semapps/ontologies",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "SemApps ontologies",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Virtual Assembly",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@semapps/triplestore": "1.1.
|
|
8
|
+
"@semapps/triplestore": "1.1.2",
|
|
9
9
|
"moleculer-db": "^0.8.16",
|
|
10
10
|
"node-fetch": "^2.6.6"
|
|
11
11
|
},
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=14"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "35ec922a369a84225e0b7761ef36dbeb8c327316"
|
|
19
19
|
}
|