All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemas.v15.stoptransaction.json Maven / Gradle / Ivy

Go to download

Open Charge Point Protocol (OCPP). Provides a JSON web socket endpoint based on OCPP 1.5.

The newest version!
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "StopTransactionRequest",
    "type": "object",
    "properties": {
        "transactionId": {
            "type": "integer"
        },
        "idTag": {
            "type": "string",
            "maxLength": 20
        },
        "timestamp": {
            "type": "string",
            "format": "date-time"
        },
        "meterStop": {
            "type": "integer"
        },
        "transactionData": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "values": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "timestamp": {
                                    "type": "string",
                                    "format": "date-time"
                                },
                                "values": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "context": {
                                                "type": "string"
                                            },
                                            "format": {
                                                "type": "string"
                                            },
                                            "measurand": {
                                                "type": "string"
                                            },
                                            "location": {
                                                "type": "string"
                                            },
                                            "unit": {
                                                "type": "string"
                                            }
                                        },
                                        "required": [
                                            "value"
                                        ]
                                    },
                                    "minItems": 1
                                }
                            },
                            "required": [
                                "values"
                            ]
                        }
                    }
                }
            }
        }
    },
    "required": [
        "transactionId",
        "timestamp",
        "meterStop"
    ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy