@twin.org/standards-foaf 0.0.3-next.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.
- package/LICENSE +201 -0
- package/README.md +21 -0
- package/dist/es/dataTypes/foafDataTypes.js +65 -0
- package/dist/es/dataTypes/foafDataTypes.js.map +1 -0
- package/dist/es/index.js +14 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IAgent.js +2 -0
- package/dist/es/models/IAgent.js.map +1 -0
- package/dist/es/models/IBaseObject.js +2 -0
- package/dist/es/models/IBaseObject.js.map +1 -0
- package/dist/es/models/IDocument.js +2 -0
- package/dist/es/models/IDocument.js.map +1 -0
- package/dist/es/models/IGroup.js +2 -0
- package/dist/es/models/IGroup.js.map +1 -0
- package/dist/es/models/IImage.js +2 -0
- package/dist/es/models/IImage.js.map +1 -0
- package/dist/es/models/IOrganization.js +2 -0
- package/dist/es/models/IOrganization.js.map +1 -0
- package/dist/es/models/IPerson.js +2 -0
- package/dist/es/models/IPerson.js.map +1 -0
- package/dist/es/models/foafContextType.js +2 -0
- package/dist/es/models/foafContextType.js.map +1 -0
- package/dist/es/models/foafContexts.js +21 -0
- package/dist/es/models/foafContexts.js.map +1 -0
- package/dist/es/models/foafTypes.js +34 -0
- package/dist/es/models/foafTypes.js.map +1 -0
- package/dist/es/schemas/Agent.json +176 -0
- package/dist/es/schemas/Document.json +168 -0
- package/dist/es/schemas/Group.json +191 -0
- package/dist/es/schemas/Image.json +173 -0
- package/dist/es/schemas/Organization.json +177 -0
- package/dist/es/schemas/Person.json +207 -0
- package/dist/types/dataTypes/foafDataTypes.d.ts +13 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/models/IAgent.d.ts +50 -0
- package/dist/types/models/IBaseObject.d.ts +38 -0
- package/dist/types/models/IDocument.d.ts +34 -0
- package/dist/types/models/IGroup.d.ts +23 -0
- package/dist/types/models/IImage.d.ts +29 -0
- package/dist/types/models/IOrganization.d.ts +17 -0
- package/dist/types/models/IPerson.d.ts +44 -0
- package/dist/types/models/foafContextType.d.ts +6 -0
- package/dist/types/models/foafContexts.d.ts +21 -0
- package/dist/types/models/foafTypes.d.ts +35 -0
- package/docs/changelog.md +10 -0
- package/docs/examples.md +1 -0
- package/docs/reference/classes/FoafDataTypes.md +37 -0
- package/docs/reference/index.md +26 -0
- package/docs/reference/interfaces/IAgent.md +197 -0
- package/docs/reference/interfaces/IBaseObject.md +92 -0
- package/docs/reference/interfaces/IDocument.md +159 -0
- package/docs/reference/interfaces/IGroup.md +227 -0
- package/docs/reference/interfaces/IImage.md +191 -0
- package/docs/reference/interfaces/IOrganization.md +215 -0
- package/docs/reference/interfaces/IPerson.md +275 -0
- package/docs/reference/type-aliases/FoafContextType.md +5 -0
- package/docs/reference/type-aliases/FoafContexts.md +5 -0
- package/docs/reference/type-aliases/FoafTypes.md +9 -0
- package/docs/reference/variables/FoafContexts.md +25 -0
- package/docs/reference/variables/FoafTypes.md +47 -0
- package/locales/en.json +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/foaf/Document",
|
|
4
|
+
"description": "A FOAF Document",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"@context": {
|
|
8
|
+
"description": "The FOAF JSON-LD context type.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
19
|
+
},
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 1
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "array",
|
|
25
|
+
"minItems": 1,
|
|
26
|
+
"prefixItems": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"items": {
|
|
33
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"@id": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"@included": {
|
|
52
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
53
|
+
},
|
|
54
|
+
"@graph": {
|
|
55
|
+
"anyOf": [
|
|
56
|
+
{
|
|
57
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"@nest": {
|
|
68
|
+
"anyOf": [
|
|
69
|
+
{
|
|
70
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"@type": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"enum": [
|
|
83
|
+
"Document",
|
|
84
|
+
"Image"
|
|
85
|
+
],
|
|
86
|
+
"description": "Type."
|
|
87
|
+
},
|
|
88
|
+
"@reverse": {
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"@index": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"name": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "A name for some thing."
|
|
100
|
+
},
|
|
101
|
+
"title": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)"
|
|
104
|
+
},
|
|
105
|
+
"mbox": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox"
|
|
108
|
+
},
|
|
109
|
+
"homepage": {
|
|
110
|
+
"type": "string",
|
|
111
|
+
"description": "A homepage for some thing."
|
|
112
|
+
},
|
|
113
|
+
"depiction": {
|
|
114
|
+
"$ref": "https://schema.twindev.org/foaf/Image",
|
|
115
|
+
"description": "A depiction of some thing."
|
|
116
|
+
},
|
|
117
|
+
"topic": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"description": "A topic of some page or document."
|
|
120
|
+
},
|
|
121
|
+
"primaryTopic": {
|
|
122
|
+
"description": "Object or array data type",
|
|
123
|
+
"anyOf": [
|
|
124
|
+
{
|
|
125
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"sha1": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "A sha1sum hash, in hex."
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"required": [
|
|
141
|
+
"@type"
|
|
142
|
+
],
|
|
143
|
+
"additionalProperties": {
|
|
144
|
+
"anyOf": [
|
|
145
|
+
{
|
|
146
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"type": "array"
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/foaf/Group",
|
|
4
|
+
"description": "A FOAF Group.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"@context": {
|
|
8
|
+
"description": "The FOAF JSON-LD context type.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
19
|
+
},
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 1
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "array",
|
|
25
|
+
"minItems": 1,
|
|
26
|
+
"prefixItems": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"items": {
|
|
33
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"@id": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"@included": {
|
|
52
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
53
|
+
},
|
|
54
|
+
"@graph": {
|
|
55
|
+
"anyOf": [
|
|
56
|
+
{
|
|
57
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"@nest": {
|
|
68
|
+
"anyOf": [
|
|
69
|
+
{
|
|
70
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"@type": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"const": "Group",
|
|
83
|
+
"description": "Type."
|
|
84
|
+
},
|
|
85
|
+
"@reverse": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"additionalProperties": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"@index": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"name": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "A name for some thing."
|
|
97
|
+
},
|
|
98
|
+
"title": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)"
|
|
101
|
+
},
|
|
102
|
+
"mbox": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox"
|
|
105
|
+
},
|
|
106
|
+
"homepage": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "A homepage for some thing."
|
|
109
|
+
},
|
|
110
|
+
"depiction": {
|
|
111
|
+
"$ref": "https://schema.twindev.org/foaf/Image",
|
|
112
|
+
"description": "A depiction of some thing."
|
|
113
|
+
},
|
|
114
|
+
"age": {
|
|
115
|
+
"type": "number",
|
|
116
|
+
"description": "The age in years of some agent."
|
|
117
|
+
},
|
|
118
|
+
"made": {
|
|
119
|
+
"description": "Object or array data type",
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{
|
|
122
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"weblog": {
|
|
133
|
+
"$ref": "https://schema.twindev.org/foaf/Document",
|
|
134
|
+
"description": "A weblog of some thing (whether person, group, company etc.)."
|
|
135
|
+
},
|
|
136
|
+
"openid": {
|
|
137
|
+
"$ref": "https://schema.twindev.org/foaf/Document",
|
|
138
|
+
"description": "An OpenID for an agent."
|
|
139
|
+
},
|
|
140
|
+
"interest": {
|
|
141
|
+
"$ref": "https://schema.twindev.org/foaf/Document",
|
|
142
|
+
"description": "A page about a topic of interest to this person."
|
|
143
|
+
},
|
|
144
|
+
"topic_interest": {
|
|
145
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
|
|
146
|
+
"description": "A thing of interest to this person."
|
|
147
|
+
},
|
|
148
|
+
"member": {
|
|
149
|
+
"description": "Object or array data type",
|
|
150
|
+
"anyOf": [
|
|
151
|
+
{
|
|
152
|
+
"$ref": "https://schema.twindev.org/foaf/Agent"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "array",
|
|
156
|
+
"items": {
|
|
157
|
+
"$ref": "https://schema.twindev.org/foaf/Agent"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"@type"
|
|
165
|
+
],
|
|
166
|
+
"additionalProperties": {
|
|
167
|
+
"anyOf": [
|
|
168
|
+
{
|
|
169
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"type": "array"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/foaf/Image",
|
|
4
|
+
"description": "A FOAF image.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"@context": {
|
|
8
|
+
"description": "The FOAF JSON-LD context type.",
|
|
9
|
+
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
19
|
+
},
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"maxItems": 1
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "array",
|
|
25
|
+
"minItems": 1,
|
|
26
|
+
"prefixItems": [
|
|
27
|
+
{
|
|
28
|
+
"type": "string",
|
|
29
|
+
"const": "https://xmlns.com/foaf/0.1/"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"items": {
|
|
33
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"@id": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"@included": {
|
|
52
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
53
|
+
},
|
|
54
|
+
"@graph": {
|
|
55
|
+
"anyOf": [
|
|
56
|
+
{
|
|
57
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "array",
|
|
61
|
+
"items": {
|
|
62
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"@nest": {
|
|
68
|
+
"anyOf": [
|
|
69
|
+
{
|
|
70
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "array",
|
|
74
|
+
"items": {
|
|
75
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdJsonObject"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"@type": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"const": "Image",
|
|
83
|
+
"description": "Type."
|
|
84
|
+
},
|
|
85
|
+
"@reverse": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"additionalProperties": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"@index": {
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"name": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"description": "A name for some thing."
|
|
97
|
+
},
|
|
98
|
+
"title": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Title (Mr, Mrs, Ms, Dr. etc)"
|
|
101
|
+
},
|
|
102
|
+
"mbox": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "A personal mailbox, ie. an Internet mailbox associated with exactly one owner, the first owner of this mailbox"
|
|
105
|
+
},
|
|
106
|
+
"homepage": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "A homepage for some thing."
|
|
109
|
+
},
|
|
110
|
+
"depiction": {
|
|
111
|
+
"$ref": "https://schema.twindev.org/foaf/Image",
|
|
112
|
+
"description": "A depiction of some thing."
|
|
113
|
+
},
|
|
114
|
+
"topic": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "A topic of some page or document."
|
|
117
|
+
},
|
|
118
|
+
"primaryTopic": {
|
|
119
|
+
"description": "Object or array data type",
|
|
120
|
+
"anyOf": [
|
|
121
|
+
{
|
|
122
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
"sha1": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"description": "A sha1sum hash, in hex."
|
|
135
|
+
},
|
|
136
|
+
"depicts": {
|
|
137
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
|
|
138
|
+
"description": "A thing depicted in this representation."
|
|
139
|
+
},
|
|
140
|
+
"thumbnail": {
|
|
141
|
+
"$ref": "https://schema.twindev.org/foaf/Image",
|
|
142
|
+
"description": "A derived thumbnail image."
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": [
|
|
146
|
+
"@type"
|
|
147
|
+
],
|
|
148
|
+
"additionalProperties": {
|
|
149
|
+
"anyOf": [
|
|
150
|
+
{
|
|
151
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"type": "array"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|