CatalogMetadata

interface CatalogMetadata
universe/src/catalog/format.ts:221

Members

attributionreadonly

attribution: readonly string[]

Attribution and license text that must travel with the data.

completeRadiusLightYearsreadonly

completeRadiusLightYears: number

Radius inside which this catalog is complete for main-sequence stars, so procedural generation adds nothing there. See CellContext.completeRadius for why it is not simply zero.

radiusLightYearsreadonly

radiusLightYears: number

Radius of the volume this file covers, light-years.

Zero for a file that claims no volume — the sky asset, whose stars are chosen by brightness rather than by distance, and the one-star fallback.

skyreadonly

Present on a sky asset, and on a catalog that loaded one: the selection its distant stars satisfy. Absent from a volume asset, which is defined by radiusLightYears alone.

sourcesreadonly

sources: readonly { license: string; name: string; retrieved: string; url: string }[]

versionreadonly

version: string

The whole-catalog version, e.g. hyg-4.4+nea-20260820.