2.2.0 • Published 2 months ago

ocpp-standard-schema v2.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
2 months ago

OCPP Schemas for 1.5, 1.6 and 2.0

This package contains JSON schemas and typescript interfaces for said OCPP protocols

Install

npm install --save ocpp-standard-schema

Example

import {Ocpp15Schemas, Ocpp15Types ,Ocpp16Schemas, Ocpp16Types, Ocpp20Schemas, Ocpp20Types} from 'ocpp-standard-schema';


// Interfaces can beused as follows
const AuthorizeRequest: Ocpp16Types.AuthorizeRequest = {
  idTag: 'testTag',
};

// Schemas can be used as follows
const AuthorizeRequestSchema = Ocpp16Schemas.AuthorizeRequest;

OCPP 2.0 contain type information for the underlying data types also. They are not exposed through the normal module structure but you can still find them

import {CustomDataType} from 'ocpp-standard-schema/build/src/ocpp-20-types/AuthorizeRequest'
2.2.0

2 months ago

2.1.5

6 months ago

2.1.2

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.2.0

6 years ago

1.1.15

6 years ago

1.1.14

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago