-
Notifications
You must be signed in to change notification settings - Fork 16
/
links.json
86 lines (86 loc) · 3.58 KB
/
links.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"bulk_publishing": {
"type": "boolean"
},
"links": {
"type": "object",
"additionalProperties": false,
"properties": {
"finder": {
"description": "Powers links from content back to finders the content is surfaced on",
"$ref": "#/definitions/guid_list"
},
"lead_organisations": {
"description": "DEPRECATED: A subset of organisations that should be emphasised in relation to this content item. All organisations specified here should also be part of the organisations array.",
"$ref": "#/definitions/guid_list"
},
"mainstream_browse_pages": {
"description": "Powers the /browse section of the site. These are known as sections in some legacy apps.",
"$ref": "#/definitions/guid_list"
},
"meets_user_needs": {
"description": "The user needs this piece of content meets.",
"$ref": "#/definitions/guid_list"
},
"ordered_related_items": {
"description": "Related items, can be any page on GOV.UK. Mostly used for mainstream content to power the sidebar. Ordering of the links is determined by the editor in Content Tagger.",
"$ref": "#/definitions/guid_list"
},
"ordered_related_items_overrides": {
"description": "Related items, can be any page on GOV.UK. Overrides 'more like this' automatically generated links in the beta navigation.",
"$ref": "#/definitions/guid_list"
},
"organisations": {
"description": "All organisations linked to this content item. This should include lead organisations.",
"$ref": "#/definitions/guid_list"
},
"original_primary_publishing_organisation": {
"description": "The organisation that published the original version of the page. Corresponds to the first of the 'Lead organisations' in Whitehall for the first edition, and is empty for all other publishing applications.",
"$ref": "#/definitions/guid_list"
},
"parent": {
"description": "The parent content item.",
"$ref": "#/definitions/guid_list",
"maxItems": 1
},
"policy_areas": {
"description": "A largely deprecated tag currently only used to power email alerts.",
"$ref": "#/definitions/guid_list"
},
"primary_publishing_organisation": {
"description": "The organisation that published the page. Corresponds to the first of the 'Lead organisations' in Whitehall, and is empty for all other publishing applications.",
"$ref": "#/definitions/guid_list",
"maxItems": 1
},
"suggested_ordered_related_items": {
"description": "Used for displaying related content on most pages, except for step-by-step and fatality notices. Links and their ordering are determined by the machine learning algorithms.",
"$ref": "#/definitions/guid_list"
},
"taxons": {
"description": "Prototype-stage taxonomy label for this content item",
"$ref": "#/definitions/guid_list"
}
}
},
"previous_version": {
"type": "string"
}
},
"definitions": {
"guid": {
"type": "string",
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
},
"guid_list": {
"type": "array",
"items": {
"$ref": "#/definitions/guid"
},
"uniqueItems": true
}
}
}