Skip to content

Commit 3d9129d

Browse files
authored
feat: add a custom_* field to extend instruction's schema (#1167)
This adds a way of adding _custom_*_ fields into instructions. It's very handy to describe data UDB doesn't support. Signed-off-by: Afonso Oliveira <afonsoo@synopsys.com>
1 parent 10dafd4 commit 3d9129d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/schemas/inst_schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,9 @@
504504
}
505505
]
506506
}
507+
},
508+
"patternProperties": {
509+
"^custom_[A-Za-z0-9_]+$": {}
507510
}
508511
}
509512
},

0 commit comments

Comments
 (0)