Skip to content

Commit

Permalink
fix(validation): make a few quoteSummary properties optional
Browse files Browse the repository at this point in the history
  • Loading branch information
advaiyalad committed Feb 17, 2021
1 parent b230635 commit a6535ee
Show file tree
Hide file tree
Showing 66 changed files with 14,262 additions and 12 deletions.
7 changes: 1 addition & 6 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2059,11 +2059,7 @@
}
},
"required": [
"maxAge",
"insidersPercentHeld",
"institutionsPercentHeld",
"institutionsFloatPercentHeld",
"institutionsCount"
"maxAge"
],
"type": "object"
},
Expand Down Expand Up @@ -2202,7 +2198,6 @@
"sellInfoCount",
"netInfoCount",
"netInfoShares",
"netPercentInsiderShares",
"totalInsiderShares"
],
"type": "object"
Expand Down
11 changes: 5 additions & 6 deletions src/modules/quoteSummary-iface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,12 +607,11 @@ export enum OwnershipEnum {

export interface MajorHoldersBreakdown {
maxAge: number;
insidersPercentHeld: number;
institutionsPercentHeld: number;
institutionsFloatPercentHeld: number;
institutionsCount: number;
insidersPercentHeld?: number;
institutionsPercentHeld?: number;
institutionsFloatPercentHeld?: number;
institutionsCount?: number;
}

export interface NetSharePurchaseActivity {
maxAge: number;
period: string;
Expand All @@ -624,7 +623,7 @@ export interface NetSharePurchaseActivity {
sellPercentInsiderShares?: number;
netInfoCount: number;
netInfoShares: number;
netPercentInsiderShares: number;
netPercentInsiderShares?: number;
totalInsiderShares: number;
}

Expand Down
Loading

0 comments on commit a6535ee

Please sign in to comment.