2.2.4.67 Attribute
The Attribute complex type specifies a master data attribute, including its identification and data value.
The following is the XML schema definition of the Attribute complex type.
Applies to MDS 2008R2
-
<xs:complexType name="Attribute"> <xs:sequence> <xs:element xmlns:q478="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" minOccurs="0" name="Identifier" nillable="true" type="q478:Identifier"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> <xs:element xmlns:q479="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" minOccurs="0" name="Type" type="q479:AttributeValueType" /> <xs:element minOccurs="0" name="Value" nillable="true" type="xs:anyType"> <xs:annotation> <xs:appinfo> <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" /> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType>
Applies to MDS 2012
-
<xs:complexType name="Attribute"> <xs:complexContent mixed="false"> <xs:extension xmlns:q219="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09" base="q219:DataContractBase"> <xs:sequence> <xs:element minOccurs="0" name="Identifier" nillable="true" type="q219:Identifier"> <xs:annotation> <xs:appinfo> <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false"/> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="TransactionAnnotation" nillable="true" type="xs:string"> <xs:annotation> <xs:appinfo> <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false"/> </xs:appinfo> </xs:annotation> </xs:element> <xs:element minOccurs="0" name="Type" type="q219:AttributeValueType"/> <xs:element minOccurs="0" name="Value" nillable="true" type="xs:anyType"> <xs:annotation> <xs:appinfo> <DefaultValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/" EmitDefaultValue="false"/> </xs:appinfo> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
Identifier: Specifies the Identifier of the attribute metadata object.
TransactionAnnotation: Specifies the annotation of a transaction. (MDS 2012 only)
Type: Specifies the AttributeValueType or the type of value that is stored by the attribute.
Value: Specifies the value that is assigned to the master data attribute as a variant data type.