Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions content_schemas/dist/formats/news_article/frontend/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,6 @@
"government": {
"$ref": "#/definitions/government"
},
"image": {
"$ref": "#/definitions/image"
},
"images": {
"type": "array",
"items": {
Expand Down Expand Up @@ -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": [
Expand Down
50 changes: 0 additions & 50 deletions content_schemas/dist/formats/news_article/notification/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,6 @@
"government": {
"$ref": "#/definitions/government"
},
"image": {
"$ref": "#/definitions/image"
},
"images": {
"type": "array",
"items": {
Expand Down Expand Up @@ -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": [
Expand Down
50 changes: 0 additions & 50 deletions content_schemas/dist/formats/news_article/publisher_v2/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,9 +272,6 @@
"government": {
"$ref": "#/definitions/government"
},
"image": {
"$ref": "#/definitions/image"
},
"images": {
"type": "array",
"items": {
Expand Down Expand Up @@ -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": [
Expand Down
3 changes: 0 additions & 3 deletions content_schemas/formats/news_article.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
body: {
"$ref": "#/definitions/body",
},
image: {
"$ref": "#/definitions/image",
},
images: {
type: "array",
items: {
Expand Down
Loading