Skip to main content

Interface: $ZodCIDRv4Internals

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:352

Internal

Extends​

Properties​

bag​

bag: LoosePartial<{ contentEncoding: string; format: string; laxFormat: boolean; maximum: number; minimum: number; patterns: Set<RegExp>; }>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:130

Internal

A catchall object for bag metadata related to this schema. Commonly modified by checks using onattach.

Inherited from​

$ZodStringFormatInternals.bag


constr()​

constr: (def) => $ZodType

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:87

Internal

The constructor function of this schema.

Parameters​

def​

any

Returns​

$ZodType

Inherited from​

$ZodStringFormatInternals.constr


def​

def: $ZodCIDRv4Def

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:353

Schema definition.

Overrides​

$ZodStringFormatInternals.def


deferred​

deferred: AnyFunc[] | undefined

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:55

Internal

List of deferred initializers.

Inherited from​

$ZodStringFormatInternals.deferred


input​

input: string

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:104

Internal

The inferred input type

Inherited from​

$ZodStringFormatInternals.input


issc​

issc: $ZodIssueInvalidStringFormat

Defined in: packages/agentos/node_modules/zod/v4/core/checks.d.cts:168

The set of issues this check might throw.

Inherited from​

$ZodStringFormatInternals.issc


isst​

isst: $ZodIssueInvalidType

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:129

Deprecated​

Internal API, use with caution (not deprecated)

Inherited from​

$ZodStringFormatInternals.isst


onattach​

onattach: (schema) => void[]

Defined in: packages/agentos/node_modules/zod/v4/core/checks.d.cts:18

Parameters​

schema​

$ZodType

Returns​

void

Inherited from​

$ZodStringFormatInternals.onattach


optin?​

optional optin: "optional" | "defaulted"

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:71

Internal

Three rungs, each strictly stronger than the last: undefined — required; the container may not omit this slot "optional" — the container may omit it; nothing is supplied in its place "defaulted" — the container may omit it AND this schema substitutes a value Consumers asking "may the slot be absent?" test !== undefined. $ZodOptional asks the stronger question and tests === "defaulted".

Inherited from​

$ZodStringFormatInternals.optin


optout?​

optional optout: "optional"

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:73

Internal

Inherited from​

$ZodStringFormatInternals.optout


output​

output: string

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:102

Internal

The inferred output type

Inherited from​

$ZodStringFormatInternals.output


parent?​

optional parent: $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:97

Internal

The parent of this schema. Only set during certain clone operations.

Inherited from​

$ZodStringFormatInternals.parent


pattern​

pattern: RegExp

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:127

Deprecated​

Internal API, use with caution (not deprecated)

Inherited from​

$ZodStringInternals.pattern


processJSONSchema()?​

optional processJSONSchema: (ctx, json, params) => void

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:93

Internal

Subject to change, not a public API.

Parameters​

ctx​

ToJSONSchemaContext

json​

JSONSchema

params​

ProcessParams

Returns​

void

Inherited from​

$ZodStringFormatInternals.processJSONSchema


propValues?​

optional propValues: PropValues

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:83

Internal

A set of literal discriminators used for the fast path in discriminated unions.

Inherited from​

$ZodStringFormatInternals.propValues


toJSONSchema()?​

optional toJSONSchema: () => unknown

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:95

An optional method used to override toJSONSchema logic.

Returns​

unknown

Inherited from​

$ZodStringFormatInternals.toJSONSchema


traits​

traits: Set<string>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:61

Internal

Stores identifiers for the set of traits implemented by this schema.

Inherited from​

$ZodStringFormatInternals.traits


values?​

optional values: PrimitiveSet

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:80

Internal

The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().

Defined on: enum, const, literal, null, undefined Passthrough: optional, nullable, branded, default, catch, pipe Todo: unions?

Inherited from​

$ZodStringFormatInternals.values


version​

version: object

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:50

The @zod/core version of this schema

major​

readonly major: 4

minor​

readonly minor: 6

patch​

readonly patch: number

Inherited from​

$ZodStringFormatInternals.version

Methods​

check()​

check(payload): MaybeAsync<void>

Defined in: packages/agentos/node_modules/zod/v4/core/checks.d.cts:17

Parameters​

payload​

ParsePayload<string>

Returns​

MaybeAsync<void>

Inherited from​

$ZodStringFormatInternals.check


parse()​

parse(payload, ctx): MaybeAsync<ParsePayload<unknown>>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:59

Internal

Parses input, doesn't run checks.

Parameters​

payload​

ParsePayload<any>

ctx​

ParseContextInternal

Returns​

MaybeAsync<ParsePayload<unknown>>

Inherited from​

$ZodStringFormatInternals.parse


run()​

run(payload, ctx): MaybeAsync<ParsePayload<unknown>>

Defined in: packages/agentos/node_modules/zod/v4/core/schemas.d.cts:57

Internal

Parses input and runs all checks (refinements).

Parameters​

payload​

ParsePayload<any>

ctx​

ParseContextInternal

Returns​

MaybeAsync<ParsePayload<unknown>>

Inherited from​

$ZodStringFormatInternals.run