Fixed sample model

This commit is contained in:
Alexander Cerutti
2024-10-17 21:09:04 +02:00
parent f4a938f653
commit f58ee7f534

View File

@@ -28,7 +28,7 @@
"value": "The text to show" "value": "The text to show"
}, },
{ {
"key": "additionalInfo-1", "key": "additionalInfo-2",
"label": "Additional Info 2", "label": "Additional Info 2",
"value": "The text to show 2" "value": "The text to show 2"
}, },
@@ -36,20 +36,13 @@
"key": "lineItem3", "key": "lineItem3",
"label": "Emergency Contact", "label": "Emergency Contact",
"value": "+1 8716 12736131", "value": "+1 8716 12736131",
"dataDetectorTypes": [ "dataDetectorTypes": ["PKDataDetectorTypePhoneNumber"]
"PKDataDetectorTypePhoneNumber",
"used only on Watch"
]
}, },
{ {
"key": "lineItem4", "key": "lineItem4",
"label": "Test link", "label": "Test link",
"value": "https://apple.com", "value": "https://apple.com",
"dataDetectorTypes": [ "dataDetectorTypes": ["PKDataDetectorTypeLink"],
"PKDataDetectorTypeLink",
"used only on Watch"
],
"textAlignment": "<unused in these fields>",
"attributedValue": "<a href=\"https://apple.com\">Used literally on iPhone, used correctly on Watch</a>" "attributedValue": "<a href=\"https://apple.com\">Used literally on iPhone, used correctly on Watch</a>"
} }
] ]