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

Glossary Item Box

Description

The collection of dependent resource types.
Namespace (none)

Diagram

IsSecondLevelResource Element Sequence SecondLevelResources Element

Overview

SecondLevelResources
The collection of dependent resource types.
Sequence
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

Source

<xs:element name="SecondLevelResources" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
            The collection of dependent resource types.
        </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="IsSecondLevelResource" minOccurs="0" maxOccurs="unbounded">
        <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>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also