6 个仓库
The technical process of resolving internal and external pointers within a schema definition.
Distinct from API Reference Resolution: More specific than general API reference resolution by focusing on the JSON Schema $ref mechanism.
Explore 6 awesome GitHub repositories matching software engineering & architecture · Schema Reference Resolution. Refine with filters or upvote what's useful.
本项目是一个 JSON Schema 验证库和框架,用于验证数据实例是否符合声明性定义。它作为一个验证引擎,强制执行结构约束和数据类型,同时也作为一个元验证器,确保模式定义本身在语法上符合官方元模式。 该库专为可扩展性而设计,允许用户通过将模式关键字映射到专门的可调用函数来定义自定义验证逻辑。它包括一个基于注册表的引用解析器,用于管理内部和外部 URI 引用,以便在不同文档间重用子模式。 该系统涵盖了广泛的验证功能,包括数据类型验证、针对电子邮件和 UUID 等类型的字符串格式检查,以及全面的错误报告。诊断工具提供嵌套错误跟踪和启发式过滤,以识别数据结构中最相关的失败。
Resolves internal and external pointers within schema definitions using a registry-based system.
本项目是 JSON Schema 规范的 Python 实现,提供了一个用于验证数据实例是否符合定义模式的库。它作为一个数据验证框架,能够验证数据本身以及模式是否符合官方元模式,以确保结构正确性。 该库具有一个模式引用解析器,可将 URI 映射到定义,从而实现用于模块化模式管理的内部和远程引用解析。它专为可扩展性而设计,允许定义自定义关键字、自定义类型检查逻辑,并为专门的字符串格式注册新的验证函数。 该系统提供全面的错误报告,可识别数据实例中的所有违规行为,并将它们组织成树状层次结构。这允许对验证失败进行程序化查询、诊断元数据提取以及基于数据层次结构识别主要错误。 该实现通过特定版本的验证器类和模式方言规范支持多种规范草案。
Maps unique identifiers to schema definitions to resolve internal and remote references during validation.
JSON Editor 是一个基于 Schema 的 UI 框架和 Web 编辑器,用于生成交互式表单并验证 JSON 数据。它将 JSON Schema 规范转换为 HTML 表单元素层级,使用户能够通过结构化界面而非原始文本来操作复杂的 JSON 结构。 该框架的特色在于其基于插件的扩展系统,支持自定义解析器函数以及集成 WYSIWYG、Markdown 和语法高亮代码编辑器等专用编辑器。它采用递归 Schema 解析来处理嵌套定义,并实现了基于 if-then-else 逻辑的状态条件验证。 该项目提供了广泛的功能,包括双向数据绑定、用于网格和标签页的数组与对象布局管理,以及通过模板插值实现的动态字段同步。其组件库涵盖了标准输入以及颜色选择器、日期时间选择器、自动补全组件和文件上传接口等专用工具。 该界面支持 UI 字符串的本地化,并可与各种 CSS 框架集成,从而将结构化表单生成与视觉样式解耦。
Resolves internal and external JSON pointers to load schema definitions from remote URLs or local sources.
fast-json-stringify is a high-performance JSON serialization library that uses JSON Schema to compile optimized functions for converting JavaScript objects into strings. It serves as a schema-based JSON serializer that generates specialized serialization logic to outperform standard stringification methods. The project provides capabilities to export standalone serialization code to files for direct execution and supports schema reference resolution to eliminate logic duplication. It allows for the deactivation of character escaping for trusted data to reduce overhead and includes specific op
Supports resolving internal and external pointers within JSON schemas to eliminate logic duplication.
This library is a Java-based tool for enforcing data structure constraints and verifying technical formats against defined schema specifications. It functions as a processing utility that parses complex data structures while managing external schema references and circular dependencies. The engine distinguishes itself through an immutable processor design that enables thread-safe, concurrent validation without requiring external synchronization. It employs arbitrary-precision arithmetic to evaluate numeric constraints, preventing common floating-point rounding errors, and utilizes character-l
Fetches and processes external schema definitions using various URI schemes while managing custom handlers and detecting circular dependencies.
该项目是一个 Java 库,旨在根据定义的模式规范验证 JSON 文档。它作为一个符合标准的引擎,通过检查结构合规性和在 Java 应用程序中强制执行业务规则来确保数据完整性。 该库通过其灵活的验证策略脱颖而出,允许开发者注入自定义逻辑和模式匹配引擎来处理专门的数据格式。它支持可配置的执行模式,使用户能够在第一个错误时立即停止验证,或收集所有违规情况以进行全面报告。此外,该引擎还包含用于类型强制转换和默认值注入的内置功能,这有助于在验证过程中标准化传入数据。 除了标准的结构检查外,该系统还提供了用于管理复杂数据依赖关系和安全约束的高级功能。它包括一个用于在没有网络访问的情况下解析模式引用的本地注册表,并支持强制执行只读或只写访问模式。该库还提供可观测性工具,例如允许外部系统监控内部验证过程的事件驱动钩子。
Manages relative identifiers and external dependencies through a local registry to resolve complex data structures without network access.