Skip to content

Commit 77e156a

Browse files
author
Conduction Release Bot
committed
fix(register): move the schema KEY with the slug, this register keys by slug
Measured on the descriptor: key equals slug for every other schema here. Renaming only the slug made this one the single exception, and a reference that names a schema by bare string then has no way to stay right. The key is anchored to the schema-entry indent, so a nested property with the same name cannot be caught by it: dossiq has four `location` PROPERTIES, and an unanchored rename reshaped all four.
1 parent 058c25b commit 77e156a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Settings/softwarecatalogus_register.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@
890890
"magicMapping": true,
891891
"autoCreateTable": true
892892
},
893-
"assessment": {
893+
"software-review": {
894894
"magicMapping": true,
895895
"autoCreateTable": true
896896
},
@@ -3941,7 +3941,7 @@
39413941
}
39423942
}
39433943
},
3944-
"assessment": {
3944+
"software-review": {
39453945
"uri": null,
39463946
"slug": "software-review",
39473947
"x-openregister-notifications": {

lib/Settings/stackiq_mock_register.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
},
2929
"schemas": {
30-
"assessment": {
30+
"software-review": {
3131
"properties": {
3232
"auteur": {
3333
"type": "string",

0 commit comments

Comments
 (0)