EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

AssetDeclaration

Asset identity, source decoder and mandatory attribution.

Signature

{ asset_type: AssetKind, credits: {DisplayText}, format: AssetFormat, id: ContentId, license: DisplayText, path: AssetPath }

Fields

NameTypeMeaning
asset_typeAssetKindContent category produced by the declared asset decoder.
credits{DisplayText}Attribution lines retained in generated credits.
Items: 1…32; Unique entries
formatAssetFormatDeclared decoder for the asset's source bytes.
idContentIdPackage-qualified identity; unique within its declaring namespace.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$
licenseDisplayTextLicense identifier or license terms supplied by the asset author.
Length: 1…4096; Pattern: ^[\s\S]*$
pathAssetPathPackage-relative source file; traversal and aliases are forbidden.
Length: 1…4096; Pattern: ^(?:[a-z0-9_][a-z0-9_-]*/)*[a-z0-9_][a-z0-9_-]*\.(?:json|json\.gz|bin|png|webp|ogg|mp3|wav)$