tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types: 
  org.openecomp.resource.MyWebApp:
    derived_from: tosca.nodes.WebApplication
    properties:
      context_root:
        type: string
    capabilities:
      app_endpoint: 
        type: tosca.capabilities.Endpoint.Admin #derived from WebApplication's tosca.capabilities.Endpoint "app_endpoint"
    requirements:
      - host: 
          capability: tosca.capabilities.Container.Docker #derived from WebApplication's tosca.capabilities.Container "host"
          node: tosca.nodes.WebServer
          relationship: tosca.relationships.HostedOn