We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b22c90f commit 7971770Copy full SHA for 7971770
1 file changed
meta_configurator/src/schema/validationService.ts
@@ -15,7 +15,7 @@ import Ajv2019 from 'ajv/dist/2019';
15
* It also supports validating against sub schemas of the top level schema.
16
*/
17
export class ValidationService {
18
- static readonly TOP_LEVEL_SCHEMA_KEY = '$topLevelSchema';
+ static readonly TOP_LEVEL_SCHEMA_KEY = 'topLevelSchema';
19
20
topLevelSchema: TopLevelSchema;
21
private _ajv: Ajv2020 | Ajv2019 | Ajv | undefined;
@@ -107,7 +107,7 @@ export class ValidationService {
107
}
108
109
if (result.$ref !== undefined) {
110
- result.$ref = this.topLevelSchema.$id + result.$ref;
+ result.$ref = this.topLevelSchemaId + result.$ref;
111
112
113
if (result.if) {
0 commit comments