entity-resource-descriptors Schema
IsSecondLevelResource Element
entity-resource-descriptors Schema > SecondLevelResources Element : IsSecondLevelResource Element

Glossary Item Box

Description

true indicates that this is a sub-resource of another resource. The collection name for this entity type is under a first-level resource in the URL. For example, /domains/{domain-name}/projects/{project-name}/runs/{Run ID}/run-steps. A run is a first-level resource. run-steps are a second-level resource.
Namespace (none)

Type

Diagram

IsSecondLevelResource Element

Overview

IsSecondLevelResource 0..∞ Extension of IsFirstLevelResourceElement Complex Type
true indicates that this is a sub-resource of another resource. The collection name for this entity type is under a first-level resource in the URL. For example, /domains/{domain-name}/projects/{project-name}/runs/{Run ID}/run-steps. A run is a first-level resource. run-steps are a second-level resource.
parentEntity required xs:string
The type of the containing entity.
supportsPOST required xs:boolean
supportsGET required xs:boolean
supportsPUT required xs:boolean
supportsDELETE required xs:boolean
url required xs:string

Attributes

NameTypeUseDefaultFixedDescription
parentEntityxs:stringrequired  The type of the containing entity.
supportsPOSTxs:booleanrequired   
supportsGETxs:booleanrequired   
supportsPUTxs:booleanrequired   
supportsDELETExs:booleanrequired   
urlxs:stringrequired   

Source

<xs:element name="IsSecondLevelResource" minOccurs="0" maxOccurs="unbounded" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
                        true indicates that this is a sub-resource of another resource. The collection name for this entity type is under a first-level resource in the URL. For example, /domains/{domain-name}/projects/{project-name}/runs/{Run ID}/run-steps. A run is a first-level resource. run-steps are a second-level resource. 
                    </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="IsFirstLevelResourceElement">
        <xs:attribute name="parentEntity" type="xs:string" use="required">
          <xs:annotation>
            <xs:documentation>
                                            The type of the containing entity.
                                    </xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>

See Also