File: custom_schema_external_ref.yaml

package info (click to toggle)
python-asdf 5.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,952 kB
  • sloc: python: 23,957; makefile: 123
file content (17 lines) | stat: -rw-r--r-- 395 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"
title: |
  Custom schema with an external reference, used for testing.

description: |
  This schema is used to test custom schema validation with an external reference.

type: object
properties:
  foo:
    anyOf:
      - $ref: "http://stsci.edu/schemas/asdf/core/software-1.0.0"

required: [foo]
additionalProperties: true