@semapps/ontologies 1.1.1 → 1.1.3

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.
@@ -20,6 +20,9 @@
20
20
  },
21
21
  "acl:mode": {
22
22
  "@type": "@id"
23
+ },
24
+ "acl:Authorization": {
25
+ "@type": "@id"
23
26
  }
24
27
  }
25
28
  }
@@ -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
+ }
@@ -1,7 +1,9 @@
1
1
  module.exports = {
2
2
  acl: require('./acl.json'),
3
3
  as: require('./as.json'),
4
+ cred: require('./cred.json'),
4
5
  dc: require('./dc.json'),
6
+ did: require('./did.json'),
5
7
  foaf: require('./foaf.json'),
6
8
  ldp: require('./ldp.json'),
7
9
  rdf: require('./rdf.json'),
@@ -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
- "EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
8
- "Ed25519Signature2018": "sec:Ed25519Signature2018",
9
- "EncryptedMessage": "sec:EncryptedMessage",
10
- "GraphSignature2012": "sec:GraphSignature2012",
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": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
27
- "expires": { "@id": "sec:expiration", "@type": "xsd:dateTime" },
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": { "@id": "sec:owner", "@type": "@id" },
48
+ "owner": {
49
+ "@id": "sec:owner",
50
+ "@type": "@id"
51
+ },
33
52
  "password": "sec:password",
34
- "privateKey": { "@id": "sec:privateKey", "@type": "@id" },
53
+ "privateKey": {
54
+ "@id": "sec:privateKey",
55
+ "@type": "@id"
56
+ },
35
57
  "privateKeyPem": "sec:privateKeyPem",
36
- "publicKey": { "@id": "sec:publicKey", "@type": "@id" },
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": { "@type": "sec:multibase", "@id": "sec: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
- "publicKeysService": { "@id": "sec:publicKeysService", "@type": "@id" },
42
- "revoked": { "@id": "sec:revoked", "@type": "xsd:dateTime" },
76
+ "revoked": {
77
+ "@id": "sec:revoked",
78
+ "@type": "xsd:dateTime"
79
+ },
43
80
  "salt": "sec:salt",
44
- "secretKeyMultibase": { "@type": "sec:multibase", "@id": "sec: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
  }
@@ -101,6 +101,12 @@
101
101
  },
102
102
  "interop:hasDataRegistration": {
103
103
  "@type": "@id"
104
+ },
105
+ "interop:hasDataInstance": {
106
+ "@type": "@id"
107
+ },
108
+ "interop:delegationOfGrant": {
109
+ "@type": "@id"
104
110
  }
105
111
  }
106
112
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@semapps/ontologies",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "SemApps ontologies",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Virtual Assembly",
7
7
  "dependencies": {
8
- "@semapps/triplestore": "1.1.1",
8
+ "@semapps/triplestore": "1.1.3",
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": "5782cd74389aea502368e292be5b827ddf3d123d"
18
+ "gitHead": "cc54d6fb548a7c34d3007d159b31145a5f509898"
19
19
  }