StructDefinitionType

struct

Represents an object with a fixed set of properties (such as a class or record). Supports inheritance and explicit property typing.

Property Type Description
base Boolean When set to true, marks this struct as an abstract base type that cannot be instantiated directly.
discriminator String The property name used to determine the concrete subclass during deserialization.
mapping
MapString
Maps discriminator field values to their corresponding definition names to support polymorphism.
parent ReferencePropertyType A reference to another struct definition from which this struct inherits properties.
properties A map of property names to their respective schema definitions.
type String
INHERITED FROM DefinitionType
deprecated Boolean Indicates whether this type is deprecated and should not be used in new implementations.
description String A brief explanation of the purpose and usage of this definition.
type String The discriminator value used to identify the specific definition type.
part of the Apioo-Project