Adobe-Consulting-Services/acs-aem-commons

View on GitHub
bundle/src/test/resources/com/adobe/acs/commons/models/injectors/impl/we-retail-pages.json

Summary

Maintainability
Test Coverage
{
  "jcr:primaryType": "cq:Page",
  "jcr:content": {
    "jcr:primaryType": "cq:PageContent",
    "jcr:language": "en_US",
    "jcr:title": "English",
    "cq:template": "/conf/we-retail/settings/wcm/templates/hero-page",
    "singleTagInherited": [
      "wknd-shared:activity/inherited-tag",
      "wknd-shared:activity/hiking"
    ],
    "cq:designPath": "/etc/designs/acs-commons",
    "hierarchicalPagePropertyString": "inherited!",
    "currentPageHierarchicalPagePropertyString": "inherited!",
    "skipLevelHierarchicalPagePropertyString": "inherited!",
    "pagePropertyString": "inherited!",
    "hierarchicalPagePropertyBoolean": true,
    "hierarchicalPagePropertyInteger": 11,
    "hierarchicalPagePropertyMultiValueInteger": [
      11,
      22
    ],
    "hierarchicalPagePropertyMultivalueStringArray": [
      "value1",
      "value2"
    ],
    "hierarchicalPagePropertyUnsupportedType": 22,
    "hierarchicalPagePropertyMultivalueWrappedDoubleArray": [
      22.11,
      33.22
    ],
    "jcr:predecessors": [
      "078f516a-3d97-4b6e-801f-aebb77e6d2f1"
    ],
    "cq:contextHubSegmentsPath": "/conf/we-retail/settings/wcm/segments",
    "sling:resourceType": "weretail/components/structure/page",
    "jsonTest": {
      "jcr:primaryType": "nt:unstructured",
      "single": "{\"property1\": \"value1\",\"property2\": \"value2\",\"property3\": 22}",
      "multiple": [
        "{\"property1\": \"1_value1\",\"property2\": \"1_value2\",\"property3\": 22}",
        "{\"property1\": \"2_value1\",\"property2\": \"2_value2\",\"property3\": 22}",
        "{\"property1\": \"3_value1\",\"property2\": \"3_value2\",\"property3\": 22}",
        "{\"property1\": \"3_value1\",\"property2\": \"3_value2\",\"property3\": 22}"
      ]
    },
    "root": {
      "jcr:primaryType": "nt:unstructured",
      "sling:resourceType": "wcm/foundation/components/responsivegrid",
      "hero_image": {
        "jcr:primaryType": "nt:unstructured",
        "strategyName": "first",
        "strategyPath": "cq/personalization/clientlib/source/strategies/list/first.js",
        "cq:targetEngine": "cq_contexthub",
        "sling:resourceType": "cq/personalization/components/target",
        "location": "2b493aca-8345-4fc1-be72-75535f1f8c0a",
        "default": {
          "jcr:primaryType": "nt:unstructured",
          "buttonLabel": "Shop Now",
          "fileReference": "/content/dam/we-retail/en/activities/hiking-camping/trekker-khumbu-valley.jpg",
          "jcr:lastModifiedBy": "admin",
          "useFullWidth": "true",
          "jcr:created": "Wed Jan 13 2016 15:58:04 GMT+0100",
          "title": "Built for the coldest winter on earth",
          "buttonLinkTo": "/content/we-retail/language-masters/en/products/equipment/snow-sports",
          "heading": "All-new winter collection",
          "sling:resourceType": "weretail/components/content/heroimage"
        }
      },
      "responsivegrid": {
        "jcr:primaryType": "nt:unstructured",
        "sling:resourceType": "wcm/foundation/components/responsivegrid",
        "section_title_496791378": {
          "jcr:primaryType": "nt:unstructured",
          "jcr:title": "Discover the Finest Gear",
          "type": "h2",
          "sling:resourceType": "weretail/components/content/title"
        }
      }
    }
  },
  "about-us": {
    "jcr:primaryType": "cq:Page",
    "jcr:content": {
      "jcr:primaryType": "cq:PageContent",
      "jcr:title": "About Us",
      "cq:template": "/conf/we-retail/settings/wcm/templates/hero-page",
      "sling:resourceType": "weretail/components/structure/page",
      "root": {
        "jcr:primaryType": "nt:unstructured",
        "sling:resourceType": "wcm/foundation/components/responsivegrid",
        "hero_image": {
          "jcr:primaryType": "nt:unstructured",
          "fileReference": "/content/dam/we-retail/en/activities/hiking-camping/trekker-ama-dablam.jpg",
          "useFullWidth": "true",
          "sling:resourceType": "weretail/components/content/heroimage"
        },
        "responsivegrid": {
          "jcr:primaryType": "nt:unstructured",
          "sling:resourceType": "wcm/foundation/components/responsivegrid"
        }
      }
    }
  },
  "experience": {
    "jcr:primaryType": "cq:Page",
    "jcr:createdBy": "admin",
    "jcr:created": "Thu Oct 25 2018 11:27:52 GMT+0200",
    "jcr:content": {
      "jcr:primaryType": "cq:PageContent",
      "jcr:createdBy": "admin",
      "jcr:title": "Experience",
      "cq:template": "/conf/we-retail/settings/wcm/templates/hero-page",
      "jcr:created": "Thu Oct 25 2018 11:27:52 GMT+0200",
      "cq:lastModified": "Sun Nov 04 2018 09:04:54 GMT+0100",
      "jcr:description": [
        "",
        ""
      ],
      "currentPageHierarchicalPagePropertyString": "not inherited",
      "sling:resourceType": "weretail/components/structure/page",
      "cq:lastModifiedBy": "admin",
      "hideSubItemsInNav": true,
      "root": {
        "jcr:primaryType": "nt:unstructured",
        "sling:resourceType": "wcm/foundation/components/responsivegrid",
        "hero_image": {
          "jcr:primaryType": "nt:unstructured",
          "jcr:createdBy": "admin",
          "fileReference": "/content/dam/we-retail/en/activities/hiking-camping/trekker-ama-dablam.jpg",
          "jcr:lastModifiedBy": "admin",
          "useFullWidth": "true",
          "jcr:created": "Mon Nov 23 2015 21:42:24 GMT+0100",
          "title": "Experiences",
          "heading": "Inspiring stories from around the world",
          "jcr:lastModified": "Sat Mar 12 2016 23:15:25 GMT+0100",
          "sling:resourceType": "weretail/components/content/heroimage"
        },
        "responsivegrid": {
          "jcr:primaryType": "nt:unstructured",
          "sling:resourceType": "wcm/foundation/components/responsivegrid",
          "list": {
            "jcr:primaryType": "nt:unstructured",
            "showModificationDate": "true",
            "jcr:createdBy": "admin",
            "tagsMatch": "any",
            "linkItems": "true",
            "orderBy": "modified",
            "jcr:lastModifiedBy": "admin",
            "jcr:created": "2018-02-06T17:59:00.584+01:00",
            "sortOrder": "asc",
            "showDescription": "false",
            "jcr:lastModified": "2018-02-06T18:41:21.863+01:00",
            "itemType": "article",
            "sling:resourceType": "weretail/components/content/list",
            "childDepth": "1",
            "listFrom": "children",
            "cq:styleIds": [
              "1508797744638",
              "1508800123708"
            ]
          }
        }
      }
    },
    "arctic-surfing-in-lofoten": {
      "jcr:primaryType": "cq:Page",
      "jcr:createdBy": "admin",
      "jcr:created": "Thu Oct 25 2018 11:27:52 GMT+0200",
      "jcr:content": {
        "cq:tags": [
          "wknd-shared:activity/specific-tag",
          "wknd-shared:activity/surfing"
        ],
        "multipleTagsSet": [
          "wknd-shared:activity/surfing",
          "wknd-shared:activity/hiking"
        ],

        "jcr:primaryType": "cq:PageContent",
        "jcr:createdBy": "admin",
        "jcr:title": "Arctic Surfing In Lofoten",
        "cq:template": "/conf/we-retail/settings/wcm/templates/experience-page",
        "jcr:created": "Thu Oct 25 2018 11:27:52 GMT+0200",
        "cq:lastModified": "Tue Nov 06 2018 11:00:39 GMT+0100",
        "sling:resourceType": "weretail/components/structure/page",
        "cq:lastModifiedBy": "admin",
        "pagePropertyString": "not inherited",
        "currentPageHierarchicalPagePropertyString": "this value should not be used",
        "skipLevelHierarchicalPagePropertyString": "this value should not be used",
        "hierarchicalPagePropertyBoolean": false,
        "root": {
          "jcr:primaryType": "nt:unstructured",
          "sling:resourceType": "wcm/foundation/components/responsivegrid",
          "responsivegrid": {
            "jcr:primaryType": "nt:unstructured",
            "jcr:createdBy": "admin",
            "jcr:lastModifiedBy": "admin",
            "jcr:created": "Wed Jan 13 2016 15:58:09 GMT+0100",
            "jcr:lastModified": "2016-01-13T15:58:50.877+01:00",
            "sling:resourceType": "wcm/foundation/components/responsivegrid"
          },
          "hero_image": {
            "jcr:primaryType": "nt:unstructured",
            "fileReference": "/content/dam/we-retail/en/experiences/arctic-surfing-in-lofoten/surfer-wave-01.jpg",
            "jcr:lastModifiedBy": "admin",
            "useFullWidth": "true",
            "title": "Arctic Surfing In Lofoten",
            "jcr:lastModified": "Sat Mar 12 2016 21:10:51 GMT+0100",
            "sling:resourceType": "weretail/components/content/heroimage"
          }
        }
      }
    }
  }
}