awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
everit-org avatar

everit-org/json-schema

0
View on GitHub↗
901 星标·277 分支·Java·Apache-2.0·4 次浏览

Json Schema

该项目是一个 Java 库,旨在根据定义的模式规范验证 JSON 文档。它作为一个符合标准的引擎,通过检查结构合规性和在 Java 应用程序中强制执行业务规则来确保数据完整性。

该库通过其灵活的验证策略脱颖而出,允许开发者注入自定义逻辑和模式匹配引擎来处理专门的数据格式。它支持可配置的执行模式,使用户能够在第一个错误时立即停止验证,或收集所有违规情况以进行全面报告。此外,该引擎还包含用于类型强制转换和默认值注入的内置功能,这有助于在验证过程中标准化传入数据。

除了标准的结构检查外,该系统还提供了用于管理复杂数据依赖关系和安全约束的高级功能。它包括一个用于在没有网络访问的情况下解析模式引用的本地注册表,并支持强制执行只读或只写访问模式。该库还提供可观测性工具,例如允许外部系统监控内部验证过程的事件驱动钩子。

Features

  • Structural Data Validators - Validates JSON documents against defined schema specifications to ensure structural integrity.
  • JSON Schema Validation - Provides a standards-compliant engine for validating JSON documents against defined schema specifications.
  • Request Data Integrity - Validates incoming JSON payloads against schema specifications to ensure data integrity before backend processing.
  • Java Validation Libraries - Offers a Java-native library for enforcing structural constraints and data integrity through configurable validation rules.
  • Pluggable Body Validators - Allows developers to inject custom validation logic and pattern-matching engines to extend standard schema enforcement.
  • Data Normalization Utilities - Normalizes incoming data by coercing types and injecting default values to ensure consistent internal data models.
  • Data Type Coercion - Automatically transforms string-encoded inputs into primitive types during validation to ensure schema compatibility.
  • First Matching Item Retrievers with Error Handling - Halts the validation process immediately upon encountering the first schema violation to save processing time.
  • Violation Reporters - Collects all schema errors found during validation into a single report for comprehensive data analysis.
  • Fail-Fast Execution Controls - Supports configurable execution modes to either halt immediately upon the first violation or collect all errors.
  • JSON Schema Reference Resolvers - Resolves schema references locally to simplify dependency tracking and avoid unnecessary network calls.
  • Schema Tree Traversers - Processes nested data structures by recursively walking the schema tree and applying validation rules at each node.
  • Schema Reference Resolution - Manages relative identifiers and external dependencies through a local registry to resolve complex data structures without network access.
  • Custom Format Validators - Allows registration of custom validation logic and pattern matching to handle specialized data formats.
  • Input Type Parsing - Transforms string-based inputs into numeric or boolean formats automatically during validation.
  • Strict Object Validation - Enforces strict object validation to ensure data conforms to defined schema requirements.
  • Schema Default Values - Fills missing properties in an input document with predefined default values from a schema during validation.
  • Validation Error Reporters - Generates detailed reports that pinpoint specific schema violations and provide exact locations of errors.
  • JSON Schema Implementations - Implements the official JSON Schema specification, including support for complex reference resolution.
  • Write-Only Access Modes - Validates objects against read-only or write-only constraints to ensure data access patterns align with schema permissions.
  • Primitive Type Schemas - Accepts string-encoded numbers or booleans to accommodate loosely typed input data.

Star 历史

everit-org/json-schema 的 Star 历史图表everit-org/json-schema 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

包含 Json Schema 的精选搜索

收录 Json Schema 的精选合集。
  • 数据验证库
  • 模型属性验证库

Json Schema 的开源替代方案

相似的开源项目,按与 Json Schema 的功能重合度排序。
  • julian/jsonschemaJulian 的头像

    Julian/jsonschema

    4,951在 GitHub 上查看↗

    This project is a Python implementation of the JSON Schema specification, providing a library for verifying that data instances conform to defined schemas. It serves as a data validation framework capable of validating both the data itself and the schemas against official meta-schemas to ensure structural correctness. The library features a schema reference resolver that maps URIs to definitions, enabling the resolution of internal and remote references for modular schema management. It is designed for extensibility, allowing for the definition of custom keywords, custom type-checking logic,

    Python
    在 GitHub 上查看↗4,951
  • python-jsonschema/jsonschemapython-jsonschema 的头像

    python-jsonschema/jsonschema

    4,951在 GitHub 上查看↗

    This project is a JSON Schema validation library and framework used to verify that data instances conform to declarative definitions. It functions as a validation engine that enforces structural constraints and data types, while also serving as a meta-validator to ensure schema definitions themselves are syntactically correct against official meta-schemas. The library is designed for extensibility, allowing users to define custom validation logic by mapping schema keywords to specialized callable functions. It includes a registry-based reference resolver for managing internal and external URI

    Pythonjsonjson-schemajsonschema
    在 GitHub 上查看↗4,951
  • java-json-tools/json-schema-validatorjava-json-tools 的头像

    java-json-tools/json-schema-validator

    1,642在 GitHub 上查看↗

    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

    Java
    在 GitHub 上查看↗1,642
  • ianstormtaylor/superstructianstormtaylor 的头像

    ianstormtaylor/superstruct

    7,141在 GitHub 上查看↗

    Superstruct is a JavaScript and TypeScript data validation library used to verify that data structures match defined shapes and types. It functions as a composable schema builder and a TypeScript schema validator, ensuring that runtime data checks remain synchronized with static type definitions. The library features a data coercion engine that transforms input values or injects default values before the validation process is executed. It enables the creation of complex validation rules by nesting, merging, or omitting properties from existing structures. Its capabilities cover the validatio

    TypeScriptinterfacejavascriptschema
    在 GitHub 上查看↗7,141
查看 Json Schema 的所有 30 个替代方案→

常见问题解答

everit-org/json-schema 是做什么的?

该项目是一个 Java 库,旨在根据定义的模式规范验证 JSON 文档。它作为一个符合标准的引擎,通过检查结构合规性和在 Java 应用程序中强制执行业务规则来确保数据完整性。

everit-org/json-schema 的主要功能有哪些?

everit-org/json-schema 的主要功能包括:Structural Data Validators, JSON Schema Validation, Request Data Integrity, Java Validation Libraries, Pluggable Body Validators, Data Normalization Utilities, Data Type Coercion, First Matching Item Retrievers with Error Handling。

everit-org/json-schema 有哪些开源替代品?

everit-org/json-schema 的开源替代品包括: julian/jsonschema — This project is a Python implementation of the JSON Schema specification, providing a library for verifying that data… python-jsonschema/jsonschema — This project is a JSON Schema validation library and framework used to verify that data instances conform to… java-json-tools/json-schema-validator — This library is a Java-based tool for enforcing data structure constraints and verifying technical formats against… samchon/typia — Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation,… ianstormtaylor/superstruct — Superstruct is a JavaScript and TypeScript data validation library used to verify that data structures match defined… epoberezkin/ajv — Ajv is a JSON Schema validator and schema compilation engine used to verify that JavaScript objects conform to…