Skip to content

Commit dee6739

Browse files
committed
Run rake build_schemas
This compiles the updated schemas in content_schemas/dist/ and validate changes to the example schemas.
1 parent c0bc6b5 commit dee6739

File tree

3 files changed

+81
-0
lines changed

3 files changed

+81
-0
lines changed

content_schemas/dist/formats/corporate_information_page/frontend/schema.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,9 @@
339339
"description": "Groups of corporate information to display on about pages",
340340
"$ref": "#/definitions/grouped_lists_of_links"
341341
},
342+
"headers": {
343+
"$ref": "#/definitions/headers"
344+
},
342345
"organisation": {
343346
"description": "A single organisation that is the subject of this corporate information page",
344347
"$ref": "#/definitions/guid"
@@ -585,6 +588,30 @@
585588
"type": "string",
586589
"pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}$"
587590
},
591+
"headers": {
592+
"type": "array",
593+
"items": {
594+
"type": "object",
595+
"required": [
596+
"text",
597+
"level",
598+
"id"
599+
],
600+
"additionalProperties": false,
601+
"properties": {
602+
"id": {
603+
"type": "string"
604+
},
605+
"level": {
606+
"type": "integer"
607+
},
608+
"text": {
609+
"type": "string"
610+
}
611+
}
612+
},
613+
"minItems": 1
614+
},
588615
"internal_link_without_guid": {
589616
"description": "Links to pages on GOV.UK without a corresponding GUID. eg A filtered list of publications",
590617
"type": "object",

content_schemas/dist/formats/corporate_information_page/notification/schema.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,9 @@
434434
"description": "Groups of corporate information to display on about pages",
435435
"$ref": "#/definitions/grouped_lists_of_links"
436436
},
437+
"headers": {
438+
"$ref": "#/definitions/headers"
439+
},
437440
"organisation": {
438441
"description": "A single organisation that is the subject of this corporate information page",
439442
"$ref": "#/definitions/guid"
@@ -693,6 +696,30 @@
693696
},
694697
"uniqueItems": true
695698
},
699+
"headers": {
700+
"type": "array",
701+
"items": {
702+
"type": "object",
703+
"required": [
704+
"text",
705+
"level",
706+
"id"
707+
],
708+
"additionalProperties": false,
709+
"properties": {
710+
"id": {
711+
"type": "string"
712+
},
713+
"level": {
714+
"type": "integer"
715+
},
716+
"text": {
717+
"type": "string"
718+
}
719+
}
720+
},
721+
"minItems": 1
722+
},
696723
"internal_link_without_guid": {
697724
"description": "Links to pages on GOV.UK without a corresponding GUID. eg A filtered list of publications",
698725
"type": "object",

content_schemas/dist/formats/corporate_information_page/publisher_v2/schema.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@
274274
"description": "Groups of corporate information to display on about pages",
275275
"$ref": "#/definitions/grouped_lists_of_links"
276276
},
277+
"headers": {
278+
"$ref": "#/definitions/headers"
279+
},
277280
"organisation": {
278281
"description": "A single organisation that is the subject of this corporate information page",
279282
"$ref": "#/definitions/guid"
@@ -394,6 +397,30 @@
394397
},
395398
"uniqueItems": true
396399
},
400+
"headers": {
401+
"type": "array",
402+
"items": {
403+
"type": "object",
404+
"required": [
405+
"text",
406+
"level",
407+
"id"
408+
],
409+
"additionalProperties": false,
410+
"properties": {
411+
"id": {
412+
"type": "string"
413+
},
414+
"level": {
415+
"type": "integer"
416+
},
417+
"text": {
418+
"type": "string"
419+
}
420+
}
421+
},
422+
"minItems": 1
423+
},
397424
"internal_link_without_guid": {
398425
"description": "Links to pages on GOV.UK without a corresponding GUID. eg A filtered list of publications",
399426
"type": "object",

0 commit comments

Comments
 (0)