diff --git a/.talismanrc b/.talismanrc index 9569d48..4cb4d71 100644 --- a/.talismanrc +++ b/.talismanrc @@ -1,92 +1,6 @@ fileignoreconfig: -- filename: stack/environments/environments.json - checksum: 43f3562fd1dc0d33ddb8a9e6c408c7c0011027abe6db0b6630d1c410ec1c285b -- filename: stack/entries/landing_page/es/variants/bltbd80896a5b36ffcf/index.json - checksum: 2d27ed33706410d95c1e89fbc28199b0d22888628465707fae93a12364bb314c -- filename: stack/entries/landing_page/en/variants/bltbd80896a5b36ffcf/index.json - checksum: 0127ca9b1ba7038976c7118e31ee04ffb283df4701c27d4e356854a96170a72c -- filename: stack/entries/landing_page/en/b12df3f6-75af-4700-a3c6-dd87c26601b9-entries.json - checksum: 4652f7ee668da2d4bc7b95a2ccbb1620081705cc8cd76e5075066b21e6dd0f6a -- filename: stack/entries/home_page/fr/variants/blt2370c7c244de82e0/index.json - checksum: 5fd1ecc6c03372a2491a92777983ae602ea872eec70e410d864fdae846eb4288 -- filename: stack/entries/menu/en/index.json - checksum: 2e5b1a8a16f61bc3d9026a39bec003dc2b53996ca06c77ddc094142d68f2b228 -- filename: stack/entries/mega_menu/fr/index.json - checksum: 7a6ce0a7483f0311f58666bba76b59f43e8c4cb07466e73621d2cb88f98a1a9d -- filename: stack/entries/article/es/index.json - checksum: 9a90ba25b7e4d52d280e0fc83147a530e62cdb7251abbf41a5d10d5ba2f0fc65 -- filename: stack/entries/menu/de/index.json - checksum: dbbccfd9b8e2ccaf2df3f42520872d734c2f308fe931cb7618e84686f9b90560 -- filename: stack/entries/user_form_modal/es/index.json - checksum: b6dc183e377c9bf8dbf5b51a83dcf291ccad50f14cb488ae31a7c0b8b93d2f20 -- filename: stack/entries/article/en/3a994881-d164-41bd-b77e-e15c15ace0da-entries.json - checksum: 20492b2238ef361547194805edd9cf66f7f5069349d946cd41cfc22210efd0a3 -- filename: stack/personalize/audiences/audiences.json - checksum: ef0cba1423fcc88acc1a83645ef2ac315389587216aa0ab7d0df47abcbec37b3 -- filename: stack/entries/personalize_config/en/index.json - checksum: 8a51ab34ef6b9d2c1761b1c0a97b836eb142da71ce713fd316974b7e0fa29fc0 -- filename: stack/entries/user_form_modal/en/index.json - checksum: 4ea9aedd86e95811ee0e98b9f471de1abc514a3487abc21fd59164060fa9d648 -- filename: stack/entries/user_form_modal/de/index.json - checksum: 6141cf0bbdf9cff41743310f1e608bfc125223d269f71eabbd3cc40e8e9fabf3 -- filename: stack/content_types/web_configuration.json - checksum: 35ed538a782fbe12a1af1d07aa63677907d9aed94d8fa52a99f7669f658ed0d4 -- filename: stack/entries/article/en/variants/bltaedfbf71d0f91df0/index.json - checksum: 7b7348b1741013496d458a4a569bfa17072005f8284b0876b4eba79df7ab6b3b -- filename: stack/entries/mega_menu/de/0c21c0ca-786c-4a99-a990-0c594a583cdb-entries.json - checksum: d90a2616bc609ffef8483f122407e6d1bdedc2b7d7b9a08ff92f63dce705ad57 -- filename: stack/entries/mega_menu/es/6e3884e2-d983-4556-95b5-d5d47967f28d-entries.json - checksum: 0412fd294f32cdcd7a637a9984df40cd98133dc23429f71ee55653e5da29e1ff -- filename: stack/entries/hero_banner/es/index.json - checksum: 41a680edfa3d334add9231565da4b468ac1aa447b9fadee90b557d6b252c35d9 -- filename: stack/content_types/landing_page.json - checksum: 12241b8a2c037587c1b1bcb681950277f32b60e3a9d537655084a35732cbec4f -- filename: stack/entries/cta_group/fr/index.json - checksum: 17d6d1eea6a304574ab1b34ba987def0eb8a671a8ae9a72c2d96ef062f150312 -- filename: stack/entries/hero_banner/en/index.json - checksum: 9e7e55fb0a0bd721cd7b8e95cf4cf62e5fbe7699f35e69fe9cd7defd02024268 -- filename: stack/entries/home_page/fr/22cbb74c-bef1-4315-baa1-f7c749ef3157-entries.json - checksum: aa19065dc80fa1a09c21cadf480a87f95da02415522a1b5307d47f0f5ca9abd4 -- filename: stack/content_types/article_listing_page.json - checksum: c79a8c76307758fd00d1ee9ac591e65caabb082bfdb8afd576e078a93c38c8a1 -- filename: stack/entries/home_page/de/fd5f3039-0f84-4a00-af32-c8a1f4290522-entries.json - checksum: 2393fdb82d7572c1e61511783d12fa33cb519dd4c58a5ed66167eb74e9cac3d3 -- filename: stack/content_types/home_page.json - checksum: 81e90f44108c64c903357986dfe2862c766542dab26a6cc369563dd63e44266f -- filename: stack/entries/hero_banner/en/bd0d69ff-360b-4f18-b188-4cfdc6cea939-entries.json - checksum: 7a4176d039e0abd0ad732a3edc12902448428ed75779be33e7f702677a790552 -- filename: stack/entries/home_page/en/f967a7c7-7f27-45be-bfa4-3a8ba5a1a67c-entries.json - checksum: 68718f5df6d9cf8caa5b4b04a1314a3b1316bb6ee82d0c30b2c1a50c7c7a46a4 -- filename: stack/entries/home_page/es/bd397608-2f0e-4806-8036-b9075e347bf2-entries.json - checksum: fcc8793a7084cbde8121cedee48772998b416574ee42122b4bf760d5f2f6f3d7 -- filename: stack/entries/cta_group/de/5cff3e6f-8f1e-43c1-b111-49f17b9d1127-entries.json - checksum: 86aaed6032df51a800422117f09548a6b5bb723f163b6bee5f18ecf3d6173690 -- filename: stack/entries/cta_group/es/74a23a92-895a-4f90-bc33-afd1b36668f7-entries.json - checksum: 3251d522ccba37c32b071546455a86860219d86ffdedf188205d520d97483b06 -- filename: stack/entries/mega_menu/fr/73e33320-688a-4e24-ab86-3572e1ced26a-entries.json - checksum: 3489f6eee92f0383e90e098274da22d6f2fc266c0fbf10f3bff2e9b5c9fe7f90 -- filename: stack/assets/metadata.json - checksum: a7775a3ee44df09c5c21431f12cdde6f8fab023df3d7f90071c78fada3dd92fc -- filename: stack/entries/cta_group/en/56e1b775-1942-4e2f-a53b-4c4ee7404fc9-entries.json - checksum: 51328d125cac900512ff53a06f6b576b9c9aea55c69f85f1d8fea626f4e008e7 -- filename: stack/entries/cta_group/fr/0dcfeb3a-aed1-47ac-983c-27fafd5d2275-entries.json - checksum: 5ddd91f852f8330e617b1fd4a0c92d2ddc475197928b05287c2d6e66f9938d7c -- filename: stack/entries/navigation/fr/index.json - checksum: 4fee2d96bc033bb37fdbb2e955891463431e331ee38b62fabdc48b50b1e41e3e -- filename: stack/entries/mega_menu/en/cd6a5825-2769-4943-b1ee-9f10ae6edb38-entries.json - checksum: bdf99520e5940135a07238ef988e0308a7177cd6ca145fa30eef5d75594c9c0b -- filename: stack/entries/web_configuration/de/4c7b27eb-3363-4118-a779-67bcd9aff954-entries.json - checksum: c21a32000b6270a9df1ce19b3df37340759d2d451935d0ef5df4646a1d9b371e -- filename: stack/entries/web_configuration/es/c382c9ca-0f18-4452-9857-721cd529e862-entries.json - checksum: eb051c8360e13868075818d5540190f56a9579ed3ab093ea523232661c874e15 -- filename: stack/entries/web_configuration/fr/e2fbe302-90d8-4065-8c68-ab80832c696f-entries.json - checksum: f1ea5b40603ef89d1e32e216ea9a28de985677252ca6b8a4cf754f05fef4c78a +- filename: stack/global_fields/text_and_image_carousel.json + checksum: f3b2c193d158793f2e4d4598ae61fa72e9a72306397ccb8a0976c5ec445b55e9 - filename: stack/global_fields/globalfields.json - checksum: c52a625ffa4a81f07d6b36ff3e8db4e57c67854cadd35f123322cd0b64dbd0d4 -- filename: stack/entries/web_configuration/de/index.json - checksum: 9e2930800058e3a5eb9d555221d00480abb914938cdd77cf46122bf0f97640dc -- filename: stack/content_types/schema.json - checksum: 5e2fdadd9f08a9941b59156c498986a3bbb04faec5f4964506a9856e0c59692d -- filename: package.json - checksum: c8913e5c557954dff1bf1a044c5c7248960393687ef8c5e5960b24f6399c57c8 + checksum: 4aa20bb86d33e4732992d6a71b5873a29dbbd2f85a454c00aaea0f71ec7424c9 version: "1.0" \ No newline at end of file diff --git a/stack/global_fields/card_collection.json b/stack/global_fields/card_collection.json new file mode 100644 index 0000000..b028eaf --- /dev/null +++ b/stack/global_fields/card_collection.json @@ -0,0 +1,239 @@ +{ + "title": "Card Collection", + "uid": "card_collection", + "description": "", + "schema": [ + { + "data_type": "group", + "display_name": "Header", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "Please add the heading of the card collection section.", + "default_value": "Showcase Prime Collection", + "isTitle": true, + "placeholder": "Heading" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Sub Heading", + "uid": "sub_heading", + "field_metadata": { + "description": "Please add the sub-heading for the card section.", + "default_value": "A small description which can describe the Prime Collection", + "placeholder": "Sub-heading" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "header", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Cards", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Title", + "uid": "title", + "field_metadata": { + "description": "", + "default_value": "Sample Card Title", + "isTitle": true, + "placeholder": "Title" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "file", + "display_name": "Image", + "uid": "image", + "field_metadata": { + "description": "For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.", + "rich_text_type": "standard", + "image": true, + "isTitle": false + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false, + "dimension": { + "width": { + "min": null, + "max": null + }, + "height": { + "min": null, + "max": null + } + } + }, + { + "data_type": "text", + "display_name": "Image Alt Text", + "uid": "image_alt_text", + "field_metadata": { + "description": "Please add the alt text for the image.", + "default_value": "Alt Text for Image in Card Collection", + "placeholder": "Image Alt Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "description": "Please enter the card paragraph.", + "default_value": "Few lines describing Sample Card. Better to have 3 to 5 lines of description.", + "multiline": true, + "placeholder": "Content" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "Is Thumbnail", + "uid": "is_thumbnail", + "field_metadata": { + "description": "This helps in reducing the size of images using Contentstack Image optimization techniques. To view the result enable `Is Thumbnail` and publish the entry.", + "default_value": false, + "instruction": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Subtitle", + "uid": "subtitle", + "field_metadata": { + "description": "", + "default_value": "Sample Card Description", + "placeholder": "Subtitle" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "CTA", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Text", + "uid": "text", + "field_metadata": { + "description": "", + "default_value": "Text for describing call to action", + "placeholder": "CTA Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Link", + "reference_to": [ + "landing_page", + "home_page", + "article_listing_page", + "article" + ], + "field_metadata": { + "ref_multiple": false, + "ref_multiple_content_types": true + }, + "uid": "link", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cta", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cards", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false + } + ] +} \ No newline at end of file diff --git a/stack/global_fields/featured_articles.json b/stack/global_fields/featured_articles.json new file mode 100644 index 0000000..c7e18b0 --- /dev/null +++ b/stack/global_fields/featured_articles.json @@ -0,0 +1,59 @@ +{ + "title": "Featured Articles", + "uid": "featured_articles", + "description": "The Featured Articles will always be rendered at the end of the page through the Render method in the code base.", + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "", + "default_value": "Popular Articles", + "placeholder": "Heading" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Sub Heading", + "uid": "sub_heading", + "field_metadata": { + "description": "", + "default_value": "A small description which can describe Popular Articles Section", + "placeholder": "Sub-heading" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Articles", + "reference_to": [ + "article" + ], + "field_metadata": { + "ref_multiple": true, + "ref_multiple_content_types": true + }, + "uid": "articles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] +} \ No newline at end of file diff --git a/stack/global_fields/globalfields.json b/stack/global_fields/globalfields.json index 95f2edd..c5f5b87 100644 --- a/stack/global_fields/globalfields.json +++ b/stack/global_fields/globalfields.json @@ -1 +1,833 @@ -[{"title":"SEO and Search","uid":"seo","description":"","schema":[{"data_type":"text","display_name":"Title","uid":"title","field_metadata":{"description":"Please add the SEO title of the page.","default_value":"Title","placeholder":"Title","version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Description","uid":"description","field_metadata":{"description":"Please enter the SEO description of the page.","default_value":"Description","multiline":true,"placeholder":"Description","version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Canonical URL","uid":"canonical_url","field_metadata":{"description":"Please add the canonical url of the page.","default_value":"/","placeholder":"Canonical URL","version":3},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"boolean","display_name":"No index","uid":"no_index","field_metadata":{"description":"Please check if the value is no index","default_value":true},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"boolean","display_name":"No follow","uid":"no_follow","field_metadata":{"description":"Please check if the value is no follow.","default_value":true},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false}]},{"title":"Text","uid":"text","description":"","schema":[{"data_type":"json","display_name":"Content","uid":"content","field_metadata":{"allow_json_rte":true,"embed_entry":false,"description":"","default_value":"","multiline":false,"rich_text_type":"advanced","options":[]},"format":"","error_messages":{"format":""},"reference_to":["sys_assets"],"multiple":false,"non_localizable":false,"unique":false,"mandatory":false}]},{"title":"Featured Articles","uid":"featured_articles","description":"The Featured Articles will always be rendered at the end of the page through the Render method in the code base.","schema":[{"data_type":"text","display_name":"Heading","uid":"heading","field_metadata":{"description":"","default_value":"Popular Articles","placeholder":"Heading"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Sub Heading","uid":"sub_heading","field_metadata":{"description":"","default_value":"A small description which can describe Popular Articles Section","placeholder":"Sub-heading"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"reference","display_name":"Articles","reference_to":["article"],"field_metadata":{"ref_multiple":true,"ref_multiple_content_types":true},"uid":"articles","mandatory":false,"multiple":false,"non_localizable":false,"unique":false}]},{"title":"Text and Image Carousel","uid":"text_and_image_carousel","description":"","schema":[{"data_type":"group","display_name":"Carousel Items","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Heading","uid":"heading","field_metadata":{"description":"Please add the heading of the section.","default_value":"Section Heading","placeholder":"Heading","isTitle":true},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Content","uid":"content","field_metadata":{"description":"Please add the paragraph.","default_value":"Content required for describe the section heading. Better to have 5 to 7 lines of description.","multiline":true,"placeholder":"Content"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","field_metadata":{"description":"For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.","rich_text_type":"standard","image":true},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false,"dimension":{"width":{"min":null,"max":null},"height":{"min":null,"max":null}}},{"data_type":"text","display_name":"Image Alt Text","uid":"image_alt_text","field_metadata":{"description":"Please add the alt text to the image.","default_value":"Alt Text for Image in Section","placeholder":"Image Alt Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"boolean","display_name":"Is Thumbnail","uid":"is_thumbnail","field_metadata":{"description":"This helps in reducing the size of images using Contentstack Image optimization techniques. To view the result enable `Is Thumbnail` and publish the entry.","default_value":false},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"CTA","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Text","uid":"text","field_metadata":{"description":"","default_value":"Text for describing call to action","isTitle":true,"placeholder":"CTA Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"reference","display_name":"Link","reference_to":["landing_page","home_page","article_listing_page","article"],"field_metadata":{"ref_multiple":false,"ref_multiple_content_types":true},"uid":"link","mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"External URL","uid":"external_url","field_metadata":{"description":"","default_value":""},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"cta","mandatory":false,"multiple":true,"non_localizable":false,"unique":false,"max_instance":1},{"data_type":"group","display_name":"Styles","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Theme","display_type":"dropdown","enum":{"advanced":true,"choices":[{"value":"light","key":"Light"},{"value":"dark","key":"Dark"}]},"multiple":false,"uid":"theme","field_metadata":{"description":"","default_value":"light","default_key":"Light"},"mandatory":false,"non_localizable":false,"unique":false}],"uid":"styles","mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"carousel_items","mandatory":false,"multiple":true,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"Styles","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Image position","display_type":"dropdown","enum":{"advanced":true,"choices":[{"value":"right","key":"Right"},{"value":"left","key":"Left"}]},"multiple":false,"uid":"image_position","field_metadata":{"description":"Please select the image position.","default_value":"right","default_key":"Right"},"mandatory":true,"non_localizable":false,"unique":false}],"uid":"styles","mandatory":false,"multiple":false,"non_localizable":false,"unique":false}]},{"title":"Teaser","uid":"teaser","description":"","schema":[{"data_type":"text","display_name":"Heading","uid":"heading","field_metadata":{"description":"Please enter Heading for the Teaser component","default_value":"Enrich your website with Appealing Teaser","placeholder":"Heading"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Content","uid":"content","field_metadata":{"description":"","default_value":"Content required for describe the Teaser heading. Better to have 5 to 7 lines of description.","multiline":true,"placeholder":"Content"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"Image","field_metadata":{"description":"Optional background Image","instruction":""},"schema":[{"data_type":"file","display_name":"Image","uid":"image","extensions":[],"field_metadata":{"description":"For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.","rich_text_type":"standard","isTitle":false},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Image Alt Text","uid":"image_alt_text","field_metadata":{"description":"Please add the alt value for the image.","default_value":"Alt Text for Image in Teaser","placeholder":"Image Alt Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"image","mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"Video","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"file","display_name":"Video","uid":"video","extensions":["mp4","mov"],"field_metadata":{"description":"For optimal website performance, it is recommended to use videos with a file size of not more than 10 MB.","rich_text_type":"standard"},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false,"max":15728640,"min":null},{"data_type":"text","display_name":"Video Alt Text","uid":"video_alt_text","field_metadata":{"description":"","default_value":"Alt Text for Video in Teaser","placeholder":"Video Alt Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"video","mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"CTA","field_metadata":{"description":"Optional Call to Action","instruction":""},"schema":[{"data_type":"text","display_name":"Text","uid":"text","field_metadata":{"description":"Please add the title for the CTA button","default_value":"Text for describing call to action","isTitle":true,"placeholder":"CTA Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"reference","display_name":"Link","reference_to":["landing_page","home_page","article_listing_page","article"],"field_metadata":{"ref_multiple":false,"ref_multiple_content_types":true,"description":"Please select the internal link reference value."},"uid":"link","mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"External URL","uid":"external_url","field_metadata":{"description":"","default_value":"/","placeholder":"/"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"cta","mandatory":false,"multiple":true,"non_localizable":false,"unique":false,"max_instance":1},{"data_type":"group","display_name":"Styles","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Text Align","display_type":"dropdown","enum":{"advanced":false,"choices":[{"value":"Left"},{"value":"Right"}]},"multiple":false,"uid":"text_align","field_metadata":{"description":"","default_value":"Left"},"mandatory":false,"non_localizable":false,"unique":false}],"uid":"styles","mandatory":false,"multiple":false,"non_localizable":false,"unique":false}]},{"title":"Card Collection","uid":"card_collection","description":"","schema":[{"data_type":"group","display_name":"Header","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Heading","uid":"heading","field_metadata":{"description":"Please add the heading of the card collection section.","default_value":"Showcase Prime Collection","isTitle":true,"placeholder":"Heading"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Sub Heading","uid":"sub_heading","field_metadata":{"description":"Please add the sub-heading for the card section.","default_value":"A small description which can describe the Prime Collection","placeholder":"Sub-heading"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"header","mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"Cards","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Title","uid":"title","field_metadata":{"description":"","default_value":"Sample Card Title","isTitle":true,"placeholder":"Title"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"file","display_name":"Image","uid":"image","field_metadata":{"description":"For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.","rich_text_type":"standard","image":true,"isTitle":false},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false,"dimension":{"width":{"min":null,"max":null},"height":{"min":null,"max":null}}},{"data_type":"text","display_name":"Image Alt Text","uid":"image_alt_text","field_metadata":{"description":"Please add the alt text for the image.","default_value":"Alt Text for Image in Card Collection","placeholder":"Image Alt Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Content","uid":"content","field_metadata":{"description":"Please enter the card paragraph.","default_value":"Few lines describing Sample Card. Better to have 3 to 5 lines of description.","multiline":true,"placeholder":"Content"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"boolean","display_name":"Is Thumbnail","uid":"is_thumbnail","field_metadata":{"description":"This helps in reducing the size of images using Contentstack Image optimization techniques. To view the result enable `Is Thumbnail` and publish the entry.","default_value":false,"instruction":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"text","display_name":"Subtitle","uid":"subtitle","field_metadata":{"description":"","default_value":"Sample Card Description","placeholder":"Subtitle"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"group","display_name":"CTA","field_metadata":{"description":"","instruction":""},"schema":[{"data_type":"text","display_name":"Text","uid":"text","field_metadata":{"description":"","default_value":"Text for describing call to action","placeholder":"CTA Text"},"format":"","error_messages":{"format":""},"mandatory":false,"multiple":false,"non_localizable":false,"unique":false},{"data_type":"reference","display_name":"Link","reference_to":["landing_page","home_page","article_listing_page","article"],"field_metadata":{"ref_multiple":false,"ref_multiple_content_types":true},"uid":"link","mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"cta","mandatory":false,"multiple":false,"non_localizable":false,"unique":false}],"uid":"cards","mandatory":false,"multiple":true,"non_localizable":false,"unique":false}]}] \ No newline at end of file +[ + { + "title": "SEO and Search", + "uid": "seo", + "description": "", + "schema": [ + { + "data_type": "text", + "display_name": "Title", + "uid": "title", + "field_metadata": { + "description": "Please add the SEO title of the page.", + "default_value": "Title", + "placeholder": "Title", + "version": 3 + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Description", + "uid": "description", + "field_metadata": { + "description": "Please enter the SEO description of the page.", + "default_value": "Description", + "multiline": true, + "placeholder": "Description", + "version": 3 + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Canonical URL", + "uid": "canonical_url", + "field_metadata": { + "description": "Please add the canonical url of the page.", + "default_value": "/", + "placeholder": "Canonical URL", + "version": 3 + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "No index", + "uid": "no_index", + "field_metadata": { + "description": "Please check if the value is no index", + "default_value": true + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "No follow", + "uid": "no_follow", + "field_metadata": { + "description": "Please check if the value is no follow.", + "default_value": true + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] + }, + { + "title": "Text", + "uid": "text", + "description": "", + "schema": [ + { + "data_type": "json", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "allow_json_rte": true, + "embed_entry": false, + "description": "", + "default_value": "", + "multiline": false, + "rich_text_type": "advanced", + "options": [] + }, + "format": "", + "error_messages": { "format": "" }, + "reference_to": ["sys_assets"], + "multiple": false, + "non_localizable": false, + "unique": false, + "mandatory": false + } + ] + }, + { + "title": "Featured Articles", + "uid": "featured_articles", + "description": "The Featured Articles will always be rendered at the end of the page through the Render method in the code base.", + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "", + "default_value": "Popular Articles", + "placeholder": "Heading" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Sub Heading", + "uid": "sub_heading", + "field_metadata": { + "description": "", + "default_value": "A small description which can describe Popular Articles Section", + "placeholder": "Sub-heading" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Articles", + "reference_to": ["article"], + "field_metadata": { + "ref_multiple": true, + "ref_multiple_content_types": true + }, + "uid": "articles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] + }, + { + "title": "Text and Image Carousel", + "uid": "text_and_image_carousel", + "description": "", + "schema": [ + { + "data_type": "group", + "display_name": "Carousel Items", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "Please add the heading of the section.", + "default_value": "Section Heading", + "placeholder": "Heading", + "isTitle": true + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "description": "Please add the paragraph.", + "default_value": "Content required for describe the section heading. Better to have 5 to 7 lines of description.", + "multiline": true, + "placeholder": "Content" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "file", + "display_name": "Image", + "uid": "image", + "field_metadata": { + "description": "For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.", + "rich_text_type": "standard", + "image": true + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false, + "dimension": { + "width": { "min": null, "max": null }, + "height": { "min": null, "max": null } + } + }, + { + "data_type": "text", + "display_name": "Image Alt Text", + "uid": "image_alt_text", + "field_metadata": { + "description": "Please add the alt text to the image.", + "default_value": "Alt Text for Image in Section", + "placeholder": "Image Alt Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "Is Thumbnail", + "uid": "is_thumbnail", + "field_metadata": { + "description": "This helps in reducing the size of images using Contentstack Image optimization techniques. To view the result enable `Is Thumbnail` and publish the entry.", + "default_value": false + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "CTA", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Text", + "uid": "text", + "field_metadata": { + "description": "", + "default_value": "Text for describing call to action", + "isTitle": true, + "placeholder": "CTA Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Link", + "reference_to": [ + "landing_page", + "home_page", + "article_listing_page", + "article" + ], + "field_metadata": { + "ref_multiple": false, + "ref_multiple_content_types": true + }, + "uid": "link", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "External URL", + "uid": "external_url", + "field_metadata": { "description": "", "default_value": "" }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cta", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false, + "max_instance": 1 + }, + { + "data_type": "group", + "display_name": "Styles", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Theme", + "display_type": "dropdown", + "enum": { + "advanced": true, + "choices": [ + { "value": "light", "key": "Light" }, + { "value": "dark", "key": "Dark" } + ] + }, + "multiple": false, + "uid": "theme", + "field_metadata": { + "description": "", + "default_value": "light", + "default_key": "Light" + }, + "mandatory": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "styles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "carousel_items", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Styles", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Image position", + "display_type": "dropdown", + "enum": { + "advanced": true, + "choices": [ + { "value": "right", "key": "Right" }, + { "value": "left", "key": "Left" } + ] + }, + "multiple": false, + "uid": "image_position", + "field_metadata": { + "description": "Please select the image position.", + "default_value": "right", + "default_key": "Right" + }, + "mandatory": true, + "non_localizable": false, + "unique": false + } + ], + "uid": "styles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] + }, + { + "title": "Teaser", + "uid": "teaser", + "description": "", + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "Please enter Heading for the Teaser component", + "default_value": "Enrich your website with Appealing Teaser", + "placeholder": "Heading" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "description": "", + "default_value": "Content required for describe the Teaser heading. Better to have 5 to 7 lines of description.", + "multiline": true, + "placeholder": "Content" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Image", + "field_metadata": { + "description": "Optional background Image", + "instruction": "" + }, + "schema": [ + { + "data_type": "file", + "display_name": "Image", + "uid": "image", + "extensions": [], + "field_metadata": { + "description": "For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.", + "rich_text_type": "standard", + "isTitle": false + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Image Alt Text", + "uid": "image_alt_text", + "field_metadata": { + "description": "Please add the alt value for the image.", + "default_value": "Alt Text for Image in Teaser", + "placeholder": "Image Alt Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "image", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Video", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "file", + "display_name": "Video", + "uid": "video", + "extensions": ["mp4", "mov"], + "field_metadata": { + "description": "For optimal website performance, it is recommended to use videos with a file size of not more than 10 MB.", + "rich_text_type": "standard" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false, + "max": 15728640, + "min": null + }, + { + "data_type": "text", + "display_name": "Video Alt Text", + "uid": "video_alt_text", + "field_metadata": { + "description": "", + "default_value": "Alt Text for Video in Teaser", + "placeholder": "Video Alt Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "video", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "CTA", + "field_metadata": { + "description": "Optional Call to Action", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Text", + "uid": "text", + "field_metadata": { + "description": "Please add the title for the CTA button", + "default_value": "Text for describing call to action", + "isTitle": true, + "placeholder": "CTA Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Link", + "reference_to": [ + "landing_page", + "home_page", + "article_listing_page", + "article" + ], + "field_metadata": { + "ref_multiple": false, + "ref_multiple_content_types": true, + "description": "Please select the internal link reference value." + }, + "uid": "link", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "External URL", + "uid": "external_url", + "field_metadata": { + "description": "", + "default_value": "/", + "placeholder": "/" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cta", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false, + "max_instance": 1 + }, + { + "data_type": "group", + "display_name": "Styles", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Text Align", + "display_type": "dropdown", + "enum": { + "advanced": false, + "choices": [{ "value": "Left" }, { "value": "Right" }] + }, + "multiple": false, + "uid": "text_align", + "field_metadata": { "description": "", "default_value": "Left" }, + "mandatory": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "styles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] + }, + { + "title": "Card Collection", + "uid": "card_collection", + "description": "", + "schema": [ + { + "data_type": "group", + "display_name": "Header", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "Please add the heading of the card collection section.", + "default_value": "Showcase Prime Collection", + "isTitle": true, + "placeholder": "Heading" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Sub Heading", + "uid": "sub_heading", + "field_metadata": { + "description": "Please add the sub-heading for the card section.", + "default_value": "A small description which can describe the Prime Collection", + "placeholder": "Sub-heading" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "header", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Cards", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Title", + "uid": "title", + "field_metadata": { + "description": "", + "default_value": "Sample Card Title", + "isTitle": true, + "placeholder": "Title" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "file", + "display_name": "Image", + "uid": "image", + "field_metadata": { + "description": "For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.", + "rich_text_type": "standard", + "image": true, + "isTitle": false + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false, + "dimension": { + "width": { "min": null, "max": null }, + "height": { "min": null, "max": null } + } + }, + { + "data_type": "text", + "display_name": "Image Alt Text", + "uid": "image_alt_text", + "field_metadata": { + "description": "Please add the alt text for the image.", + "default_value": "Alt Text for Image in Card Collection", + "placeholder": "Image Alt Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "description": "Please enter the card paragraph.", + "default_value": "Few lines describing Sample Card. Better to have 3 to 5 lines of description.", + "multiline": true, + "placeholder": "Content" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "Is Thumbnail", + "uid": "is_thumbnail", + "field_metadata": { + "description": "This helps in reducing the size of images using Contentstack Image optimization techniques. To view the result enable `Is Thumbnail` and publish the entry.", + "default_value": false, + "instruction": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Subtitle", + "uid": "subtitle", + "field_metadata": { + "description": "", + "default_value": "Sample Card Description", + "placeholder": "Subtitle" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "CTA", + "field_metadata": { "description": "", "instruction": "" }, + "schema": [ + { + "data_type": "text", + "display_name": "Text", + "uid": "text", + "field_metadata": { + "description": "", + "default_value": "Text for describing call to action", + "placeholder": "CTA Text" + }, + "format": "", + "error_messages": { "format": "" }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Link", + "reference_to": [ + "landing_page", + "home_page", + "article_listing_page", + "article" + ], + "field_metadata": { + "ref_multiple": false, + "ref_multiple_content_types": true + }, + "uid": "link", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cta", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cards", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false + } + ] + } +] diff --git a/stack/global_fields/seo.json b/stack/global_fields/seo.json new file mode 100644 index 0000000..367d4aa --- /dev/null +++ b/stack/global_fields/seo.json @@ -0,0 +1,91 @@ +{ + "title": "SEO and Search", + "uid": "seo", + "description": "", + "schema": [ + { + "data_type": "text", + "display_name": "Title", + "uid": "title", + "field_metadata": { + "description": "Please add the SEO title of the page.", + "default_value": "Title", + "placeholder": "Title", + "version": 3 + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Description", + "uid": "description", + "field_metadata": { + "description": "Please enter the SEO description of the page.", + "default_value": "Description", + "multiline": true, + "placeholder": "Description", + "version": 3 + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Canonical URL", + "uid": "canonical_url", + "field_metadata": { + "description": "Please add the canonical url of the page.", + "default_value": "/", + "placeholder": "Canonical URL", + "version": 3 + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "No index", + "uid": "no_index", + "field_metadata": { + "description": "Please check if the value is no index", + "default_value": true + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "No follow", + "uid": "no_follow", + "field_metadata": { + "description": "Please check if the value is no follow.", + "default_value": true + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] +} \ No newline at end of file diff --git a/stack/global_fields/teaser.json b/stack/global_fields/teaser.json new file mode 100644 index 0000000..0571fc1 --- /dev/null +++ b/stack/global_fields/teaser.json @@ -0,0 +1,257 @@ +{ + "title": "Teaser", + "uid": "teaser", + "description": "", + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "Please enter Heading for the Teaser component", + "default_value": "Enrich your website with Appealing Teaser", + "placeholder": "Heading" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "description": "", + "default_value": "Content required for describe the Teaser heading. Better to have 5 to 7 lines of description.", + "multiline": true, + "placeholder": "Content" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Image", + "field_metadata": { + "description": "Optional background Image", + "instruction": "" + }, + "schema": [ + { + "data_type": "file", + "display_name": "Image", + "uid": "image", + "extensions": [], + "field_metadata": { + "description": "For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.", + "rich_text_type": "standard", + "isTitle": false + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Image Alt Text", + "uid": "image_alt_text", + "field_metadata": { + "description": "Please add the alt value for the image.", + "default_value": "Alt Text for Image in Teaser", + "placeholder": "Image Alt Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "image", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Video", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "file", + "display_name": "Video", + "uid": "video", + "extensions": [ + "mp4", + "mov" + ], + "field_metadata": { + "description": "For optimal website performance, it is recommended to use videos with a file size of not more than 10 MB.", + "rich_text_type": "standard" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false, + "max": 15728640, + "min": null + }, + { + "data_type": "text", + "display_name": "Video Alt Text", + "uid": "video_alt_text", + "field_metadata": { + "description": "", + "default_value": "Alt Text for Video in Teaser", + "placeholder": "Video Alt Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "video", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "CTA", + "field_metadata": { + "description": "Optional Call to Action", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Text", + "uid": "text", + "field_metadata": { + "description": "Please add the title for the CTA button", + "default_value": "Text for describing call to action", + "isTitle": true, + "placeholder": "CTA Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Link", + "reference_to": [ + "landing_page", + "home_page", + "article_listing_page", + "article" + ], + "field_metadata": { + "ref_multiple": false, + "ref_multiple_content_types": true, + "description": "Please select the internal link reference value." + }, + "uid": "link", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "External URL", + "uid": "external_url", + "field_metadata": { + "description": "", + "default_value": "/", + "placeholder": "/" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cta", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false, + "max_instance": 1 + }, + { + "data_type": "group", + "display_name": "Styles", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Text Align", + "display_type": "dropdown", + "enum": { + "advanced": false, + "choices": [ + { + "value": "Left" + }, + { + "value": "Right" + } + ] + }, + "multiple": false, + "uid": "text_align", + "field_metadata": { + "description": "", + "default_value": "Left" + }, + "mandatory": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "styles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] +} \ No newline at end of file diff --git a/stack/global_fields/text.json b/stack/global_fields/text.json new file mode 100644 index 0000000..b5ee026 --- /dev/null +++ b/stack/global_fields/text.json @@ -0,0 +1,32 @@ +{ + "title": "Text", + "uid": "text", + "description": "", + "schema": [ + { + "data_type": "json", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "allow_json_rte": true, + "embed_entry": false, + "description": "", + "default_value": "", + "multiline": false, + "rich_text_type": "advanced", + "options": [] + }, + "format": "", + "error_messages": { + "format": "" + }, + "reference_to": [ + "sys_assets" + ], + "multiple": false, + "non_localizable": false, + "unique": false, + "mandatory": false + } + ] +} \ No newline at end of file diff --git a/stack/global_fields/text_and_image_carousel.json b/stack/global_fields/text_and_image_carousel.json new file mode 100644 index 0000000..ffdf845 --- /dev/null +++ b/stack/global_fields/text_and_image_carousel.json @@ -0,0 +1,272 @@ +{ + "title": "Text and Image Carousel", + "uid": "text_and_image_carousel", + "description": "", + "schema": [ + { + "data_type": "group", + "display_name": "Carousel Items", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Heading", + "uid": "heading", + "field_metadata": { + "description": "Please add the heading of the section.", + "default_value": "Section Heading", + "placeholder": "Heading", + "isTitle": true + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "Content", + "uid": "content", + "field_metadata": { + "description": "Please add the paragraph.", + "default_value": "Content required for describe the section heading. Better to have 5 to 7 lines of description.", + "multiline": true, + "placeholder": "Content" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "file", + "display_name": "Image", + "uid": "image", + "field_metadata": { + "description": "For optimal website performance, it is recommended to use images with a file size of not more than 10 MB.", + "rich_text_type": "standard", + "image": true + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false, + "dimension": { + "width": { + "min": null, + "max": null + }, + "height": { + "min": null, + "max": null + } + } + }, + { + "data_type": "text", + "display_name": "Image Alt Text", + "uid": "image_alt_text", + "field_metadata": { + "description": "Please add the alt text to the image.", + "default_value": "Alt Text for Image in Section", + "placeholder": "Image Alt Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "boolean", + "display_name": "Is Thumbnail", + "uid": "is_thumbnail", + "field_metadata": { + "description": "This helps in reducing the size of images using Contentstack Image optimization techniques. To view the result enable `Is Thumbnail` and publish the entry.", + "default_value": false + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "CTA", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Text", + "uid": "text", + "field_metadata": { + "description": "", + "default_value": "Text for describing call to action", + "isTitle": true, + "placeholder": "CTA Text" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "reference", + "display_name": "Link", + "reference_to": [ + "landing_page", + "home_page", + "article_listing_page", + "article" + ], + "field_metadata": { + "ref_multiple": false, + "ref_multiple_content_types": true + }, + "uid": "link", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + }, + { + "data_type": "text", + "display_name": "External URL", + "uid": "external_url", + "field_metadata": { + "description": "", + "default_value": "" + }, + "format": "", + "error_messages": { + "format": "" + }, + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "cta", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false, + "max_instance": 1 + }, + { + "data_type": "group", + "display_name": "Styles", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Theme", + "display_type": "dropdown", + "enum": { + "advanced": true, + "choices": [ + { + "value": "light", + "key": "Light" + }, + { + "value": "dark", + "key": "Dark" + } + ] + }, + "multiple": false, + "uid": "theme", + "field_metadata": { + "description": "", + "default_value": "light", + "default_key": "Light" + }, + "mandatory": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "styles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ], + "uid": "carousel_items", + "mandatory": false, + "multiple": true, + "non_localizable": false, + "unique": false + }, + { + "data_type": "group", + "display_name": "Styles", + "field_metadata": { + "description": "", + "instruction": "" + }, + "schema": [ + { + "data_type": "text", + "display_name": "Image position", + "display_type": "dropdown", + "enum": { + "advanced": true, + "choices": [ + { + "value": "right", + "key": "Right" + }, + { + "value": "left", + "key": "Left" + } + ] + }, + "multiple": false, + "uid": "image_position", + "field_metadata": { + "description": "Please select the image position.", + "default_value": "right", + "default_key": "Right" + }, + "mandatory": true, + "non_localizable": false, + "unique": false + } + ], + "uid": "styles", + "mandatory": false, + "multiple": false, + "non_localizable": false, + "unique": false + } + ] +} \ No newline at end of file