EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

LocaleDeclaration

Canonical language tag and package-relative text source.

Signature

{ language: Locale, path: JsonPath }

Fields

NameTypeMeaning
languageLocaleCanonical locale tag for the associated text file.
Length: 1…12; Pattern: ^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-[0-9]{3})?$
pathJsonPathPackage-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$