{
	"_version": "1.15.0",
	"sap.app": {
		"id": "cardsdemo.footer.card",
		"type": "card",
		"title": "Sample of an Object Card",
		"subTitle": "Sample of an Object Card",
		"applicationVersion": {
			"version": "1.0.0"
		},
		"shortTitle": "A short title for this Card",
		"info": "Additional information about this Card",
		"description": "A long description for this Card",
		"tags": {
			"keywords": [
				"Object",
				"Card",
				"Sample"
			]
		}
	},
	"sap.ui": {
		"technology": "UI5",
		"icons": {
			"icon": "sap-icon://switch-classes"
		}
	},
	"sap.card": {
		"type": "Object",
		"extension": "./FooterExtension",
		"data": {
			"json": {
				"firstName": "Donna",
				"lastName": "Moore",
				"position": "Sales Executive",
				"phone": "+1 202 555 5555",
				"email": "my@mymail.com",
				"photo": "./DonnaMoore.png",
				"agendaUrl": "/agenda",
				"company": {
					"name": "Robert Brown Entertainment",
					"address": "481 West Street, Anytown OH 45066, USA",
					"email": "mail@mycompany.com",
					"emailSubject": "Subject",
					"website": "www.company_a.example.com",
					"url": "https://www.company_a.example.com"
				}
			}
		},
		"header": {
			"icon": {
				"src": ""
			},
			"title": "Request from {firstName} {lastName}",
			"subTitle": "{position}"
		},
		"content": {
			"groups": [
				{
					"title": "Contact Details",
					"items": [
						{
							"label": "First Name",
							"value": "{firstName}"
						},
						{
							"label": "Last Name",
							"value": "{lastName}"
						},
						{
							"label": "Phone",
							"value": "{phone}",
							"actions": [
								{
									"type": "Navigation",
									"parameters": {
										"url": "tel:{phone}"
									}
								}
							]
						}
					]
				},
				{
					"title": "Company Details",
					"items": [
						{
							"label": "Company Name",
							"value": "{company/name}"
						},
						{
							"label": "Website",
							"value": "{company/website}",
							"actions": [
								{
									"type": "Navigation",
									"parameters": {
										"url": "{company/url}"
									}
								}
							]
						},
						{
							"label": "Address",
							"value": "{company/address}"
						}
					]
				}
			]
		},
		"footer": {
			"actionsStrip": [
				{
					"type": "Link",
					"text": "Link to Meal",
					"icon": "sap-icon://action",
					"actions": [
						{
							"type": "Navigation",
							"parameters": {
								"url": "{agendaUrl}"
							}
						}
					]
				},
				{
					"type": "ToolbarSpacer"
				},
				{
					"text": "Approve",
					"overflowPriority": "High",
					"actions": [
						{
							"type": "Custom",
							"parameters": {
								"method": "approve"
							}
						}
					]
				},
				{
					"buttonType": "Reject",
					"text": "Reject",
					"overflowPriority": "High",
					"actions": [
						{
							"type": "Custom",
							"parameters": {
								"method": "reject"
							}
						}
					]
				},
				{
					"buttonType": "Transparent",
					"text": "Details",
					"ariaHasPopup": "Dialog",
					"actions": [
						{
							"type": "Custom",
							"parameters": {
								"method": "openSnack"
							}
						}
					]
				},
				{
					"buttonType": "Transparent",
					"icon": "sap-icon://email",
					"text": "Contact",
					"actions": [
						{
							"type": "Navigation",
							"parameters": {
								"url": "mailto:{email}"
							}
						}
					]
				},
				{
					"buttonType": "Transparent",
					"text": "Book a meeting",
					"overflowPriority": "AlwaysOverflow",
					"actions": [
						{
							"type": "Navigation",
							"enabled": "false",
							"parameters": {
								"url": "{agendaUrl}"
							}
						}
					]
				},
				{
					"buttonType": "Transparent",
					"text": "Contact company",
					"overflowPriority": "AlwaysOverflow",
					"actions": [
						{
							"type": "Navigation",
							"parameters": {
								"url": "mailto:{company/email}?subject={company/emailSubject}"
							}
						}
					]
				}
			]
		}
	}
}
