Date: Thu, 28 Mar 2024 19:07:40 -0500 (CDT) Message-ID: <49775967.30180.1711670860605@PUBEDFIPRDWEB5.public.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_30179_469250397.1711670860600" ------=_Part_30179_469250397.1711670860600 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
New complex types may be added for domain entities or a= ssociations when the data model must be extended for new kinds of informati= on.
For this example, we will create an extension to the gr= aduation model to reflect basic information about the postsecondary in= stitution(s) that the student is attending. The extended elements are in gr= ay in the model diagram below:
Building upon the example from Part 3, it is possible t= o create a new complex element to capture the postsecondary institution inf= ormation. To accomplish this, the following steps are taken:
The following is the resulting schema with ann= otations removed for brevity:
<?xml= version=3D"1.0" encoding=3D"UTF-8"?> <!-- (c)2018 Ed-Fi Alliance, LLC. All Rights Reserved. --> <xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" xmlns=3D"http:/= /ed-fi.org/0220" xmlns:ann=3D"http://ed-fi.org/annotation" targetNamespace= =3D"http://ed-fi.org/0220" elementFormDefault=3D"qualified" attributeFormDe= fault=3D"unqualified"> =09<xs:include schemaLocation=3D"Ed-Fi-Core.xsd"/> =09<xs:annotation> =09=09<xs:documentation>=3D=3D=3D=3D=3D Ed-Fi 2.2 Extensions =3D=3D= =3D=3D=3D</xs:documentation> =09</xs:annotation> =09<xs:annotation> =09=09<xs:documentation>=3D=3D=3D=3D=3D Domain Entities =3D=3D=3D=3D= =3D</xs:documentation> =09</xs:annotation> =09<xs:complexType name=3D"EXTENSION-PostsecondaryInstitution"> =09=09<xs:sequence> =09=09=09<xs:element name=3D"NameOfInstitution" type=3D"NameOfInstitutio= n"/> =09=09=09<xs:element name=3D"InstitutionLevel" type=3D"EXTENSION-Institu= tionLevelType"/> =09=09=09<xs:element name=3D"InstitutionControl" type=3D"EXTENSION-Insti= tutionControlType"/> =09=09=09<xs:element name=3D"AcceptanceIndicator" type=3D"xs:boolean"/&g= t; =09=09</xs:sequence> =09</xs:complexType> =09<xs:complexType name=3D"EXTENSION-StudentAcademicRecordExtension"> =09=09<xs:complexContent> =09=09=09<xs:extension base=3D"EXTENSION-StudentAcademicRecordRestrictio= n"> =09=09=09=09<xs:sequence> =09=09=09=09=09<xs:element name=3D"ClassRanking" type=3D"EXTENSION-Class= RankingExtension"/> =09=09=09=09=09<xs:element name=3D"SubmissionCertification" type=3D"EXTE= NSION-SubmissionCertificationType"/> =09=09=09=09=09<xs:element name=3D"PostsecondaryInstitutionReference" ty= pe=3D"EXTENSION-PostsecondaryInstitutionReferenceType"/> =09=09=09=09</xs:sequence> =09=09=09</xs:extension> =09=09</xs:complexContent> =09</xs:complexType> =09<xs:complexType name=3D"EXTENSION-StudentAcademicRecordRestriction"&g= t; =09=09<xs:complexContent> =09=09=09<xs:restriction base=3D"StudentAcademicRecord"> =09=09=09=09<xs:sequence> =09=09=09=09=09<xs:element name=3D"CumulativeEarnedCredits" type=3D"Cred= its" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"CumulativeAttemptedCredits" type=3D"C= redits" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"CumulativeGradePointsEarned" type=3D"= GPA" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"CumulativeGradePointAverage" type=3D"= GPA" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"GradeValueQualifier" type=3D"GradeVal= ueQualifier" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"AcademicHonor" type=3D"AcademicHonor"= minOccurs=3D"0" maxOccurs=3D"unbounded"/> =09=09=09=09=09<xs:element name=3D"Recognition" type=3D"Recognition" min= Occurs=3D"0" maxOccurs=3D"unbounded"/> =09=09=09=09=09<xs:element name=3D"ProjectedGraduationDate" type=3D"xs:d= ate" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"SessionEarnedCredits" type=3D"Credits= " minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"SessionAttemptedCredits" type=3D"Cred= its" minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"SessionGradePointsEarned" type=3D"GPA= " minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"SessionGradePointAverage" type=3D"GPA= " minOccurs=3D"0"/> =09=09=09=09=09<xs:element name=3D"Diploma" type=3D"Diploma" minOccurs= =3D"0" maxOccurs=3D"unbounded"/> =09=09=09=09=09<xs:element name=3D"StudentReference" type=3D"StudentRefe= renceType"/> =09=09=09=09=09<xs:element name=3D"EducationOrganizationReference" type= =3D"EducationOrganizationReferenceType"/> =09=09=09=09=09<xs:element name=3D"SchoolYear" type=3D"SchoolYearType"/&= gt; =09=09=09=09=09<xs:element name=3D"Term" type=3D"TermDescriptorReference= Type"/> =09=09=09=09=09<xs:element name=3D"ReportCardReference" type=3D"ReportCa= rdReferenceType" minOccurs=3D"0" maxOccurs=3D"unbounded"/> =09=09=09=09</xs:sequence> =09=09=09</xs:restriction> =09=09</xs:complexContent> =09</xs:complexType> =09<xs:annotation> =09=09<xs:documentation>=3D=3D=3D=3D=3D Extended Reference =3D=3D=3D= =3D=3D</xs:documentation> =09</xs:annotation> =09<xs:complexType name=3D"EXTENSION-PostsecondaryInstitutionReferenceTy= pe"> =09=09<xs:complexContent> =09=09=09<xs:extension base=3D"ReferenceType"/> =09=09</xs:complexContent> =09</xs:complexType> =09<xs:annotation> =09=09<xs:documentation>=3D=3D=3D=3D=3D Common =3D=3D=3D=3D=3D</xs= :documentation> =09</xs:annotation> =09<xs:complexType name=3D"EXTENSION-ClassRankingExtension"> =09=09<xs:complexContent> =09=09=09<xs:extension base=3D"EXTENSION-ClassRankingRestriction"> =09=09=09=09<xs:sequence> =09=09=09=09=09<xs:element name=3D"SpecialEducationGraduationStatus" typ= e=3D"EXTENSION-SpecialEducationGraduationStatusType"/> =09=09=09=09</xs:sequence> =09=09=09</xs:extension> =09=09</xs:complexContent> =09</xs:complexType> =09<xs:complexType name=3D"EXTENSION-ClassRankingRestriction"> =09=09<xs:complexContent> =09=09=09<xs:restriction base=3D"ClassRanking"> =09=09=09=09<xs:sequence> =09=09=09=09=09<xs:element name=3D"ClassRank" type=3D"xs:int"/> =09=09=09=09=09<xs:element name=3D"TotalNumberInClass" type=3D"xs:int"/&= gt; =09=09=09=09=09<xs:element name=3D"PercentageRanking" type=3D"xs:int"/&g= t; =09=09=09=09</xs:sequence> =09=09=09</xs:restriction> =09=09</xs:complexContent> =09</xs:complexType> =09<xs:annotation> =09=09<xs:documentation>=3D=3D=3D=3D=3D Enumeration =3D=3D=3D=3D=3D&l= t;/xs:documentation> =09</xs:annotation> =09<xs:simpleType name=3D"EXTENSION-InstitutionControlType"> =09=09<xs:restriction base=3D"xs:token"> =09=09=09<xs:enumeration value=3D"Public"/> =09=09=09<xs:enumeration value=3D"Private Non-Profit"/> =09=09=09<xs:enumeration value=3D"PrivateForProfit"/> =09=09</xs:restriction> =09</xs:simpleType> =09<xs:simpleType name=3D"EXTENSION-InstitutionLevelType"> =09=09<xs:restriction base=3D"xs:token"> =09=09=09<xs:enumeration value=3D"Four Year"/> =09=09=09<xs:enumeration value=3D"Two To Four Year"/> =09=09=09<xs:enumeration value=3D"Less Than Two Year"/> =09=09</xs:restriction> =09</xs:simpleType> =09<xs:simpleType name=3D"EXTENSION-SpecialEducationGraduationStatusType= "> =09=09<xs:restriction base=3D"xs:token"> =09=09=09<xs:enumeration value=3D"Completion of IEP and Reached Age 22"/= > =09=09=09<xs:enumeration value=3D"Completion of IEP and Access to Servic= es, Employment, or Education"/> =09=09=09<xs:enumeration value=3D"Completion of IEP and Demonstrated Sel= f-Help Skills"/> =09=09</xs:restriction> =09</xs:simpleType> =09<xs:simpleType name=3D"EXTENSION-SubmissionCertificationType"> =09=09<xs:restriction base=3D"xs:token"> =09=09=09<xs:enumeration value=3D"Official"/> =09=09=09<xs:enumeration value=3D"Unofficial"/> =09=09</xs:restriction> =09</xs:simpleType> </xs:schema>
Find out more about how to develop solutions based on the Ed-Fi Data Sta= ndard v2.2: