Skip to content

Enclosure

Enclosure Schema

Properties

Name Type Description
id Integer The unique identifier for the device.
model_id Integer (Optional) No description
enclosure_policy Enum(always_open_when_safe, open_for_tasks_only) (Optional) Enclosure policy for automatic opening/closing behavior.
sun_altitude_threshold Float (Optional) Sun altitude threshold used to determine when to open the enclosure (degrees).
sun_altitude_open_condition Enum(open_below_threshold, open_above_threshold) (Optional) Condition that determines when to open the enclosure based on sun altitude.
idle_close_timeout_sec Float (Optional) Idle time in seconds before closing when open-for-tasks-only policy is active.
enclosure_type Enum(rolloff, dome, clamshell, other) No description
has_shutter Boolean No description
has_rotation Boolean No description
diameter Float (Optional) No description
slit_width Float (Optional) No description
zenith_overlap_angle Float (Optional) No description
model_name String(50) (Optional) No description
manufacturer String(50) (Optional) No description
uid UUID No description
device_type Enum(enclosure, ota, camera, focuser, instrument_rotator, filter_wheel, mount, weather_sensor, antenna, receiver, radio_backend) The type of the device.
telescope_id Integer (Optional) No description
observatory_id Integer (Optional) No description
owner_id Integer The organization or user which owns the device.
name String(Unbounded) (Optional) The name of the device.
serial_number String(100) (Optional) No description
image_id UUID (Optional) No description
is_deleted Boolean No description

Relationships

Relationship Name Type
model EnclosureModel
telescopes Telescope
owner Entity
telescope Telescope
observatory Observatory
image File
log DeviceLogEntry
operational_constraint_actions OperationalConstraintAction

EnclosureModel Schema

Properties

Name Type Description
id Integer No description
enclosure_type Enum(rolloff, dome, clamshell, other) No description
has_shutter Boolean No description
has_rotation Boolean No description
diameter Float (Optional) No description
slit_width Float (Optional) No description
zenith_overlap_angle Float (Optional) No description
device_type Enum(enclosure, ota, camera, focuser, instrument_rotator, filter_wheel, mount, weather_sensor, antenna, receiver, radio_backend) No description
model_name String(50) No description
image_id UUID (Optional) No description
owner_id Integer (Optional) The organization or user which owns the custom device model.
manufacturer String(50) (Optional) No description

Relationships

Relationship Name Type
owner Entity
image File