An open API service indexing awesome lists of open source software.

https://github.com/json-rpc-specification/meta-schema

JSON Schemas for JSON-RPC
https://github.com/json-rpc-specification/meta-schema

generated-code json-rpc json-schema open-rpc typescript

Last synced: 2 months ago
JSON representation

JSON Schemas for JSON-RPC

Awesome Lists containing this project

README

          

# JSON RPC JSON Schemas

This repo contains the JSON Schema meta-schema that corresponds to the various JSON-RPC objects.

From these JSON Schema, types for various languages are generated.

meta schema is hosted here: https://meta.jsonrpc.net/

## Installing

### Typescript

`npm install --save @json-rpc-specification/meta-schema`

### Golang

`go get github.com/json-rpc-specification/meta-schema`

### Rust

`cargo install jsonrpctypes`

## Using

### Typescript
```typescript
import { JSONRPCRequest } from "@json-rpc-specification/meta-schema"
```