-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathtd-links.json
More file actions
42 lines (42 loc) · 1.17 KB
/
td-links.json
File metadata and controls
42 lines (42 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"title": "td-links",
"description": " Each mandatory and optional vocabulary term as defined in the class Link, MUST be serialized as a JSON name. ",
"$schema": "http://json-schema.org/draft-07/schema#",
"is-complex": false,
"also": ["td-vocab-links--Thing", "td-arrays_links", "td-vocab-href--Link"],
"type": "object",
"properties": {
"links": {
"type": "array",
"items": {
"$ref": "#/definitions/link_element"
}
}
},
"required": ["links"],
"additionalProperties": true,
"definitions": {
"link_element": {
"type": "object",
"properties": {
"anchor": {
"$ref": "#/definitions/url"
},
"href": {
"$ref": "#/definitions/url"
},
"rel": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": ["href"],
"additionalProperties": true
},
"url": {
"type": "string"
}
}
}