+3
-7
README.md
+3
-7
README.md
···
3
[](https://hex.pm/packages/honk)
4
[](https://hexdocs.pm/honk/)
5
6
-
An ATProto Lexicon validator for Gleam.
7
-
8
-
## What is it?
9
-
10
-
**honk** validates [AT Protocol](https://atproto.com/) lexicon schemas and data against those schemas. Lexicons are the schema language used by the AT Protocol to define record types, XRPC endpoints, and data structures.
11
12
## Installation
13
···
83
84
## Features
85
86
-
- ✅ **17 Type Validators**: string, integer, boolean, bytes, blob, cid-link, null, object, array, union, ref, record, query, procedure, subscription, token, unknown
87
-
- ✅ **12 String Format Validators**: datetime (RFC3339), uri, at-uri, did, handle, at-identifier, nsid, cid, language, tid, record-key
88
- ✅ **Constraint Validation**: length limits, ranges, enums, required fields
89
- ✅ **Reference Resolution**: local (`#def`), global (`nsid#def`), and cross-lexicon references
90
- ✅ **Circular Dependency Detection**: prevents infinite reference loops
···
3
[](https://hex.pm/packages/honk)
4
[](https://hexdocs.pm/honk/)
5
6
+
An [AT Protocol](https://atproto.com/) Lexicon validator for Gleam.
7
8
## Installation
9
···
79
80
## Features
81
82
+
- ✅ **Type Validators**: string, integer, boolean, bytes, blob, cid-link, null, object, array, union, ref, record, query, procedure, subscription, token, unknown
83
+
- ✅ **String Format Validators**: datetime (RFC3339), uri, at-uri, did, handle, at-identifier, nsid, cid, language, tid, record-key
84
- ✅ **Constraint Validation**: length limits, ranges, enums, required fields
85
- ✅ **Reference Resolution**: local (`#def`), global (`nsid#def`), and cross-lexicon references
86
- ✅ **Circular Dependency Detection**: prevents infinite reference loops