@divvydiary/divvydiary-json-schemas 1.2.65 → 1.2.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divvydiary/divvydiary-json-schemas",
3
- "version": "1.2.65",
3
+ "version": "1.2.67",
4
4
  "description": "JSON Schemas for DivvyDiary.com",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -677,6 +677,76 @@
677
677
  }
678
678
  }
679
679
  }
680
+ },
681
+ "symbolReturns": {
682
+ "type": "object",
683
+ "properties": {
684
+ "currency": {
685
+ "$ref": "https://divvydiary.com/schemas/defs.json#/properties/currency"
686
+ },
687
+ "dividends": {
688
+ "type": "number"
689
+ },
690
+ "drip": {
691
+ "type": "boolean"
692
+ },
693
+ "endAmount": {
694
+ "type": "number"
695
+ },
696
+ "endQuantity": {
697
+ "type": "number"
698
+ },
699
+ "endQuote": {
700
+ "type": "object",
701
+ "properties": {
702
+ "date": { "type": "string", "format": "date" },
703
+ "price": { "type": "number" }
704
+ }
705
+ },
706
+ "fromPostponed": {
707
+ "type": "boolean"
708
+ },
709
+ "priceGain": {
710
+ "type": "number"
711
+ },
712
+ "priceGainCagr": {
713
+ "type": "number"
714
+ },
715
+ "security": {
716
+ "$ref": "https://divvydiary.com/schemas/symbol.json"
717
+ },
718
+ "startAmount": {
719
+ "type": "number"
720
+ },
721
+ "startQuantity": {
722
+ "type": "number"
723
+ },
724
+ "startQuote": {
725
+ "type": "object",
726
+ "properties": {
727
+ "date": { "type": "string", "format": "date" },
728
+ "price": { "type": "number" }
729
+ }
730
+ },
731
+ "totalEnd": {
732
+ "type": "number"
733
+ },
734
+ "totalGain": {
735
+ "type": "number"
736
+ },
737
+ "totalReturn": {
738
+ "type": "number"
739
+ },
740
+ "totalReturnCagr": {
741
+ "type": "number"
742
+ }
743
+ }
744
+ },
745
+ "industry": {
746
+ "type": "string",
747
+ "nullable": true,
748
+ "enum": [null, "Tobacco"],
749
+ "example": "Tobacco"
680
750
  }
681
751
  }
682
752
  }
@@ -107,6 +107,9 @@
107
107
  "type": "string",
108
108
  "format": "uri",
109
109
  "nullable": true
110
+ },
111
+ "industry": {
112
+ "$ref": "https://divvydiary.com/schemas/defs.json#/properties/industry"
110
113
  }
111
114
  }
112
115
  }
@@ -45,6 +45,26 @@
45
45
  },
46
46
  "timeframeDividendsChart": {
47
47
  "$ref": "#/$defs/timeframe"
48
+ },
49
+ "totalPerformanceRecentSearch": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "object",
53
+ "properties": {
54
+ "name": {
55
+ "type": "string"
56
+ },
57
+ "id": {
58
+ "type": "string"
59
+ },
60
+ "performanceType": {
61
+ "type": "string"
62
+ },
63
+ "symbol": {
64
+ "type": "string"
65
+ }
66
+ }
67
+ }
48
68
  }
49
69
  }
50
70
  }