diff --git a/content_schemas/dist/formats/news_article/frontend/schema.json b/content_schemas/dist/formats/news_article/frontend/schema.json index a698fb3db..28d118ece 100644 --- a/content_schemas/dist/formats/news_article/frontend/schema.json +++ b/content_schemas/dist/formats/news_article/frontend/schema.json @@ -325,9 +325,6 @@ "government": { "$ref": "#/definitions/government" }, - "image": { - "$ref": "#/definitions/image" - }, "images": { "type": "array", "items": { @@ -588,53 +585,6 @@ "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}$" }, - "image": { - "type": "object", - "required": [ - "url" - ], - "additionalProperties": false, - "properties": { - "alt_text": { - "type": "string" - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "credit": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "high_resolution_url": { - "description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.", - "type": "string", - "format": "uri" - }, - "medium_resolution_url": { - "description": "URL to a medium resolution version of the image, for use by devices that have high pixel density such as iphone.", - "type": "string", - "format": "uri" - }, - "url": { - "description": "URL to the image. The image should be in a suitable resolution for display on the page.", - "type": "string", - "format": "uri" - } - } - }, "image_asset": { "type": "object", "required": [ diff --git a/content_schemas/dist/formats/news_article/notification/schema.json b/content_schemas/dist/formats/news_article/notification/schema.json index 651f62de9..6e120d6cc 100644 --- a/content_schemas/dist/formats/news_article/notification/schema.json +++ b/content_schemas/dist/formats/news_article/notification/schema.json @@ -431,9 +431,6 @@ "government": { "$ref": "#/definitions/government" }, - "image": { - "$ref": "#/definitions/image" - }, "images": { "type": "array", "items": { @@ -707,53 +704,6 @@ }, "uniqueItems": true }, - "image": { - "type": "object", - "required": [ - "url" - ], - "additionalProperties": false, - "properties": { - "alt_text": { - "type": "string" - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "credit": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "high_resolution_url": { - "description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.", - "type": "string", - "format": "uri" - }, - "medium_resolution_url": { - "description": "URL to a medium resolution version of the image, for use by devices that have high pixel density such as iphone.", - "type": "string", - "format": "uri" - }, - "url": { - "description": "URL to the image. The image should be in a suitable resolution for display on the page.", - "type": "string", - "format": "uri" - } - } - }, "image_asset": { "type": "object", "required": [ diff --git a/content_schemas/dist/formats/news_article/publisher_v2/schema.json b/content_schemas/dist/formats/news_article/publisher_v2/schema.json index b09814d8d..53b21f522 100644 --- a/content_schemas/dist/formats/news_article/publisher_v2/schema.json +++ b/content_schemas/dist/formats/news_article/publisher_v2/schema.json @@ -272,9 +272,6 @@ "government": { "$ref": "#/definitions/government" }, - "image": { - "$ref": "#/definitions/image" - }, "images": { "type": "array", "items": { @@ -409,53 +406,6 @@ }, "uniqueItems": true }, - "image": { - "type": "object", - "required": [ - "url" - ], - "additionalProperties": false, - "properties": { - "alt_text": { - "type": "string" - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "credit": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "high_resolution_url": { - "description": "URL to a high resolution version of the image, for use by third parties such as Twitter, Facebook or Slack. Used by the machine readable metadata component. Don't use this on user-facing web pages, as it might be very large.", - "type": "string", - "format": "uri" - }, - "medium_resolution_url": { - "description": "URL to a medium resolution version of the image, for use by devices that have high pixel density such as iphone.", - "type": "string", - "format": "uri" - }, - "url": { - "description": "URL to the image. The image should be in a suitable resolution for display on the page.", - "type": "string", - "format": "uri" - } - } - }, "image_asset": { "type": "object", "required": [ diff --git a/content_schemas/formats/news_article.jsonnet b/content_schemas/formats/news_article.jsonnet index 004a38dd4..64f3012a9 100644 --- a/content_schemas/formats/news_article.jsonnet +++ b/content_schemas/formats/news_article.jsonnet @@ -23,9 +23,6 @@ body: { "$ref": "#/definitions/body", }, - image: { - "$ref": "#/definitions/image", - }, images: { type: "array", items: {