Class ScenarioDefinition

Applied Stereotypes:
XSDgroup

Top level container containing all scenario elements.

Used in:
OpenScenarioCategory
Properties
Name Type Cardinality AppliedStereotypes Description
parameterDeclarations ParameterDeclaration 0..* XSDwrapped, XSDelement Global Parameter declaration. Some parameter represent placeholders to be resolved when the scenario file is loaded. Some parameters represent runtime values that can be controlled with ParameterActions and ParameterConditions during simulation time.
catalogLocations CatalogLocations 1..1 XSDelement A list of locations to look up catalog files. Each catalog element type has its own list.
roadNetwork RoadNetwork 1..1 XSDelement Reference to the road network.
entities Entities 1..1 XSDelement Container for entity selections and scenario object definitions. Instances of ScenarioObject, of EntitySelection and of SpawnedObject considered instances of Entity.
storyboard Storyboard 1..1 XSDelement Container for the dynamic content of the scenario.

XSD 1.1 Representation


<xsd:group name="ScenarioDefinition">
<xsd:sequence>
<xsd:element name="ParameterDeclarations" type="ParameterDeclarations" minOccurs="0"/>
<xsd:element name="CatalogLocations" type="CatalogLocations"/>
<xsd:element name="RoadNetwork" type="RoadNetwork"/>
<xsd:element name="Entities" type="Entities"/>
<xsd:element name="Storyboard" type="Storyboard"/>
</xsd:sequence>
</xsd:group>

XSD Transformation
UML Element Stereotype Description
parameterDeclarations XSDwrapper This property represents a wrapped list. In XSD, the complex type ParameterDeclarations is used as a wrapper.

Stereotype Details Information
  • Class
    • XSDgroup [modelGroup: "sequence"]
  • Property parameterDeclarations
    • XSDwrapped [wrapperMin: "0"; wrapperMax: "1"]
    • XSDelement [position: "1"]
  • Property catalogLocations
    • XSDelement [position: "2"]
  • Property roadNetwork
    • XSDelement [position: "3"]
  • Property entities
    • XSDelement [position: "4"]
  • Property storyboard
    • XSDelement [position: "5"]

To XSD To XSD Tree