@twin.org/standards-foaf 0.0.3-next.53 → 0.0.3-next.55
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/dist/es/dataTypes/foafDataTypes.js +5 -0
- package/dist/es/dataTypes/foafDataTypes.js.map +1 -1
- package/dist/es/models/foafContextType.js.map +1 -1
- package/dist/es/schemas/FoafAgent.json +22 -51
- package/dist/es/schemas/FoafContextType.json +30 -0
- package/dist/es/schemas/FoafDocument.json +14 -56
- package/dist/es/schemas/FoafGroup.json +10 -90
- package/dist/es/schemas/FoafImage.json +8 -76
- package/dist/es/schemas/FoafOrganization.json +8 -88
- package/dist/es/schemas/FoafPerson.json +10 -90
- package/dist/types/models/foafContextType.d.ts +2 -1
- package/docs/changelog.md +14 -0
- package/docs/reference/classes/FoafDataTypes.md +2 -2
- package/docs/reference/interfaces/IFoafAgent.md +14 -14
- package/docs/reference/interfaces/IFoafBaseObject.md +7 -7
- package/docs/reference/interfaces/IFoafDocument.md +11 -11
- package/docs/reference/interfaces/IFoafGroup.md +15 -15
- package/docs/reference/interfaces/IFoafImage.md +13 -13
- package/docs/reference/interfaces/IFoafOrganization.md +14 -14
- package/docs/reference/interfaces/IFoafPerson.md +19 -19
- package/docs/reference/type-aliases/FoafContextType.md +1 -1
- package/docs/reference/variables/FoafContexts.md +4 -4
- package/docs/reference/variables/FoafTypes.md +6 -6
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ http://xmlns.com/foaf/0.1/
|
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
15
|
-
### age?
|
|
15
|
+
### age? {#age}
|
|
16
16
|
|
|
17
17
|
> `optional` **age**: `number`
|
|
18
18
|
|
|
@@ -28,7 +28,7 @@ http://xmlns.com/foaf/spec/#term_age
|
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
31
|
-
### made?
|
|
31
|
+
### made? {#made}
|
|
32
32
|
|
|
33
33
|
> `optional` **made**: `ObjectOrArray`\<`IJsonLdNodeObject`\>
|
|
34
34
|
|
|
@@ -44,7 +44,7 @@ http://xmlns.com/foaf/spec/#term_made
|
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
### weblog?
|
|
47
|
+
### weblog? {#weblog}
|
|
48
48
|
|
|
49
49
|
> `optional` **weblog**: [`IFoafDocument`](IFoafDocument.md)
|
|
50
50
|
|
|
@@ -60,7 +60,7 @@ http://xmlns.com/foaf/spec/#term_weblog
|
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
|
-
### openid?
|
|
63
|
+
### openid? {#openid}
|
|
64
64
|
|
|
65
65
|
> `optional` **openid**: [`IFoafDocument`](IFoafDocument.md)
|
|
66
66
|
|
|
@@ -76,7 +76,7 @@ http://xmlns.com/foaf/spec/#term_openid
|
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
79
|
-
### interest?
|
|
79
|
+
### interest? {#interest}
|
|
80
80
|
|
|
81
81
|
> `optional` **interest**: [`IFoafDocument`](IFoafDocument.md)
|
|
82
82
|
|
|
@@ -92,7 +92,7 @@ http://xmlns.com/foaf/spec/#term_interest
|
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
95
|
-
### topic\_interest?
|
|
95
|
+
### topic\_interest? {#topic_interest}
|
|
96
96
|
|
|
97
97
|
> `optional` **topic\_interest**: `IJsonLdNodeObject`
|
|
98
98
|
|
|
@@ -108,7 +108,7 @@ http://xmlns.com/foaf/spec/#term_topic_interest
|
|
|
108
108
|
|
|
109
109
|
***
|
|
110
110
|
|
|
111
|
-
### @id?
|
|
111
|
+
### @id? {#id}
|
|
112
112
|
|
|
113
113
|
> `optional` **@id**: `string`
|
|
114
114
|
|
|
@@ -120,7 +120,7 @@ The unique identifier for the FOAF object.
|
|
|
120
120
|
|
|
121
121
|
***
|
|
122
122
|
|
|
123
|
-
### name?
|
|
123
|
+
### name? {#name}
|
|
124
124
|
|
|
125
125
|
> `optional` **name**: `string`
|
|
126
126
|
|
|
@@ -136,7 +136,7 @@ http://xmlns.com/foaf/spec/#term_name
|
|
|
136
136
|
|
|
137
137
|
***
|
|
138
138
|
|
|
139
|
-
### title?
|
|
139
|
+
### title? {#title}
|
|
140
140
|
|
|
141
141
|
> `optional` **title**: `string`
|
|
142
142
|
|
|
@@ -152,7 +152,7 @@ http://xmlns.com/foaf/spec/#term_title
|
|
|
152
152
|
|
|
153
153
|
***
|
|
154
154
|
|
|
155
|
-
### mbox?
|
|
155
|
+
### mbox? {#mbox}
|
|
156
156
|
|
|
157
157
|
> `optional` **mbox**: `string`
|
|
158
158
|
|
|
@@ -168,7 +168,7 @@ http://xmlns.com/foaf/spec/#term_mbox
|
|
|
168
168
|
|
|
169
169
|
***
|
|
170
170
|
|
|
171
|
-
### homepage?
|
|
171
|
+
### homepage? {#homepage}
|
|
172
172
|
|
|
173
173
|
> `optional` **homepage**: `string`
|
|
174
174
|
|
|
@@ -184,7 +184,7 @@ http://xmlns.com/foaf/spec/#term_homepage
|
|
|
184
184
|
|
|
185
185
|
***
|
|
186
186
|
|
|
187
|
-
### depiction?
|
|
187
|
+
### depiction? {#depiction}
|
|
188
188
|
|
|
189
189
|
> `optional` **depiction**: [`IFoafImage`](IFoafImage.md)
|
|
190
190
|
|
|
@@ -200,7 +200,7 @@ http://xmlns.com/foaf/spec/#term_depiction
|
|
|
200
200
|
|
|
201
201
|
***
|
|
202
202
|
|
|
203
|
-
### @context?
|
|
203
|
+
### @context? {#context}
|
|
204
204
|
|
|
205
205
|
> `optional` **@context**: [`FoafContextType`](../type-aliases/FoafContextType.md)
|
|
206
206
|
|
|
@@ -212,7 +212,7 @@ The LD Context.
|
|
|
212
212
|
|
|
213
213
|
***
|
|
214
214
|
|
|
215
|
-
### @type
|
|
215
|
+
### @type {#type}
|
|
216
216
|
|
|
217
217
|
> **@type**: `"Organization"`
|
|
218
218
|
|
|
@@ -12,7 +12,7 @@ http://xmlns.com/foaf/0.1/
|
|
|
12
12
|
|
|
13
13
|
## Properties
|
|
14
14
|
|
|
15
|
-
### age?
|
|
15
|
+
### age? {#age}
|
|
16
16
|
|
|
17
17
|
> `optional` **age**: `number`
|
|
18
18
|
|
|
@@ -28,7 +28,7 @@ http://xmlns.com/foaf/spec/#term_age
|
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
31
|
-
### made?
|
|
31
|
+
### made? {#made}
|
|
32
32
|
|
|
33
33
|
> `optional` **made**: `ObjectOrArray`\<`IJsonLdNodeObject`\>
|
|
34
34
|
|
|
@@ -44,7 +44,7 @@ http://xmlns.com/foaf/spec/#term_made
|
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
47
|
-
### weblog?
|
|
47
|
+
### weblog? {#weblog}
|
|
48
48
|
|
|
49
49
|
> `optional` **weblog**: [`IFoafDocument`](IFoafDocument.md)
|
|
50
50
|
|
|
@@ -60,7 +60,7 @@ http://xmlns.com/foaf/spec/#term_weblog
|
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
|
-
### openid?
|
|
63
|
+
### openid? {#openid}
|
|
64
64
|
|
|
65
65
|
> `optional` **openid**: [`IFoafDocument`](IFoafDocument.md)
|
|
66
66
|
|
|
@@ -76,7 +76,7 @@ http://xmlns.com/foaf/spec/#term_openid
|
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
79
|
-
### interest?
|
|
79
|
+
### interest? {#interest}
|
|
80
80
|
|
|
81
81
|
> `optional` **interest**: [`IFoafDocument`](IFoafDocument.md)
|
|
82
82
|
|
|
@@ -92,7 +92,7 @@ http://xmlns.com/foaf/spec/#term_interest
|
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
95
|
-
### topic\_interest?
|
|
95
|
+
### topic\_interest? {#topic_interest}
|
|
96
96
|
|
|
97
97
|
> `optional` **topic\_interest**: `IJsonLdNodeObject`
|
|
98
98
|
|
|
@@ -108,7 +108,7 @@ http://xmlns.com/foaf/spec/#term_topic_interest
|
|
|
108
108
|
|
|
109
109
|
***
|
|
110
110
|
|
|
111
|
-
### @id?
|
|
111
|
+
### @id? {#id}
|
|
112
112
|
|
|
113
113
|
> `optional` **@id**: `string`
|
|
114
114
|
|
|
@@ -120,7 +120,7 @@ The unique identifier for the FOAF object.
|
|
|
120
120
|
|
|
121
121
|
***
|
|
122
122
|
|
|
123
|
-
### name?
|
|
123
|
+
### name? {#name}
|
|
124
124
|
|
|
125
125
|
> `optional` **name**: `string`
|
|
126
126
|
|
|
@@ -136,7 +136,7 @@ http://xmlns.com/foaf/spec/#term_name
|
|
|
136
136
|
|
|
137
137
|
***
|
|
138
138
|
|
|
139
|
-
### title?
|
|
139
|
+
### title? {#title}
|
|
140
140
|
|
|
141
141
|
> `optional` **title**: `string`
|
|
142
142
|
|
|
@@ -152,7 +152,7 @@ http://xmlns.com/foaf/spec/#term_title
|
|
|
152
152
|
|
|
153
153
|
***
|
|
154
154
|
|
|
155
|
-
### mbox?
|
|
155
|
+
### mbox? {#mbox}
|
|
156
156
|
|
|
157
157
|
> `optional` **mbox**: `string`
|
|
158
158
|
|
|
@@ -168,7 +168,7 @@ http://xmlns.com/foaf/spec/#term_mbox
|
|
|
168
168
|
|
|
169
169
|
***
|
|
170
170
|
|
|
171
|
-
### homepage?
|
|
171
|
+
### homepage? {#homepage}
|
|
172
172
|
|
|
173
173
|
> `optional` **homepage**: `string`
|
|
174
174
|
|
|
@@ -184,7 +184,7 @@ http://xmlns.com/foaf/spec/#term_homepage
|
|
|
184
184
|
|
|
185
185
|
***
|
|
186
186
|
|
|
187
|
-
### depiction?
|
|
187
|
+
### depiction? {#depiction}
|
|
188
188
|
|
|
189
189
|
> `optional` **depiction**: [`IFoafImage`](IFoafImage.md)
|
|
190
190
|
|
|
@@ -200,7 +200,7 @@ http://xmlns.com/foaf/spec/#term_depiction
|
|
|
200
200
|
|
|
201
201
|
***
|
|
202
202
|
|
|
203
|
-
### @context?
|
|
203
|
+
### @context? {#context}
|
|
204
204
|
|
|
205
205
|
> `optional` **@context**: [`FoafContextType`](../type-aliases/FoafContextType.md)
|
|
206
206
|
|
|
@@ -212,7 +212,7 @@ The LD Context.
|
|
|
212
212
|
|
|
213
213
|
***
|
|
214
214
|
|
|
215
|
-
### @type
|
|
215
|
+
### @type {#type}
|
|
216
216
|
|
|
217
217
|
> **@type**: `"Person"`
|
|
218
218
|
|
|
@@ -224,7 +224,7 @@ Type.
|
|
|
224
224
|
|
|
225
225
|
***
|
|
226
226
|
|
|
227
|
-
### familyName?
|
|
227
|
+
### familyName? {#familyname}
|
|
228
228
|
|
|
229
229
|
> `optional` **familyName**: `string`
|
|
230
230
|
|
|
@@ -236,7 +236,7 @@ http://xmlns.com/foaf/spec/#term_familyName
|
|
|
236
236
|
|
|
237
237
|
***
|
|
238
238
|
|
|
239
|
-
### givenName?
|
|
239
|
+
### givenName? {#givenname}
|
|
240
240
|
|
|
241
241
|
> `optional` **givenName**: `string`
|
|
242
242
|
|
|
@@ -248,7 +248,7 @@ http://xmlns.com/foaf/spec/#term_givenName
|
|
|
248
248
|
|
|
249
249
|
***
|
|
250
250
|
|
|
251
|
-
### knows?
|
|
251
|
+
### knows? {#knows}
|
|
252
252
|
|
|
253
253
|
> `optional` **knows**: `ObjectOrArray`\<[`IFoafAgent`](IFoafAgent.md)\>
|
|
254
254
|
|
|
@@ -260,7 +260,7 @@ http://xmlns.com/foaf/spec/#term_knows
|
|
|
260
260
|
|
|
261
261
|
***
|
|
262
262
|
|
|
263
|
-
### img?
|
|
263
|
+
### img? {#img}
|
|
264
264
|
|
|
265
265
|
> `optional` **img**: [`IFoafImage`](IFoafImage.md)
|
|
266
266
|
|
|
@@ -272,7 +272,7 @@ http://xmlns.com/foaf/spec/#term_img
|
|
|
272
272
|
|
|
273
273
|
***
|
|
274
274
|
|
|
275
|
-
### nick?
|
|
275
|
+
### nick? {#nick}
|
|
276
276
|
|
|
277
277
|
> `optional` **nick**: `string`
|
|
278
278
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: FoafContextType
|
|
2
2
|
|
|
3
|
-
> **FoafContextType** = *typeof* [`Context`](../variables/FoafContexts.md#context) \|
|
|
3
|
+
> **FoafContextType** = *typeof* [`Context`](../variables/FoafContexts.md#context) \| `SingleOccurrenceArray`\<`IJsonLdContextDefinitionElement`, *typeof* [`Context`](../variables/FoafContexts.md#context)\>
|
|
4
4
|
|
|
5
5
|
The FOAF JSON-LD context type.
|
|
@@ -6,13 +6,13 @@ The LD Contexts concerning FOAF.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### Namespace
|
|
9
|
+
### Namespace {#namespace}
|
|
10
10
|
|
|
11
11
|
> `readonly` **Namespace**: `"https://xmlns.com/foaf/0.1/"` = `"https://xmlns.com/foaf/0.1/"`
|
|
12
12
|
|
|
13
13
|
The canonical RDF namespace URI.
|
|
14
14
|
|
|
15
|
-
### Context
|
|
15
|
+
### Context {#context}
|
|
16
16
|
|
|
17
17
|
> `readonly` **Context**: `"https://xmlns.com/foaf/0.1/"` = `"https://xmlns.com/foaf/0.1/"`
|
|
18
18
|
|
|
@@ -20,13 +20,13 @@ The value to use in @context.
|
|
|
20
20
|
Note: Context matches Namespace (both include trailing slash) as per FOAF specification.
|
|
21
21
|
The FOAF JSON-LD context URL format includes a trailing slash.
|
|
22
22
|
|
|
23
|
-
### JsonLdContext
|
|
23
|
+
### JsonLdContext {#jsonldcontext}
|
|
24
24
|
|
|
25
25
|
> `readonly` **JsonLdContext**: `"https://schema.twindev.org/foaf/types.jsonld"` = `"https://schema.twindev.org/foaf/types.jsonld"`
|
|
26
26
|
|
|
27
27
|
The JSON-LD Context URL.
|
|
28
28
|
|
|
29
|
-
### JsonSchemaNamespace
|
|
29
|
+
### JsonSchemaNamespace {#jsonschemanamespace}
|
|
30
30
|
|
|
31
31
|
> `readonly` **JsonSchemaNamespace**: `"https://schema.twindev.org/foaf/"` = `"https://schema.twindev.org/foaf/"`
|
|
32
32
|
|
|
@@ -6,37 +6,37 @@ The types for FOAF.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
### Document
|
|
9
|
+
### Document {#document}
|
|
10
10
|
|
|
11
11
|
> `readonly` **Document**: `"Document"` = `"Document"`
|
|
12
12
|
|
|
13
13
|
Document.
|
|
14
14
|
|
|
15
|
-
### Image
|
|
15
|
+
### Image {#image}
|
|
16
16
|
|
|
17
17
|
> `readonly` **Image**: `"Image"` = `"Image"`
|
|
18
18
|
|
|
19
19
|
Image.
|
|
20
20
|
|
|
21
|
-
### Agent
|
|
21
|
+
### Agent {#agent}
|
|
22
22
|
|
|
23
23
|
> `readonly` **Agent**: `"Agent"` = `"Agent"`
|
|
24
24
|
|
|
25
25
|
Agent.
|
|
26
26
|
|
|
27
|
-
### Person
|
|
27
|
+
### Person {#person}
|
|
28
28
|
|
|
29
29
|
> `readonly` **Person**: `"Person"` = `"Person"`
|
|
30
30
|
|
|
31
31
|
Person.
|
|
32
32
|
|
|
33
|
-
### Organization
|
|
33
|
+
### Organization {#organization}
|
|
34
34
|
|
|
35
35
|
> `readonly` **Organization**: `"Organization"` = `"Organization"`
|
|
36
36
|
|
|
37
37
|
Organization.
|
|
38
38
|
|
|
39
|
-
### Group
|
|
39
|
+
### Group {#group}
|
|
40
40
|
|
|
41
41
|
> `readonly` **Group**: `"Group"` = `"Group"`
|
|
42
42
|
|