@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@divvydiary/divvydiary-json-schemas",
3
- "version": "1.2.6",
3
+ "version": "1.2.9",
4
4
  "description": "JSON Schemas for DivvyDiary.com",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
  }
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "quantity": {
15
15
  "type": "number",
16
- "minimum": 0.000001,
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
  }
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "quantity": {
32
32
  "type": "number",
33
- "minimum": 0.000001,
33
+ "minimum": 0,
34
34
  "multipleOf": 0.000001
35
35
  },
36
36
  "exchangeRate": {