Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Clove Contentful Types https://cloveapp.io
{
"contentTypes": [
{
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "hq8sy8wk8n0y"
}
},
"id": "knowledgeArticle",
"type": "ContentType",
"createdAt": "2020-11-24T22:03:49.348Z",
"updatedAt": "2021-11-12T22:26:27.528Z",
"environment": {
"sys": {
"id": "master",
"type": "Link",
"linkType": "Environment"
}
},
"publishedVersion": 33,
"publishedAt": "2021-11-12T22:26:27.528Z",
"firstPublishedAt": "2020-11-24T22:03:49.755Z",
"createdBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "7iSoGRlshxBGQEEUBsfpQz"
}
},
"updatedBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "7iSoGRlshxBGQEEUBsfpQz"
}
},
"publishedCounter": 17,
"version": 34,
"publishedBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "7iSoGRlshxBGQEEUBsfpQz"
}
}
},
"displayField": "title",
"name": "Knowledge Article",
"description": "",
"fields": [
{
"id": "title",
"name": "Title",
"type": "Symbol",
"localized": true,
"required": true,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "content",
"name": "Content",
"type": "RichText",
"localized": true,
"required": true,
"validations": [
{
"nodes": {
}
},
{
"enabledNodeTypes": [
"heading-1",
"heading-2",
"heading-3",
"heading-4",
"heading-5",
"heading-6",
"ordered-list",
"unordered-list",
"hr",
"blockquote",
"embedded-entry-block",
"embedded-asset-block",
"hyperlink",
"entry-hyperlink",
"asset-hyperlink",
"embedded-entry-inline"
],
"message": "Only heading 1, heading 2, heading 3, heading 4, heading 5, heading 6, ordered list, unordered list, horizontal rule, quote, block entry, asset, link to Url, link to entry, link to asset, and inline entry nodes are allowed"
},
{
"enabledMarks": [
"bold",
"italic",
"underline",
"code"
],
"message": "Only bold, italic, underline, and code marks are allowed"
}
],
"disabled": false,
"omitted": false
},
{
"id": "mediaUrl",
"name": "Media Url",
"type": "Text",
"localized": false,
"required": false,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "urlSlug",
"name": "URL Slug",
"type": "Symbol",
"localized": false,
"required": true,
"validations": [
{
"unique": true
}
],
"disabled": false,
"omitted": false
},
{
"id": "labels",
"name": "Labels",
"type": "Array",
"localized": false,
"required": false,
"validations": [
],
"disabled": false,
"omitted": false,
"items": {
"type": "Symbol",
"validations": [
]
}
},
{
"id": "sortPosition",
"name": "Sort Position",
"type": "Integer",
"localized": false,
"required": false,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "published",
"name": "Published?",
"type": "Boolean",
"localized": false,
"required": true,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "promoted",
"name": "Promoted?",
"type": "Boolean",
"localized": false,
"required": false,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "container",
"name": "Container",
"type": "Link",
"localized": false,
"required": true,
"validations": [
{
"linkContentType": [
"knowledgeContainer"
]
}
],
"disabled": false,
"omitted": false,
"linkType": "Entry"
}
]
},
{
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "hq8sy8wk8n0y"
}
},
"id": "knowledgeContainer",
"type": "ContentType",
"createdAt": "2020-11-24T22:09:33.646Z",
"updatedAt": "2020-12-17T05:53:15.606Z",
"environment": {
"sys": {
"id": "master",
"type": "Link",
"linkType": "Environment"
}
},
"publishedVersion": 27,
"publishedAt": "2020-12-17T05:53:15.606Z",
"firstPublishedAt": "2020-11-24T22:09:34.197Z",
"createdBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "7iSoGRlshxBGQEEUBsfpQz"
}
},
"updatedBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "7iSoGRlshxBGQEEUBsfpQz"
}
},
"publishedCounter": 14,
"version": 28,
"publishedBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "7iSoGRlshxBGQEEUBsfpQz"
}
}
},
"displayField": "title",
"name": "Knowledge Container",
"description": "Contains knowledge articles or other containers",
"fields": [
{
"id": "title",
"name": "Title",
"type": "Symbol",
"localized": true,
"required": true,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "urlSlug",
"name": "URL Slug",
"type": "Symbol",
"localized": false,
"required": true,
"validations": [
{
"unique": true
}
],
"disabled": false,
"omitted": false
},
{
"id": "image",
"name": "Cover Image",
"type": "Link",
"localized": false,
"required": false,
"validations": [
{
"linkMimetypeGroup": [
"image"
]
}
],
"disabled": false,
"omitted": false,
"linkType": "Asset"
},
{
"id": "content",
"name": "Content",
"type": "RichText",
"localized": true,
"required": false,
"validations": [
{
"size": {
"max": 500
},
"message": "Keep it short and relevant"
},
{
"nodes": {
}
}
],
"disabled": false,
"omitted": false
},
{
"id": "labels",
"name": "Labels",
"type": "Array",
"localized": false,
"required": false,
"validations": [
],
"disabled": false,
"omitted": false,
"items": {
"type": "Symbol",
"validations": [
]
}
},
{
"id": "sortPosition",
"name": "Sort Position",
"type": "Integer",
"localized": false,
"required": false,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "published",
"name": "Published?",
"type": "Boolean",
"localized": false,
"required": true,
"validations": [
],
"disabled": false,
"omitted": false
},
{
"id": "parentContainer",
"name": "Parent Container",
"type": "Link",
"localized": false,
"required": false,
"validations": [
{
"linkContentType": [
"knowledgeContainer"
]
}
],
"disabled": false,
"omitted": false,
"linkType": "Entry"
},
{
"id": "childSortMethod",
"name": "Child Sort Method",
"type": "Symbol",
"localized": false,
"required": true,
"validations": [
{
"in": [
"manual",
"title",
"creation_asc",
"creation_desc"
]
}
],
"disabled": false,
"omitted": false
}
]
}
]
}
@sb8244
Copy link
Author

sb8244 commented Dec 17, 2020

Generated via contentful space export with all other types of data removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment