SCHEMA.ATTR

For each attribute defined in the application’s schema, an entry with that attribute’s API code will be defined in SCHEMA.ATTR.

For example, ATTR["dc:attribute:author"] is the descriptor of the standard Author attribute.

To make your code easier to read, you should use plugin local schema dictionaries, so you could write A.Author instead.

Unlike the XML-over-HTTP API, attributes are not defined with object references in the JavaScript API. You should not rely on the values of these constants, and they may vary between applications even if the attribute is defined in exactly the same way. Always use the symbolic names.