Templates

Templates are the data files used to load information into the PIMS data warehouse. Each template specification on this site documents the fields expected for a particular upload and maps to a target table in the data warehouse. Templates support common delimited formats (CSV, tab, pipe). When building a file, every field position in the template must be present even if a value is blank.

If a field is not collected by PDE, it still must be present in the file as an empty value or delimiter placeholder so column positions remain consistent.

This documentation is based on the eScholar templates (v19) used by PIMS. The pages here convert the original template specifications into a web-friendly reference with interactive components and cross-links to related templates and appendices.

Highlights for implementers

  • Lookup tables are used to map codes to descriptions (for example, ethnic codes to descriptions). Your extract should use PDE codes expected by PIMS.
  • When templates reference other templates (for example, a template that includes a student identifier), that dependent template must be loaded first. See the Dependencies section below for the interactive view.
  • A practical place to start is the Student template since many other templates reference student identifiers.

What each template page contains

Every template page on this site includes a summary card and a field-by-field specification. Typical sections include:

  • TemplateCard summary (fields, collected count, target table, dependencies)
  • Template Description and usage notes
  • Field specifications (field number, name, length, required/optional/conditional, codes, definitions, business rules)
  • Sample and valid values (when applicable)

Rules (applies to all templates)

  • Dates must use ISO format: YYYY-MM-DD.
  • PASECUREID values should be unique within an LEA.
  • Badges used on field headings indicate column behavior and validation hints:
    • Required required field
    • Optional optional field
    • Conditionally Required conditionally required (see business rules)
    • Key component of the primary key
    • Updateable value is updatable if the row already exists
    • Max Length: 9 length badge showing max characters for free-form fields (example)
  • Files may be supplied as delimited text (CSV, tab, pipe) or fixed-width when noted by a template.

The "eScholar Field Name" on each template identifies the exact field name expected by the eScholar load plans. Use it when mapping source system fields to template columns.

Key fields

Fields marked as Key are used to determine record uniqueness. If a key field value was uploaded incorrectly and needs to be changed, the record must be deleted and re-uploaded with the corrected values.

Deleting records

Deletions are handled by PIMS administrators. To request a deletion or other data maintenance action, use the PIMS support resources on the PDE website or the PIMS Help Request form. Contact details and the support form are kept current on the PDE site.

Load sequence and dependencies

Templates that reference identifiers from other templates require those source templates to be loaded first (for example, student identifiers require the Student template). Use the interactive dependencies table below to explore prerequisites and load order.

Extracting data into template format

This site provides guidance for extracting data from source systems into template format. The main steps are:

  • Map source fields to the template field positions
  • Apply PDE code mappings and lookup table translations
  • Export into the required delimited format and name the file according to the naming convention below
  • Submit to PIMS using your LEA's upload process

File naming conventions

Follow this pattern for template file names to ensure clarity and uniqueness:

SubmittingAUN_TargetTable_YYYYMMDDHHMM.xxx

Example: 100000009_STUDENT_202509270915.csv

  1. Submitting AUN — the 9-digit Administrative Unit Number (e.g. 100000009)
  2. Target Table — the exact target table name used by eScholar (e.g., STUDENT, COURSE_ENROLL)
  3. Time stamp — YYYYMMDDHHMM to make each filename unique
  4. Extension — file separator type (csv, tab, etc.)
  • Only authorized PIMS Administrators can perform uploads in the production system.
  • For extraction examples and detailed guidance see the official eScholar Guide to Extracting Data.

Templates within a collection and field accountability

Templates required for a particular collection may span multiple domains. Check the collection calendar and the individual template pages for the complete list of required templates. When text says "All fields must be accounted for", it means every field position in the template must be present in the file (as a value or empty placeholder).

Template Submissions by LEA Type

Use the checkboxes below to filter templates by reporting Local Education Agency (LEA) type. Rows with conditional submission requirements always appear.

Filter by Reporting LEA Type
Domain / TemplateReporting LEAs
Child Accounting Domain
School Calendar
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
School Calendar Fact
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Course Domain
Course
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Course Instructor
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Student Course Enrollment
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Discipline Domain
Incident
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Person
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Incident Offender
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Incident Offender Infraction
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Incident Offender Infraction Weapon
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Incident Offender Disciplinary Action
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Incident Offender Parent Involvement
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Incident Victim
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
District Domain
District Fact for Safe Schools
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
District Fact for Title III Professional Development Activities Survey
  • School Districts
  • Intermediate Units
  • Comprehensive Career and Technical Centers
  • Charter Schools
District Fact for LIEP Survey
  • School Districts
  • Comprehensive Career and Technical Centers
  • Charter Schools
District Fact for EL Nonpublic Student Counts
  • School Districts
District Fact for Title I
Submit only if serving Title I students
  • School Districts
  • Intermediate Units
  • Charter Schools
District Fact for Home Education and Private Tutoring
  • School Districts
District Fact for Support Personnel Data
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Location Domain
Location Fact for Safe Schools
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Location Fact for Bus Evacuation Drill
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Location Fact for Fire and Security Drills
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Location Fact for Automatic External Defibrillator (AED)
See Volume 1 for more information on PRRI/APS eligibility
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Location Fact for Interscholastic Athletic Opportunities Data
  • School Districts
  • Comprehensive Career and Technical Centers
  • Charter Schools
Staff Domain
Staff
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Staff Snapshot
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Staff Assignment
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Staff Development Fact
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Person for EL Coordinator
  • School Districts
  • Intermediate Units
  • Comprehensive Career and Technical Centers
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Person Role for EL Coordinator
  • School Districts
  • Intermediate Units
  • Comprehensive Career and Technical Centers
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
Student Domain
Student
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Student Snapshot
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Staff Student Subtest
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
Student Award Fact for Industry-Recognized Credentials and Work-Based Learning Experiences for Non-CTE Students
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
Student Fact for Career Standards Benchmarks
  • State Juvenile Correctional Institutions (SJCI)
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Student Local Assessment Subtest For Early Indicators of Success
  • School Districts
  • Comprehensive Career and Technical Centers
  • Charter Schools
Student Local Assessment Subtest For Reporting and Analytics
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Student Fact for Keystone Exemption Reporting
  • School Districts
  • Intermediate Units
  • Career and Technical Centers (CTC)
  • Charter Schools
  • State Juvenile Correctional Institutions (SJCI)
  • Private Residential Rehabilitation Institutions (PRRI)
  • Approved Private Schools (APS)
Career and Technical Education (CTE) Domain
CTE Student Fact
Submit only if LEA had reportable enrollees in approved reimbursable secondary CTE programs and/or registered adult affidavit programs.
Conditional – see note
CTE Student Industry Credential
Submit only if CTE (secondary and/or adult affidavit) program enrollees earned reportable industry certifications.
Conditional – see note
Special Education Domain
Student
  • School Districts
  • Charter Schools
Special Education Snapshot
  • School Districts
  • Charter Schools