facet

In NAR 1.8 and later, facet is deprecated and SHOULD NOT (see RFC 2119) be used, the "related" property should be used instead (was: An intrinsic property of the concept.)

Element Information

Model

Children: hierarchyInfo, name

Attributes

QName Type Fixed Default Use Inheritable Annotation
creator QCodeType optional
If the attribute is empty, specifies which entity (person, organisation or system) will edit the property - expressed by a QCode. If the attribute is non-empty, specifies which entity (person, organisation or system) has edited the property.
creatoruri IRIType optional
If the attribute is empty, specifies which entity (person, organisation or system) will edit the property - expressed by a URI. If the attribute is non-empty, specifies which entity (person, organisation or system) has edited the property.
custom xs:boolean optional
If set to true the corresponding property was added to the G2 Item for a specific customer or group of customers only. The default value of this property is false which applies when this attribute is not used with the property.
dir restriction of xs:NMTOKEN optional
The directionality of textual content (enumeration: ltr, rtl)
g2flag xs:string DEPR optional
DO NOT USE this attribute, for G2 internal maintenance purposes only.
how QCodeType optional
Indicates by which means the value was extracted from the content - expressed by a QCode
howuri IRIType optional
Indicates by which means the value was extracted from the content - expressed by a URI
id xs:ID optional
The local identifier of the property.
literal g2normalizedString optional
A free-text value assigned as property value.
modified DateOptTimeType optional
The date (and, optionally, the time) when the property was last modified. The initial value is the date (and, optionally, the time) of creation of the property.
pubconstraint QCodeListType optional
One or many constraints that apply to publishing the value of the property - expressed by a QCode. Each constraint applies to all descendant elements.
pubconstrainturi IRIListType optional
One or many constraints that apply to publishing the value of the property - expressed by a URI. Each constraint applies to all descendant elements.
qcode QCodeType optional
A qualified code which identifies a concept.
rel QCodeType optional
The identifier of the relationship between the current concept (containing the facet) and the concept identified by the facet value - expressed by a QCode
reluri IRIType optional
The identifier of the relationship between the current concept (containing the facet) and the concept identified by the facet value - expressed by a URI
type QCodeType optional
The type of the concept assigned as controlled property value - expressed by a QCode
typeuri IRIType optional
The type of the concept assigned as controlled property value - expressed by a URI
uri IRIType optional
A URI which identifies a concept.
validfrom DateOptTimeType optional
The date (and, optionally, the time) before which a relationship is not valid.
validto DateOptTimeType optional
The date (and, optionally, the time) after which a relationship is not valid.
why QCodeType optional
Why the metadata has been included - expressed by a QCode
whyuri IRIType optional
Why the metadata has been included - expressed by a URI
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://iptc.org/std/nar/2006-10-01/'

Used By

Source

<xs:element name="facet">
  <xs:annotation>
    <xs:documentation>In NAR 1.8 and later, facet is deprecated and SHOULD NOT (see RFC 2119) be used, the "related" property should be used instead (was: An intrinsic property of the concept.)</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="FlexPropType">
        <xs:attribute name="rel" type="QCodeType" use="optional">
          <xs:annotation>
            <xs:documentation>The identifier of the relationship between the current concept (containing the facet) and the concept identified by the facet value - expressed by a QCode</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attribute name="reluri" type="IRIType" use="optional">
          <xs:annotation>
            <xs:documentation>The identifier of the relationship between the current concept (containing the facet) and the concept identified by the facet value - expressed by a URI</xs:documentation>
          </xs:annotation>
        </xs:attribute>
        <xs:attributeGroup ref="timeValidityAttributes"/>
        <xs:attribute name="g2flag" type="xs:string" use="optional" fixed="DEPR">
          <xs:annotation>
            <xs:documentation>DO NOT USE this attribute, for G2 internal maintenance purposes only.</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample