Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated extension text to be consistent with the language used in the Extension Framework Guide and also updated the code sample for the EXTENSION-Ed-Fi-Extended-Core.xsd to be same;

...

The Ed-Fi Unifying Data Model maps to all of the data required, except whether the submission is official or unofficial. For this, the Ed-Fi Core is extended by creating a new enumeration and adding an attribute to the StudentAcademicRecord. When extending the Ed-Fi Core, all of the restricted and extended types, as well as new types, are encapsulated in a new extended core EXTENSION-Ed-Fi-Extended-Core.xsd file to contain the types extending the xsd, which includes the Ed-Fi Core is created, including the -Core.xsd.  

The EXTENSION-Ed-Fi-Extended-Core.xsd as xsd file is created as follows:

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c)2015 Ed-Fi Alliance, LLC. All Rights Reserved. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://ed-fi.org/0200" targetNamespace="http://ed-fi.org/0200" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="Ed-Fi-Core.xsd"/>
	<xs:annotation>
		<xs:documentation>===== Ed-Fi 2.0 Extensions =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Domain Entities =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Descriptors =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Associations =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Extended Reference Types =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Extended Descriptor Reference Types =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Common Types =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Enumerations =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== String Simple Types =====</xs:documentation>
	</xs:annotation>
	<xs:annotation>
		<xs:documentation>===== Numeric Simple Types =====</xs:documentation>
	</xs:annotation>
</xs:schema>

...

. . .
</xs:schema>

The new enumeration type is created in the EXTENSION-Ed-Fi-Extended-Core.xsd file, as follows:

...