| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "id": "urn:OCPP:1.6:2019:12:StopTransactionRequest",
- "title": "StopTransactionRequest",
- "type": "object",
- "properties": {
- "idTag": {
- "type": "string",
- "maxLength": 20
- },
- "meterStop": {
- "type": "integer"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "transactionId": {
- "type": "integer"
- },
- "reason": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "EmergencyStop",
- "EVDisconnected",
- "HardReset",
- "Local",
- "Other",
- "PowerLoss",
- "Reboot",
- "Remote",
- "SoftReset",
- "UnlockCommand",
- "DeAuthorized"
- ]
- },
- "transactionData": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "sampledValue": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "value": {
- "type": "string"
- },
- "context": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "Interruption.Begin",
- "Interruption.End",
- "Sample.Clock",
- "Sample.Periodic",
- "Transaction.Begin",
- "Transaction.End",
- "Trigger",
- "Other"
- ]
- },
- "format": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "Raw",
- "SignedData"
- ]
- },
- "measurand": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "Energy.Active.Export.Register",
- "Energy.Active.Import.Register",
- "Energy.Reactive.Export.Register",
- "Energy.Reactive.Import.Register",
- "Energy.Active.Export.Interval",
- "Energy.Active.Import.Interval",
- "Energy.Reactive.Export.Interval",
- "Energy.Reactive.Import.Interval",
- "Power.Active.Export",
- "Power.Active.Import",
- "Power.Offered",
- "Power.Reactive.Export",
- "Power.Reactive.Import",
- "Power.Factor",
- "Current.Import",
- "Current.Export",
- "Current.Offered",
- "Voltage",
- "Frequency",
- "Temperature",
- "SoC",
- "RPM"
- ]
- },
- "phase": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "L1",
- "L2",
- "L3",
- "N",
- "L1-N",
- "L2-N",
- "L3-N",
- "L1-L2",
- "L2-L3",
- "L3-L1"
- ]
- },
- "location": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "Cable",
- "EV",
- "Inlet",
- "Outlet",
- "Body"
- ]
- },
- "unit": {
- "type": "string",
- "additionalProperties": false,
- "enum": [
- "Wh",
- "kWh",
- "varh",
- "kvarh",
- "W",
- "kW",
- "VA",
- "kVA",
- "var",
- "kvar",
- "A",
- "V",
- "K",
- "Celcius",
- "Fahrenheit",
- "Percent"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "value"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "timestamp",
- "sampledValue"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "transactionId",
- "timestamp",
- "meterStop"
- ]
- }
|