Share via


2.2.111 Sets

Target namespace: http://schemas.microsoft.com/office/officeappbasictypes/1.0

Referenced by: Requirements

Specifies the list of required API sets of the Office.js API that the add-in requires in order to activate. The default version is inherited by child elements unless overridden in the given child element.

Child Elements:

Set: A VersionedRequirement element that specifies a collection of required APIs to activate the add-in.

Attributes:

DefaultMinVersion: A ShortVersion attribute that specifies the minimum version of the APIs to activate the add-in.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xs:complexType name="Sets">
   <xs:sequence>
     <xs:element name="Set" type="VersionedRequirement" minOccurs="1" maxOccurs="unbounded"/>
   </xs:sequence>
   <xs:attribute name="DefaultMinVersion" type="ShortVersion" default="1.1"/>
 </xs:complexType>

See section 5.6 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).