 denormalizedArtwork = (->
   @object().meta(
     name: 'Artwork'
-    isTypeOf: (data) => data.type is 'artwork'
+    isTypeOf: (data) -> data.type is 'artwork'
   ).keys
     type: @string().valid('artwork').default('artwork')
     id: @string().allow('', null)

  sections: @array().items([
    imageSection
    videoSection
    @object().meta(name: 'Callout').keys
      type: @string().valid('callout')
      thumbnail_url: @string().allow('',null)
      text: @string().allow('',null)
      article: @string().allow('',null)
      hide_image: @boolean().default(false)
      top_stories: @boolean().default(false)
    @object().meta(name: 'Embed').keys
      type: @string().valid('embed')
      url: @string().allow('',null)
      height: @string().allow('',null)
      mobile_height: @string().allow('',null)
      layout: @string().allow('',null)
    @object().meta(name: 'Text').keys
      type: @string().valid('text')
      body: @string().allow('', null)
      layout: @string().allow('blockquote', null)
    @object().meta(name: 'Artworks').keys
      type: @string().valid('artworks')
      ids: @array().items(@string().objectid())
      layout: @string().allow('overflow_fillwidth', 'column_width', null)
      artworks: @array().items(denormalizedArtwork).allow(null).default([])
    @object().meta(name: 'Slideshow').keys
      type: @string().valid('slideshow')
      items: @array().items [
        imageSection

      images: @array().items([denormalizedArtwork, imageSection])
    @object().meta(
      name: 'ImageCollection'
      isTypeOf: (data) -> data.type is 'image_collection'
    ).keys
      type: 'image_collection'
      layout: @string().allow('overflow_fillwidth', 'column_width', null)
