Documentation Archive

Developer

Asset Catalog Format Reference

On This Page

Group Type

A group of named assets and other named groups, including nested groups.

Extension

None. No period (.) can appear in the name of the group.

Folder Contents

Any asset type except catalog.

Contents.json File (Optional)

Metadata and on-demand resource tags (Table 16-1).

Table 16-1Group tags

Key

Type

Description

info

Dictionary

Metadata for the author and format version of the asset catalog.

   author

String

Use your bundle ID.

   version

Number

The format version of the asset catalog. Use 1.

properties

Dictionary

Properties for the group.

   on-demand-resource-tags

Array of strings

The on-demand resource tags for all the assets in the group folder.

   provides-namespace

Boolean

Use the group name as a namespace element for accessing any of the contents.

For more information, see Unique Asset Names.

Sample Contents.json File

  1. {
  2.   "info" : {
  3.       "author" : "com.developerName",
  4.       "version" : 1
  5.    },
  6.   "properties" : {
  7. "on-demand-resources : [
  8. "level-1"
  9. ]
  10.    }
  11. }