Format samples - nsip/sifxml2pescjson GitHub Wiki

SIF XML

<StudentPersonal RefId="7C834EA9-EDA1-2090-347F-83297E1C290C">
  <AlertMessages>
    <AlertMessage Type="Legal">Mother is legal guardian</AlertMessage>
  </AlertMessages>
  <MedicalAlertMessages>
    <MedicalAlertMessage Severity="Severe">Student has Peanut Allergy</MedicalAlertMessage>
    <MedicalAlertMessage Severity="Moderate">Student has Diabetes</MedicalAlertMessage>
  </MedicalAlertMessages>
  <LocalId>S1234567</LocalId>
  <StateProvinceId>ABC1234</StateProvinceId>
  <ElectronicIdList>
    <ElectronicId Type="03">ZZZZZZ21</ElectronicId>
    <ElectronicId Type="03">ZZZZZZ22</ElectronicId>
  </ElectronicIdList>
  <OtherIdList>
    <OtherId Type="PreviousNAPPlatformStudentId">888rdgf</OtherId>
    <OtherId Type="DiocesanStudentId">1234</OtherId>
  </OtherIdList>
  <PersonInfo>
    <Name Type="LGL">
      <FamilyName>Smith</FamilyName>
      <GivenName>Fred</GivenName>
      <FullName>Fred Smith</FullName>
    </Name>
    <OtherNames>
      <Name Type="AKA">
        <FamilyName>Anderson</FamilyName>
        <GivenName>Samuel</GivenName>
        <FullName>Samuel Anderson</FullName>
      </Name>
      <Name Type="PRF">
        <FamilyName>Rowinski</FamilyName>
        <GivenName>Sam</GivenName>
        <FullName>Sam Rowinski </FullName>
      </Name>
    </OtherNames>
    <Demographics>
      <IndigenousStatus>3</IndigenousStatus>
      <Sex>1</Sex>
      <BirthDate>1990-09-26</BirthDate>
      <BirthDateVerification>1004</BirthDateVerification>
      <PlaceOfBirth>Clayton</PlaceOfBirth>
      <StateOfBirth>VIC</StateOfBirth>
      <CountryOfBirth>1101</CountryOfBirth>
      <CountriesOfCitizenship>
        <CountryOfCitizenship>8104</CountryOfCitizenship>
        <CountryOfCitizenship>1101</CountryOfCitizenship>
      </CountriesOfCitizenship>
      <CountriesOfResidency>
        <CountryOfResidency>8104</CountryOfResidency>
        <CountryOfResidency>1101</CountryOfResidency>
      </CountriesOfResidency>
      <CountryArrivalDate>1990-09-26</CountryArrivalDate>
      <AustralianCitizenshipStatus>1</AustralianCitizenshipStatus>
      <EnglishProficiency>
        <Code>1</Code>
      </EnglishProficiency>
      <LanguageList>
        <Language>
          <Code>0001</Code>
          <LanguageType>1</LanguageType>
        </Language>
      </LanguageList>
      <DwellingArrangement>
        <Code>1671</Code>
      </DwellingArrangement>
      <Religion>
        <Code>2013</Code>
      </Religion>
      <ReligiousEventList>
        <ReligiousEvent>
          <Type>Baptism</Type>
          <Date>2000-09-01</Date>
        </ReligiousEvent>
        <ReligiousEvent>
          <Type>Christmas</Type>
          <Date>2009-12-24</Date>
        </ReligiousEvent>
      </ReligiousEventList>
      <ReligiousRegion>The Religion Region</ReligiousRegion>
      <PermanentResident>P</PermanentResident>
      <VisaSubClass>101</VisaSubClass>
      <VisaStatisticalCode>05</VisaStatisticalCode>
      <VisaSubClassList>
        <VisaSubClass>
          <Code>401</Code>
          <VisaExpiryDate>2019-07-25</VisaExpiryDate>
          <ATEExpiryDate>2016-12-26</ATEExpiryDate>
          <ATEStartDate>2017-12-26</ATEStartDate>
          <VisaStatisticalCode>05</VisaStatisticalCode>
        </VisaSubClass>
      </VisaSubClassList>
    </Demographics>
    <AddressList>
      <Address Type="0123" Role="2382">
        <Street>
          <Line1>Unit1/10</Line1>
          <Line2>Barkley Street</Line2>
        </Street>
        <City>Yarra Glenn</City>
        <StateProvince>VIC</StateProvince>
        <Country>1101</Country>
        <PostalCode>9999</PostalCode>
      </Address>
      <Address Type="0123A" Role="013A">
        <Street>
          <Line1>34 Term Address Street</Line1>
        </Street>
        <City>Home Town</City>
        <StateProvince>WA</StateProvince>
        <Country>1101</Country>
        <PostalCode>9999</PostalCode>
      </Address>
    </AddressList>
    <PhoneNumberList>
      <PhoneNumber Type="0096">
        <Number>03 9637-2289</Number>
        <Extension>72289</Extension>
        <ListedStatus>Y</ListedStatus>
      </PhoneNumber>
      <PhoneNumber Type="0888">
        <Number>0437-765-234</Number>
        <ListedStatus>N</ListedStatus>
      </PhoneNumber>
    </PhoneNumberList>
    <EmailList>
      <Email Type="01">[email protected]</Email>
      <Email Type="02">[email protected]</Email>
    </EmailList>
  </PersonInfo>
  <ProjectedGraduationYear>2014</ProjectedGraduationYear>
  <OnTimeGraduationYear>2012</OnTimeGraduationYear>
  <MostRecent>
    <SchoolLocalId>S1234567</SchoolLocalId>
    <HomeroomLocalId>hr12345</HomeroomLocalId>
    <YearLevel>
      <Code>P</Code>
    </YearLevel>
    <FTE>0.5</FTE>
    <Parent1Language>1201</Parent1Language>
    <Parent2Language>1201</Parent2Language>
    <LocalCampusId>D</LocalCampusId>
    <SchoolACARAId>VIC687</SchoolACARAId>
    <Homegroup>7A</Homegroup>
    <ClassCode>English 7D</ClassCode>
    <MembershipType>02</MembershipType>
    <FFPOS>2</FFPOS>
    <ReportingSchoolId>VIC670</ReportingSchoolId>
    <OtherEnrollmentSchoolACARAId>VIC6273</OtherEnrollmentSchoolACARAId>
  </MostRecent>
  <AcceptableUsePolicy>Y</AcceptableUsePolicy>
  <EconomicDisadvantage>N</EconomicDisadvantage>
  <ESL>Y</ESL>
  <ESLDateAssessed>2016-04-23</ESLDateAssessed>
  <YoungCarersRole>N</YoungCarersRole>
  <Disability>N</Disability>
  <IntegrationAide>N</IntegrationAide>
  <EducationSupport>N</EducationSupport>
  <HomeSchooledStudent>N</HomeSchooledStudent>
  <Sensitive>N</Sensitive>
