@divvydiary/divvydiary-json-schemas 1.2.4 → 1.2.7

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.4",
3
+ "version": "1.2.7",
4
4
  "description": "JSON Schemas for DivvyDiary.com",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -335,10 +335,21 @@
335
335
  },
336
336
  "sector": {
337
337
  "type": "string",
338
- "minLength": 1,
339
- "maxLength": 255,
340
- "example": "Information Technology",
341
- "nullable": true
338
+ "enum": [
339
+ null,
340
+ "Communication Services",
341
+ "Consumer Discretionary",
342
+ "Consumer Staples",
343
+ "Energy",
344
+ "Financials",
345
+ "Health Care",
346
+ "Industrials",
347
+ "Information Technology",
348
+ "Materials",
349
+ "Real Estate",
350
+ "Utilities"
351
+ ],
352
+ "example": "Information Technology"
342
353
  }
343
354
  }
344
355
  }
@@ -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": {
@@ -96,6 +96,9 @@
96
96
  },
97
97
  "dividendFrequency": {
98
98
  "$ref": "https://divvydiary.com/schemas/defs.json#/properties/dividendFrequency"
99
+ },
100
+ "sector": {
101
+ "$ref": "https://divvydiary.com/schemas/defs.json#/properties/sector"
99
102
  }
100
103
  }
101
104
  }
@@ -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": {