text: // First, we must import the schema creator
  //eslint-disable-next-line
  import createSchema from 'part:@sanity/base/schema-creator'
  
  import { languages } from '../languages'
  // Then import schema types from any plugins that might expose them
  //eslint-disable-next-line
  import schemaTypes from 'all:part:@sanity/base/schema-type'
  
  // Document types
  import news from './documents/news'
  import page from './documents/page'
  import landingPage from './documents/landingPage'
  import route from './documents/route'
  import routeHomepage from './documents/routeHomepage'
  import subMenu from './documents/subMenu'
  import siteMenu from './documents/siteMenu'
  import footer from './documents/footer'
  import tag from './documents/tag'
  import countryTag from './documents/countryTag'
  import event from './documents/event'
  import assetFile from './documents/assetFile'
  import assetTag from './documents/assetTag'
  import simpleMenu from './documents/simpleMenu'
  import pageNotFound from './documents/404'
  
  // Objects
  import imageWithAlt from './objects/imageWithAlt'
  import imageWithAltAndCaption from './objects/imageWithAltAndCaption'
  import pullQuote from './objects/pullQuote'
  import factbox from './objects/factbox'
  import relatedLinks from './objects/relatedLinks'
  import positionedInlineImage from './objects/positionedInlineImage'
  import titleAndMeta from './objects/titleAndMeta'
  import downloadableFile from './objects/files'
  import downloadableImage from './objects/downloadableImage'
  import teaser from './objects/teaser'
  import textBlock from './objects/textBlock'
  import accordion from './objects/accordion'
  import accordionItem from './objects/accordionItem'
  import fullWidthImage from './objects/fullWidthImage'
  import figure from './objects/figure'
  import textWithIcon from './objects/textWithIcon'
  import textWithIconArray from './objects/textWithIconArray'
  import linkSelector from './objects/linkSelector'
  import promoTile from './objects/promoTile'
  import promoTileArray from './objects/promoTileArray'
  import stockValuesApi from './objects/stockValuesApi'
  import menuGroup from './objects/menuGroup'
  import menuLink from './objects/menuLink'
  import basicIframe from './objects/basicIframe'
  import iframe from './objects/iframe'
  import remitTable from './objects/remitTable'
  import tagReference from './objects/tagReference'
  import promotion from './objects/promotion/promotion'
  import promoteNews from './objects/promotion/promoteNews'
  import promoteTopics from './objects/promotion/promoteTopic'
  import promotePeople from './objects/promotion/promotePeople'
  import promoteEvents from './objects/promotion/promoteEvents'
  import subscribeForm from './objects/subscribeForm'
  import contactList from './objects/contactList'
  import eventDate from './objects/eventDate'
  import table from './objects/table'
  import simpleMenuGroup from './objects/simpleMenuGroup'
  import simpleMenuLink from './objects/simpleMenuLink'
  import cookieDeclaration from './objects/cookieDeclaration'
  import anchorReferenceField from './objects/anchorReferenceField'
  import textSnippet from './documents/textSnippet'
  import largeTable from './objects/largeTable'
  
  const routeSchemas = languages.map(({ name, title }) => {
    return route(name, title)
  })
  
  const routeHomepageSchemas = languages.map(({ name, title }) => {
    return routeHomepage(name, title)
  })
  
  // Then we give our schema to the builder and provide the result to Sanity
  export default createSchema({
    // We name our schema
    name: 'default',
    // Then proceed to concatenate our document type
    // to the ones provided by any plugins that are installed
    types: schemaTypes.concat([
      /* Your types here! */
      news,
      page,
      landingPage,
      subMenu,
      ...routeSchemas,
      ...routeHomepageSchemas,
      siteMenu,
      pageNotFound,
      imageWithAlt,
      imageWithAltAndCaption,
      pullQuote,
      factbox,
      relatedLinks,
      positionedInlineImage,
      titleAndMeta,
      downloadableFile,
      downloadableImage,
      teaser,
      textBlock,
      accordion,
      accordionItem,
      fullWidthImage,
      figure,
      textWithIcon,
      textWithIconArray,
      linkSelector,
      promoTile,
      promoTileArray,
      stockValuesApi,
      menuGroup,
      menuLink,
      iframe,
      basicIframe,
      footer,
      remitTable,
      tag,
      tagReference,
      promotion,
      promoteNews,
      promoteTopics,
      promoteEvents,
      promotePeople,
      countryTag,
      subscribeForm,
      event,
      eventDate,
      contactList,
      table,
      assetFile,
      assetTag,
      simpleMenu,
      simpleMenuGroup,
      simpleMenuLink,
      cookieDeclaration,
      anchorReferenceField,
      textSnippet,
      largeTable,
    ]),
  })
  