VOSI API#

Availability#

VOSIAvailability pydantic-xml models.

class vo_models.vosi.availability.models.Availability(*, available, up_since=None, down_at=None, back_at=None, note=None)[source]#

VOSI Availability complex type.

Parameters:
  • available (bool) – (element) - Whether the service is currently available.

  • up_since (UTCTimestamp) – (element) - The instant at which the service last became available.

  • down_at (UTCTimestamp) – (element) - The instant at which the service is next scheduled to become unavailable.

  • back_at (UTCTimestamp) – (element) - The instant at which the service is scheduled to become available again after a period of unavailability.

  • note (Optional[list[str]]) – (element) - A textual note concerning availability.

Tables#

Pydantic-xml models for the VOSI Tables specification

class vo_models.vosi.tables.models.VOSITable(*, table_type=None, table_name, title=None, description=None, utype=None, nrows=None, column=None, foreign_key=None)[source]#

A table element as returned by a VOSI /tables request

Parameters:
class vo_models.vosi.tables.models.VOSITableSet(*, tableset_schema)[source]#

A tableset element as returned by a VOSI /tables request

Parameters:

tableset_schema (list[TableSchema]) –