summaryrefslogtreecommitdiff
path: root/tools/Spotlight Importer/schema.xml
blob: 2b4099bdca1922b697155c79a6c78130f1517ed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
 
<schema version="1.0" xmlns="http://www.apple.com/metadata"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      xsi:schemaLocation="http://www.apple.com/metadata file:///System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Resources/MetadataSchema.xsd">
    <note>
        Custom attributes that this metadata importer supports.  Below
	is an example of a multivalued string attribute.  Other types
	are CFNumber, CFDate, CFBoolean and CFData.		      
    </note>
    <attributes>
        <attribute name="com_Foo_YourAttrName" multivalued="true" type="CFString"/>
    </attributes>

    <types>
        <type name="SUPPORTED_UTI_TYPE">
            <note>
		The keys that this metadata importer handles.
            </note>
            <allattrs>
	    com_Foo_YourAttrName
            </allattrs>
            <displayattrs>
	    com_Foo_YourAttrName
            </displayattrs>
        </type>
    </types>
</schema>