3.5.2.2.1 Shared Attributes (Content Type Schemas)

The schemas referred to here (including the root schema and core schema) are the child schemas described in Content Type Schemas (§3.5.2.1, Content Type Schemas Schema, 3.5.2.1, Content Type Schemas Schema).

Attributes

Description

anchorId (Anchor Term ID)

Specifies the term which parents all terms that may be selected as a valid value for the property corresponding to this xsd:element.

If set to "00000000-0000-0000-0000-000000000000", specifies that all terms in the term set specified by the termSetId attribute MUST be treated as valid values for the property corresponding to this xsd:element.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the ST_UniqueIdentifierWithoutBraces simple type (§3.5.2.2.2.5, ST_UniqueIdentifierWithoutBraces).

decimals (Decimal Digits)

Specifies the number of fractional digits to display on the property editing surface for the property corresponding to an xsd:element in a schema other than the root schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Currency or {http://schemas.microsoft.com/office/2006/documentManagement/types}Number.

Office handles the integer values 0-9 and auto.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

default (Default Value)

When applied to an xsd:element in a schema other than the root schema or the core schema, specifies the initial value of the property corresponding to the xsd:element.

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}DateTime, if set to [today], specifies that the initial value of the property corresponding to the xsd:element should be set to the current date and time.

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Boolean, Office interprets 1 as logical true and all other values as logical false in determining the initial value of the property corresponding to this xsd:element.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

description (Description)

When applied to an xsd:element in a schema other than the root schema, specifies information displayed as a part of the tooltip on the property editing surface for the property corresponding to this xsd:element.

Office displays the first 512 characters of the concatenation of the property name, the ": " delimiter, and the description as the tooltip.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

displayName (Display Name)

When applied to an xsd:element in a schema other than the root schema or core schema, specifies the text displayed on the property editing surface and as a part of the tooltip for the property corresponding to the xsd:element.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

fieldId (Taxonomy Field ID)

Specifies a unique identifier for the field.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the ST_UniqueIdentifier simple type (§3.5.2.2.2.4, ST_UniqueIdentifier ()).

fieldsID (Fields ID)

This attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

format (Format)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}DateTime, if set to DateTime, specifies that the property value displayed in the property editing surface for the property corresponding to this xsd:element should include both the date and time, and if not present or set to any other value, specifies that the property value displayed in the property editing surface for the property corresponding to this xsd:element should include only the date.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

hidden (Hidden)

When applied to an xsd:element in a schema other than the root schema or core schema, if set to true, specifies that the property corresponding to this xsd:element should not be presented for editing on the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

index (Ordering Index)

