Create a data type based on a combination of other data types.
Procedure
- Create a new data type.
-
In Type, select one of the available combinations:
allOf, oneOf, or anyOf.
The
not
combination is not supported. - In the Data types field, add as many data types as necessary.
- Optional:
You can add examples and other properties.
Example
In this example, the Dog data types contains all the properties contained in the Pet data type, as well as some properties specific to dogs. - Click Save.