DiscriminatorDescription
Discriminator configuration used within composite schemas (oneOf/anyOf) to select the matching sub-schema based on payload property values.
{
"mapping": [
{
"discriminator_key": "string",
"schema_ref": "string"
}
],
"property_name": "string"
}
Mapping of discriminator values to their corresponding schema descriptions. Field introduced in 32.1.4. Maximum of 32 items allowed. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
Name of the JSON property whose value determines which sub-schema applies. Field introduced in 32.1.4. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.