{
    "$id": "StatusNotificationRequest",
    "comment": "OCPP 2.0.1 FINAL",
    "definitions": {
        "CustomDataType": {
            "description": "Represents OCPP CustomData. Allows vendor-specific extension properties.",
            "javaType": "CustomData",
            "type": "object",
            "properties": {
                "vendorId": {
                    "type": "string",
                    "maxLength": 255
                }
            },
            "required": ["vendorId"]
        },
        "ConnectorStatusEnumType": {
            "description": "This contains the current status of the Connector.\r\n",
            "javaType": "ConnectorStatusEnum",
            "type": "string",
            "additionalProperties": true,
            "enum": ["Available", "Occupied", "Reserved", "Unavailable", "Faulted"],
            "tsEnumNames": ["Available", "Occupied", "Reserved", "Unavailable", "Faulted"]
        }
    },
    "type": "object",
    "additionalProperties": true,
    "properties": {
        "customData": {
            "$ref": "#/definitions/CustomDataType"
        },
        "timestamp": {
            "description": "The time for which the status is reported. If absent time of receipt of the message will be assumed.\r\n",
            "type": "string",
            "format": "date-time",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?(?:Z|[+\\-]\\d{2}:\\d{2})$"
        },
        "connectorStatus": {
            "$ref": "#/definitions/ConnectorStatusEnumType"
        },
        "evseId": {
            "description": "The id of the EVSE to which the connector belongs for which the the status is reported.\r\n",
            "type": "integer",
            "minimum": -2147483648,
            "maximum": 2147483647
        },
        "connectorId": {
            "description": "The id of the connector within the EVSE for which the status is reported.\r\n",
            "type": "integer",
            "minimum": -2147483648,
            "maximum": 2147483647
        }
    },
    "required": ["timestamp", "connectorStatus", "evseId", "connectorId"]
}
