This is a sample of the entire payload provided to the front end. We are only able to parse data included in this object. Anything not included in this object MUST be a backend story.
Last active
January 4, 2021 19:50
-
-
Save cassler/8d05afeff80df54f97fa068c4b43a100 to your computer and use it in GitHub Desktop.
Full vehicle payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = { | |
layoutTemplate: "standard-layout-001", | |
stockNumber: "F11372", | |
inventoryId: "11eafdd2-f8c3-914b-97bb-02453e99dd6d", | |
inventoryStatus: "NEW", | |
vehicle: { | |
id: "11eafdd2-f8c3-914b-97bb-02453e99dd6d", | |
modelYear: 2019, | |
make: "Ford", | |
model: "Flex", | |
vin: "2FMGK5B86KBA23949", | |
bodyType: "Sport Utility", | |
engine: "V6 Cylinder Engine", | |
driveTrain: "FRONT_WHEEL_DRIVE", | |
transmission: "6-Speed Automatic with Select-Shift", | |
exteriorColor: "Agate Black", | |
interiorColor: null, | |
odometer: { | |
unit: "MILES", | |
value: 16 | |
}, | |
fuelEconomy: { | |
city: 16, | |
highway: 23, | |
unit: "MPG" | |
}, | |
msrpPrice: { | |
amount: 30575, | |
currency: "USD" | |
}, | |
vehicleSpecifications: {}, | |
vehicleDescriptionHTML: null | |
}, | |
displayPriceLabel: "MSRP", | |
displayPrice: { | |
amount: 32050, | |
currency: "USD" | |
}, | |
retailPrice: { | |
amount: 32050, | |
currency: "USD" | |
}, | |
isCertified: false, | |
imageCarousel: [ | |
{ | |
id: "11eafdd4-ce9a-79ad-97bb-02453e99dd6d", | |
shot: "FRONT_FACING_LEFT", | |
type: "IMAGE", | |
heightPixels: 480, | |
url: " //media.chromedata.com/MediaGallery/media/MzIwMTc1Xk1lZGlhIEdhbGxlcnk/uBp54XYksrFUa7XFGt1o0BnhYmBfTwMnLTQXeSVHQo5s_mnI3m_klPJDQWFxRBoDkRtVnAHaq3qBSTXnnqcFMI5D8fZIFBK0s5tG0jSTtKyMA56Cn0yNcKM-p8kKNBjJ8DEDpmeyChk/2019FOS350001_640_01.png" | |
}, | |
{ | |
id: "11eafdd4-ce9a-3bb4-97bb-02453e99dd6d", | |
shot: "FRONT", | |
type: "IMAGE", | |
heightPixels: 480, | |
url: " //media.chromedata.com/MediaGallery/media/MzIwMTc1Xk1lZGlhIEdhbGxlcnk/uBp54XYksrFUa7XFGt1o0BnhYmBfTwMnO5cmLf7TrU236pxIl6CdhR2WiDRcV0jeCUmPlBYW5RNxAU56-Quy55NdxVa-IV50TvT9QnRfS0Ag6P2MWf5QbY3RDRfHl9D9IOP8oX_Uih8/2019FOS350004_640_05.png" | |
}, | |
{ | |
id: "11eafdd4-ce9a-bc9b-97bb-02453e99dd6d", | |
shot: "REAR_FACING_LEFT", | |
type: "IMAGE", | |
heightPixels: 480, | |
url: " //media.chromedata.com/MediaGallery/media/MzIwMTc1Xk1lZGlhIEdhbGxlcnk/uBp54XYksrFUa7XFGt1o0BnhYmBfTwMnHjsb0VA2SvtkRXqCW5_jAM4hitVQPU8aGYSY7UECm_PI8tlR2aCXDxBQJIR5r_U1DSpDSiVyRUggZdn92C9FmGrafwe_QRoCs4nNxRg5ZL0/2019FOS350002_640_02.png" | |
}, | |
{ | |
id: "11eafdd4-ce9a-9b13-97bb-02453e99dd6d", | |
shot: "REAR", | |
type: "IMAGE", | |
heightPixels: 480, | |
url: " //media.chromedata.com/MediaGallery/media/MzIwMTc1Xk1lZGlhIEdhbGxlcnk/uBp54XYksrFUa7XFGt1o0BnhYmBfTwMnbLz1iXLUIkNtn1UMC0cg8QOwrrn_2GHDf4553L6tNGEgRwtpfb_EuODJxkBLVEE2-x-n1ZFuJRW5o-KeQ-hYhdE0cQnjj5cEORb5WuJsanY/2019FOS350005_640_06.png" | |
} | |
], | |
widgets: [ | |
{ | |
id: "11eafe4d-a308-ee24-97bb-02453e99dd6d", | |
label: "eBrochure", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "VEHICLE_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 10 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/oem_brochure/11eafe4d-a308-ee24-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/ebrochure.jpg", | |
documentContentType: null, | |
favorite: true, | |
documentType: "OEM_BROCHURE" | |
}, | |
{ | |
id: "11eafe4d-aa39-9271-97bb-02453e99dd6d", | |
label: "Window Sticker", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "VEHICLE_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 30 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/window_sticker/11eafe4d-aa39-9271-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/window-sticker.jpg", | |
documentContentType: null, | |
favorite: false, | |
documentType: "WINDOW_STICKER" | |
}, | |
{ | |
id: "11eafe4e-893b-80c5-97bb-02453e99dd6d", | |
label: "Service Intro", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "DEALER_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 10 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eafe4e-893b-80c5-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/service-intro.jpg", | |
documentContentType: "video/mp4", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eafe4e-d72c-1836-97bb-02453e99dd6d", | |
label: "Buying Online", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "DEALER_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 30 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eafe4e-d72c-1836-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/buyonline.jpg", | |
documentContentType: "video/mp4", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eafe4f-4944-dc05-97bb-02453e99dd6d", | |
label: "Why Buy", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "DEALER_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 40 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eafe4f-4944-dc05-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/whybuy.jpg", | |
documentContentType: "application/pdf", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eafe50-3232-2cd5-97bb-02453e99dd6d", | |
label: "Our Process", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "DEALER_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 50 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eafe50-3232-2cd5-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/process.jpg", | |
documentContentType: "application/pdf", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eafe50-9d92-84b4-97bb-02453e99dd6d", | |
label: "Meet the GM", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "DEALER_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 20 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eafe50-9d92-84b4-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/gm.jpg", | |
documentContentType: "video/mp4", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eafe50-e573-8a73-97bb-02453e99dd6d", | |
label: "Service Coupons", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "DEALER_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 60 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eafe50-e573-8a73-97bb-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/coupons.jpg", | |
documentContentType: "application/pdf", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eb0f20-8452-c6dc-9bd5-02453e99dd6d", | |
label: "CARFAX", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "VEHICLE_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 20 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/carfax/11eb0f20-8452-c6dc-9bd5-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/carfax.jpg", | |
documentContentType: null, | |
favorite: true, | |
documentType: "CARFAX" | |
}, | |
{ | |
id: "11eb2503-f854-40f4-8d4c-02453e99dd6d", | |
label: "OEM Video", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "VEHICLE_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 70 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eb2503-f854-40f4-8d4c-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/oem.jpg", | |
documentContentType: "video/mp4", | |
favorite: false, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eb2504-08de-71e9-8d4c-02453e99dd6d", | |
label: "Video Walkaround", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "VEHICLE_REPUTATION", | |
panelName: "PANEL_ALL", | |
positionIndex: 80 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eb2504-08de-71e9-8d4c-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/walkaround.jpg", | |
documentContentType: "video/mp4", | |
favorite: true, | |
documentType: "DOCUMENT" | |
}, | |
{ | |
id: "11eb2506-c257-5eb8-8d4c-02453e99dd6d", | |
label: "Extended Service", | |
displayMode: "ICON", | |
widgetPosition: { | |
zoneName: "FINANCIAL_TOOLS", | |
panelName: "PANEL_ALL", | |
positionIndex: 60 | |
}, | |
behaviorMode: "MODAL_INLINE", | |
cssClassName: null, | |
dataUrl: "/2FMGK5B86KBA23949/widgets/document/11eb2506-c257-5eb8-8d4c-02453e99dd6d", | |
previewImageUrl: "https: //velocity-vdp-attachments.s3.amazonaws.com/Velocity+Automotive+Solutions/widgets/icons/extservice.jpg", | |
documentContentType: "video/mp4", | |
favorite: false, | |
documentType: "DOCUMENT" | |
} | |
], | |
dealership: { | |
id: "11eafdd2-c766-71b5-97bb-02453e99dd6d", | |
name: "Vernon Auto Group", | |
address: { | |
address1: "3701 Highway 287 West", | |
address2: null, | |
city: "Vernon", | |
state: "TX", | |
postalCode: "76384", | |
timezone: "CT", | |
latitude: 34.15984, | |
longitude: -99.30267 | |
}, | |
logoUrl: " //velocity-vdp-attachments.s3.amazonaws.com/11eafdd2-c766-71b5-97bb-02453e99dd6d/vernon-logo.22f7e1b2.jpg", | |
divisions: [ | |
{ | |
type: "MAIN", | |
phone: "940-227-4223", | |
email: "info@vernonautogroup.com", | |
schedule: null | |
}, | |
{ | |
type: "SALES", | |
phone: "678-619-2769", | |
email: "sales@vernonautogroup.com", | |
schedule: { | |
sunday: null, | |
monday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
tuesday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
wednesday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
thursday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
friday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
saturday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
} | |
} | |
}, | |
{ | |
type: "SERVICE", | |
phone: "678-619-4893", | |
email: "service@@vernonautogroup.com", | |
schedule: { | |
sunday: null, | |
monday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
tuesday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
wednesday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
thursday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
friday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
}, | |
saturday: { | |
openInSecondsUTC: 28800, | |
closedInSecondsUTC: 64800 | |
} | |
} | |
}, | |
{ | |
type: "PARTS", | |
phone: "888-459-8961", | |
email: "parts@@vernonautogroup.com", | |
schedule: null | |
} | |
], | |
social: [ | |
{ | |
type: "FACEBOOK", | |
url: "https: //www.facebook.com/VernonAutoGroup" | |
}, | |
{ | |
type: "TWITTER", | |
url: "https: //twitter.com/vernonautogroup" | |
}, | |
{ | |
type: "WEBSITE", | |
url: "https: //www.vernonautogroup.com/" | |
}, | |
{ | |
type: "YOUTUBE", | |
url: "https: //www.youtube.com/VernonAuto" | |
} | |
], | |
disclaimerHtml: "\r\n\r\n<div style="font-weight: 700; text-align: left !important;">Dealer Disclaimer</div><div style="text-align: left !important;"><p>Sales Tax, Title, License Fee, Registration Fee, Dealer Documentary Fee, Finance Charges, Emission Testing Fees and Compliance Fees are additional to the advertised price.</p>", | |
externalId: "73f82bbc5a5b77dfa86c5442ca093e9e", | |
aboutUsHtml: "<p style="font-size: x-large; font-weight: bold">A little about Vernon Automotive Group... from DB</p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut fringilla dui ligula, lacinia semper dui pretium sit amet. Integer a odio convallis, blandit arcu id, pulvinar erat. Maecenas elementum ligula in aliquet mattis. Praesent posuere sed nisi eget placerat. Nam vitae tristique diam. Sed a tellus id neque ultricies suscipit. Etiam ex nisl, ornare quis vulputate a, venenatis quis est. Donec sed auctor ligula, nec ullamcorper quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut fringilla dui ligula, lacinia semper dui pretium sit amet. Integer a odio convallis, blandit arcu id, pulvinar erat. Maecenas elementum ligula in aliquet mattis. Praesent posuere sed nisi eget placerat. Nam vitae tristique diam. Sed a tellus id neque ultricies suscipit. Etiam ex nisl, ornare quis vulputate a, venenatis quis est. Donec sed auctor ligula, nec ullamcorper quam" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment