...
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" xmlns:ann="http://ed-fi.org/annotation" xmlns:altova="http://www.altova.com/xml-schema-extensions" targetNamespace="http://ed-fi.org/0200" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="..\..\..\Ed-Fi-ODS\Application\EdFi.Ods.CodeGen\App_Packages\Ed-Fi\Schema\Ed-Fi-Core.xsd"/>
<xs:annotation>
<xs:documentation>===== Sample Core Type Extensions =====</xs:documentation>
</xs:annotation>
<xs:complexType name="EXTENSION-StudentTransportation">
<xs:annotation>
<xs:documentation>New state-specific entity which specifies the buses that a student is expecting to use and the approximate distance.</xs:documentation>
<xs:appinfo>
<ann:TypeGroup>Domain Entity</ann:TypeGroup>
</xs:appinfo>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ComplexObjectType">
<xs:sequence>
<xs:element name="StudentReference" type="StudentReferenceType">\
<xs:annotation>
<xs:documentation>Student associated with the buses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SchoolReference" type="SchoolReferenceType">
<xs:annotation>
<xs:documentation>School associated with the buses.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AMBusNumber" type="EXTENSION-BusNumber">
<xs:annotation>
<xs:documentation>Bus number student rides in morning (AM)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PMBusNumber" type="EXTENSION-BusNumber">
<xs:annotation>
<xs:documentation>Bus number student rides in afternoon (PM)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EstimatedMilesFromSchool" type="EXTENSION-EstimatedMiles">
<xs:annotation>
<xs:documentation>The distance the child lives from the school. Example, 1 Mile = 01.00 2.5 Miles = 02.50</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="EXTENSION-BusNumber">
<xs:annotation>
<xs:documentation>Bus number student rides (see EXTENSION-StudentTransportation - used for AM and PM bus numbers)</xs:documentation>
<xs:appinfo>
<ann:TypeGroup>Simple</ann:TypeGroup>
</xs:appinfo>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:maxLength value="6"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="EXTENSION-EstimatedMiles">
<xs:annotation>
<xs:documentation>Estimated distance from point A to point B. (see EXTENSION-StudentTransporation)</xs:documentation>
<xs:appinfo>
<ann:TypeGroup>Simple</ann:TypeGroup>
</xs:appinfo>
</xs:annotation>
<xs:restriction base="xs:decimal">
<xs:minInclusive value="0.00"/>
<xs:maxInclusive value="999.00"/>
<xs:totalDigits value="5"/>
<xs:fractionDigits value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:schema> |
...