--- title: "Annotations Schema" ms.date: "03/30/2017" helpviewer_keywords: - "XML schema definition (XSD)" - "Microsoft Annotations Framework [WPF]" - "documents [WPF], annotations" ms.assetid: a893442b-e220-4603-bf6a-b01fefcb4b37 --- # Annotations Schema This topic describes the XML schema definition (XSD) used by the Microsoft Annotations Framework to save and retrieve user annotation data. The Annotations Framework serializes annotation data from an internal representation to an XML format. The XML format used for this conversion is described by the Annotations Framework XSD Schema. The schema defines the implementation-independent XML format that can be used to exchange annotation data between applications. The Annotations Framework XML schema definition consists of two subschemas - The Annotations XML Core Schema (Core Schema). - The Annotations XML Base Schema (Base Schema). The Core Schema defines the primary XML structure of an . The majority of XML elements defined in the Core Schema correspond to types in the namespace. The Core Schema exposes three extension points where applications can add their own XML data. These extension points include the , , and "Content". (Content elements are provided in the form of an list.) The Base Schema described in this topic defines the extensions for the , , and Content types included with the initial Windows Presentation Foundation (WPF) release. ## Annotations XML Core Schema The Annotations XML Core Schema defines the XML structure that is used to store objects. ```xml ``` ## Annotations XML Base Schema The Base Schema defines the XML structure for the three abstract elements defined in the Core Schema – , , and . ```xml ``` ## Sample XML Produced by Annotations XmlStreamStore The XML that follows shows the output of an Annotations and the organization of a sample file that contains three annotations - a highlight, a text sticky-note, and an ink stick-note. ```xml Denise Smith Mike Nash ``` ## See also - - - - - - [Annotations Overview](annotations-overview.md)