Shape
🛈 DocStrings¶
An object shape of the upstream schema: a named definition or a union variant.
Source code in src/aclientp/schema_reference.py
bases
class-attribute
instance-attribute
¶
Definitions this shape inherits via allOf.
branch_of
class-attribute
instance-attribute
¶
For a variant made from a tagged branch inside an object definition: that definition. Our side models such an object either as one model of the same name, or as a union of the same name whose members are the branches.
constraints
class-attribute
instance-attribute
¶
Numeric and length constraints per property, as pydantic names (ge, ...).
discriminator
class-attribute
instance-attribute
¶
(property, value) that selects a variant.
key
instance-attribute
¶
Name for a definition, Union[prop=value] for a tagged union variant.
nullable
class-attribute
instance-attribute
¶
Wire names of properties that accept null.
properties
instance-attribute
¶
Wire names of all properties, including inherited (allOf) ones.
union
class-attribute
instance-attribute
¶
Name of the union a variant belongs to.