pebble/resources/normal/base/layouts/layouts.json.in
2025-01-27 11:38:16 -08:00

178 lines
3.3 KiB
JSON

{
"attributes" : {
"title" : {
"id" : 1,
"type" : "string-string",
"max_length" : 64
},
"subtitle" : {
"id" : 2,
"type" : "string-string",
"max_length" : 64
},
"body" : {
"id" : 3,
"type" : "string-string",
"max_length" : 512
},
"tinyIcon" : {
"id" : 4,
"type" : "uri-resource_id"
},
"smallIcon" : {
"id" : 5,
"type" : "uri-resource_id"
},
"largeIcon" : {
"id" : 6,
"type" : "uri-resource_id"
},
"ancsAction" : {
"id" : 7,
"type" : "number-uint32"
},
"cannedResponse" : {
"id" : 8,
"type" : "string_array-string_array",
"max_length" : 512
},
"shortTitle" : {
"id" : 9,
"type" : "string-string",
"max_length" : 64
},
"locationName" : {
"id" : 11,
"type" : "string-string",
"max_length" : 64
},
"sender" : {
"id" : 12,
"type" : "string-string",
"max_length" : 64
},
"launchCode" : {
"id" : 13,
"type" : "number-uint32"
},
"lastUpdated": {
"id": 14,
"type": "isodate-unixtime"
},
"rankAway": {
"id": 15,
"type": "string-string"
},
"rankHome": {
"id": 16,
"type": "string-string"
},
"nameAway": {
"id": 17,
"type": "string-string"
},
"nameHome": {
"id": 18,
"type": "string-string"
},
"recordAway": {
"id": 19,
"type": "string-string"
},
"recordHome": {
"id": 20,
"type": "string-string"
},
"scoreAway": {
"id": 21,
"type": "string-string"
},
"scoreHome": {
"id": 22,
"type": "string-string"
},
"sportsGameState": {
"id": 23,
"type": "enum-uint8",
"enum": {
"pre-game": 0,
"in-game": 1
}
},
"broadcaster": {
"id": 24,
"type": "string-string"
},
"headings": {
"id": 25,
"type": "string_array-string_array",
"max_length": 128
},
"paragraphs": {
"id": 26,
"type": "string_array-string_array",
"max_length": 1024
},
"foregroundColor": {
"note": "alias for primaryColor",
"id": 27,
"type": "color-uint8"
},
"primaryColor": {
"id": 27,
"type": "color-uint8"
},
"backgroundColor": {
"id": 28,
"type": "color-uint8"
},
"secondaryColor": {
"id": 29,
"type": "color-uint8"
},
"displayRecurring": {
"id": 31,
"type": "enum-uint8",
"enum": {
"none": 0,
"recurring": 1
}
},
"shortSubtitle" : {
"id": 36,
"type": "string-string",
"max_length" : 64
},
"timestamp" : {
"id": 37,
"type": "isodate-unixtime"
},
"displayTime": {
"id": 38,
"type": "enum-uint8",
"enum": {
"none": 0,
"pin": 1
}
},
"subtitleTemplateString" : {
"id" : 47,
"type" : "string-string",
"max_length" : 150
},
"icon" : {
"id" : 48,
"type" : "uri-resource_id"
}
},
"layouts" : {
"genericPin" : 1,
"calendarPin" : 2,
"genericReminder" : 3,
"genericNotification" : 4,
"commNotification" : 5,
"weatherPin": 6,
"sportsPin": 7
},
"resources" : @RESOURCE_URIS@
}