Debian Codegraph @

asdf_astropy/resources/schemas/units/equivalency-1.0.0.yaml

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