</StudentPersonal>

SIF JSON (Goessner)

{
  "StudentPersonal": {
    "@RefId": "7C834EA9-EDA1-2090-347F-83297E1C290C",
    "AlertMessages": {
      "AlertMessage": {
        "@Type": "Legal",
        "#text": "Mother is legal guardian"
      }
    },
    "MedicalAlertMessages": {
      "MedicalAlertMessage": [
        {
          "@Severity": "Severe",
          "#text": "Student has Peanut Allergy"
        },
        {
          "@Severity": "Moderate",
          "#text": "Student has Diabetes"
        }
      ]
    },
    "LocalId": "S1234567",
    "StateProvinceId": "ABC1234",
    "ElectronicIdList": {
      "ElectronicId": [
        {
          "@Type": "03",
          "#text": "ZZZZZZ21"
        },
        {
          "@Type": "03",
          "#text": "ZZZZZZ22"
        }
      ]
    },
    "OtherIdList": {
      "OtherId": [
        {
          "@Type": "PreviousNAPPlatformStudentId",
          "#text": "888rdgf"
        },
        {
          "@Type": "DiocesanStudentId",
          "#text": "1234"
        }
      ]
    },
    "PersonInfo": {
      "Name": {
        "@Type": "LGL",
        "FamilyName": "Smith",
        "GivenName": "Fred",
        "FullName": "Fred Smith"
      },
      "OtherNames": {
        "Name": [
          {
            "@Type": "AKA",
            "FamilyName": "Anderson",
            "GivenName": "Samuel",
            "FullName": "Samuel Anderson"
          },
          {
            "@Type": "PRF",
            "FamilyName": "Rowinski",
            "GivenName": "Sam",
            "FullName": "Sam Rowinski "
          }
        ]
      },
      "Demographics": {
        "IndigenousStatus": "3",
        "Sex": "1",
        "BirthDate": "1990-09-26",
        "BirthDateVerification": "1004",
        "PlaceOfBirth": "Clayton",
        "StateOfBirth": "VIC",
        "CountryOfBirth": "1101",
        "CountriesOfCitizenship": {
          "CountryOfCitizenship": [
            "8104",
            "1101"
          ]
        },
        "CountriesOfResidency": {
          "CountryOfResidency": [
            "8104",
            "1101"
          ]
        },
        "CountryArrivalDate": "1990-09-26",
        "AustralianCitizenshipStatus": "1",
        "EnglishProficiency": {
          "Code": "1"
        },
        "LanguageList": {
          "Language": {
            "Code": "0001",
            "LanguageType": "1"
          }
        },
        "DwellingArrangement": {
          "Code": "1671"
        },
        "Religion": {
          "Code": "2013"
        },
        "ReligiousEventList": {
          "ReligiousEvent": [
            {
              "Type": "Baptism",
              "Date": "2000-09-01"
            },
            {
              "Type": "Christmas",
              "Date": "2009-12-24"
            }
          ]
        },
        "ReligiousRegion": "The Religion Region",
        "PermanentResident": "P",
        "VisaSubClass": "101",
        "VisaStatisticalCode": "05",
        "VisaSubClassList": {
          "VisaSubClass": {
            "Code": "401",
            "VisaExpiryDate": "2019-07-25",
            "ATEExpiryDate": "2016-12-26",
            "ATEStartDate": "2017-12-26",
            "VisaStatisticalCode": "05"
          }
        }
      },
      "AddressList": {
        "Address": [
          {
            "@Type": "0123",
            "@Role": "2382",
            "Street": {
              "Line1": "Unit1/10",
              "Line2": "Barkley Street"
            },
            "City": "Yarra Glenn",
            "StateProvince": "VIC",
            "Country": "1101",
            "PostalCode": "9999"
          },
          {
            "@Type": "0123A",
            "@Role": "013A",
            "Street": {
              "Line1": "34 Term Address Street"
            },
            "City": "Home Town",
            "StateProvince": "WA",
            "Country": "1101",
            "PostalCode": "9999"
          }
        ]
      },
      "PhoneNumberList": {
        "PhoneNumber": [
          {
            "@Type": "0096",
            "Number": "03 9637-2289",
            "Extension": "72289",
            "ListedStatus": "Y"
          },
          {
            "@Type": "0888",
            "Number": "0437-765-234",
            "ListedStatus": "N"
          }
        ]
      },
      "EmailList": {
        "Email": [
          {
            "@Type": "01",
            "#text": "[email protected]"
          },
          {
            "@Type": "02",
            "#text": "[email protected]"
          }
        ]
      }
    },
    "ProjectedGraduationYear": "2014",
    "OnTimeGraduationYear": "2012",
    "MostRecent": {
      "SchoolLocalId": "S1234567",
      "HomeroomLocalId": "hr12345",
      "YearLevel": {
        "Code": "P"
      },
      "FTE": "0.5",
      "Parent1Language": "1201",
      "Parent2Language": "1201",
      "LocalCampusId": "D",
      "SchoolACARAId": "VIC687",
      "Homegroup": "7A",
      "ClassCode": "English 7D",
      "MembershipType": "02",
      "FFPOS": "2",
      "ReportingSchoolId": "VIC670",
      "OtherEnrollmentSchoolACARAId": "VIC6273"
    },
    "AcceptableUsePolicy": "Y",
    "EconomicDisadvantage": "N",
    "ESL": "Y",
    "ESLDateAssessed": "2016-04-23",
    "YoungCarersRole": "N",
    "Disability": "N",
    "IntegrationAide": "N",
    "EducationSupport": "N",
    "HomeSchooledStudent": "N",
    "Sensitive": "N"
  }
}

