File: fraction_with_inverse-1.0.0.yaml

package info (click to toggle)
python-asdf 2.14.3-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,280 kB
  • sloc: python: 16,612; makefile: 124
file content (17 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://nowhere.org/schemas/custom/fraction_with_inverse-1.0.0"
title: An example custom type for handling fractions with inverses

tag: "tag:nowhere.org:custom/fraction_with_inverse-1.0.0"
type: object
properties:
  numerator:
    type: integer
  denominator:
    type: integer
  inverse:
    $ref: fraction_with_inverse-1.0.0
required: [numerator, denominator]
...