# OCPP status values
VALUE_STATUS_ACCEPTED = "Accepted"
VALUE_STATUS_REJECTED = "Rejected"

# BootNotification constants
FIELD_CP_MODEL = 'model'
FIELD_CP_VENDOR = 'vendorName'
FIELD_BOOT_NOTIFICATION_REASON = 'reason'

VALUE_REASON_POWER_UP = 'PowerUp'
VALUE_AVAILABLE = 'Available'

# Charger constants
FIELD_CONNECTOR_STATUS = 'connectorStatus'
FIELD_CONNECTOR_ID = 'connectorId'
FIELD_CP_ID = 'evseId'

STATE_ONLINE = 'ONLINE'
STATE_OFFLINE = 'OFFLINE'

# General
HEADER_SEC_WEBSOCKET_PROTOCOL = 'Sec-WebSocket-Protocol'
HEADER_AUTHORIZATION = 'Authorization'

VALUE_SUCCESS = 'Success'
VALUE_ERROR = 'Error'

FIELD_JSON_STATUS = 'status'
FIELD_JSON_NAME = 'name'
FIELD_JSON_VERSION = 'version'
FIELD_JSON_DETAILS = 'details'