Skip to content

Commit dd71ace

Browse files
committed
Use template schema properly
1 parent 303cf1a commit dd71ace

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

schemas/bytecode.schema.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,24 @@ properties:
2424
additionalItems: false
2525

2626
types:
27-
type: object
27+
title: Types by name
2828
description: |
2929
A collection of types by name identifier. This field is optional and
3030
**may** be used by compilers that wish to minimize the size of output
3131
debugging data by de-duplicating type representations.
32+
type: object
3233
additionalProperties:
3334
$ref: "schema:ethdebug/format/type"
3435

3536
pointers:
36-
$ref: "schema:ethdebug/format/pointer/templates"
37+
title: Pointers by name
38+
description: |
39+
A collection of pointer templates by name identifier. This field is
40+
optional and **may** be used by compilers that wish to minimize the size
41+
of output debugging data by de-duplicating type representations.
42+
type: object
43+
additionalProperties:
44+
$ref: "schema:ethdebug/format/pointer/template"
3745

3846
required:
3947
- instructions

0 commit comments

Comments
 (0)