@divvydiary/divvydiary-json-schemas 1.8.6 → 1.8.8

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.8.6",
3
+ "version": "1.8.8",
4
4
  "description": "JSON Schemas for DivvyDiary.com",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -773,6 +773,37 @@
773
773
  "nullable": true,
774
774
  "enum": [null, "Tobacco"],
775
775
  "example": "Tobacco"
776
+ },
777
+ "xray": {
778
+ "type": "object",
779
+ "properties": {
780
+ "meta": {
781
+ "type": "object",
782
+ "patternProperties": {
783
+ "^[A-Z]{2}[A-Z0-9]{9}[0-9]$": {
784
+ "type": "object",
785
+ "properties": {
786
+ "name": { "type": "string" }
787
+ }
788
+ }
789
+ }
790
+ },
791
+ "holdings": {
792
+ "type": "object",
793
+ "patternProperties": {
794
+ "^[A-Z]{2}[A-Z0-9]{9}[0-9]$": {
795
+ "type": "array",
796
+ "items": {
797
+ "type": "object",
798
+ "properties": {
799
+ "security": { "type": "string" },
800
+ "weight": { "type": "number" }
801
+ }
802
+ }
803
+ }
804
+ }
805
+ }
806
+ }
776
807
  }
777
808
  }
778
809
  }
@@ -25,13 +25,6 @@
25
25
  "type": "number",
26
26
  "minimum": 0
27
27
  },
28
- "prevAmount": {
29
- "type": "number",
30
- "minimum": 0,
31
-
32
- "nullable": true,
33
- "deprecated": true
34
- },
35
28
  "nickname": {
36
29
  "oneOf": [
37
30
  {
@@ -65,24 +65,6 @@
65
65
  "$ref": "https://divvydiary.com/schemas/split.json"
66
66
  }
67
67
  },
68
- "dividendsHistory": {
69
- "type": "object",
70
- "deprecated": true,
71
- "properties": {
72
- "dividends": {
73
- "type": "array",
74
- "items": {
75
- "$ref": "https://divvydiary.com/schemas/dividend.json"
76
- }
77
- },
78
- "stubs": {
79
- "type": "array",
80
- "items": {
81
- "$ref": "https://divvydiary.com/schemas/dividend.json"
82
- }
83
- }
84
- }
85
- },
86
68
  "dividendsGrowth": {
87
69
  "type": "object",
88
70
  "deprecated": true,