3 مستودعات
Defines the structure and validation rules for extracted data using JSON Schema or Zod.
Distinct from JSON-Schema: Distinct from JSON-Schema: focuses on using schemas to define extraction targets, not general data serialization.
Explore 3 awesome GitHub repositories matching data & databases · Schema Definitions. Refine with filters or upvote what's useful.
Supports JSON Schema as an alternative to Zod for defining extraction schemas.
Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated Swagger UI. It functions as a documentation generator and specification parser that extracts API schemas from route definitions, function docstrings, and external specification files. The tool allows API definitions to be maintained either within the source code using YAML blocks in docstrings or decoupled into standalone YAML files. It provides a browser-based interactive console for testing and exploring API endpoints directly from the web application. Beyond documentation,
Extracts defined schemas from specifications as dictionaries for use within application logic.
Dry-validation هي مكتبة Ruby مصممة لتعريف مخططات آمنة من حيث النوع وقواعد التحقق المعقدة للتحقق من هياكل بيانات الإدخال وتطهيرها. توفر إطار عمل رسمياً لبناء منطق تحقق معياري، مما يضمن أن المعلومات الواردة تلبي متطلبات العمل وتنسيقات البيانات المحددة قبل معالجتها بواسطة التطبيق. تستخدم المكتبة لغة خاصة بالمجال (DSL) للإعلان عن قواعد التحقق، والتي يتم تحليلها بعد ذلك إلى كائنات قابلة للتنفيذ. تتميز المكتبة بنظام قائم على الماكرو يجمع منطق التحقق الشائع في اختصارات قابلة لإعادة الاستخدام، إلى جانب نموذج تكوين متكرر يسمح للمطورين بتداخل كائنات التحقق لبناء هياكل هرمية معقدة. يتيح هذا النهج إنشاء منطق متسق ومعياري يمنع تكرار الكود عبر التطبيقات الكبيرة. بعيداً عن تعريف المخطط الأساسي، تتضمن المكتبة خط أنابيب لفرض النوع (type-coercion) يحول الإدخال الخام إلى التنسيقات المتوقعة ونظام تجميع أخطاء منظم يربط الإخفاقات بمسارات إدخال محددة. تدعم المكتبة خطافات التكوين لتكامل التبعية الخارجية وتوفر أدوات لتطهير البيانات، مما يجعلها مناسبة لفرض المعايير على طلبات واجهة برمجة التطبيقات الواردة وكائنات البيانات المعقدة.
Provides tools to define formal rules and schemas to verify that incoming information matches expected formats.