File size: 4,672 Bytes
8143f06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "name": "PG&E Solar NEM Energy Statement",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "accountNumber": {
      "type": "string",
      "description": "the PG&E account number (e.g. '1023456789-0')"
    },
    "statementDate": {
      "type": "string",
      "format": "date",
      "description": "the statement date in YYYY-MM-DD"
    },
    "dueDate": {
      "type": "string",
      "format": "date",
      "description": "the due date in YYYY-MM-DD"
    },
    "serviceAddress": {
      "type": "string",
      "description": "the service-for address (e.g. '1234 Main Street')"
    },
    "serviceAgreementId": {
      "type": "string",
      "description": "the service agreement ID (e.g. '9087654321')"
    },
    "rateSchedule": {
      "type": "string",
      "description": "the rate schedule (e.g. 'EV2A Home Charging')"
    },
    "previousUnpaidBalance": {
      "type": "number",
      "description": "the previous unpaid balance in dollars (e.g. 13.20)"
    },
    "currentElectricMonthlyCharges": {
      "type": "number",
      "description": "current electric monthly charges in dollars (e.g. 17.90)"
    },
    "totalAmountDue": {
      "type": "number",
      "description": "total amount due in dollars (e.g. 31.10)"
    },
    "ytdNemChargesBeforeTaxes": {
      "type": "number",
      "description": "year-to-date NEM charges before taxes in dollars, negative if a credit (e.g. -4.84)"
    },
    "totalElectricMinimumDeliveryCharges": {
      "type": "number",
      "description": "total electric minimum delivery charges in dollars (e.g. 17.62)"
    },
    "ytdEstimatedNemChargesAtTrueUp": {
      "type": "number",
      "description": "ytd estimated NEM charges at true-up in dollars (e.g. 0.00)"
    },
    "meterNumber": {
      "type": "string",
      "description": "the meter number (e.g. '1098765432')"
    },
    "meterImportsKwh": {
      "type": "number",
      "description": "metered imports in kWh (e.g. 13.376800)"
    },
    "meterExportsKwh": {
      "type": "number",
      "description": "metered exports in kWh, negative as printed (e.g. -19.828000)"
    },
    "meterNetUsageKwh": {
      "type": "number",
      "description": "metered net usage in kWh, negative if net export (e.g. -6.451200)"
    },
    "nemCharges": {
      "type": "array",
      "description": "one entry per bill-period row in the Summary of NEM Charges table",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "billPeriodEndDate": {
            "type": "string",
            "format": "date",
            "description": "the bill period end date in YYYY-MM-DD (e.g. 2026-02-15)"
          },
          "netUsageKwh": {
            "type": "number",
            "description": "net usage in kWh for the period, negative if net export (e.g. -6)"
          },
          "estimatedNemChargesBeforeTaxes": {
            "type": "number",
            "description": "estimated NEM charges before taxes in dollars, negative if a credit (e.g. -2.42)"
          },
          "estimatedTotalNemCharges": {
            "type": "number",
            "description": "estimated total NEM charges in dollars, negative if a credit (e.g. -2.55)"
          }
        },
        "required": [
          "billPeriodEndDate",
          "netUsageKwh",
          "estimatedNemChargesBeforeTaxes",
          "estimatedTotalNemCharges"
        ]
      }
    },
    "monthlyChargeLines": {
      "type": "array",
      "description": "one entry per dated charge line in Details of Electric Monthly Charges",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "chargeType": {
            "type": "string",
            "description": "the charge label (e.g. 'Minimum Delivery Charge', 'Base Services Charge', 'San Jose Utility Users Tax')"
          },
          "days": {
            "type": "number",
            "description": "the number of billing days for the charge if printed (e.g. 13)"
          },
          "rate": {
            "type": "number",
            "description": "the per-day rate in dollars if printed (e.g. 0.39167)"
          },
          "amount": {
            "type": "number",
            "description": "the charge amount in dollars (e.g. 5.09)"
          }
        },
        "required": [
          "chargeType",
          "amount"
        ]
      }
    }
  },
  "required": [
    "accountNumber",
    "statementDate",
    "totalAmountDue",
    "ytdNemChargesBeforeTaxes",
    "nemCharges",
    "monthlyChargeLines"
  ]
}