1%YAML 1.1
2---
3$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
4id: "http://astropy.org/schemas/astropy/units/equivalency-1.0.0"
5tag: "tag:astropy.org:astropy/units/equivalency-1.0.0"
6
7title: |
8  Represents unit equivalency.
9
10description: |
11  Supports serialization of equivalencies between units
12  in certain contexts
13
14definitions:
15  equivalency:
16    type: object
17    properties:
18      name:
19        type: string
20      kwargs_names:
21        type: array
22        items:
23          type: string
24      kwargs_values:
25        type: array
26        items:
27          anyOf:
28            - $ref: "tag:stsci.edu:asdf/unit/quantity-1.1.0"
29            - type: number
30            - type: "null"
31
32type: array
33items:
34  $ref: "#/definitions/equivalency"
35...
36