module.exports = {
	SiteProvider: jest.fn(),
	config: {
		schemas: {
			config: {
				themes: [
					{
						label: "theme",
						value: "1",
						default: false,
					},
				],
				moduleCategories: [
					{
						label: "Developing",
						value: "developing",
						featured: true,
					},
					{
						label: "Spacers",
						value: "spacers",
						featured: true,
					},
					{
						label: "Interactive",
						value: "interactive",
					},
					{
						label: "Collections",
						value: "collections",
					},
					{
						label: "Articles And Events",
						value: "articlesAndEvents",
					},
					{
						label: "Content",
						value: "content",
					},
					{
						label: "Featured",
						value: "featured",
					},
					{
						label: "Studies",
						value: "studies",
					},
					{
						label: "People",
						value: "people",
					},
					{
						label: "Social",
						value: "social",
					},
					{
						label: "Iframe",
						value: "iframe",
					},
				],
			},
			ui: {
				templates: {
					default: {
						config: [
							{
								field: {
									title: "Name",
									key: "title",
									type: "TextField",
									mandatory: true,
									modifiable: true,
								},
							},
						],
					},
					BasicTemplate: {
						schemaType: "template",
						displayName: "Basic Template",
						component: "BasicTemplate",
						dataPacks: null,
						type: { label: "Static", value: "static" },
						config: [
							{
								title: "Style",
								key: "primaryLinkStyle",
								type: "VisualUniqueSelection",
								options: [
									{
										value: "primary",
										img: "img/themes/primaryStyle",
									},
									{
										value: "secondary",
										img: "img/themes/primaryStyle",
									},
									{
										value: "link",
										img: "img/themes/primaryStyle",
									},
								],
								columns: 3,
							},
						],
						content: [
							{
								title: "Hero Section",
								type: "ComponentArray",
								maxItems: 1,
								whiteList: ["BasicContent"],
								key: "heroSection",
							},
						],
						default: {
							type: "template",
							templateType: "BasicTemplate",
							heroSection: {
								component: "Section",
								name: "Hero Section",
								modules: [],
								sectionPosition: 1,
							},
						},
						thumbnails: {
							"default-theme": {
								"1x": "/thumbnails/HeroCard",
								"2x": "/thumbnails/HeroCard@2x",
							},
							"griddo-alt-theme": {
								"1x": "/thumbnails/HeroCard",
								"2x": "/thumbnails/HeroCard@2x",
							},
						},
					},
				},
				modules: {
					HeroCard: {
						schemaType: "component",
						component: "HeroCard",
						displayName: "Hero Card",
						dataPacks: null,
						configTabs: [
							{
								title: "content",
								fields: [
									{
										title: "Title",
										type: "HeadingField",
										key: "title",
										advanced: true,
										default: { tag: "span", content: "Title" },
										options: [
											{ value: "h1", label: "H1" },
											{ value: "h2", label: "H2" },
											{ value: "h3", label: "H3" },
											{ value: "h4", label: "H4" },
											{ value: "span", label: "span" },
										],
									},
									{ title: "Subtitle", type: "TextArea", key: "subtitle" },
									{
										title: "Link",
										type: "ComponentContainer",
										whiteList: ["Link"],
										key: "link",
										hideable: true,
									},
									{
										title: "Background Image",
										type: "ComponentContainer",
										whiteList: ["Image"],
										key: "backgroundImage",
										helptext: "Recommended minimum image size: 2508x1030",
									},
								],
							},
							{
								title: "config",
								fields: [
									{
										title: "Style",
										key: "theme",
										type: "VisualUniqueSelection",
										options: [
											{
												value: "defaultAlt",
												img: "/themes/STYLE01",
											},
											{
												value: "default",
												img: "/themes/STYLE02",
											},
											{
												value: "accent",
												img: "/themes/STYLE03",
											},
										],
										columns: 8,
									},
								],
							},
						],
						default: {
							component: "HeroCard",
							title: {
								content: "Title",
								tag: "span",
							},
							subtitle:
								"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",
							link: {
								component: "Link",
								text: "Link",
								url: {
									url: "",
									linkTo: null,
									newTab: false,
									noFollow: false,
								},
							},
							backgroundImage: {
								component: "Image",
							},
							theme: "accent",
						},
						thumbnails: {
							"1x": "/thumbnails/HeroCard",
							"2x": "/thumbnails/HeroCard@2x",
						},
					},
					BasicContent: {
						schemaType: "module",
						displayName: "Basic Content",
						component: "BasicContent",
						category: "content",
						dataPacks: null,
						configTabs: [
							{
								title: "content",
								fields: [
									{
										title: "Title",
										type: "HeadingField",
										key: "title",
										advanced: true,
										hideable: true,
										isMockup: true,
										default: { tag: "h2", content: "Title" },
										options: [
											{ value: "h1", label: "H1" },
											{ value: "h2", label: "H2" },
											{ value: "h3", label: "H3" },
											{ value: "h4", label: "H4" },
											{ value: "span", label: "span" },
										],
									},
									{
										title: "Subtitle",
										type: "RichText",
										key: "subtitle",
										hideable: true,
										isMockup: true,
									},
									{
										title: "Content",
										type: "Wysiwyg",
										key: "content",
										hideable: true,
										isMockup: true,
									},
									{
										title: "Primary link",
										type: "ComponentContainer",
										whiteList: ["Link"],
										key: "primaryLink",
										hideable: true,
									},
									{
										title: "Secondary link",
										type: "ComponentContainer",
										whiteList: ["Link"],
										key: "secondaryLink",
										hideable: true,
									},
									{
										title: "Additional content",
										type: "ComponentContainer",
										whiteList: ["LinkableImage", "Video"],
										key: "additionalContent",
										hideable: true,
										helptext: "Recommended minimum image size: 792x514",
									},
								],
							},
							{
								title: "config",
								fields: [
									{
										title: "Anchor ID",
										type: "TextField",
										key: "anchorID",
										prefix: "#",
										hideable: true,
										helptext:
											"Do not use uppercase letter or spaces and cannot start with numbers. Example: this-is-an-anchor.",
									},
									{
										title: "Layout",
										key: "layout",
										type: "VisualUniqueSelection",
										mandatory: true,
										options: [
											{ value: "L001", img: "layouts.modules.basicContent[1]" },
											{ value: "L002", img: "layouts.modules.basicContent[2]" },
											{ value: "L003", img: "layouts.modules.basicContent[3]" },
											{ value: "L004", img: "layouts.modules.basicContent[4]" },
											{ value: "L005", img: "layouts.modules.basicContent[5]" },
											{ value: "L006", img: "layouts.modules.basicContent[6]" },
											{ value: "L007", img: "layouts.modules.basicContent[7]" },
										],
										columns: 2,
									},
									{
										title: "Style",
										key: "theme",
										type: "VisualUniqueSelection",
										mandatory: true,
										options: [
											{
												theme: "default-theme",
												options: [
													{ value: "default", img: "griddoDef.subthemes.def" },
													{ value: "defaultAlt", img: "griddoDef.subthemes.defAlt" },
												],
											},
											{
												theme: "griddo-alt-theme",
												options: [
													{ value: "default", img: "griddoAlt.subthemes.def" },
													{ value: "defaultAlt", img: "griddoAlt.subthemes.defAlt" },
												],
											},
										],
										columns: 8,
									},
									{
										title: "Vertical Spacing",
										key: "verticalSpacing",
										type: "RadioGroup",
										options: [
											{ name: "small", value: "small", title: "Small" },
											{ name: "medium", value: "medium", title: "Medium" },
											{ name: "large", value: "large", title: "Large" },
										],
									},
								],
							},
						],
					},
					CardCollection: {
						schemaType: "module",
						displayName: "Card Collection",
						component: "CardCollection",
						category: "collections",
						dataPacks: null,
						configTabs: [
							{
								title: "content",
								fields: [
									{
										title: "Title",
										type: "HeadingField",
										key: "title",
										advanced: true,
										hideable: true,
										default: { tag: "h2", content: "Title" },
										options: [
											{ value: "h1", label: "H1" },
											{ value: "h2", label: "H2" },
											{ value: "h3", label: "H3" },
											{ value: "h4", label: "H4" },
											{ value: "span", label: "span" },
										],
									},
									{
										title: "Subtitle",
										type: "RichText",
										key: "subtitle",
										hideable: true,
									},
									{
										title: "Detail",
										type: "RichText",
										key: "detail",
										hideable: true,
									},
									{
										title: "Cards",
										type: "ComponentArray",
										elementUniqueSelection: true,
										mandatory: true,
										maxItems: null,
										key: "elements",
										whiteList: [
											"BasicCard",
											"BasicBoxedCard",
											"BasicIconCard",
											"ImageCard",
											"IconCard",
											"IconCenteredCard",
											"LogoCard",
										],
									},
									{
										title: "Grouping Link",
										type: "ComponentContainer",
										whiteList: ["Link"],
										key: "groupingLink",
										hideable: true,
									},
								],
							},
							{
								title: "config",
								fields: [
									{
										title: "Anchor ID",
										type: "TextField",
										key: "anchorID",
										prefix: "#",
										hideable: true,
										helptext:
											"Do not use uppercase letter or spaces and cannot start with numbers. Example: this-is-an-anchor.",
									},
									{
										title: "Layout",
										key: "layout",
										type: "VisualUniqueSelection",
										options: [
											{ value: "L001", img: "layouts.modules.cardCollection[1]" },
											{ value: "L002", img: "layouts.modules.cardCollection[2]" },
											{ value: "L003", img: "layouts.modules.cardCollection[3]" },
											{ value: "L004", img: "layouts.modules.cardCollection[4]" },
											{ value: "L005", img: "layouts.modules.cardCollection[5]" },
										],
										columns: 2,
									},
									{
										title: "Style",
										key: "theme",
										type: "VisualUniqueSelection",
										options: [
											{
												theme: "default-theme",
												options: [
													{ value: "default", img: "griddoDef.subthemes.def" },
													{ value: "defaultAlt", img: "griddoDef.subthemes.defAlt" },
													{ value: "accent", img: "griddoDef.subthemes.accent" },
													{ value: "inverse", img: "griddoDef.subthemes.inverse" },
												],
											},
											{
												theme: "griddo-alt-theme",
												options: [
													{ value: "default", img: "griddoAlt.subthemes.def" },
													{ value: "defaultAlt", img: "griddoAlt.subthemes.defAlt" },
													{ value: "accent", img: "griddoAlt.subthemes.accent" },
													{ value: "inverse", img: "griddoAlt.subthemes.inverse" },
												],
											},
										],
										columns: 8,
									},
									{
										title: "Vertical Spacing",
										key: "verticalSpacing",
										type: "RadioGroup",
										options: [
											{ name: "small", value: "small", title: "Small" },
											{ name: "medium", value: "medium", title: "Medium" },
											{ name: "large", value: "large", title: "Large" },
										],
									},

									{
										title: "Card Style",
										key: "kind",
										type: "VisualUniqueSelection",
										elementUniqueSelection: true,
										options: [
											{
												value: "BasicCard",
												img: "${CLOUDINARY_URL}/thumbnails/BasicCard",
											},
											{
												value: "BasicBoxedCard",
												img: "${CLOUDINARY_URL}/thumbnails/BasicBoxedCard",
											},
											{
												value: "BasicIconCard",
												img: "${CLOUDINARY_URL}/thumbnails/BasicIconCard",
											},
											{
												value: "ImageCard",
												img: "${CLOUDINARY_URL}/thumbnails/ImageCard",
											},
											{
												value: "IconCard",
												img: "${CLOUDINARY_URL}/thumbnails/IconCard",
											},
											{
												value: "IconCenteredCard",
												img: "${CLOUDINARY_URL}/thumbnails/IconCenteredCard",
											},
											{
												value: "LogoCard",
												img: "${CLOUDINARY_URL}/thumbnails/LogoCard",
											},
										],
										columns: 3,
									},
								],
							},
						],
					},
					MultiPageModule: {
						schemaType: "module",
						displayName: "Multi Page Module",
						component: "MultiPageModule",
						category: "developing",
						dataPacks: null,
						configTabs: [
							{
								title: "content",
								fields: [
									{
										title: "Title",
										type: "TextField",
									},
									{
										title: "Multi Page Element",
										type: "ComponentArray",
										maxItems: 5,
										whiteList: ["MultiPageElement"],
										key: "elements",
										mandatory: true,
									},
								],
							},
							{
								title: "config",
								fields: [
									{
										title: "Anchor ID",
										type: "TextField",
										key: "anchorID",
										prefix: "#",
										hideable: true,
										helptext:
											"Do not use uppercase letter or spaces and cannot start with numbers. Example: this-is-an-anchor.",
									},
								],
							},
						],
						default: {
							anchorID: null,
							component: "MultiPageModule",
							title: "Lorem Ipsum",
							hasGriddoMultiPage: true,
							elements: [
								{
									component: "MultiPageElement",
									title: "Tab title",
									sectionSlug: "tab-01",
									metaTitle: "The meta title",
									metaDescription: "The meta description",
									componentModules: [],
								},
								{
									component: "MultiPageElement",
									title: "Tab title",
									sectionSlug: "tab-02",
									metaTitle: "The meta title",
									metaDescription: "The meta description",
									componentModules: [],
								},
								{
									component: "MultiPageElement",
									title: "Tab title",
									sectionSlug: "tab-03",
									metaTitle: "The meta title",
									metaDescription: "The meta description",
									componentModules: [],
								},
							],
						},
						thumbnails: {
							"1x": `/thumbnails/MultiPageModule`,
							"2x": `/thumbnails/MultiPageModule@2x`,
						},
					},
					MultiPageElement: {
						schemaType: "component",
						displayName: "Multi Page Element",
						component: "MultiPageElement",
						dataPacks: null,
						configTabs: [
							{
								title: "content",
								fields: [
									{
										title: "Title",
										type: "TextField",
										key: "title",
									},
									{
										title: "Component",
										type: "ComponentArray",
										hideable: true,
										mandatory: true,
										whiteList: ["BasicContent"],
										key: "componentModules",
									},
								],
							},

							{
								title: "Seo",
								fields: [
									{
										title: "Section Slug",
										key: "sectionSlug",
										type: "TextField",
									},
									{
										title: "Meta title",
										key: "metaTitle",
										type: "TextField",
									},
									{
										title: "Meta description",
										key: "metaDescription",
										type: "TextField",
									},
								],
							},
						],

						default: {
							component: "MultiPageElement",
							title: "Tab title",
							sectionSlug: "tab-01",
							metaTitle: "The meta title",
							metaDescription: "The meta description",
							componentModules: [],
						},
					},
				},
			},
			contentTypes: {
				structuredData: {
					PROGRAMS: {
						title: "Programs",
						dataPacks: ["STUDIES"],
						local: false,
						taxonomy: false,
						fromPage: true,
						translate: true,
						clone: null,
						defaultValues: null,
						schema: {
							templates: ["ProgramDetail"],
							searchFrom: [],
							fields: [
								{
									key: "title",
									title: "Title",
									type: "TextField",
									from: "title",
								},
								{
									key: "programType",
									title: "Type of program",
									type: "AsyncCheckGroup",
									source: "PROGRAM_TYPES",
									from: "programType",
								},
								{
									key: "programFormat",
									title: "Format of program",
									type: "AsyncCheckGroup",
									source: "PROGRAM_FORMAT",
									from: "programFormat",
								},
								{
									key: "schoolsData",
									title: "Schools",
									name: "Schools Data",
									type: "AsyncCheckGroup",
									from: "schoolsData",
									source: "SCHOOLS",
									indexable: true,
									showList: true,
								},
								{
									key: "pathWaysData",
									title: "PathWay Data",
									name: "PathWay Data",
									type: "ReferenceField",
									from: "pathWaysData",
								},
								{
									key: "abstract",
									title: "Abstract",
									type: "RichText",
									from: "abstract",
								},
								{
									key: "programQuickFactsSection",
									title: "Program Quick Facts",
									type: "ComponentArray",
									from: "programQuickFactsSection",
								},
								{
									key: "heroSection",
									title: "Hero Section",
									type: "ComponentArray",
									from: "heroSection",
								},
							],
						},
					},
					TEACHERS: {
						title: "Teachers",
						dataPacks: ["TEACHERS"],
						local: false,
						taxonomy: false,
						fromPage: true,
						translate: true,
						schema: {
							templates: ["TeacherDetail"],
							fields: [
								{
									key: "title",
									title: "Name",
									type: "TextField",
									from: "title",
									mandatory: true,
								},
								{
									key: "image",
									title: "Image",
									type: "ImageField",
									from: "image",
									mandatory: true,
								},
								{
									key: "position",
									title: "Position",
									type: "TextField",
									from: "position",
									mandatory: true,
								},
								{
									key: "linkedin",
									title: "Linkedin",
									from: "linkedin",
									type: "UrlField",
								},
								{
									key: "units",
									title: "Unit",
									from: "categories.units",
									type: "AsyncCheckGroup",
									source: "UNIT",
								},
								{
									key: "categories.schools",
									title: "Schools",
									from: "categories.schools",
									type: "AsyncCheckGroup",
									source: "SCHOOLS",
									indexable: true,
									showList: true,
								},
								{
									key: "pathways",
									title: "Pathways",
									from: "categories.pathways",
									type: "AsyncCheckGroup",
									source: "PATHWAYS",
								},
								{
									key: "programs",
									title: "Programs",
									from: "categories.programs",
									type: "AsyncCheckGroup",
									source: "PROGRAMS",
								},
							],
						},
						clone: null,
						defaults: null,
					},
					ARTICLES: {
						title: "Articles",
						dataPacks: ["ARTICLES"],
						local: false,
						taxonomy: false,
						fromPage: false,
						translate: true,
						schema: {
							fields: [
								{
									key: "title",
									title: "Title",
									type: "TextField",
									mandatory: true,
								},
								{
									key: "subtitle",
									title: "Subtitle",
									type: "TextField",
									mandatory: true,
								},
								{
									key: "content",
									title: "Content",
									type: "RichText",
									mandatory: true,
								},
								{
									key: "linkText",
									title: "Link text",
									type: "TextField",
									mandatory: true,
								},
								{
									key: "link",
									title: "Link",
									type: "UrlField",
									mandatory: true,
								},
								{
									key: "image",
									title: "Image",
									type: "ImageField",
									mandatory: true,
								},
							],
						},
						clone: null,
						defaultValues: null,
					},
					NEWS: {
						title: "News",
						dataPacks: ["NEWS"],
						local: false,
						taxonomy: false,
						fromPage: true,
						translate: true,
						schema: {
							templates: ["NewsDetail"],
							fields: [
								{
									key: "title",
									title: "Title",
									from: "title",
									type: "TextField",
								},
								{
									key: "abstract",
									title: "Abstract",
									from: "abstract",
									type: "TextField",
								},
								{
									key: "image",
									title: "Image",
									from: "image",
									type: "ImageField",
								},
								{
									key: "categories",
									title: "Categories",
									from: "categories",
									type: "AsyncCheckGroup",
									source: "NEWS_AREAS",
									indexable: true,
									showList: true,
								},
								{
									key: "lead",
									title: "Lead",
									from: "lead",
									type: "TextField",
								},
								{
									key: "longAbstract",
									title: "longAbstract",
									from: "longAbstract",
									type: "TextField",
								},
								{
									key: "content",
									title: "Content",
									from: "content",
									type: "TextField",
								},
								{
									key: "date",
									title: "Date",
									from: "date",
									type: "TextField",
								},
							],
							searchFrom: ["lead", "longAbstract", "content"],
						},
						clone: null,
						defaultValues: null,
					},
					STORY_TYPE: {
						title: "Story Type",
						dataPacks: ["STORIES"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					STORY_PROFILE: {
						title: "Story Profile",
						dataPacks: ["STORIES", "PEOPLE"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					STORIES: {
						title: "Stories",
						dataPacks: ["STORIES"],
						local: false,
						taxonomy: false,
						fromPage: true,
						translate: true,
						schema: {
							templates: ["StoryDetail"],
							fields: [
								{
									key: "title",
									title: "Title",
									type: "TextField",
									from: "title",
									mandatory: true,
									indexable: true,
								},
								{
									key: "storyType",
									title: "Type of story",
									type: "AsyncCheckGroup",
									source: "STORY_TYPE",
									from: "storyType",
									mandatory: true,
								},
								{
									key: "storyProfile",
									title: "Profile",
									type: "AsyncCheckGroup",
									source: "STORY_PROFILE",
									from: "storyProfile",
									mandatory: true,
									indexable: true,
									showList: true,
								},
								{
									key: "quote",
									title: "Quote",
									type: "RichText",
									from: "quote",
									mandatory: true,
								},
								{
									key: "image",
									title: "Image",
									type: "TextField",
									from: "image",
								},
								{
									key: "who",
									title: "Who",
									type: "TextField",
									from: "who",
									mandatory: true,
								},
								{
									key: "position",
									title: "Position",
									type: "TextField",
									from: "position",
									mandatory: true,
								},
							],
							searchFrom: ["quote", "who", "position"],
						},
						clone: null,
						defaultValues: null,
					},
					PEOPLE: {
						title: "People",
						dataPacks: ["PEOPLE"],
						local: false,
						taxonomy: false,
						fromPage: false,
						translate: true,
						schema: {
							fields: [
								{
									key: "title",
									title: "Name",
									type: "TextField",
									mandatory: true,
								},
								{
									key: "profile",
									title: "Profile",
									from: "profile",
									type: "AsyncCheckGroup",
									source: "STORY_PROFILE",
									indexable: true,
									showList: true,
								},
								{
									key: "image",
									title: "Image",
									type: "ImageField",
									mandatory: true,
								},
								{
									key: "position",
									title: "Position",
									type: "TextField",
									mandatory: true,
								},
								{
									key: "linkedin",
									title: "Linkedin",
									type: "UrlField",
								},
								{
									key: "phone",
									title: "Phone",
									type: "TextField",
								},
								{
									key: "email",
									title: "Email",
									type: "TextField",
								},
								{
									key: "imageBackground",
									title: "imageBackground",
									type: "ImageField",
								},
								{
									key: "modalDetail",
									title: "Modal Detail",
									type: "RichText",
								},
							],
							searchFrom: [],
						},
						clone: null,
						defaultValues: null,
					},
					TESTIMONIALS: {
						title: "Testimonials",
						dataPacks: ["TESTIMONIALS"],
						local: false,
						taxonomy: false,
						fromPage: false,
						translate: true,
						schema: {
							fields: [
								{
									key: "image",
									title: "Image",
									type: "ImageField",
									mandatory: true,
								},
								{
									key: "quote",
									title: "Quote",
									type: "RichText",
									mandatory: true,
								},
								{
									key: "title",
									title: "Author",
									type: "TextField",
									mandatory: true,
									searchable: false,
								},
								{
									key: "jobTitle",
									title: "Job Title",
									type: "RichText",
									mandatory: true,
								},
								{
									key: "school",
									title: "School",
									from: "school",
									type: "AsyncCheckGroup",
									source: "SCHOOLS",
									indexable: true,
									showList: true,
								},
							],
						},
						clone: null,
						defaultValues: {
							quote: "Lorem ipsum",
							title: "Title",
							jobTitle: "Job title",
						},
					},
					EVENTS: {
						title: "Events",
						dataPacks: ["EVENTS"],
						local: false,
						taxonomy: false,
						fromPage: true,
						translate: true,
						schema: {
							templates: ["EventDetail"],
							fields: [
								{
									key: "title",
									title: "Title",
									type: "TextField",
									from: "title",
								},
								{
									key: "image",
									title: "Image",
									type: "ImageField",
									from: "image",
								},
								{
									key: "tag",
									title: "Tag",
									type: "TextField",
									from: "tag",
								},
								{
									key: "dateTime",
									title: "Event date and time",
									type: "DateField",
									from: "dateTime",
									indexable: true,
								},
								{
									key: "eventHour",
									title: "Event Hour",
									type: "TextField",
									from: "eventHour",
								},
								{
									key: "language",
									title: "Language",
									type: "TextField",
									from: "language",
								},
								{
									key: "address",
									title: "Address",
									type: "TextField",
									from: "address",
								},
								{
									key: "country",
									title: "Country",
									type: "TextField",
									from: "country",
								},
								{
									key: "distributorDescription",
									title: "Distributor description",
									type: "TextField",
									from: "distributorDescription",
								},
								{
									key: "addToCalendar",
									title: "Add to calendar button",
									type: "ComponentContainer",
									from: "addToCalendar",
								},
								{
									key: "eventAreas",
									title: "Event Areas",
									type: "AsyncCheckGroup",
									source: "EVENT_AREAS",
									from: "eventAreas",
								},
								{
									key: "eventLocation",
									title: "Event Locations",
									type: "AsyncCheckGroup",
									source: "EVENT_LOCATIONS",
									from: "eventLocation",
								},
								{
									key: "eventFormat",
									title: "Event Formats",
									type: "AsyncCheckGroup",
									source: "EVENT_FORMATS",
									from: "eventFormat",
								},
								{
									key: "programType",
									title: "Program Type",
									type: "AsyncCheckGroup",
									source: "PROGRAM_TYPES",
									from: "programType",
								},
								{
									key: "eventRegion",
									title: "Region",
									type: "AsyncCheckGroup",
									source: "EVENT_REGION",
									from: "eventRegion",
									indexable: true,
									showList: true,
								},
							],
							searchFrom: ["tag"],
						},
						clone: null,
						defaultValues: null,
					},
					STUDYPLANS: {
						title: "StudyPlans",
						dataPacks: ["STUDYPLANS"],
						local: false,
						taxonomy: false,
						fromPage: false,
						translate: true,
						schema: {
							fields: [
								{
									key: "title",
									title: "Title",
									type: "TextField",
									mandatory: true,
									searchable: false,
								},
								{
									type: "ArrayFieldGroup",
									title: "",
									key: "years",
									name: "Year",
									fields: [
										{
											title: "Title",
											type: "TextField",
											key: "yearTitle",
											mandatory: "true",
											isTitle: true,
										},
										{
											title: "Title Description",
											type: "TextField",
											key: "yearSubtitle",
										},
										{
											title: "Year Description",
											type: "RichText",
											key: "yearDescription",
										},
										{
											key: "divider",
											title: "",
											type: "FieldsDivider",
											data: {
												title: "Year Media",
												text: "You can add a video or image to the year. if you add both, image will be the thumbnail of the video.",
											},
										},
										{
											key: "yearVideo",
											title: "Year Video URL",
											type: "TextField",
										},
										{
											key: "yearImg",
											title: "Year Image",
											type: "ImageField",
										},
										{
											type: "ArrayFieldGroup",
											title: "SEMESTERS",
											key: "semesters",
											name: "Semester",
											mandatory: "true",
											fields: [
												{
													title: "Title",
													type: "TextField",
													key: "semTitle",
													mandatory: "true",
													isTitle: true,
												},
												{
													type: "ArrayFieldGroup",
													title: "Subjects",
													key: "subjects",
													name: "Subject",
													mandatory: "true",
													fields: [
														{
															title: "Title",
															type: "TextField",
															key: "subjTitle",
															mandatory: "true",
															isTitle: true,
														},
														{
															title: "Type",
															type: "TextField",
															key: "subjType",
															mandatory: "true",
														},
														{
															title: "Credits",
															type: "NumberField",
															key: "subjCredits",
															mandatory: "true",
														},
														{
															type: "ReferenceField",
															source: ["TEACHERS"],
															key: "subjTeachers",
															title: "Teachers",
															selectionType: ["manual"],
															maxItems: 4,
														},
														{
															title: "Document",
															type: "ConditionalField",
															key: "documentConditional",
															options: [
																{
																	value: "file",
																	title: "Upload File",
																	name: "file",
																},
																{
																	value: "url",
																	title: "Url",
																	name: "url",
																},
															],
															fields: [
																{
																	title: "Document File",
																	type: "FileField",
																	key: "subjDocumentFile",
																	condition: "file",
																},
																{
																	title: "Document URL",
																	type: "TextField",
																	key: "subjDocumentUrl",
																	placeholder: "https://",
																	condition: "url",
																},
															],
														},
													],
													arrayType: "drowpDown",
													divider: {
														title: "SUBJECT DATA",
														text: "You can add one or more subjects to this Semester",
													},
												},
											],
											arrayType: "drowpDown",
											divider: {
												title: "",
												text: "",
											},
										},
									],
									arrayType: "drowpDown",
									divider: {
										title: "STUDY PLAN DATA",
										text: "You can add one or more years to this Study Plan",
									},
								},
								{
									type: "ArrayFieldGroup",
									title: "",
									key: "CCS",
									name: "Credit",
									fields: [
										{
											title: "Credits Title",
											type: "TextField",
											key: "CCSTitle",
										},
										{
											title: "Credits Number",
											type: "NumberField",
											key: "CCSNumber",
										},
									],
									arrayType: "inline",
									divider: {
										title: "COURSE CREDITS SUMMARY",
										text: "You can create a table with course credits summary",
									},
								},
								{
									key: "divider",
									title: "",
									type: "FieldsDivider",
									data: {
										title: "",
										text: "",
									},
								},
								{
									title: "Total Credits Title",
									type: "TextField",
									key: "totalCreditsTitle",
								},
								{
									title: "Total Credits Number",
									type: "NumberField",
									key: "totalCreditsNumber",
								},
								{
									key: "divider",
									title: "",
									type: "FieldsDivider",
									data: {
										title: "Adviser Module",
										text: "You can add an Adviser Module",
									},
								},
								{
									title: "Adviser Module Title",
									type: "TextField",
									key: "adTitle",
								},
								{
									title: "Adviser Module Detail",
									type: "TextField",
									key: "adDetail",
								},
								{
									title: "Adviser Module Link",
									type: "UrlField",
									key: "adUrl",
								},
							],
						},
						clone: null,
						defaultValues: null,
					},
					UNIT: {
						title: "Unit",
						dataPacks: ["NEWS", "STORIES", "TEACHERS", "STUDIES"],
						local: false,
						taxonomy: false,
						fromPage: false,
						translate: true,
						schema: {
							fields: [
								{
									key: "title",
									title: "Title",
									type: "TextField",
									mandatory: true,
								},
							],
						},
						clone: null,
						defaults: null,
					},
					STUDY_LANDING_TYPE: {
						title: "Study Landing type",
						dataPacks: ["STUDIES"],
						local: true,
						taxonomy: false,
						fromPage: false,
						translate: false,
						schema: {
							fields: [
								{
									title: "Title",
									type: "TextField",
									key: "title",
								},
							],
						},
						clone: null,
						defaultValues: null,
					},
					PROGRAM_TYPES: {
						title: "Program Type",
						dataPacks: ["EVENTS", "STORIES", "STUDIES"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					PROGRAM_FORMAT: {
						title: "Program Format",
						dataPacks: ["EVENTS", "STORIES", "STUDIES"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					SCHOOLS: {
						title: "Schools",
						dataPacks: ["NEWS", "STUDIES", "TEACHERS", "TESTIMONIALS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaultValues: null,
					},
					PATHWAYS: {
						title: "Pathways",
						dataPacks: ["NEWS", "STUDIES", "TEACHERS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaultValues: null,
					},
					NEWS_AREAS: {
						title: "News Areas",
						dataPacks: ["NEWS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					GLOBAL_NEWS: {
						title: "Global News",
						dataPacks: ["NEWS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					EVENT_AREAS: {
						title: "Event Areas",
						dataPacks: ["EVENTS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					LOCATION: {
						title: "Location",
						dataPacks: ["EVENTS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					EVENT_FORMATS: {
						title: "Event Formats",
						dataPacks: ["EVENTS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					EVENT_LOCATIONS: {
						title: "Event Locations",
						dataPacks: ["EVENTS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
					EVENT_REGION: {
						title: "Event Region",
						dataPacks: ["EVENTS"],
						local: false,
						taxonomy: true,
						fromPage: false,
						translate: true,
						schema: null,
						clone: null,
						defaults: null,
					},
				},
			},
		},
	},
};
