changedInput schema / properties / mapping / additionalProperties / anyOf
Previous value: -[
- {
- "properties": {
- "bodyFormat": {
- "description": "How the post body is stored: markdown or lexical (rich text).",
- "enum": [
- "markdown",
- "lexical"
- ],
- "type": "string"
- },
- "collection": {
- "description": "CMS collection slug this channel publishes into.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "defaults": {
- "additionalProperties": {},
- "description": "Fixed values for required CMS fields Mark cannot fill, such as an author id.",
- "propertyNames": {
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "type": "object"
- },
- "fields": {
- "description": "CMS field paths Mark fills on each document.",
- "properties": {
- "author": {
- "description": "CMS field for the author.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "body": {
- "description": "CMS field for the post body.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "categories": {
- "description": "CMS field for categories.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "cover": {
- "description": "CMS field for the cover image.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "description": {
- "description": "CMS field for the meta description.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "excerpt": {
- "description": "CMS field for the short listing excerpt.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "ogImage": {
- "description": "CMS field for the social/OG image.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "publishedAt": {
- "description": "CMS field for the published-at timestamp.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "seoDescription": {
- "description": "CMS field for the SEO description.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "seoTitle": {
- "description": "CMS field for the SEO title.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "slug": {
- "description": "CMS field for the URL slug.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "tags": {
- "description": "CMS field for tags.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- },
- "title": {
- "description": "CMS field for the post title.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
- "type": "string"
- }
- },
- "required": [
- "title",
- "slug",
- "body",
- "description"
- ],
- "type": "object"
- },
- "mediaCollection": {
- "description": "Media collection for the cover image. Omit so this channel sends no images.",
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- "previewUrlTemplate": {
- "description": "Draft preview URL pattern. Must include {slug} or {id} (the CMS document id), for example https://www.example.com/blog/preview/{id}?token=SECRET. Omit if the CMS has no draft preview URL.",
- "maxLength": 2048,
- "minLength": 1,
- "type": "string"
- },
- "provider": {
- "const": "payload",
- "description": "Which website CMS publishes this channel. A channel maps to one CMS.",
- "type": "string"
- },
- "urlPattern": {
- "description": "Live page URL pattern. Must include {slug}, for example https://www.example.com/blog/{slug}.",
- "maxLength": 2048,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "collection",
- "fields",
- "bodyFormat",
- "urlPattern"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "bodyFormat": {
+ "description": "How the post body is stored: markdown or lexical (rich text).",
+ "enum": [
+ "markdown",
+ "lexical"
+ ],
+ "type": "string"
+ },
+ "collection": {
+ "description": "CMS collection slug this channel publishes into.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "defaults": {
+ "additionalProperties": {},
+ "description": "Fixed values for required CMS fields Mark cannot fill, such as an author id.",
+ "propertyNames": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "fields": {
+ "description": "CMS field paths Mark fills on each document.",
+ "properties": {
+ "author": {
+ "description": "CMS field for the author.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "body": {
+ "description": "CMS field for the post body.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "categories": {
+ "description": "CMS field for categories.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "cover": {
+ "description": "CMS field for the cover image.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "description": {
+ "description": "CMS field for the meta description.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "excerpt": {
+ "description": "CMS field for the short listing excerpt.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "ogImage": {
+ "description": "CMS field for the social/OG image.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "publishedAt": {
+ "description": "CMS field for the published-at timestamp.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "seoDescription": {
+ "description": "CMS field for the SEO description.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "seoTitle": {
+ "description": "CMS field for the SEO title.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "slug": {
+ "description": "CMS field for the URL slug.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "tags": {
+ "description": "CMS field for tags.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ },
+ "title": {
+ "description": "CMS field for the post title.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "slug",
+ "body",
+ "description"
+ ],
+ "type": "object"
+ },
+ "mediaCollection": {
+ "description": "Read only. Set the connection's mediaDestination instead.",
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ "previewUrlTemplate": {
+ "description": "Draft preview URL pattern. Must include {slug} or {id} (the CMS document id), for example https://www.example.com/blog/preview/{id}?token=SECRET. Omit if the CMS has no draft preview URL.",
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "provider": {
+ "const": "payload",
+ "description": "Which website CMS publishes this channel. A channel maps to one CMS.",
+ "type": "string"
+ },
+ "urlPattern": {
+ "description": "Live page URL pattern. Must include {slug}, for example https://www.example.com/blog/{slug}.",
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "collection",
+ "fields",
+ "bodyFormat",
+ "urlPattern"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]