File: more-bundle2.yaml

package info (click to toggle)
libjson-validator-perl 5.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,160 kB
  • sloc: perl: 3,015; makefile: 14
file content (25 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
$schema: http://json-schema.org/draft-07/schema#
definitions:
  my_name:
    type: string
    minLength: 2
  my_address:
    type: object
    properties:
      street:
        type: string
      city:
        # this is a local ref in a secondary file - resolution is extra tricky
        $ref: '#/definitions/my_name'
  dupe_name:
    type: string
  i_am_a_ref_with_the_same_name:
    type: string
  i_have_a_ref_to_the_first_filename:
    type: object
    properties:
      gotcha:
        $ref: more-bundle.yaml#/definitions/ref3
  i_have_a_ref_with_the_same_name:
    type: string