Interface: ResourcefulObjectType
Instance type for ResourcefulObjectType with validated properties. Represents complex object schemas with typed properties as defined in the OpenAPI 3.0 specification.
See
Extends
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
additionalProperties? | | boolean | ResourcefulDataType | Whether additional properties beyond those defined are allowed, or direct data type for additional properties | ResourcefulObjectTypeOptions.additionalProperties |
maxProperties? | number | Maximum number of properties allowed in the object | ResourcefulObjectTypeOptions.maxProperties |
minProperties? | number | Minimum number of properties required in the object | ResourcefulObjectTypeOptions.minProperties |
nullable? | boolean | Whether the value can be null | ResourcefulObjectTypeOptions.nullable |
properties | { [key: string]: | ResourcefulDataType | { oneOf: ResourcefulDataType[]; } | { allOf: ResourcefulDataType[]; } | { anyOf: ResourcefulDataType[]; } | { not: ResourcefulDataType[]; }; } | Object properties definition supporting direct data types and composition patterns | ResourcefulObjectTypeOptions.properties |
readOnly? | boolean | Whether the property is read-only (not included in create/update operations) | ResourcefulObjectTypeOptions.readOnly |
required? | string[] | Array of property names that are required for object validation | ResourcefulObjectTypeOptions.required |
type | "object" | - | - |
writeOnly? | boolean | Whether the property is write-only (not included in response serialization) | ResourcefulObjectTypeOptions.writeOnly |