An official website of the Disclosure Foundation

Introduction

Quick StartWhat is DisclosureOS?Installation

Concepts

Tour of the APIThe Companion PatternType Safety & Validation

API

API Reference

Guides

Data MigrationField Mapping ReferenceSupabase IntegrationBuilding on the StandardContributing

API Reference

Browse types from the DisclosureOS packages. Select a package and type to view properties and related guards, formatters, and factories.

@disclosureos/records

AirspaceClass

Type alias

Import

Barrel import
import { AirspaceClass } from '@disclosureos/records';
Subpath imports
Guards
import { isAirspaceClass } from '@disclosureos/records/guards';
Constants
import { AIRSPACE_CLASSES } from '@disclosureos/records/constants';

No properties (type literal or re-export).

Values & labels

Allowed values and human-readable labels for this type.

ValueLabel
unknown—
A—
B—
C—
D—
E—
G—
restricted—
prohibited—
warning—
moa—
alert—
cfa—
national_security—
tfr—
international—

Constant: AIRSPACE_CLASSES

Related

Guards
  • isAirspaceClass
Constants
  • AIRSPACE_CLASSES

Usage Examples

Guard
if (isAirspaceClass(value)) {
  // value is AirspaceClass
}

Package docs: /docs/records

Run pnpm run extract-api to regenerate.

Type Safety & Validation

Compile-time types, runtime validation, the extension point, and the strip hazard

Data Migration

Map CSV, JSON, or database rows onto Observation records — a repeatable migration workflow