Skip to main content Skip to complementary content

Using combinations

Create a data type based on a combination of other data types.

Procedure

  1. Create a new data type.
  2. In Type, select one of the available combinations: allOf, oneOf, or anyOf.
    The not combination is not supported.
  3. In the Data types field, add as many data types as necessary.
  4. 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.
    The Dog data type is of type allOf with the value Pet, and it also has the bark and breed properties that are specific to dogs.
  5. Click Save.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!