diff --git a/content_schemas/dist/formats/content_block_pension/notification/schema.json b/content_schemas/dist/formats/content_block_pension/notification/schema.json index 08d376089..97d924c65 100644 --- a/content_schemas/dist/formats/content_block_pension/notification/schema.json +++ b/content_schemas/dist/formats/content_block_pension/notification/schema.json @@ -408,8 +408,10 @@ "cadence": { "type": "string", "enum": [ - "weekly", - "monthly" + "a day", + "a week", + "a month", + "a year" ] }, "description": { diff --git a/content_schemas/dist/formats/content_block_pension/publisher_v2/schema.json b/content_schemas/dist/formats/content_block_pension/publisher_v2/schema.json index a047a7f9e..07bcd3b69 100644 --- a/content_schemas/dist/formats/content_block_pension/publisher_v2/schema.json +++ b/content_schemas/dist/formats/content_block_pension/publisher_v2/schema.json @@ -225,8 +225,10 @@ "cadence": { "type": "string", "enum": [ - "weekly", - "monthly" + "a day", + "a week", + "a month", + "a year" ] }, "description": { diff --git a/content_schemas/examples/content_block_pension/publisher_v2/example.json b/content_schemas/examples/content_block_pension/publisher_v2/example.json index efe5d5879..ed0a0b1f7 100644 --- a/content_schemas/examples/content_block_pension/publisher_v2/example.json +++ b/content_schemas/examples/content_block_pension/publisher_v2/example.json @@ -11,7 +11,7 @@ "rate-1": { "name": "Rate 1", "amount": "£221.20", - "cadence": "weekly", + "cadence": "a week", "description": "Your weekly pension amount" } } diff --git a/content_schemas/formats/content_block_pension.jsonnet b/content_schemas/formats/content_block_pension.jsonnet index 6aa324fd7..b44afe7de 100644 --- a/content_schemas/formats/content_block_pension.jsonnet +++ b/content_schemas/formats/content_block_pension.jsonnet @@ -18,7 +18,7 @@ local utils = import "shared/utils/content_block_utils.jsonnet"; }, cadence: { type: "string", - enum: ["weekly", "monthly"], + enum: ["a day", "a week", "a month", "a year"], }, description: { type: "string",