Documentation Archive

Developer

Asset Catalog Format Reference

On This Page

Sticker Type

An individual sticker in a sticker pack.

Extension

.sticker

Folder Contents

An image for the sticker.

Contents.json File

Metadata, accessibility text, and filename for a sticker. For values, see (Table 26-1).

Table 26-1Sticker tags

Key

Type

Description

info

Dictionary

Versioning information for the asset catalog.

   author

String

The application that authored the asset catalog.

   version

Number

The version of the asset catalog.

properties

Dictionary

Properties for the sprite atlas.

   accessibility-label

String

A custom string used by Voice Over. The sticker name is used if no string is provided.

   filename

String

The name of the image file containing the sticker.

Sample Contents.json File

  1. {
  2. "properties" : {
  3.       "accessibility-label" : "The llama says hi.",
  4.       "filename" : "llamaKnows.png"
  5. },
  6.   "info" : {
  7.       "author" : "com.developerName",
  8.       "version" : 1
  9.    }
  10. }