Content Type: application/vnd.csp.permission-list+xml

This content type represents a list of permissions associated with an object.


Elements

permissions

This is the root element of the permission list. It contains zero or more of the following elements:


Elements

permission (Optional)

Provides a link to a permission resource. The link is specified using the XLink standard.


Schema Definition

<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="permissions">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="permission" minOccurs="0" maxOccurs="unbounded"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

Example

<permissions>
  <permission xlink:href="https://api.example.com/v2/path-to-permission" xlink:type="simple"/>
</permissions>