SIF JSON (PESC)

{
  "StudentPersonal": {
    "RefId": "7C834EA9-EDA1-2090-347F-83297E1C290C",
    "AlertMessages": {
      "AlertMessage": [
        {
          "Type": "Legal",
          "value": "Mother is legal guardian"
        }
      ]
    },
    "MedicalAlertMessages": {
      "MedicalAlertMessage": [
        {
          "Severity": "Severe",
          "value": "Student has Peanut Allergy"
        },
        {
          "Severity": "Moderate",
          "value": "Student has Diabetes"
        }
      ]
    },
    "LocalId": "S1234567",
    "StateProvinceId": "ABC1234",
    "ElectronicIdList": {
      "ElectronicId": [
        {
          "Type": "03",
          "value": "ZZZZZZ21"
        },
        {
          "Type": "03",
          "value": "ZZZZZZ22"
        }
      ]
    },
    "OtherIdList": {
      "OtherId": [
        {
          "Type": "PreviousNAPPlatformStudentId",
          "value": "888rdgf"
        },
        {
          "Type": "DiocesanStudentId",
          "value": "1234"
        }
      ]
    },
    "PersonInfo": {
      "Name": {
        "Type": "LGL",
        "FamilyName": "Smith",
        "GivenName": "Fred",
        "FullName": "Fred Smith"
      },
      "OtherNames": {
        "Name": [
          {
            "Type": "AKA",
            "FamilyName": "Anderson",
            "GivenName": "Samuel",
            "FullName": "Samuel Anderson"
          },
          {
            "Type": "PRF",
            "FamilyName": "Rowinski",
            "GivenName": "Sam",
            "FullName": "Sam Rowinski "
          }
        ]
      },
      "Demographics": {
        "IndigenousStatus": "3",
        "Sex": "1",
        "BirthDate": "1990-09-26",
        "BirthDateVerification": "1004",
        "PlaceOfBirth": "Clayton",
        "StateOfBirth": "VIC",
        "CountryOfBirth": "1101",
        "CountriesOfCitizenship": {
          "CountryOfCitizenship": [
            "8104",
            "1101"
          ]
        },
        "CountriesOfResidency": {
          "CountryOfResidency": [
            "8104",
            "1101"
          ]
        },
        "CountryArrivalDate": "1990-09-26",
        "AustralianCitizenshipStatus": "1",
        "EnglishProficiency": {
          "Code": "1"
        },
        "LanguageList": {
          "Language": [
            {
              "Code": "0001",
              "LanguageType": "1"
            }
          ]
        },
        "DwellingArrangement": {
          "Code": "1671"
        },
        "Religion": {
          "Code": "2013"
        },
        "ReligiousEventList": {
          "ReligiousEvent": [
            {
              "Type": "Baptism",
              "Date": "2000-09-01"
            },
            {
              "Type": "Christmas",
              "Date": "2009-12-24"
            }
          ]
        },
        "ReligiousRegion": "The Religion Region",
        "PermanentResident": "P",
        "VisaSubClass": "101",
        "VisaStatisticalCode": "05",
        "VisaSubClassList": {
          "VisaSubClass": [
            {
              "Code": "401",
              "VisaExpiryDate": "2019-07-25",
              "ATEExpiryDate": "2016-12-26",
              "ATEStartDate": "2017-12-26",
              "VisaStatisticalCode": "05"
            }
          ]
        }
      },
      "AddressList": {
        "Address": [
          {
            "Type": "0123",
            "Role": "2382",
            "Street": {
              "Line1": "Unit1/10",
              "Line2": "Barkley Street"
            },
            "City": "Yarra Glenn",
            "StateProvince": "VIC",
            "Country": "1101",
            "PostalCode": "9999"
          },
          {
            "Type": "0123A",
            "Role": "013A",
            "Street": {
              "Line1": "34 Term Address Street"
            },
            "City": "Home Town",
            "StateProvince": "WA",
            "Country": "1101",
            "PostalCode": "9999"
          }
        ]
      },
      "PhoneNumberList": {
        "PhoneNumber": [
          {
            "Type": "0096",
            "Number": "03 9637-2289",
            "Extension": "72289",
            "ListedStatus": "Y"
          },
          {
            "Type": "0888",
            "Number": "0437-765-234",
            "ListedStatus": "N"
          }
        ]
      },
      "EmailList": {
        "Email": [
          {
            "Type": "01",
            "value": "[email protected]"
          },
          {
            "Type": "02",
            "value": "[email protected]"
          }
        ]
      }
    },
    "ProjectedGraduationYear": "2014",
    "OnTimeGraduationYear": "2012",
    "MostRecent": {
      "SchoolLocalId": "S1234567",
      "HomeroomLocalId": "hr12345",
      "YearLevel": {
        "Code": "P"
      },
      "FTE": 0.5,
      "Parent1Language": "1201",
      "Parent2Language": "1201",
      "LocalCampusId": "D",
      "SchoolACARAId": "VIC687",
      "Homegroup": "7A",
      "ClassCode": "English 7D",
      "MembershipType": "02",
      "FFPOS": "2",
      "ReportingSchoolId": "VIC670",
      "OtherEnrollmentSchoolACARAId": "VIC6273"
    },
    "AcceptableUsePolicy": "Y",
    "EconomicDisadvantage": "N",
    "ESL": "Y",
    "ESLDateAssessed": "2016-04-23",
    "YoungCarersRole": "N",
    "Disability": "N",
    "IntegrationAide": "N",
    "EducationSupport": "N",
    "HomeSchooledStudent": "N",
    "Sensitive": "N"
  }
}
⚠️ **GitHub.com Fallback** ⚠️