The value of this attribute is used to determine the ordering on a property editing surface of xsd:elements bearing this attribute from schemas other than the root schema. First, the xsd:elements are broken into groups, as follows. The first group is composed of any xsd:element that:

  • is not the description element in the core properties, and

  • is not a simpleType restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Note, and

  • is not a complex content based on any of {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoice, {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceFillIn, or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceLookup.

The second group is composed of the remaining xsd:elements bearing this attribute from schemas other than the root schema. Within each group the order of the index attribute values is ascending.

If an xsd:element in a schema other than the root schema or core schema does not have this attribute, it will not be presented to the user for editing on the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the ST_IntNonNegative simple type (§3.5.2.2.2.2, ST_IntNonNegative).

indexed (Default Visibility of Taxonomy Field)

When applied to an xsd:element for which neither the hidden nor readOnly attributes are set to "true" in a schema other than the root schema or core schema, if set to "true”, specifies that the property corresponding to this xsd:element MUST be presented for editing.

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

internalName (Internal Name)

Specifies an internal name.

This attribute shall be present on xsd:elements in a schema other than the root schema or core schema.  If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

isKeyword (Keyword Flag)

If set to "true", specifies that the property editing UI for the property corresponding to this xsd:element uses all available term stores and term sets. If set to "false", specifies that the property editing UI for the property corresponding to this xsd:element uses the term set specified by the termSetId attribute.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

LCID (LCID)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Currency, specifies the locale identifier as specified in the Windows Language Code Identifier (LCID) Reference [MS-LCID] to determine the currency symbol used in the display of the property corresponding to this xsd:element in the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema int datatype.

list (List Identifier)

Shall be present on xsd:elements for which neither the hidden nor read-only attributes are set to true in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Lookup or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiLookup.When present on such an element, specifies the list from which to get data for display of the property corresponding to this xsd:element in the property editing surface.

Office will populate this data when the save location of the document is a site that implements the Lists Web Service Protocol Specification [MS-LISTSWS] and the value of this attribute is a valid GUID enclosed in braces corresponding to the ID of a list on the site.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

open (Term Set Open for Addition Flag)

If set to "true", specifies that new terms are allowed to be added to the term set specified by the termSetId attribute. If set to "false", the property editing UI MUST NOT allow new terms to be added to the term set specified by the termSetId attribute.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true", and MUST be set to "true" if new terms are allowed to be added to the term set specified by the termSetId attribute.  MUST be set to "false" otherwise.

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

percentage (Show as Percentage)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Currency or {http://schemas.microsoft.com/office/2006/documentManagement/types}Number, if set to TRUE, specifies that the property corresponding to this xsd:element should be displayed as a percentage in the property editing surface, and if not present or set to any other value, specifies that the property corresponding to this xsd:element should not be displayed as a percentage in the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

readOnly (Read Only)

When applied to an xsd:element in a schema other than the root schema or core schema, if set to true, specifies that the property corresponding to this xsd:element should not be presented for editing on the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

requiredMultiChoice (Required Multiple Choice)

When applied to an xsd:element in a schema other than the root schema or core schema whose content model is an xsd:restriction based on  {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoice, {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceFillIn, or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiChoiceLookup, if set to true, specifies that the property editing surface should indicate an error if no choices are selected for the property corresponding to the xsd:element.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

root (Root Schema)

Shall be set to true on the root schema element described in Content Type Schemas (§3.5.2.1, Content Type Schemas Schema, 3.5.2.1, Content Type Schemas Schema) for the http://schemas.microsoft.com/office/2006/contentTypeSchema namespace and shall not be applied to any other element.

The possible values for this attribute are defined by the ST_TrueOnly simple type (§3.5.2.2.2.3, ST_TrueOnly).

showField (Displayed Field)

Shall be present on xsd:elements for which neither the hidden nor read-only attributes are set to true in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Lookup or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiLookup. When applied to such an element, specifies the text displayed for the lookup options in the property editing surface for the property corresponding to the xsd:element.

Office handles values corresponding to the Name attribute of a field as specified in the response from a GetList request as specified in the Lists Web Service Protocol Specification ([MS-LISTSWS] Subclause 3.1.4.14).

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

sspId (Term Store ID)

Specifies the term store partition used in the property editing UI for the property corresponding to this xsd:element.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true", and MUST be set to "00000000-0000-0000-0000-000000000000" on xsd:elements for which the isKeyword attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the ST_UniqueIdentifierWithoutBraces simple type (§3.5.2.2.2.5, ST_UniqueIdentifierWithoutBraces).

taxonomy (Taxonomy Field Flag)

MUST be set to "true" on xsd:elements in a schema other than the root schema or core schema whose content model has the following structure.

<xsd:complexType>

<xsd:sequence>

<xsd:element ref="pc:Terms" minOccurs="0" maxOccurs="1">

</xsd:element>

</xsd:sequence>

</xsd:complexType>

It MUST NOT be applied to any other element.

The possible values for this attribute are defined by the XML Schema boolean datatype.

taxonomyFieldName (Taxonomy Field Name)

Specifies the name of a taxonomy field.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the XML Schema string datatype.

taxonomyMulti (Allow Multiple Value Flag)

If set to "false", specifies that only single values are displayed as valid in the property editing UI for the property corresponding to this xsd:element.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the XML Schema boolean datatype.

termSetId (Term Set ID)

Specifies the term set used in the property editing UI for the property corresponding to this xsd:element.

MUST be present on xsd:elements for which the taxonomy attribute is set to "true", and MUST be set to "00000000-0000-0000-0000-000000000000" on xsd:elements for which the isKeyword attribute is set to "true".

If applied to any other element, this attribute MUST be ignored.

The possible values for this attribute are defined by the ST_UniqueIdentifierWithoutBraces simple type (§3.5.2.2.2.5, ST_UniqueIdentifierWithoutBraces).

web (Site Identifier)

When applied to an xsd:element for which neither the hidden nor read-only attributes are set to true in a schema other than the root schema or core schema whose content model is an xsd:restriction based on {http://schemas.microsoft.com/office/2006/documentManagement/types}Lookup or {http://schemas.microsoft.com/office/2006/documentManagement/types}MultiLookup, specifies the site of the list from which to get data for display of the property corresponding to this xsd:element in the property editing surface.

If applied to any other element, this attribute should be ignored.

The possible values for this attribute are defined by the ST_UniqueIdentifierWithoutBraces simple type (§3.5.2.2.2.5, ST_UniqueIdentifierWithoutBraces).

The following XML Schema fragment defines the contents of this element:

 <complexType name="CT_Dummy">
   <attribute name="anchorId" type="ST_UniqueIdentifierWithoutBraces"/>
   <attribute name="decimals" type="xsd:string"/>
   <attribute name="default" type="xsd:string"/>
   <attribute name="description" type="xsd:string"/>
   <attribute name="displayName" type="xsd:string"/>
   <attribute name="fieldId" type="ST_UniqueIdentifier"/>
   <attribute name="fieldsID" type="xsd:string"/>
   <attribute name="format" type="xsd:string"/>
   <attribute name="hidden" type="xsd:string"/>
   <attribute name="index" type="ST_IntNonNegative"/>
   <attribute name="indexed" type="xsd:string"/>
   <attribute name="internalName" type="xsd:string"/>
   <attribute name="isKeyword" type="xsd:string"/>
   <attribute name="LCID" type="xsd:int"/>
   <attribute name="list" type="xsd:string"/>
   <attribute name="open" type="xsd:string"/>
   <attribute name="percentage" type="xsd:string"/>
   <attribute name="readOnly" type="xsd:string"/>
   <attribute name="requiredMultiChoice" type="xsd:string"/>
   <attribute name="root" type="ST_TrueOnly"/>
   <attribute name="showField" type="xsd:string"/>
   <attribute name="sspId" type="ST_UniqueIdentifierWithoutBraces"/>
   <attribute name="taxonomy" type="xsd:boolean"/>
   <attribute name="taxonomyFieldName" type="xsd:string"/>
   <attribute name="taxonomyMulti" type="xsd:boolean"/>
   <attribute name="termSetId" type="ST_UniqueIdentifierWithoutBraces"/>
   <attribute name="web" type="ST_UniqueIdentifierWithoutBraces"/>
 </complexType>