summaryrefslogtreecommitdiff
path: root/tests/files/success/test_type_float.yaml
blob: ffd1bba7779e1afbc317f8b07f29048ab34e7fe9 (plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
name: float1
desc: Test simples float value
data: 3.14159
schema:
  type: float
---
name: float2
desc: Test float value inside list
data:
  - 1
  - 3.14159
schema:
  type: seq
  sequence:
    - type: float
---
name: float3
desc: Test float value in mapping
data:
    foo: 3.14159
    bar: 1
schema:
  type: map
  mapping:
    foo:
      type: float
    bar:
      type: float
---
name: float4
desc: Test float inside nested map & seq
data:
  foo:
    - 1
    - 3.14159
schema:
  type: map
  mapping:
    foo:
      type: seq
      sequence:
        - type: float