units/equivalency-1.0.0¶
Represents unit equivalency.
Description
Supports serialization of equivalencies between units in certain contexts
Outline
Schema Definitions ¶
array
Items in the array are restricted to the following types:
Internal Definitions ¶
equivalency
object |
This type is an object with the following properties:
name
No length restrictionstring kwargs_names
No length restrictionarray Items in the array are restricted to the following types:
No length restrictionstring
kwargs_values
No length restrictionarray Items in the array must be any of the following types:
number
null
Original Schema ¶
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://astropy.org/schemas/astropy/units/equivalency-1.0.0"
title: |
Represents unit equivalency.
description: |
Supports serialization of equivalencies between units
in certain contexts
definitions:
equivalency:
type: object
properties:
name:
type: string
kwargs_names:
type: array
items:
type: string
kwargs_values:
type: array
items:
anyOf:
- $ref: "http://stsci.edu/schemas/asdf/unit/quantity-1.1.0"
- type: number
- type: "null"
type: array
items:
$ref: "#/definitions/equivalency"
...