@twin.org/standards-foaf 0.0.3-next.3 → 0.0.3-next.30
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 +36 -44
- package/dist/es/dataTypes/foafDataTypes.js.map +1 -1
- package/dist/es/index.js +7 -7
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/IFoafAgent.js +2 -0
- package/dist/es/models/IFoafAgent.js.map +1 -0
- package/dist/es/models/IFoafBaseObject.js +2 -0
- package/dist/es/models/IFoafBaseObject.js.map +1 -0
- package/dist/es/models/IFoafDocument.js +2 -0
- package/dist/es/models/IFoafDocument.js.map +1 -0
- package/dist/es/models/IFoafGroup.js +2 -0
- package/dist/es/models/IFoafGroup.js.map +1 -0
- package/dist/es/models/IFoafImage.js +2 -0
- package/dist/es/models/IFoafImage.js.map +1 -0
- package/dist/es/models/IFoafOrganization.js +2 -0
- package/dist/es/models/IFoafOrganization.js.map +1 -0
- package/dist/es/models/IFoafPerson.js +2 -0
- package/dist/es/models/IFoafPerson.js.map +1 -0
- package/dist/es/models/foafContextType.js.map +1 -1
- package/dist/es/models/foafContexts.js +12 -6
- package/dist/es/models/foafContexts.js.map +1 -1
- package/dist/es/schemas/{Agent.json → FoafAgent.json} +5 -5
- package/dist/es/schemas/{Document.json → FoafDocument.json} +2 -2
- package/dist/es/schemas/{Group.json → FoafGroup.json} +7 -7
- package/dist/es/schemas/{Image.json → FoafImage.json} +3 -3
- package/dist/es/schemas/{Organization.json → FoafOrganization.json} +5 -5
- package/dist/es/schemas/{Person.json → FoafPerson.json} +8 -8
- package/dist/types/index.d.ts +7 -7
- package/dist/types/models/{IAgent.d.ts → IFoafAgent.d.ts} +6 -6
- package/dist/types/models/{IBaseObject.d.ts → IFoafBaseObject.d.ts} +3 -3
- package/dist/types/models/{IDocument.d.ts → IFoafDocument.d.ts} +2 -2
- package/dist/types/models/{IGroup.d.ts → IFoafGroup.d.ts} +3 -3
- package/dist/types/models/{IImage.d.ts → IFoafImage.d.ts} +3 -3
- package/dist/types/models/{IOrganization.d.ts → IFoafOrganization.d.ts} +2 -2
- package/dist/types/models/{IPerson.d.ts → IFoafPerson.d.ts} +5 -5
- package/dist/types/models/foafContextType.d.ts +1 -1
- package/dist/types/models/foafContexts.d.ts +12 -6
- package/docs/changelog.md +189 -0
- package/docs/reference/index.md +7 -7
- package/docs/reference/interfaces/{IAgent.md → IFoafAgent.md} +16 -16
- package/docs/reference/interfaces/{IBaseObject.md → IFoafBaseObject.md} +4 -4
- package/docs/reference/interfaces/{IDocument.md → IFoafDocument.md} +11 -11
- package/docs/reference/interfaces/{IGroup.md → IFoafGroup.md} +20 -20
- package/docs/reference/interfaces/{IImage.md → IFoafImage.md} +14 -14
- package/docs/reference/interfaces/{IOrganization.md → IFoafOrganization.md} +19 -19
- package/docs/reference/interfaces/{IPerson.md → IFoafPerson.md} +21 -21
- package/docs/reference/type-aliases/FoafContextType.md +1 -1
- package/docs/reference/variables/FoafContexts.md +17 -9
- package/package.json +1 -1
- package/dist/es/models/IAgent.js +0 -2
- package/dist/es/models/IAgent.js.map +0 -1
- package/dist/es/models/IBaseObject.js +0 -2
- package/dist/es/models/IBaseObject.js.map +0 -1
- package/dist/es/models/IDocument.js +0 -2
- package/dist/es/models/IDocument.js.map +0 -1
- package/dist/es/models/IGroup.js +0 -2
- package/dist/es/models/IGroup.js.map +0 -1
- package/dist/es/models/IImage.js +0 -2
- package/dist/es/models/IImage.js.map +0 -1
- package/dist/es/models/IOrganization.js +0 -2
- package/dist/es/models/IOrganization.js.map +0 -1
- package/dist/es/models/IPerson.js +0 -2
- package/dist/es/models/IPerson.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IFoafGroup
|
|
2
2
|
|
|
3
3
|
A FOAF Group.
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ http://xmlns.com/foaf/0.1/
|
|
|
8
8
|
|
|
9
9
|
## Extends
|
|
10
10
|
|
|
11
|
-
- [`
|
|
11
|
+
- [`IFoafAgent`](IFoafAgent.md)
|
|
12
12
|
|
|
13
13
|
## Indexable
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ http://xmlns.com/foaf/spec/#term_age
|
|
|
28
28
|
|
|
29
29
|
#### Inherited from
|
|
30
30
|
|
|
31
|
-
[`
|
|
31
|
+
[`IFoafAgent`](IFoafAgent.md).[`age`](IFoafAgent.md#age)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -44,13 +44,13 @@ http://xmlns.com/foaf/spec/#term_made
|
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
47
|
-
[`
|
|
47
|
+
[`IFoafAgent`](IFoafAgent.md).[`made`](IFoafAgent.md#made)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
51
|
### weblog?
|
|
52
52
|
|
|
53
|
-
> `optional` **weblog**: [`
|
|
53
|
+
> `optional` **weblog**: [`IFoafDocument`](IFoafDocument.md)
|
|
54
54
|
|
|
55
55
|
A weblog of some thing (whether person, group, company etc.).
|
|
56
56
|
|
|
@@ -60,13 +60,13 @@ http://xmlns.com/foaf/spec/#term_weblog
|
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
63
|
-
[`
|
|
63
|
+
[`IFoafAgent`](IFoafAgent.md).[`weblog`](IFoafAgent.md#weblog)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
67
67
|
### openid?
|
|
68
68
|
|
|
69
|
-
> `optional` **openid**: [`
|
|
69
|
+
> `optional` **openid**: [`IFoafDocument`](IFoafDocument.md)
|
|
70
70
|
|
|
71
71
|
An OpenID for an agent.
|
|
72
72
|
|
|
@@ -76,13 +76,13 @@ http://xmlns.com/foaf/spec/#term_openid
|
|
|
76
76
|
|
|
77
77
|
#### Inherited from
|
|
78
78
|
|
|
79
|
-
[`
|
|
79
|
+
[`IFoafAgent`](IFoafAgent.md).[`openid`](IFoafAgent.md#openid)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
83
|
### interest?
|
|
84
84
|
|
|
85
|
-
> `optional` **interest**: [`
|
|
85
|
+
> `optional` **interest**: [`IFoafDocument`](IFoafDocument.md)
|
|
86
86
|
|
|
87
87
|
A page about a topic of interest to this person.
|
|
88
88
|
|
|
@@ -92,7 +92,7 @@ http://xmlns.com/foaf/spec/#term_interest
|
|
|
92
92
|
|
|
93
93
|
#### Inherited from
|
|
94
94
|
|
|
95
|
-
[`
|
|
95
|
+
[`IFoafAgent`](IFoafAgent.md).[`interest`](IFoafAgent.md#interest)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -108,7 +108,7 @@ http://xmlns.com/foaf/spec/#term_topic_interest
|
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
111
|
-
[`
|
|
111
|
+
[`IFoafAgent`](IFoafAgent.md).[`topic_interest`](IFoafAgent.md#topic_interest)
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
@@ -124,7 +124,7 @@ http://xmlns.com/foaf/spec/#term_name
|
|
|
124
124
|
|
|
125
125
|
#### Inherited from
|
|
126
126
|
|
|
127
|
-
[`
|
|
127
|
+
[`IFoafAgent`](IFoafAgent.md).[`name`](IFoafAgent.md#name)
|
|
128
128
|
|
|
129
129
|
***
|
|
130
130
|
|
|
@@ -140,7 +140,7 @@ http://xmlns.com/foaf/spec/#term_title
|
|
|
140
140
|
|
|
141
141
|
#### Inherited from
|
|
142
142
|
|
|
143
|
-
[`
|
|
143
|
+
[`IFoafAgent`](IFoafAgent.md).[`title`](IFoafAgent.md#title)
|
|
144
144
|
|
|
145
145
|
***
|
|
146
146
|
|
|
@@ -156,7 +156,7 @@ http://xmlns.com/foaf/spec/#term_mbox
|
|
|
156
156
|
|
|
157
157
|
#### Inherited from
|
|
158
158
|
|
|
159
|
-
[`
|
|
159
|
+
[`IFoafAgent`](IFoafAgent.md).[`mbox`](IFoafAgent.md#mbox)
|
|
160
160
|
|
|
161
161
|
***
|
|
162
162
|
|
|
@@ -172,13 +172,13 @@ http://xmlns.com/foaf/spec/#term_homepage
|
|
|
172
172
|
|
|
173
173
|
#### Inherited from
|
|
174
174
|
|
|
175
|
-
[`
|
|
175
|
+
[`IFoafAgent`](IFoafAgent.md).[`homepage`](IFoafAgent.md#homepage)
|
|
176
176
|
|
|
177
177
|
***
|
|
178
178
|
|
|
179
179
|
### depiction?
|
|
180
180
|
|
|
181
|
-
> `optional` **depiction**: [`
|
|
181
|
+
> `optional` **depiction**: [`IFoafImage`](IFoafImage.md)
|
|
182
182
|
|
|
183
183
|
A depiction of some thing.
|
|
184
184
|
|
|
@@ -188,7 +188,7 @@ http://xmlns.com/foaf/spec/#term_depiction
|
|
|
188
188
|
|
|
189
189
|
#### Inherited from
|
|
190
190
|
|
|
191
|
-
[`
|
|
191
|
+
[`IFoafAgent`](IFoafAgent.md).[`depiction`](IFoafAgent.md#depiction)
|
|
192
192
|
|
|
193
193
|
***
|
|
194
194
|
|
|
@@ -200,7 +200,7 @@ The LD Context.
|
|
|
200
200
|
|
|
201
201
|
#### Overrides
|
|
202
202
|
|
|
203
|
-
[`
|
|
203
|
+
[`IFoafAgent`](IFoafAgent.md).[`@context`](IFoafAgent.md#context)
|
|
204
204
|
|
|
205
205
|
***
|
|
206
206
|
|
|
@@ -212,13 +212,13 @@ Type.
|
|
|
212
212
|
|
|
213
213
|
#### Overrides
|
|
214
214
|
|
|
215
|
-
[`
|
|
215
|
+
[`IFoafAgent`](IFoafAgent.md).[`@type`](IFoafAgent.md#type)
|
|
216
216
|
|
|
217
217
|
***
|
|
218
218
|
|
|
219
219
|
### member?
|
|
220
220
|
|
|
221
|
-
> `optional` **member**: `ObjectOrArray`\<[`
|
|
221
|
+
> `optional` **member**: `ObjectOrArray`\<[`IFoafAgent`](IFoafAgent.md)\>
|
|
222
222
|
|
|
223
223
|
Indicates a member of a Group
|
|
224
224
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IFoafImage
|
|
2
2
|
|
|
3
3
|
A FOAF image.
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ http://xmlns.com/foaf/0.1/
|
|
|
8
8
|
|
|
9
9
|
## Extends
|
|
10
10
|
|
|
11
|
-
- [`
|
|
11
|
+
- [`IFoafDocument`](IFoafDocument.md)
|
|
12
12
|
|
|
13
13
|
## Indexable
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ http://xmlns.com/foaf/spec/#term_name
|
|
|
28
28
|
|
|
29
29
|
#### Inherited from
|
|
30
30
|
|
|
31
|
-
[`
|
|
31
|
+
[`IFoafDocument`](IFoafDocument.md).[`name`](IFoafDocument.md#name)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -44,7 +44,7 @@ http://xmlns.com/foaf/spec/#term_title
|
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
47
|
-
[`
|
|
47
|
+
[`IFoafDocument`](IFoafDocument.md).[`title`](IFoafDocument.md#title)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
@@ -60,7 +60,7 @@ http://xmlns.com/foaf/spec/#term_mbox
|
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
63
|
-
[`
|
|
63
|
+
[`IFoafDocument`](IFoafDocument.md).[`mbox`](IFoafDocument.md#mbox)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
@@ -76,13 +76,13 @@ http://xmlns.com/foaf/spec/#term_homepage
|
|
|
76
76
|
|
|
77
77
|
#### Inherited from
|
|
78
78
|
|
|
79
|
-
[`
|
|
79
|
+
[`IFoafDocument`](IFoafDocument.md).[`homepage`](IFoafDocument.md#homepage)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
83
|
### depiction?
|
|
84
84
|
|
|
85
|
-
> `optional` **depiction**: `
|
|
85
|
+
> `optional` **depiction**: `IFoafImage`
|
|
86
86
|
|
|
87
87
|
A depiction of some thing.
|
|
88
88
|
|
|
@@ -92,7 +92,7 @@ http://xmlns.com/foaf/spec/#term_depiction
|
|
|
92
92
|
|
|
93
93
|
#### Inherited from
|
|
94
94
|
|
|
95
|
-
[`
|
|
95
|
+
[`IFoafDocument`](IFoafDocument.md).[`depiction`](IFoafDocument.md#depiction)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -108,7 +108,7 @@ http://xmlns.com/foaf/spec/#term_topic
|
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
111
|
-
[`
|
|
111
|
+
[`IFoafDocument`](IFoafDocument.md).[`topic`](IFoafDocument.md#topic)
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
@@ -124,7 +124,7 @@ http://xmlns.com/foaf/spec/#term_primaryTopic
|
|
|
124
124
|
|
|
125
125
|
#### Inherited from
|
|
126
126
|
|
|
127
|
-
[`
|
|
127
|
+
[`IFoafDocument`](IFoafDocument.md).[`primaryTopic`](IFoafDocument.md#primarytopic)
|
|
128
128
|
|
|
129
129
|
***
|
|
130
130
|
|
|
@@ -140,7 +140,7 @@ http://xmlns.com/foaf/spec/#term_sha1sum
|
|
|
140
140
|
|
|
141
141
|
#### Inherited from
|
|
142
142
|
|
|
143
|
-
[`
|
|
143
|
+
[`IFoafDocument`](IFoafDocument.md).[`sha1`](IFoafDocument.md#sha1)
|
|
144
144
|
|
|
145
145
|
***
|
|
146
146
|
|
|
@@ -152,7 +152,7 @@ The LD Context.
|
|
|
152
152
|
|
|
153
153
|
#### Overrides
|
|
154
154
|
|
|
155
|
-
[`
|
|
155
|
+
[`IFoafDocument`](IFoafDocument.md).[`@context`](IFoafDocument.md#context)
|
|
156
156
|
|
|
157
157
|
***
|
|
158
158
|
|
|
@@ -164,7 +164,7 @@ Type.
|
|
|
164
164
|
|
|
165
165
|
#### Overrides
|
|
166
166
|
|
|
167
|
-
[`
|
|
167
|
+
[`IFoafDocument`](IFoafDocument.md).[`@type`](IFoafDocument.md#type)
|
|
168
168
|
|
|
169
169
|
***
|
|
170
170
|
|
|
@@ -182,7 +182,7 @@ http://xmlns.com/foaf/spec/#term_depicts
|
|
|
182
182
|
|
|
183
183
|
### thumbnail?
|
|
184
184
|
|
|
185
|
-
> `optional` **thumbnail**: `
|
|
185
|
+
> `optional` **thumbnail**: `IFoafImage`
|
|
186
186
|
|
|
187
187
|
A derived thumbnail image.
|
|
188
188
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IFoafOrganization
|
|
2
2
|
|
|
3
3
|
A FOAF Organization.
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ http://xmlns.com/foaf/0.1/
|
|
|
8
8
|
|
|
9
9
|
## Extends
|
|
10
10
|
|
|
11
|
-
- [`
|
|
11
|
+
- [`IFoafAgent`](IFoafAgent.md)
|
|
12
12
|
|
|
13
13
|
## Indexable
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ http://xmlns.com/foaf/spec/#term_age
|
|
|
28
28
|
|
|
29
29
|
#### Inherited from
|
|
30
30
|
|
|
31
|
-
[`
|
|
31
|
+
[`IFoafAgent`](IFoafAgent.md).[`age`](IFoafAgent.md#age)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -44,13 +44,13 @@ http://xmlns.com/foaf/spec/#term_made
|
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
47
|
-
[`
|
|
47
|
+
[`IFoafAgent`](IFoafAgent.md).[`made`](IFoafAgent.md#made)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
51
|
### weblog?
|
|
52
52
|
|
|
53
|
-
> `optional` **weblog**: [`
|
|
53
|
+
> `optional` **weblog**: [`IFoafDocument`](IFoafDocument.md)
|
|
54
54
|
|
|
55
55
|
A weblog of some thing (whether person, group, company etc.).
|
|
56
56
|
|
|
@@ -60,13 +60,13 @@ http://xmlns.com/foaf/spec/#term_weblog
|
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
63
|
-
[`
|
|
63
|
+
[`IFoafAgent`](IFoafAgent.md).[`weblog`](IFoafAgent.md#weblog)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
67
67
|
### openid?
|
|
68
68
|
|
|
69
|
-
> `optional` **openid**: [`
|
|
69
|
+
> `optional` **openid**: [`IFoafDocument`](IFoafDocument.md)
|
|
70
70
|
|
|
71
71
|
An OpenID for an agent.
|
|
72
72
|
|
|
@@ -76,13 +76,13 @@ http://xmlns.com/foaf/spec/#term_openid
|
|
|
76
76
|
|
|
77
77
|
#### Inherited from
|
|
78
78
|
|
|
79
|
-
[`
|
|
79
|
+
[`IFoafAgent`](IFoafAgent.md).[`openid`](IFoafAgent.md#openid)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
83
|
### interest?
|
|
84
84
|
|
|
85
|
-
> `optional` **interest**: [`
|
|
85
|
+
> `optional` **interest**: [`IFoafDocument`](IFoafDocument.md)
|
|
86
86
|
|
|
87
87
|
A page about a topic of interest to this person.
|
|
88
88
|
|
|
@@ -92,7 +92,7 @@ http://xmlns.com/foaf/spec/#term_interest
|
|
|
92
92
|
|
|
93
93
|
#### Inherited from
|
|
94
94
|
|
|
95
|
-
[`
|
|
95
|
+
[`IFoafAgent`](IFoafAgent.md).[`interest`](IFoafAgent.md#interest)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -108,7 +108,7 @@ http://xmlns.com/foaf/spec/#term_topic_interest
|
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
111
|
-
[`
|
|
111
|
+
[`IFoafAgent`](IFoafAgent.md).[`topic_interest`](IFoafAgent.md#topic_interest)
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
@@ -124,7 +124,7 @@ http://xmlns.com/foaf/spec/#term_name
|
|
|
124
124
|
|
|
125
125
|
#### Inherited from
|
|
126
126
|
|
|
127
|
-
[`
|
|
127
|
+
[`IFoafAgent`](IFoafAgent.md).[`name`](IFoafAgent.md#name)
|
|
128
128
|
|
|
129
129
|
***
|
|
130
130
|
|
|
@@ -140,7 +140,7 @@ http://xmlns.com/foaf/spec/#term_title
|
|
|
140
140
|
|
|
141
141
|
#### Inherited from
|
|
142
142
|
|
|
143
|
-
[`
|
|
143
|
+
[`IFoafAgent`](IFoafAgent.md).[`title`](IFoafAgent.md#title)
|
|
144
144
|
|
|
145
145
|
***
|
|
146
146
|
|
|
@@ -156,7 +156,7 @@ http://xmlns.com/foaf/spec/#term_mbox
|
|
|
156
156
|
|
|
157
157
|
#### Inherited from
|
|
158
158
|
|
|
159
|
-
[`
|
|
159
|
+
[`IFoafAgent`](IFoafAgent.md).[`mbox`](IFoafAgent.md#mbox)
|
|
160
160
|
|
|
161
161
|
***
|
|
162
162
|
|
|
@@ -172,13 +172,13 @@ http://xmlns.com/foaf/spec/#term_homepage
|
|
|
172
172
|
|
|
173
173
|
#### Inherited from
|
|
174
174
|
|
|
175
|
-
[`
|
|
175
|
+
[`IFoafAgent`](IFoafAgent.md).[`homepage`](IFoafAgent.md#homepage)
|
|
176
176
|
|
|
177
177
|
***
|
|
178
178
|
|
|
179
179
|
### depiction?
|
|
180
180
|
|
|
181
|
-
> `optional` **depiction**: [`
|
|
181
|
+
> `optional` **depiction**: [`IFoafImage`](IFoafImage.md)
|
|
182
182
|
|
|
183
183
|
A depiction of some thing.
|
|
184
184
|
|
|
@@ -188,7 +188,7 @@ http://xmlns.com/foaf/spec/#term_depiction
|
|
|
188
188
|
|
|
189
189
|
#### Inherited from
|
|
190
190
|
|
|
191
|
-
[`
|
|
191
|
+
[`IFoafAgent`](IFoafAgent.md).[`depiction`](IFoafAgent.md#depiction)
|
|
192
192
|
|
|
193
193
|
***
|
|
194
194
|
|
|
@@ -200,7 +200,7 @@ The LD Context.
|
|
|
200
200
|
|
|
201
201
|
#### Overrides
|
|
202
202
|
|
|
203
|
-
[`
|
|
203
|
+
[`IFoafAgent`](IFoafAgent.md).[`@context`](IFoafAgent.md#context)
|
|
204
204
|
|
|
205
205
|
***
|
|
206
206
|
|
|
@@ -212,4 +212,4 @@ Type.
|
|
|
212
212
|
|
|
213
213
|
#### Overrides
|
|
214
214
|
|
|
215
|
-
[`
|
|
215
|
+
[`IFoafAgent`](IFoafAgent.md).[`@type`](IFoafAgent.md#type)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Interface:
|
|
1
|
+
# Interface: IFoafPerson
|
|
2
2
|
|
|
3
3
|
A FOAF Person.
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ http://xmlns.com/foaf/0.1/
|
|
|
8
8
|
|
|
9
9
|
## Extends
|
|
10
10
|
|
|
11
|
-
- [`
|
|
11
|
+
- [`IFoafAgent`](IFoafAgent.md)
|
|
12
12
|
|
|
13
13
|
## Indexable
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ http://xmlns.com/foaf/spec/#term_age
|
|
|
28
28
|
|
|
29
29
|
#### Inherited from
|
|
30
30
|
|
|
31
|
-
[`
|
|
31
|
+
[`IFoafAgent`](IFoafAgent.md).[`age`](IFoafAgent.md#age)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -44,13 +44,13 @@ http://xmlns.com/foaf/spec/#term_made
|
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
47
|
-
[`
|
|
47
|
+
[`IFoafAgent`](IFoafAgent.md).[`made`](IFoafAgent.md#made)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
51
|
### weblog?
|
|
52
52
|
|
|
53
|
-
> `optional` **weblog**: [`
|
|
53
|
+
> `optional` **weblog**: [`IFoafDocument`](IFoafDocument.md)
|
|
54
54
|
|
|
55
55
|
A weblog of some thing (whether person, group, company etc.).
|
|
56
56
|
|
|
@@ -60,13 +60,13 @@ http://xmlns.com/foaf/spec/#term_weblog
|
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
63
|
-
[`
|
|
63
|
+
[`IFoafAgent`](IFoafAgent.md).[`weblog`](IFoafAgent.md#weblog)
|
|
64
64
|
|
|
65
65
|
***
|
|
66
66
|
|
|
67
67
|
### openid?
|
|
68
68
|
|
|
69
|
-
> `optional` **openid**: [`
|
|
69
|
+
> `optional` **openid**: [`IFoafDocument`](IFoafDocument.md)
|
|
70
70
|
|
|
71
71
|
An OpenID for an agent.
|
|
72
72
|
|
|
@@ -76,13 +76,13 @@ http://xmlns.com/foaf/spec/#term_openid
|
|
|
76
76
|
|
|
77
77
|
#### Inherited from
|
|
78
78
|
|
|
79
|
-
[`
|
|
79
|
+
[`IFoafAgent`](IFoafAgent.md).[`openid`](IFoafAgent.md#openid)
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
83
83
|
### interest?
|
|
84
84
|
|
|
85
|
-
> `optional` **interest**: [`
|
|
85
|
+
> `optional` **interest**: [`IFoafDocument`](IFoafDocument.md)
|
|
86
86
|
|
|
87
87
|
A page about a topic of interest to this person.
|
|
88
88
|
|
|
@@ -92,7 +92,7 @@ http://xmlns.com/foaf/spec/#term_interest
|
|
|
92
92
|
|
|
93
93
|
#### Inherited from
|
|
94
94
|
|
|
95
|
-
[`
|
|
95
|
+
[`IFoafAgent`](IFoafAgent.md).[`interest`](IFoafAgent.md#interest)
|
|
96
96
|
|
|
97
97
|
***
|
|
98
98
|
|
|
@@ -108,7 +108,7 @@ http://xmlns.com/foaf/spec/#term_topic_interest
|
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
111
|
-
[`
|
|
111
|
+
[`IFoafAgent`](IFoafAgent.md).[`topic_interest`](IFoafAgent.md#topic_interest)
|
|
112
112
|
|
|
113
113
|
***
|
|
114
114
|
|
|
@@ -124,7 +124,7 @@ http://xmlns.com/foaf/spec/#term_name
|
|
|
124
124
|
|
|
125
125
|
#### Inherited from
|
|
126
126
|
|
|
127
|
-
[`
|
|
127
|
+
[`IFoafAgent`](IFoafAgent.md).[`name`](IFoafAgent.md#name)
|
|
128
128
|
|
|
129
129
|
***
|
|
130
130
|
|
|
@@ -140,7 +140,7 @@ http://xmlns.com/foaf/spec/#term_title
|
|
|
140
140
|
|
|
141
141
|
#### Inherited from
|
|
142
142
|
|
|
143
|
-
[`
|
|
143
|
+
[`IFoafAgent`](IFoafAgent.md).[`title`](IFoafAgent.md#title)
|
|
144
144
|
|
|
145
145
|
***
|
|
146
146
|
|
|
@@ -156,7 +156,7 @@ http://xmlns.com/foaf/spec/#term_mbox
|
|
|
156
156
|
|
|
157
157
|
#### Inherited from
|
|
158
158
|
|
|
159
|
-
[`
|
|
159
|
+
[`IFoafAgent`](IFoafAgent.md).[`mbox`](IFoafAgent.md#mbox)
|
|
160
160
|
|
|
161
161
|
***
|
|
162
162
|
|
|
@@ -172,13 +172,13 @@ http://xmlns.com/foaf/spec/#term_homepage
|
|
|
172
172
|
|
|
173
173
|
#### Inherited from
|
|
174
174
|
|
|
175
|
-
[`
|
|
175
|
+
[`IFoafAgent`](IFoafAgent.md).[`homepage`](IFoafAgent.md#homepage)
|
|
176
176
|
|
|
177
177
|
***
|
|
178
178
|
|
|
179
179
|
### depiction?
|
|
180
180
|
|
|
181
|
-
> `optional` **depiction**: [`
|
|
181
|
+
> `optional` **depiction**: [`IFoafImage`](IFoafImage.md)
|
|
182
182
|
|
|
183
183
|
A depiction of some thing.
|
|
184
184
|
|
|
@@ -188,7 +188,7 @@ http://xmlns.com/foaf/spec/#term_depiction
|
|
|
188
188
|
|
|
189
189
|
#### Inherited from
|
|
190
190
|
|
|
191
|
-
[`
|
|
191
|
+
[`IFoafAgent`](IFoafAgent.md).[`depiction`](IFoafAgent.md#depiction)
|
|
192
192
|
|
|
193
193
|
***
|
|
194
194
|
|
|
@@ -200,7 +200,7 @@ The LD Context.
|
|
|
200
200
|
|
|
201
201
|
#### Overrides
|
|
202
202
|
|
|
203
|
-
[`
|
|
203
|
+
[`IFoafAgent`](IFoafAgent.md).[`@context`](IFoafAgent.md#context)
|
|
204
204
|
|
|
205
205
|
***
|
|
206
206
|
|
|
@@ -212,7 +212,7 @@ Type.
|
|
|
212
212
|
|
|
213
213
|
#### Overrides
|
|
214
214
|
|
|
215
|
-
[`
|
|
215
|
+
[`IFoafAgent`](IFoafAgent.md).[`@type`](IFoafAgent.md#type)
|
|
216
216
|
|
|
217
217
|
***
|
|
218
218
|
|
|
@@ -242,7 +242,7 @@ http://xmlns.com/foaf/spec/#term_givenName
|
|
|
242
242
|
|
|
243
243
|
### knows?
|
|
244
244
|
|
|
245
|
-
> `optional` **knows**: `ObjectOrArray`\<[`
|
|
245
|
+
> `optional` **knows**: `ObjectOrArray`\<[`IFoafAgent`](IFoafAgent.md)\>
|
|
246
246
|
|
|
247
247
|
A person known by this person (indicating some level of reciprocated interaction between the parties).
|
|
248
248
|
|
|
@@ -254,7 +254,7 @@ http://xmlns.com/foaf/spec/#term_knows
|
|
|
254
254
|
|
|
255
255
|
### img?
|
|
256
256
|
|
|
257
|
-
> `optional` **img**: [`
|
|
257
|
+
> `optional` **img**: [`IFoafImage`](IFoafImage.md)
|
|
258
258
|
|
|
259
259
|
An image that can be used to represent some thing.
|
|
260
260
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: FoafContextType
|
|
2
2
|
|
|
3
|
-
> **FoafContextType** = *typeof* [`
|
|
3
|
+
> **FoafContextType** = *typeof* [`Context`](../variables/FoafContexts.md#context) \| \[*typeof* [`Context`](../variables/FoafContexts.md#context)\] \| \[`...IJsonLdContextDefinitionElement[]`, *typeof* [`Context`](../variables/FoafContexts.md#context)\]
|
|
4
4
|
|
|
5
5
|
The FOAF JSON-LD context type.
|
|
@@ -6,20 +6,28 @@ The LD Contexts concerning FOAF.
|
|
|
6
6
|
|
|
7
7
|
## Type Declaration
|
|
8
8
|
|
|
9
|
-
###
|
|
9
|
+
### Namespace
|
|
10
10
|
|
|
11
|
-
> `readonly` **
|
|
11
|
+
> `readonly` **Namespace**: `"https://xmlns.com/foaf/0.1/"` = `"https://xmlns.com/foaf/0.1/"`
|
|
12
12
|
|
|
13
|
-
The
|
|
13
|
+
The canonical RDF namespace URI.
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Context
|
|
16
16
|
|
|
17
|
-
> `readonly` **
|
|
17
|
+
> `readonly` **Context**: `"https://xmlns.com/foaf/0.1/"` = `"https://xmlns.com/foaf/0.1/"`
|
|
18
18
|
|
|
19
|
-
The
|
|
19
|
+
The value to use in @context.
|
|
20
|
+
Note: Context matches Namespace (both include trailing slash) as per FOAF specification.
|
|
21
|
+
The FOAF JSON-LD context URL format includes a trailing slash.
|
|
20
22
|
|
|
21
|
-
###
|
|
23
|
+
### JsonLdContext
|
|
22
24
|
|
|
23
|
-
> `readonly` **
|
|
25
|
+
> `readonly` **JsonLdContext**: `"https://schema.twindev.org/foaf/types.jsonld"` = `"https://schema.twindev.org/foaf/types.jsonld"`
|
|
24
26
|
|
|
25
|
-
The
|
|
27
|
+
The JSON-LD Context URL.
|
|
28
|
+
|
|
29
|
+
### JsonSchemaNamespace
|
|
30
|
+
|
|
31
|
+
> `readonly` **JsonSchemaNamespace**: `"https://schema.twindev.org/foaf/"` = `"https://schema.twindev.org/foaf/"`
|
|
32
|
+
|
|
33
|
+
The namespace location of the hosted version of the JSON Schema.
|
package/package.json
CHANGED
package/dist/es/models/IAgent.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAgent.js","sourceRoot":"","sources":["../../../src/models/IAgent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ObjectOrArray } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { FoafTypes } from \"./foafTypes.js\";\nimport type { IBaseObject } from \"./IBaseObject.js\";\nimport type { IDocument } from \"./IDocument.js\";\n\n/**\n * A FOAF Agent.\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IAgent extends IBaseObject {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * Type.\n\t */\n\t\"@type\":\n\t\t| typeof FoafTypes.Agent\n\t\t| typeof FoafTypes.Person\n\t\t| typeof FoafTypes.Organization\n\t\t| typeof FoafTypes.Group\n\t\t| string;\n\n\t/**\n\t * The age in years of some agent.\n\t * @see http://xmlns.com/foaf/spec/#term_age\n\t */\n\tage?: number;\n\n\t/**\n\t * Something that was made by this agent.\n\t * @see http://xmlns.com/foaf/spec/#term_made\n\t */\n\tmade?: ObjectOrArray<IJsonLdNodeObject>;\n\n\t/**\n\t * A weblog of some thing (whether person, group, company etc.).\n\t * @see http://xmlns.com/foaf/spec/#term_weblog\n\t */\n\tweblog?: IDocument;\n\n\t/**\n\t * An OpenID for an agent.\n\t * @see http://xmlns.com/foaf/spec/#term_openid\n\t */\n\topenid?: IDocument;\n\n\t/**\n\t * A page about a topic of interest to this person.\n\t * @see http://xmlns.com/foaf/spec/#term_interest\n\t */\n\tinterest?: IDocument;\n\n\t/**\n\t * A thing of interest to this person.\n\t * @see http://xmlns.com/foaf/spec/#term_topic_interest\n\t */\n\ttopic_interest?: IJsonLdNodeObject;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBaseObject.js","sourceRoot":"","sources":["../../../src/models/IBaseObject.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { FoafContextType } from \"./foafContextType.js\";\nimport type { IImage } from \"./IImage.js\";\n\n/**\n * Core FOAF Properties\n * @see http://xmlns.com/foaf/0.1/\n */\nexport interface IBaseObject extends IJsonLdNodeObject {\n\t/**\n\t * The LD Context.\n\t */\n\t\"@context\"?: FoafContextType;\n\n\t/**\n\t * A name for some thing.\n\t * @see http://xmlns.com/foaf/spec/#term_name\n\t */\n\tname?: string;\n\n\t/**\n\t * Title (Mr, Mrs, Ms, Dr. etc)\n\t * @see http://xmlns.com/foaf/spec/#term_title\n\t */\n\ttitle?: string;\n\n\t/**\n\t * A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox\n\t * @see http://xmlns.com/foaf/spec/#term_mbox\n\t */\n\tmbox?: string;\n\n\t/**\n\t * A homepage for some thing.\n\t * @see http://xmlns.com/foaf/spec/#term_homepage\n\t */\n\thomepage?: string;\n\n\t/**\n\t * A depiction of some thing.\n\t * @see http://xmlns.com/foaf/spec/#term_depiction\n\t */\n\tdepiction?: IImage;\n}\n"]}
|