Skip to content

Commit

Permalink
mention broken prefixItems
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Jun 26, 2024
1 parent efcc4ac commit 018dce5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grammars/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ space ::= | " " | "\n" [ \t]{0,20}

Here is also a non-exhaustive list of limitations & **unsupported** features:

- [prefixItems](https://json-schema.org/draft/2020-12/json-schema-core#name-prefixitems) is broken (but [items](https://json-schema.org/draft/2020-12/json-schema-core#name-items) works)
- `minimum`, `exclusiveMinimum`, `maximum`, `exclusiveMaximum`: only supported for `"type": "integer"` for now, not `number`
- `$ref` handling is a bit buggy (https://github.com/ggerganov/llama.cpp/issues/8073)
- [pattern](https://json-schema.org/draft/2020-12/json-schema-validation#name-pattern)s must start with `^` and end with `$`
Expand Down

0 comments on commit 018dce5

Please sign in to comment.