Simple Content Metadata Exchange
Specification Version 1.0
SCMX is a document format specification for the transfer of content metadata to or from a SIMS service. An SCMX document may be in either XML or JSON syntax.
Each response must include scmx as the first element with a version attribute indicating the specification version in the format #.#. See the SCMX XML Schema for a complete specification of the SCMX data structure.
If an SCMX document is saved to a filesystem, the recommended file name suffix is “*.smx” or “*.scmx. Using “*.xml” in the case of XML format, or “*.json” in the case of JSON format, as the file name suffix is also acceptable.
Example SCMX document in XML:
<scmx version="x.x" xmlns="http://simsapi.org">
<shows>
<show>
<name>30 Rock</name>
<description>This is a funny show.</description>
<channel>
<name>NBC</name>
</channel>
<images>
<image>
<format>show_icon_small</format>
<import_file>/images/icons/show_234_sm.png</import_file>
</image>
<image>
<format>show_icon_big</format>
<import_file>/images/icons/show_234_bg.png</import_file>
</image>
</images>
</show>
...
</shows>
</scmx>
Note: Defined values for each element are required to be understood. Additional vendor-specific values may be included using a “x_” prefix. Elements should have names in snake case (ie. “element_name” instead of “elementName”) and must not include a period (“.”) in the name. A basic implementation is not required to support vendor-specific values.
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.