EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

Manifest

Package identity, exact source inventory, capabilities and pinned dependencies.

Signature

{ api_features: {Feature}, api_version: FormatVersion, assets: {AssetDeclaration}, base_locale: Locale, definitions: {JsonPath}, dependencies: {Dependency}, exports: Exports, locales: {LocaleDeclaration}, migrations: {MigrationDeclaration}, package: PackageId, scripts: {ScriptDeclaration}, state_version: PositiveCount, tests: {JsonPath}, version: PackageVersion }

Fields

NameTypeMeaning
api_features{Feature}Capabilities required by the package's declarations and references.
Items: 1…5; Unique entries
api_versionFormatVersionMajor Game API contract required to load this package.
Range: 1…1; Unit: count
assets{AssetDeclaration}Declared asset sources, decoders and attribution.
Items: 0…4096; Unique entries
base_localeLocaleRequired fallback locale containing every declared text key.
Length: 1…12; Pattern: ^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-[0-9]{3})?$
definitions{JsonPath}JSON files containing the package's definition records.
Items: 1…10000; Unique entries
dependencies{Dependency}Direct package dependencies pinned to exact versions.
Items: 0…64; Unique entries
exportsExportsRead-only cross-package state access granted by the owner.
locales{LocaleDeclaration}Language tags and their package-relative text files.
Items: 1…128; Unique entries
migrations{MigrationDeclaration}Explicit transitions between saved-state schema versions.
Items: 0…4096; Unique entries
packagePackageIdNamespace of this package or an exact dependency.
Length: 1…32; Pattern: ^[a-z][a-z0-9_]{0,31}$
scripts{ScriptDeclaration}Authority handlers and their exact capabilities and parameters.
Items: 0…4096; Unique entries
state_versionPositiveCountVersion of persistent package-owned state.
Range: 1…2147483647; Unit: count
tests{JsonPath}Authoring fixtures; hashed but never executed by production loading.
Items: 0…4096; Unique entries
versionPackageVersionExact supported format or package version; no implicit upgrades.
Length: 1…4096; Pattern: ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-(0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*)(\.(0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*))*)?$