Applies to: SharePoint Foundation 2010
In this article
Gets a value that specifies the list schema of the list.
var value = SP.List.get_schemaXml();
It must not be null. It must not be empty. It must be an XML document that conforms to the ListDefinition type. A field definition describes the structure and format of a field that is used within a list or content type.