...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <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> |
The EXTENSION-Ed-Fi-Extended-Core.xsd file is used to add attributes to Core domain and association types, create new domain and association types, and create new simple and complex types as required for new attributes.
The new enumeration type is created in the EXTENSION-Ed-Fi-Extended-Core.xsd file, as follows:
Code Block | ||
---|---|---|
| ||
. . . <xs:annotation> <xs:documentation>===== Enumerations =====</xs:documentation> </xs:annotation> <xs:simpleType name="EXTENSION-SubmissionCertificationType"> <xs:restriction base="xs:token"> <xs:enumeration value="Official"/> <xs:enumeration value="Unofficial"/> </xs:restriction> </xs:simpleType> . . . |
...