Skip to content

Commit 76bb11d

Browse files
committed
Move compilation to resources schema
1 parent 3d6e658 commit 76bb11d

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

schemas/info.schema.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,17 @@ type: object
1010
$ref: "schema:ethdebug/format/info/resources"
1111

1212
properties:
13-
compilation:
14-
title: Compilation
15-
description: |
16-
A reference to the compilation as an `{ "id": ... }` object.
17-
$ref: "schema:ethdebug/format/materials/compilation"
18-
1913
programs:
2014
type: array
2115
items:
2216
$ref: "schema:ethdebug/format/program"
2317
additionalItems:
2418
false
2519

20+
compilation:
21+
$ref: "schema:ethdebug/format/materials/compilation"
22+
23+
2624
required:
2725
- compilation
2826
- programs

schemas/info/resources.schema.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ properties:
2424
additionalProperties:
2525
$ref: "schema:ethdebug/format/pointer/template"
2626

27+
compilation:
28+
$ref: "schema:ethdebug/format/materials/compilation"
29+
30+
2731
required:
2832
- types
2933
- pointers

0 commit comments

Comments
 (0)