@divvydiary/divvydiary-json-schemas 1.2.0 → 1.2.1

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.0",
3
+ "version": "1.2.1",
4
4
  "description": "JSON Schemas for DivvyDiary.com",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -83,7 +83,11 @@
83
83
  "^\\d{4}$": {
84
84
  "type": "object",
85
85
  "properties": {
86
- "total": {
86
+ "totalGross": {
87
+ "type": "number",
88
+ "minimum": 0
89
+ },
90
+ "totalNet": {
87
91
  "type": "number",
88
92
  "minimum": 0
89
93
  },
@@ -95,7 +99,12 @@
95
99
  "isin": {
96
100
  "$ref": "https://divvydiary.com/schemas/defs.json#/properties/isin"
97
101
  },
98
- "amount": {
102
+ "amountGross": {
103
+ "type": "number",
104
+ "minimum": 0,
105
+ "multipleOf": 0.000001
106
+ },
107
+ "amountNet": {
99
108
  "type": "number",
100
109
  "minimum": 0,
101
110
  "multipleOf": 0.000001