ajv-validator / ajv-validator/ajv-cli

Use standard meta schema

Aperta
#199 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
316
Fork
77
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

From ajv's documentation I see there are standard meta schemas that can be used, but how to do that from the CLI?

Using `-m /usr/share/nodejs/ajv/lib/refs/json-schema-draft-04.json` doesn't seem to help at all:
```
meta-schema /usr/share/nodejs/ajv/lib/refs/json-schema-draft-04.json is invalid
error: no schema with key or ref "http://json-schema.org/draft-04/schema#"
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.