30 repositorios
Fallback values assigned to fields when input data is undefined or missing.
Distinct from Default Configuration Values: Focuses on data schema defaults rather than application configuration settings.
Explore 30 awesome GitHub repositories matching software engineering & architecture · Schema Default Values. Refine with filters or upvote what's useful.
Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def
Assigns fallback values when the casting process produces an undefined result.
Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It functions as an object schema validator and parser, ensuring that input data matches specific types and formats before it is processed by an application. The library features a conditional validation engine capable of dynamic schema enforcement, where validation logic and dependencies change based on the values of other keys within an object. It also serves as a data casting and sanitization tool, transforming input values into target types and removing sensitive keys from the
Assigns fallback values to fields when input data is missing or undefined.
Ajv is a JSON Schema validator and schema compilation engine used to verify that JavaScript objects conform to specific JSON Schema definitions. It functions as a data coercer and localization tool, allowing for the application of default values and the translation of validation error messages into different languages. The project converts declarative JSON Schema definitions into optimized JavaScript functions to increase validation speed. It supports the extension of validation logic through custom keywords and the generation of standalone validation code that executes without external depen
Automatically populates missing properties with default values defined within the JSON schema.
nuqs is a TypeScript library for managing React component state through the browser's URL query string. It provides a type-safe hook-based approach that synchronizes component state with the address bar, enabling shareable and bookmarkable application states. The library handles parsing and serializing URL query parameters into typed JavaScript values, supporting integers, floats, booleans, dates, and custom types with bijectivity verification. The library distinguishes itself through its comprehensive approach to URL state management, combining batch URL updates that merge multiple parameter
Returns a fallback value when the URL query parameter is missing or invalid, simplifying UI rendering and state updates.
Kubebuilder is a framework and set of scaffolding tools used to build Kubernetes APIs and controllers. It functions as an operator framework that provides generators for custom resource definitions, admission webhooks, and RBAC manifests to extend cluster functionality. The project distinguishes itself through marker-based code generation, which parses source code comments to automatically produce Kubernetes manifests and boilerplate logic. It employs a hub-and-spoke versioning model to translate data between multiple API versions and uses a three-way merge strategy to automate project migrat
Sets initial field values for custom resources during creation or updates to ensure a consistent state.
30 Seconds of Python is a curated collection of short, reusable Python code snippets designed for quick reference and immediate reuse. It provides an interactive browser that lets you explore snippets organized by tags, search across names and descriptions, and copy code to your clipboard with a single click. The collection covers a broad range of common programming tasks, including list and dictionary operations, string formatting and manipulation, date and time calculations, and color format conversion. It also includes utilities for data transformation, such as converting between case styl
Provides a snippet to set default values for named tuple fields.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Implements fallback values for fields when input data is null or undefined.
The inspector is a diagnostic and validation tool for the Model Context Protocol. It provides an interactive interface and a transport proxy to discover, inspect, and execute the tools, prompts, and resources provided by an MCP server. The project serves as a debugger and compliance tester to verify that server implementations adhere to the protocol specification and JSON-RPC standards. It allows for real-time monitoring of message exchanges and logs between clients and servers across various transport layers, such as standard input/output and Server-Sent Events. The tool covers a broad rang
Defines fallback values for strings, numbers, and enums within data elicitation schemas.
Model Context Protocol is a standardized framework for connecting large language models to external data sources and executable tools. It enables the creation of a universal interface where servers expose tools, resources, and prompts that can be discovered and utilized by various AI clients. The protocol utilizes a JSON-RPC message system that is transport-agnostic, supporting both standard input/output for local processes and HTTP with server-sent events for remote connections. It emphasizes security and control by delegating model sampling to the client to keep API keys secure from servers
Assigns fallback values to primitive data types within tool schemas to handle missing input fields.
Tabulator is an interactive data table library and virtual DOM data grid used to create high-performance tables from JSON or arrays. It functions as a hierarchical data viewer and a spreadsheet interface component, capable of rendering thousands of records efficiently through viewport-based virtualization and progressive loading. The library distinguishes itself by providing a full spreadsheet interface mode with multi-sheet management, cell range selection, and bulk copy-paste capabilities. It supports complex data architectures, including nested data field mapping, expandable tree structure
Provides the ability to specify default values for cells when user input is cleared to ensure data consistency.
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
Injects fallback values into fields when input data is undefined or missing during validation.
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Reads schema default values for strings, numbers, booleans, enums, dates, and arrays, then emits field initializers.
CUE is a constraint-based configuration language designed for data validation, schema definition, and code generation. At its core, it unifies types and values into a single concept, enabling compile-time validation that catches structural and value errors before runtime. The language treats data and constraints as the same thing, allowing a single definition to serve as both a schema and concrete configuration data. CUE distinguishes itself through its constraint-based unification engine, which combines multiple configuration sources into a single coherent result by merging their constraints
Assigns fallback values to disjuncts so they are selected when expressions must resolve to a single concrete value.
GraphQL.NET es un framework del lado del servidor para construir y ejecutar APIs de GraphQL dentro de aplicaciones C#. Proporciona un toolkit integral para la construcción de esquemas, un motor federado para grafos de datos distribuidos y un manejador de suscripciones para gestionar flujos de datos en tiempo real. El proyecto se distingue por un constructor de esquemas flexible que admite tanto definiciones programáticas code-first como enfoques declarativos schema-first utilizando el lenguaje de definición de esquemas estándar. Incluye un motor de federación dedicado para dividir grafos de datos en subgrafos y componerlos en una puerta de enlace unificada, así como una implementación de cargador de datos (data loader) diseñada específicamente para resolver el problema de consultas N+1 mediante procesamiento por lotes y caché. El framework cubre una amplia gama de capacidades operativas, incluyendo la integración de inyección de dependencias para la gestión del ciclo de vida de los servicios, pipelines de middleware para la interceptación de resolución de campos y un pipeline de ejecución optimizado con tipos de valor para reducir las asignaciones de memoria. También proporciona herramientas para el análisis de complejidad de consultas, caché de documentos y control de acceso basado en roles para asegurar los endpoints de la API. La compatibilidad con la compilación de esquemas ahead-of-time permite que el framework se ejecute en entornos que prohíben la generación dinámica de código.
Allows assigning custom complexity impact values to individual fields for precise request cost measurement.
env is a Go library that reads environment variables and populates the fields of a Go struct according to tag directives. It uses reflection to iterate over struct types and tags at runtime, mapping environment variable names to struct fields and applying parsing behavior defined in struct tags. The library supports required field validation, returning errors when marked fields are missing or empty after parsing. It also provides default value fallback from struct tags when environment variables are not set, environment variable expansion that recursively substitutes references within values,
Applies fallback values from struct tags when environment variables are missing or empty.
GreptimeDB is a distributed, open-source time-series database built for unified observability. It stores and queries metrics, logs, and traces together in a single columnar engine, supporting both SQL and PromQL for analysis. The database is designed as a Kubernetes-native operator with a decoupled compute and storage architecture, enabling horizontal scaling and multi-region deployment. What distinguishes GreptimeDB is its role as a multi-protocol ingestion gateway, accepting data through OpenTelemetry, Prometheus Remote Write, InfluxDB, Loki, Elasticsearch, Kafka, and MQTT protocols without
Assigns or removes default values for table columns.
json-editor es un generador de UI basado en esquemas y editor basado en web que crea automáticamente formularios HTML interactivos a partir de definiciones de JSON Schema. Funciona como una herramienta para recolectar, modificar y validar datos estructurados mapeando especificaciones de esquema a componentes de entrada correspondientes. El proyecto se distingue por una arquitectura de entrada plug-in y mapeo de componentes basado en resolvedores, que permiten la inyección de editores de terceros e interfaces de entrada personalizadas para tipos de datos especializados como markdown, colores y código con resaltado de sintaxis. También soporta la resolución de esquemas externos vía URLs y enlaces de hyper-schema para integrar modelos de datos remotos y documentos relacionados. El sistema cubre una gestión integral del diseño de formularios, incluyendo arreglos de cuadrícula y configuraciones de arrays, junto con lógica condicional para campos dependientes y población dinámica de enums. Proporciona un motor de validación que aplica tanto restricciones de esquema estandarizadas como reglas de negocio personalizadas, mientras soporta la localización de cadenas de UI e integración con frameworks CSS externos.
Defines which schema properties are visible by default and which must be added manually to the form.
CRI-O is an open-source container runtime that implements the Kubernetes Container Runtime Interface (CRI) to manage container images, pods, and containers on cluster nodes using OCI-compatible runtimes. It serves as a node-level container manager that handles image pulling, container lifecycle, and resource monitoring for Kubernetes clusters, running containers according to the Open Container Initiative specifications. The runtime distinguishes itself through live configuration reloading that applies changes to runtime definitions, registry mirrors, and TLS certificates without restarting th
Uses a default umask value if the runtime runs under a different umask value.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Configures fields to use raw SQL expressions or convenience helpers as default values in the database schema.
TSDoc es un estándar de documentación y especificación para escribir comentarios estructurados en código TypeScript. Proporciona un sistema portátil para definir metadatos, etiquetas y referencias cruzadas dentro del código fuente para garantizar un análisis y renderizado consistentes en diferentes herramientas. El proyecto incluye un analizador de comentarios de documentación que convierte los comentarios en un árbol de sintaxis estructurado y un validador que aplica la consistencia de la sintaxis. Permite la definición de etiquetas de documentación personalizadas a través de archivos de configuración externos y admite múltiples modos de validación de sintaxis para ayudar con el cumplimiento de la especificación. La especificación cubre una amplia gama de necesidades de documentación de API, incluyendo el marcado de etapas de lanzamiento, estabilidad y obsolescencia. Admite detallar parámetros de funciones, valores de retorno y tipos de excepciones, así como gestionar la visibilidad interna, la herencia y las referencias cruzadas entre declaraciones.
Provides a standard way to specify the default value for a member in the documentation.