@divvydiary/divvydiary-json-schemas 1.2.6 → 1.2.9
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
package/src/schemas/_defs.json
CHANGED
|
@@ -350,6 +350,20 @@
|
|
|
350
350
|
"Utilities"
|
|
351
351
|
],
|
|
352
352
|
"example": "Information Technology"
|
|
353
|
+
},
|
|
354
|
+
"sector_weightings": {
|
|
355
|
+
"type": "array",
|
|
356
|
+
"items": {
|
|
357
|
+
"type": "object",
|
|
358
|
+
"properties": {
|
|
359
|
+
"sector": {
|
|
360
|
+
"$ref": "https://divvydiary.com/schemas/defs.json#/properties/sector"
|
|
361
|
+
},
|
|
362
|
+
"weight": {
|
|
363
|
+
"type": "number"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
353
367
|
}
|
|
354
368
|
}
|
|
355
369
|
}
|
package/src/schemas/depot.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"quantity": {
|
|
15
15
|
"type": "number",
|
|
16
|
-
"minimum": 0
|
|
16
|
+
"minimum": 0,
|
|
17
17
|
"multipleOf": 0.000001
|
|
18
18
|
},
|
|
19
19
|
"price": {
|
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
},
|
|
100
100
|
"sector": {
|
|
101
101
|
"$ref": "https://divvydiary.com/schemas/defs.json#/properties/sector"
|
|
102
|
+
},
|
|
103
|
+
"sectorWeightings": {
|
|
104
|
+
"$ref": "https://divvydiary.com/schemas/defs.json#/properties/sector_weightings"
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
107
|
}
|