addedInput schema / $defs
Added value: +{
+ "ColumnValidationRules": {
+ "description": "Column validation rules based on Pandera Field and Check validation capabilities.\n\nThis class implements comprehensive column validation using rules compatible with\nPandera's validation system. It leverages Pandera's robust validation framework\nfor maximum data quality assurance.\n\nFor complete documentation on validation behaviors and options, see:\n- Pandera Field API: https://pandera.readthedocs.io/en/stable/reference/generated/pandera.api.pandas.model_components.Field.html\n- Pandera Check API: https://pandera.readthedocs.io/en/stable/reference/generated/pandera.api.checks.Check.html\n- Pandas validation guide: https://pandas.pydata.org/docs/user_guide/basics.html#validation\n\nThe validation rules are organized by category to match Pandera's Check API for\nmaximum compatibility and comprehensive data validation coverage.",
+ "properties": {
+ "coerce": {
+ "default": false,
+ "description": "Attempt automatic type conversion (Pandera coerce parameter)",
+ "type": "boolean"
+ },
+ "equal_to": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "All values must equal this exact value (Pandera Check.equal_to)"
+ },
+ "greater_than": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "All numeric values must be strictly greater than this (Pandera Check.greater_than)"
+ },
+ "greater_than_or_equal_to": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "All numeric values must be >= this value (Pandera Check.greater_than_or_equal_to)"
+ },
+ "ignore_na": {
+ "default": true,
+ "description": "Ignore null values during validation checks (Pandera ignore_na parameter)",
+ "type": "boolean"
+ },
+ "in_range": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ }
+ ]
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Numeric range constraints as {'min': num, 'max': num} (Pandera Check.in_range)"
+ },
+ "isin": {
+ "anyOf": [
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Values must be in this list of allowed values (Pandera Check.isin)"
+ },
+ "less_than": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "All numeric values must be strictly less than this (Pandera Check.less_than)"
+ },
+ "less_than_or_equal_to": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "All numeric values must be <= this value (Pandera Check.less_than_or_equal_to)"
+ },
+ "not_equal_to": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "No values may equal this value (Pandera Check.not_equal_to)"
+ },
+ "notin": {
+ "anyOf": [
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Values must not be in this list of forbidden values (Pandera Check.notin)"
+ },
+ "nullable": {
+ "default": true,
+ "description": "Allow null/NaN values in the column (Pandera nullable parameter)",
+ "type": "boolean"
+ },
+ "raise_warning": {
+ "default": false,
+ "description": "Raise warning instead of exception on validation failure (Pandera raise_warning parameter)",
+ "type": "boolean"
+ },
+ "str_contains": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Strings must contain this substring (Pandera Check.str_contains)"
+ },
+ "str_endswith": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Strings must end with this suffix (Pandera Check.str_endswith)"
+ },
+ "str_length": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "type": "integer"
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "String length constraints as {'min': int, 'max': int} (Pandera Check.str_length)"
+ },
+ "str_matches": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Strings must match this regex pattern (Pandera Check.str_matches)"
+ },
+ "str_startswith": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Strings must start with this prefix (Pandera Check.str_startswith)"
+ },
+ "unique": {
+ "default": false,
+ "description": "Ensure all column values are unique (Pandera unique parameter)",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "ValidationSchema": {
+ "additionalProperties": {
+ "$ref": "#/$defs/ColumnValidationRules"
+ },
+ "description": "Schema definition for data validation.",
+ "type": "object"
+ }
+}