Ecosyste.ms: Awesome
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: about 19 hours ago
JSON representation
JSON Schemas for JSON-RPC
- Host: GitHub
- URL: https://github.com/json-rpc-specification/meta-schema
- Owner: json-rpc-specification
- License: apache-2.0
- Created: 2022-10-28T19:49:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T21:00:47.000Z (8 months ago)
- Last Synced: 2024-12-16T23:43:45.049Z (about 1 month ago)
- Topics: generated-code, json-rpc, json-schema, open-rpc, typescript
- Language: Go
- Homepage: https://meta.jsonrpc.net/
- Size: 386 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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"
```