python-jsonschema / python-jsonschema/referencing
Add a mechanism for evolving JSON Schema drafts to add keywords
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 53
- Fork
- 27
- Merge medio
- 1g 8h
- PR unite (30g)
- 8
Descrizione
We need some generic mechanism for saying "I have a new Specification, it's like DRAFT202012 but with a new keyword foo" and then allowing the new keyword foo to either have a schema value (a la additionalItems or whatever) or schema-containing values (properties) etc...
Obviously the most "generic" mechanism will be fully defining subresources_of (and now maybe_in_subresource) as a generic callable -- but a simple/fast interface which just allows adding the extra keyword will make things easier downstream.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
I punti di ingresso proposti sono Specification, DRAFT202012, subresources_of e forse maybe_in_subresource; inizia tracciando come vengono gestite parole chiave come additionalItems e properties. Il lavoro è completo quando un utente downstream può derivare una nuova Specification da DRAFT202012 e aggiungere foo sia con forme il cui valore è uno schema sia con forme che contengono uno schema.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- json, python
- Ambito
- api, backend-api-design
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100