TOSCA Definitions contain excaly one element

Context and Problem Statement

How should TOSCA data be stored?

Considered Options

  • Allow exactly one TOSCA Definitions child in a definition

  • Allow multiple TOSCA Definitions children in a definition

Decision Outcome

Chosen option: “Allow exactly one TOSCA Definitions child in a definition”, because

  • Definitions are not modeled as explicit element. Only the nested elements are handled by Winery.

  • That means, it is not possible to specify custom definitions bundling a customized subset of available elements.


Copyright (c) 2018 Contributors to the Eclipse Foundation

See the NOTICE file(s) distributed with this work for additional information regarding copyright ownership.

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at, or the Apache Software License 2.0 which is available at

SPDX-License-Identifier: EPL-2.0 OR Apache-2.0