You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/extensions/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ The corresponding PR definition frames these groups as the canonical vocabulary
16
16
## Solution Layout
17
17
-`components/` – YAML fragments exposing each error family as an OpenRPC `x-error-group` definition.
18
18
-`schemas/x-error-category-ranges.json` – Extension to official `x-error-groups` that enforces the reserved integer windows per category during validation.
19
+
- This is to achieve inbuild validation of the reserved ranges per category using native `minimum` & `maximum` properties of the extended schema.
20
+
- Validation happens while running `scripts/validate.js` after building the final `refs-openrpc.json` / `openrpc.json`.
19
21
-`scripts/build.js` – Loads the schema above, augments the `XErrorGroupsJSON` extension, and merges the groups into `refs-openrpc.json` / `openrpc.json`.
0 commit comments