$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/coordinates/frames/tete-1.0.0"

title: |
  Represents a TETE coordinate object from astropy.

description: |-
    This schema defines the TETE (True Equator, True Equinox) coordinate frame
    from astropy.coordinates.

examples:
  -
    - A TETE frame without data
    - asdf-standard-1.6.0
    - |
        !<tag:astropy.org:astropy/coordinates/frames/tete-1.0.0>
          frame_attributes:
            obstime: !time/time-1.2.0 {scale: tai, value: B1950.000}
            location: !<tag:astropy.org:astropy/coordinates/earthlocation-1.2.0>
              ellipsoid: WGS84
              x: !unit/quantity-1.3.0 {datatype: float64, unit: !unit/unit-1.0.0 km, value: 0.0}
              y: !unit/quantity-1.3.0 {datatype: float64, unit: !unit/unit-1.0.0 km, value: 0.0}
              z: !unit/quantity-1.3.0 {datatype: float64, unit: !unit/unit-1.0.0 km, value: 0.0}
  -
    - A TETE frame with data
    - asdf-standard-1.6.0
    - |
        !<tag:astropy.org:astropy/coordinates/frames/tete-1.0.0>
          data: !<tag:astropy.org:astropy/coordinates/representation-1.1.0>
            components:
              lat: !<tag:astropy.org:astropy/coordinates/latitude-1.1.0> {unit: !unit/unit-1.0.0 deg,
                value: 10.0}
              lon: !<tag:astropy.org:astropy/coordinates/longitude-1.1.0>
                unit: !unit/unit-1.0.0 deg
                value: 120.0
                wrap_angle: !<tag:astropy.org:astropy/coordinates/angle-1.1.0> {unit: !unit/unit-1.0.0 deg,
                  value: 360.0}
            type: UnitSphericalRepresentation
          frame_attributes:
            obstime: !time/time-1.2.0 {scale: tai, value: B1950.000}
            location: !<tag:astropy.org:astropy/coordinates/earthlocation-1.2.0>
              ellipsoid: WGS84
              x: !unit/quantity-1.3.0 {datatype: float64, unit: !unit/unit-1.0.0 km, value: 0.0}
              y: !unit/quantity-1.3.0 {datatype: float64, unit: !unit/unit-1.0.0 km, value: 0.0}
              z: !unit/quantity-1.3.0 {datatype: float64, unit: !unit/unit-1.0.0 km, value: 0.0}

allOf:
  - $ref: baseframe-1.2.0
  - properties:
      frame_attributes:
        type: object
        properties:
          obstime:
            tag: "tag:stsci.edu:asdf/time/time-1.*"
          location:
            tag: "tag:astropy.org:astropy/coordinates/earthlocation-1.*"
        required: [obstime, location]
...
