TDG Input Validation Library
TDG Input Validation Library
Public-safe validation map for TDG inputs.
Review how TDG documents field surfaces, clean input rules, and response boundaries without exposing private submissions, admin save forms, or mutation controls.
Module Slug Key Validation
Documents sanitizer and validator rules for protected operator forms before metadata is saved.
- Module
- Core
- Field
module_slug- Sanitizer
- TDG key sanitizer
- Validator
- Slug/key pattern
- Bounds
- 2 to 80 chars
- Boundary
- Sanitized key only
Status Enum Validation
Documents sanitizer and validator rules for protected operator forms before metadata is saved.
- Module
- Core
- Field
status- Sanitizer
- Key sanitizer
- Validator
- Allowed values
- Bounds
- Up to 40 chars
- Boundary
- Validated enum only
Ttl Seconds Integer Validation
Documents sanitizer and validator rules for protected operator forms before metadata is saved.
- Module
- Security Nonce Helpers
- Field
ttl_seconds- Sanitizer
- Integer sanitizer
- Validator
- Integer range
- Bounds
- Type/range rule
- Boundary
- Validated integer only
Attributes Schema Json Json Object Validation
Documents sanitizer and validator rules for protected operator forms before metadata is saved.
- Module
- Shortcode Block Foundation
- Field
attributes_schema_json- Sanitizer
- JSON unslash helper
- Validator
- JSON object
- Bounds
- Type/range rule
- Boundary
- Schema metadata remains private
Route Pattern Route Validation
Documents REST request metadata checks without exposing request bodies or mutation internals.
- Module
- Rest Api Foundation
- Field
route_pattern- Sanitizer
- Text sanitizer
- Validator
- REST route pattern
- Bounds
- 2 to 190 chars
- Boundary
- Validated route metadata only
Tdg Q Text Validation
Documents public query-string bounds so visitor input stays sanitized before display.
- Module
- Frontend App Shell
- Field
tdg_q- Sanitizer
- Text sanitizer
- Validator
- Bounded text
- Bounds
- 0 to 120 chars
- Boundary
- Public-safe text only
No matching validation rules found.
Private submissions stay private.
This page explains validation patterns only. Sensitive visitor input, generated security values, admin save forms, and private mutation controls stay out of the public view.
View security nonce helpers