Share via


Requirements complexType (apps for Office 1.1)

Specifies the minimum named subsets of the JavaScript API for Office that the app for Office requires in order to activate.

Introduced in

apps for Office Manifest Schema Reference v1.1

Type information

Namespace

https://schemas.microsoft.com/office/appforoffice/1.1

Schema file

OfficeAppManifestv1.1.xsd

Extension base

None

Definition

  <xs:complexType name="Requirements">
    <xs:choice minOccurs="1" maxOccurs="1">
    <xs:sequence>
      <xs:element name="Sets" type="Sets" minOccurs="1" maxOccurs="1"/>
      <xs:element name="Methods" type="Methods" minOccurs="0" maxOccurs="1"/>
    </xs:sequence>
      <xs:sequence>
        <xs:element name="Methods" type="Methods" minOccurs="1" maxOccurs="1"/>
        <xs:element name="Sets" type="Sets" minOccurs="0" maxOccurs="1"/>
      </xs:sequence>
    </xs:choice>
  </xs:complexType>

Elements and attributes

スキーマで sequence、minOccurs、maxOccurs、choice などの具体的な要件が定義されている場合は、定義のセクションを参照してください。

Child elements

Element

Type

Description

Methods

Methods

Specifies the list of required APIs of the JavaScript API for Office that the app for Office requires in order to activate.

Sets

Sets

Specifies the list of required API sets of the JavaScript API for Office that the app for Office requires in order to activate.

Attributes

None.