awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bufbuild avatar

bufbuild/protoc-gen-validateArchived

0
View on GitHub↗
4,122 نجوم·604 تفرعات·Go·Apache-2.0·4 مشاهداتgithub.com/bufbuild/protovalidate↗

Protoc Gen Validate

هذا المشروع عبارة عن إضافة للتحقق من بروتوكول المخزن المؤقت (Protocol Buffer) ومولد أكواد ينشئ منطق تحقق متسق عبر لغات برمجة متعددة. يعمل كامتداد للمترجم لسلسلة أدوات Protocol Buffer، مما يسمح للمطورين بتعريف قيود دلالية مباشرة داخل ملفات المخطط (schema) لضمان اتساق البيانات.

تستخدم الأداة خيارات مخصصة لتضمين قواعد التحقق في تعريفات الرسائل، وتعيين قيود المخطط هذه لأنماط التنفيذ الخاصة باللغة. تستخدم فحص القيود القائم على المسند (predicate) والاجتياز العودي لفرض القواعد عبر تسلسلات الرسائل المتداخلة.

يغطي سطح التحقق النطاقات والقيم الرقمية، وأنماط وتنسيقات السلاسل، وقيود تسلسل البايت، وفرض التعداد (enum). كما يدير أحجام المجموعات والحقول المتكررة، والتحقق من النوع المعقد للطوابع الزمنية والمدد، ومتطلبات اختيار حقل الاتحاد (union).

Features

  • Validation Logic Generators - Defines semantic constraints in Protobuf schemas to automatically generate code that ensures incoming messages are valid and consistent.
  • Validation Plugins - Provides a protoc plugin that generates code to enforce semantic constraints and data validation rules for messages.
  • Strict Schema Enforcers - Sets strict rules for strings, numbers, and collections to prevent malformed data from entering a system via APIs.
  • Message Validators - Generates consistent validation logic across multiple programming languages based on shared schema definitions.
  • Distributed Data Integrity - Ensures messages exchanged between microservices adhere to required formats and value ranges through generated validators.
  • Cross-Language Message Classes - Generates language-specific message classes with integrated validation to ensure consistency across different programming environments.
  • Protobuf Code Generators - Functions as a protoc plugin to generate language-specific validation source code from Protocol Buffer schemas.
  • Polyglot API Validation - Enforces the same data validation rules across multiple programming languages using a single shared Protocol Buffer definition.
  • Enum Membership Validators - Ensures enum fields match specific constants, exist within the enum descriptor, or belong to a specified list.
  • Recursive Hierarchy Validation - Performs recursive validation on message fields to ensure required content is present or skipped throughout the hierarchy.
  • Polyglot Validator Mappings - Maps shared schema constraints to different implementation patterns across multiple target programming languages.
  • Byte Sequence Validations - Validates byte sequences using length limits, patterns, prefix and suffix matching, or network address formats.
  • Collection Constraints - Constrains the number of elements in repeated fields and enforces rules on individual items or keys.
  • Data Type Validation - Enforces constraints on specialized data types such as timestamps, durations, and scalar value wrappers.
  • Recursive Object Validation - Implements depth-first traversal of nested message fields to enforce constraints across the entire data hierarchy.
  • Data Validation Schemas - Implements a system for defining numeric, string, and collection constraints within schemas to ensure data consistency.
  • Constraint Injection - Injects validation rules into generated data accessors by parsing semantic metadata from input descriptor files.
  • Custom Option Definitions - Uses Protocol Buffer custom options to embed semantic validation constraints directly within message definitions.
  • Range Constraints - Restricts numeric fields using exact constants, range inequalities, or lists of permitted and denied values.
  • Predicate-Based Validations - Evaluates field values against a set of predefined logical predicates including range checks and regular expressions.
  • Union Field Requirements - Ensures that at least one field within a union is set to a value.
  • String Format Validators - Validates strings using length limits, regular expressions, and standard formats like emails and IP addresses.

سجل النجوم

مخطط تاريخ النجوم لـ bufbuild/protoc-gen-validateمخطط تاريخ النجوم لـ bufbuild/protoc-gen-validate

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Protoc Gen Validate

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Protoc Gen Validate.
  • open-circle/valibotالصورة الرمزية لـ open-circle

    open-circle/valibot

    8,769عرض على GitHub↗

    Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.

    TypeScriptbundle-sizemodularparsing
    عرض على GitHub↗8,769
  • typestack/class-validatorالصورة الرمزية لـ typestack

    typestack/class-validator

    11,796عرض على GitHub↗

    class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for object properties. It functions as a decorator-based schema validator that ensures data integrity and structural correctness through a combination of synchronous checks and promise-based asynchronous rules. The library provides a recursive validation system for checking complex data hierarchies, including nested classes and individual elements within collections. It includes an object property whitelist utility capable of stripping undocumented properties or blocking unknown field

    TypeScriptdecoratorstypescriptvalidation
    عرض على GitHub↗11,796
  • julian/jsonschemaالصورة الرمزية لـ Julian

    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
  • imbrn/v8nالصورة الرمزية لـ imbrn

    imbrn/v8n

    4,145عرض على GitHub↗

    v8n is a JavaScript data validation library used to verify that values, objects, and arrays meet specific criteria. It functions as a schema-based validator and an asynchronous validation engine, utilizing a fluent API to construct sequences of chainable rules and constraints. The framework is distinguished by its ability to execute promises and network requests during the validation process to determine if a value is valid. It allows for the creation of reusable validation schemas and provides a customizable rule framework where users can define their own logic and configure how error result

    JavaScript
    عرض على GitHub↗4,145
عرض جميع البدائل الـ 30 لـ Protoc Gen Validate→

الأسئلة الشائعة

ما هي وظيفة bufbuild/protoc-gen-validate؟

هذا المشروع عبارة عن إضافة للتحقق من بروتوكول المخزن المؤقت (Protocol Buffer) ومولد أكواد ينشئ منطق تحقق متسق عبر لغات برمجة متعددة. يعمل كامتداد للمترجم لسلسلة أدوات Protocol Buffer، مما يسمح للمطورين بتعريف قيود دلالية مباشرة داخل ملفات المخطط (schema) لضمان اتساق البيانات.

ما هي الميزات الرئيسية لـ bufbuild/protoc-gen-validate؟

الميزات الرئيسية لـ bufbuild/protoc-gen-validate هي: Validation Logic Generators, Validation Plugins, Strict Schema Enforcers, Message Validators, Distributed Data Integrity, Cross-Language Message Classes, Protobuf Code Generators, Polyglot API Validation.

ما هي البدائل مفتوحة المصدر لـ bufbuild/protoc-gen-validate؟

تشمل البدائل مفتوحة المصدر لـ bufbuild/protoc-gen-validate: open-circle/valibot — Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments. typestack/class-validator — class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for… julian/jsonschema — This project is a Python implementation of the JSON Schema specification, providing a library for verifying that data… imbrn/v8n — v8n is a JavaScript data validation library used to verify that values, objects, and arrays meet specific criteria. It… jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… hapijs/joi — Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It…

مجموعات مختارة تضم Protoc Gen Validate

مجموعات منسقة بعناية يظهر فيها Protoc Gen Validate.
  • أدوات التحقق من مخططات البيانات (Schema Validation)