2.2.0 • Published 7 months ago

ocpp-standard-schema v2.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
7 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

7 months ago

2.1.5

11 months ago

2.1.2

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

3 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

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago