Skip to content

Commit e6e0886

Browse files
authored
Merge pull request #39 from arpitkuriyal/basicToDetailed
Basic to detailed
2 parents 254c5de + a54f90d commit e6e0886

File tree

5 files changed

+1131
-566
lines changed

5 files changed

+1131
-566
lines changed

src/index.d.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,15 @@ export type SchemaObject = {
2424
[keyword: string]: SchemaFragment;
2525
};
2626

27-
export type OutputFormat = {
27+
export type OutputFormat = OutputUnit & {
2828
valid: boolean;
29-
errors: OutputUnit[];
3029
};
3130

3231
export type OutputUnit = {
3332
valid?: boolean;
34-
keyword?: string;
3533
absoluteKeywordLocation?: string;
3634
keywordLocation?: string;
37-
instanceLocation: string;
38-
error?: string;
35+
instanceLocation?: string;
3936
errors?: OutputUnit[];
4037
};
4138

0 commit comments

Comments
 (0)