Indivo Carenet SchemaΒΆ

A list of carenets is returned when a user/app wants to know how a document is shared. However, this same list of carenets might be used in a different setting. Thus, the “mode” attribute is optional. It indicates whether sharing in this carenet was done explicitly, or via some implicit auto-share rule.

Schema:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">

  <xs:element name="Carenets">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Carenet" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:attribute name="id" type="xs:string" use="required" />
            <xs:attribute name="name" type="xs:string" use="required" />
            <xs:attribute name="mode" type="xs:string" use="optional" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="record_id" type="xs:string" use="required" />
    </xs:complexType>
  </xs:element>

</xs:schema>

Example:

<Carenets record_id="123">
    <Carenet id="789" name="Work/School" mode="explicit" />
</Carenets>