← Back to Pack Library
Verticalslibraryuncertifiedv2026.12.0

education

Education staffing compliance library pack (Plan 0006): educator role and school-based placement concepts plus statutory requirement shapes for teaching certificate or substitute permit verification, fingerprint background check, and mandated reporter training. State packs or bindings supply state-specific deadlines and citations.

Verify locally with CLI
Validate schema & rules
pnpm ir check packs/education/pack.json
Run pack scenarios
pnpm ir test packs/education/pack.json
3Requirements
3Concepts
7Scenarios

Requirements (3)

Compliance and operational rules declared in this pack's policies, with authority classification, legal citations, and due/renewal schedules.

Teaching Certificate or Substitute Permit

education_teaching_certificate
statutedocumenteducation_credentials
Duesubject: engagement/start_date (-1d) · reviewer: engagement/start_date (-1d)
Expires oneducation/certificate_expires_on
Renew within30 days
Citations
  • State education code (confirm)

Fingerprint Background Check

education_fingerprint_check
statutecheckeducation_screening
Dueprovider: engagement/start_date (-1d)
Citations
  • State education code (confirm)

Mandated Reporter Training

education_mandated_reporter_training
statutedocumenteducation_training
Duesubject: engagement/start_date (-1d)
Expires1 year
Renew within30 days
Citations
  • State child abuse reporting law (confirm)

Concepts (3)

Typed domain facts introduced by this pack that policies evaluate against.

ConceptTypeChoices / Description
education/rolechoice

Education placement role of the principal (classroom teacher, substitute teacher, instructional aide, or non-teaching school staff)

teachersubstituteaideschool_staff
education/school_basedboolean

Whether the engagement is performed in a school-based setting with student contact or campus access

education/certificate_expires_ondate

Expiration date of the educator's teaching certificate or substitute permit (YYYY-MM-DD)

Scenarios (7)

Executable compliance test cases verified against this pack by pnpm ir test.

teacher-school-based-applies
as of 2026-12-01

School-based classroom teacher requires teaching certificate verification, fingerprint background check, and mandated reporter training before start.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01education/role=teachereducation/school_based=trueeducation/certificate_expires_on=2027-06-30
Expected outcomes
+ education_teaching_certificate+ education_fingerprint_check+ education_mandated_reporter_trainingeducation_teaching_certificate: availableeducation_fingerprint_check: availableeducation_mandated_reporter_training: availablewake_at: 2026-12-07
substitute-school-based-applies
as of 2026-12-01

School-based substitute requires substitute permit verification, fingerprint background check, and mandated reporter training before start.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01education/role=substituteeducation/school_based=trueeducation/certificate_expires_on=2027-05-15
Expected outcomes
+ education_teaching_certificate+ education_fingerprint_check+ education_mandated_reporter_trainingeducation_teaching_certificate: availableeducation_fingerprint_check: availableeducation_mandated_reporter_training: availablewake_at: 2026-12-07
non-teaching-school-staff-applies
as of 2026-12-011 step

School-based instructional aides and non-teaching school staff require fingerprint background check and mandated reporter training, but do not require a teaching certificate.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01education/role=aideeducation/school_based=true
Expected outcomes
+ education_fingerprint_check+ education_mandated_reporter_training− education_teaching_certificateeducation_fingerprint_check: availableeducation_mandated_reporter_training: availablewake_at: 2026-12-07
non-school-based-exempt
as of 2026-12-01

Non-school-based administrative or support staff do not trigger teaching certificate, fingerprint background check, or mandated reporter training requirements.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01education/role=school_staffeducation/school_based=false
Expected outcomes
− education_teaching_certificate− education_fingerprint_check− education_mandated_reporter_training
missing-facts-tentative
as of 2026-12-012 steps

When education/role and education/school_based are unknown, all education requirements are tentative and blocked on missing facts until supplied.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01
Expected outcomes
+ education_teaching_certificate+ education_fingerprint_check+ education_mandated_reporter_trainingeducation_teaching_certificate: blocked_on_factseducation_fingerprint_check: blocked_on_factseducation_mandated_reporter_training: blocked_on_facts
due-dates-before-start-and-overdue
as of 2026-12-061 step

All three education requirements are due the day before engagement/start_date (2026-12-06 for a 2026-12-07 start) and become overdue on the start date if incomplete.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01education/role=teachereducation/school_based=trueeducation/certificate_expires_on=2027-06-30
Expected outcomes
+ education_teaching_certificate+ education_fingerprint_check+ education_mandated_reporter_trainingeducation_teaching_certificate: availableeducation_fingerprint_check: availableeducation_mandated_reporter_training: availablewake_at: 2026-12-07
certificate-expiry-and-mandated-reporter-renewal
as of 2026-12-054 steps

Completed teaching certificate opens a 30-day renewal before education/certificate_expires_on and expires after that date; completed mandated reporter training opens a 30-day renewal before its 1-year cycle and expires past 1 year while fingerprint check stays complete.

Given facts
engagement/start_date=2026-12-07engagement/reviewer=usr_edu_reviewer_01education/role=teachereducation/school_based=trueeducation/certificate_expires_on=2027-03-15
Expected outcomes
+ education_teaching_certificate+ education_fingerprint_check+ education_mandated_reporter_training− education_teaching_certificate:renewal− education_mandated_reporter_training:renewaleducation_teaching_certificate: completeeducation_fingerprint_check: completeeducation_mandated_reporter_training: completewake_at: 2027-02-13

Pack JSON

Show raw packs/education/pack.json
{
  "format": 1,
  "name": "education",
  "version": "2026.12.0",
  "kind": "library",
  "description": "Education staffing compliance library pack (Plan 0006): educator role and school-based placement concepts plus statutory requirement shapes for teaching certificate or substitute permit verification, fingerprint background check, and mandated reporter training. State packs or bindings supply state-specific deadlines and citations.",
  "requires": [
    {
      "name": "credentials-core",
      "range": "^2026.12"
    },
    {
      "name": "screening-core",
      "range": "^2026.12"
    },
    {
      "name": "us-federal",
      "range": "^2026.12"
    }
  ],
  "concepts": [
    {
      "key": "education/role",
      "type": "choice",
      "options": [
        "teacher",
        "substitute",
        "aide",
        "school_staff"
      ],
      "description": "Education placement role of the principal (classroom teacher, substitute teacher, instructional aide, or non-teaching school staff)"
    },
    {
      "key": "education/school_based",
      "type": "boolean",
      "description": "Whether the engagement is performed in a school-based setting with student contact or campus access"
    },
    {
      "key": "education/certificate_expires_on",
      "type": "date",
      "description": "Expiration date of the educator's teaching certificate or substitute permit (YYYY-MM-DD)"
    }
  ],
  "templates": [
    {
      "key": "education_teaching_certificate_record",
      "version": "2026.1.0",
      "title": "Teaching Certificate or Substitute Permit Verification Record",
      "roles": [
        {
          "name": "subject",
          "kind": "person",
          "label": "Educator"
        },
        {
          "name": "reviewer",
          "kind": "user",
          "label": "Credentialing Reviewer",
          "after": [
            "subject"
          ]
        }
      ],
      "sections": [
        {
          "id": "certificate_submission",
          "role": "subject",
          "title": "Educator Certificate or Permit Details",
          "fields": [
            {
              "id": "credential_category",
              "type": "choice",
              "label": "Credential Category",
              "options": [
                "teaching_certificate",
                "substitute_permit"
              ],
              "required": true
            },
            {
              "id": "certificate_number",
              "type": "text",
              "label": "Certificate or Permit Number",
              "required": true
            },
            {
              "id": "issuing_state",
              "type": "text",
              "label": "Issuing State Education Agency",
              "required": true
            },
            {
              "id": "expires_on",
              "type": "date",
              "label": "Certificate Expiration Date",
              "required": true
            }
          ]
        },
        {
          "id": "certificate_verification",
          "role": "reviewer",
          "title": "Primary Source Verification",
          "readable": [
            "certificate_submission"
          ],
          "fields": [
            {
              "id": "verification_source",
              "type": "choice",
              "label": "Verification Source",
              "options": [
                "state_education_agency",
                "credential_registry",
                "document_review"
              ],
              "required": true
            },
            {
              "id": "verified_on",
              "type": "date",
              "label": "Verification Date",
              "required": true
            },
            {
              "id": "standing_confirmed",
              "type": "boolean",
              "label": "Active and Valid Standing Confirmed",
              "required": true
            }
          ],
          "signature": {
            "id": "reviewer_signature",
            "attestation": "I attest that I verified the educator's teaching certificate or substitute permit against the recorded verification source and confirmed active standing.",
            "covers": [
              "certificate_submission",
              "certificate_verification"
            ]
          }
        }
      ]
    },
    {
      "key": "education_mandated_reporter_training_record",
      "version": "2026.1.0",
      "title": "Mandated Reporter Training Completion Attestation",
      "roles": [
        {
          "name": "subject",
          "kind": "person",
          "label": "School Personnel"
        }
      ],
      "sections": [
        {
          "id": "training_completion",
          "role": "subject",
          "title": "Mandated Reporter Training Record",
          "fields": [
            {
              "id": "completed_date",
              "type": "date",
              "label": "Completion Date",
              "required": true
            },
            {
              "id": "training_jurisdiction",
              "type": "text",
              "label": "State or Jurisdiction Curriculum",
              "required": true
            },
            {
              "id": "delivery_format",
              "type": "choice",
              "label": "Delivery Format",
              "options": [
                "online",
                "in_person",
                "live_virtual"
              ],
              "required": true
            },
            {
              "id": "certificate_reference",
              "type": "text",
              "label": "Completion Certificate Reference",
              "required": false
            }
          ],
          "signature": {
            "id": "subject_signature",
            "attestation": "I attest that I have completed the mandated child abuse and neglect reporter training required for school-based personnel.",
            "covers": [
              "training_completion"
            ]
          }
        }
      ]
    }
  ],
  "policies": [
    {
      "key": "education",
      "version": "2026.12.0",
      "facts": {
        "engagement/start_date": {
          "type": "date"
        },
        "engagement/reviewer": {
          "type": "string"
        },
        "education/role": {
          "type": "choice",
          "options": [
            "teacher",
            "substitute",
            "aide",
            "school_staff"
          ]
        },
        "education/school_based": {
          "type": "boolean"
        },
        "education/certificate_expires_on": {
          "type": "date"
        }
      },
      "stages": [
        {
          "id": "education_credentials",
          "title": "Educator Credentials"
        },
        {
          "id": "education_screening",
          "title": "School-Based Background Clearance"
        },
        {
          "id": "education_training",
          "title": "Mandated Reporter Training"
        }
      ],
      "requirements": {
        "education_teaching_certificate": {
          "title": "Teaching Certificate or Substitute Permit",
          "kind": "document",
          "template": "education_teaching_certificate_record",
          "stage": "education_credentials",
          "parties": {
            "subject": "subject",
            "reviewer": "engagement/reviewer"
          },
          "due": {
            "subject": {
              "relative_to": "engagement/start_date",
              "days": -1
            },
            "reviewer": {
              "relative_to": "engagement/start_date",
              "days": -1
            }
          },
          "expires_on": "education/certificate_expires_on",
          "renew_within": {
            "days": 30
          },
          "on_unknown": "wait",
          "authority": "statute",
          "cites": [
            "State education code (confirm)"
          ]
        },
        "education_fingerprint_check": {
          "title": "Fingerprint Background Check",
          "kind": "check",
          "provider": "fingerprint-check",
          "stage": "education_screening",
          "parties": {
            "provider": "system:fingerprint-check"
          },
          "due": {
            "provider": {
              "relative_to": "engagement/start_date",
              "days": -1
            }
          },
          "on_unknown": "wait",
          "authority": "statute",
          "cites": [
            "State education code (confirm)"
          ]
        },
        "education_mandated_reporter_training": {
          "title": "Mandated Reporter Training",
          "kind": "document",
          "template": "education_mandated_reporter_training_record",
          "stage": "education_training",
          "parties": {
            "subject": "subject"
          },
          "due": {
            "subject": {
              "relative_to": "engagement/start_date",
              "days": -1
            }
          },
          "expires": {
            "years": 1
          },
          "renew_within": {
            "days": 30
          },
          "on_unknown": "wait",
          "authority": "statute",
          "cites": [
            "State child abuse reporting law (confirm)"
          ]
        }
      },
      "policies": [
        {
          "id": "education-teaching-certificate",
          "title": "Teaching certificate or substitute permit for teachers and substitutes before start (confirm)",
          "when": {
            "fact": "education/role",
            "operator": "in",
            "value": [
              "teacher",
              "substitute"
            ]
          },
          "require": [
            "education_teaching_certificate"
          ],
          "optional": false,
          "cites": [
            "State education code (confirm)"
          ]
        },
        {
          "id": "education-fingerprint-check",
          "title": "Fingerprint background check for all school-based roles before start (confirm)",
          "when": {
            "fact": "education/school_based",
            "operator": "equal",
            "value": true
          },
          "require": [
            "education_fingerprint_check"
          ],
          "optional": false,
          "cites": [
            "State education code (confirm)"
          ]
        },
        {
          "id": "education-mandated-reporter-training",
          "title": "Mandated reporter training for all school-based roles before start with state renewal cycle (confirm)",
          "when": {
            "fact": "education/school_based",
            "operator": "equal",
            "value": true
          },
          "require": [
            "education_mandated_reporter_training"
          ],
          "optional": false,
          "cites": [
            "State child abuse reporting law (confirm)"
          ]
        }
      ]
    }
  ],
  "scenarios": [
    {
      "name": "teacher-school-based-applies",
      "description": "School-based classroom teacher requires teaching certificate verification, fingerprint background check, and mandated reporter training before start.",
      "policy_set": "education",
      "as_of": "2026-12-01",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01",
        "education/role": "teacher",
        "education/school_based": true,
        "education/certificate_expires_on": "2027-06-30"
      },
      "expect": {
        "required": [
          "education_teaching_certificate",
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "not_required": [],
        "states": {
          "education_teaching_certificate": "available",
          "education_fingerprint_check": "available",
          "education_mandated_reporter_training": "available"
        },
        "wake_at": "2026-12-07",
        "missing_facts": []
      }
    },
    {
      "name": "substitute-school-based-applies",
      "description": "School-based substitute requires substitute permit verification, fingerprint background check, and mandated reporter training before start.",
      "policy_set": "education",
      "as_of": "2026-12-01",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01",
        "education/role": "substitute",
        "education/school_based": true,
        "education/certificate_expires_on": "2027-05-15"
      },
      "expect": {
        "required": [
          "education_teaching_certificate",
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "not_required": [],
        "states": {
          "education_teaching_certificate": "available",
          "education_fingerprint_check": "available",
          "education_mandated_reporter_training": "available"
        },
        "wake_at": "2026-12-07",
        "missing_facts": []
      }
    },
    {
      "name": "non-teaching-school-staff-applies",
      "description": "School-based instructional aides and non-teaching school staff require fingerprint background check and mandated reporter training, but do not require a teaching certificate.",
      "policy_set": "education",
      "as_of": "2026-12-01",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01",
        "education/role": "aide",
        "education/school_based": true
      },
      "expect": {
        "required": [
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "not_required": [
          "education_teaching_certificate"
        ],
        "states": {
          "education_fingerprint_check": "available",
          "education_mandated_reporter_training": "available"
        },
        "wake_at": "2026-12-07",
        "missing_facts": []
      },
      "steps": [
        {
          "name": "school-staff-role-also-exempt-from-certificate",
          "set_facts": {
            "education/role": "school_staff"
          },
          "expect": {
            "required": [
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [
              "education_teaching_certificate"
            ],
            "states": {
              "education_fingerprint_check": "available",
              "education_mandated_reporter_training": "available"
            },
            "missing_facts": []
          }
        }
      ]
    },
    {
      "name": "non-school-based-exempt",
      "description": "Non-school-based administrative or support staff do not trigger teaching certificate, fingerprint background check, or mandated reporter training requirements.",
      "policy_set": "education",
      "as_of": "2026-12-01",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01",
        "education/role": "school_staff",
        "education/school_based": false
      },
      "expect": {
        "required": [],
        "not_required": [
          "education_teaching_certificate",
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "missing_facts": []
      }
    },
    {
      "name": "missing-facts-tentative",
      "description": "When education/role and education/school_based are unknown, all education requirements are tentative and blocked on missing facts until supplied.",
      "policy_set": "education",
      "as_of": "2026-12-01",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01"
      },
      "expect": {
        "required": [
          "education_teaching_certificate",
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "not_required": [],
        "states": {
          "education_teaching_certificate": "blocked_on_facts",
          "education_fingerprint_check": "blocked_on_facts",
          "education_mandated_reporter_training": "blocked_on_facts"
        },
        "missing_facts": [
          "education/role",
          "education/school_based"
        ]
      },
      "steps": [
        {
          "name": "supply-school-based-true",
          "set_facts": {
            "education/school_based": true
          },
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [],
            "states": {
              "education_teaching_certificate": "blocked_on_facts",
              "education_fingerprint_check": "available",
              "education_mandated_reporter_training": "available"
            },
            "missing_facts": [
              "education/role"
            ]
          }
        },
        {
          "name": "supply-teacher-role",
          "set_facts": {
            "education/role": "teacher"
          },
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [],
            "states": {
              "education_teaching_certificate": "available",
              "education_fingerprint_check": "available",
              "education_mandated_reporter_training": "available"
            },
            "missing_facts": []
          }
        }
      ]
    },
    {
      "name": "due-dates-before-start-and-overdue",
      "description": "All three education requirements are due the day before engagement/start_date (2026-12-06 for a 2026-12-07 start) and become overdue on the start date if incomplete.",
      "policy_set": "education",
      "as_of": "2026-12-06",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01",
        "education/role": "teacher",
        "education/school_based": true,
        "education/certificate_expires_on": "2027-06-30"
      },
      "expect": {
        "required": [
          "education_teaching_certificate",
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "not_required": [],
        "states": {
          "education_teaching_certificate": "available",
          "education_fingerprint_check": "available",
          "education_mandated_reporter_training": "available"
        },
        "wake_at": "2026-12-07",
        "missing_facts": []
      },
      "steps": [
        {
          "name": "advance-to-start-date-overdue",
          "as_of": "2026-12-07",
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [],
            "states": {
              "education_teaching_certificate": "overdue",
              "education_fingerprint_check": "overdue",
              "education_mandated_reporter_training": "overdue"
            },
            "missing_facts": []
          }
        }
      ]
    },
    {
      "name": "certificate-expiry-and-mandated-reporter-renewal",
      "description": "Completed teaching certificate opens a 30-day renewal before education/certificate_expires_on and expires after that date; completed mandated reporter training opens a 30-day renewal before its 1-year cycle and expires past 1 year while fingerprint check stays complete.",
      "policy_set": "education",
      "as_of": "2026-12-05",
      "facts": {
        "engagement/start_date": "2026-12-07",
        "engagement/reviewer": "usr_edu_reviewer_01",
        "education/role": "teacher",
        "education/school_based": true,
        "education/certificate_expires_on": "2027-03-15"
      },
      "evidence": [
        {
          "id": "doc_edu_mrt_01",
          "template": "education_mandated_reporter_training_record",
          "template_version": "2026.1.0",
          "status": "completed",
          "completed_at": "2026-12-02",
          "facts": {}
        }
      ],
      "progress": {
        "education_teaching_certificate": {
          "status": "completed",
          "document": "doc_edu_cert_01",
          "roles": {
            "subject": "completed",
            "reviewer": "completed"
          }
        },
        "education_fingerprint_check": {
          "status": "completed",
          "roles": {
            "provider": "completed"
          }
        },
        "education_mandated_reporter_training": {
          "status": "completed",
          "document": "doc_edu_mrt_01",
          "roles": {
            "subject": "completed"
          }
        }
      },
      "expect": {
        "required": [
          "education_teaching_certificate",
          "education_fingerprint_check",
          "education_mandated_reporter_training"
        ],
        "not_required": [
          "education_teaching_certificate:renewal",
          "education_mandated_reporter_training:renewal"
        ],
        "states": {
          "education_teaching_certificate": "complete",
          "education_fingerprint_check": "complete",
          "education_mandated_reporter_training": "complete"
        },
        "wake_at": "2027-02-13",
        "missing_facts": []
      },
      "steps": [
        {
          "name": "enter-certificate-renewal-window",
          "as_of": "2027-02-15",
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_teaching_certificate:renewal",
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [
              "education_mandated_reporter_training:renewal"
            ],
            "states": {
              "education_teaching_certificate": "complete",
              "education_teaching_certificate:renewal": "available",
              "education_fingerprint_check": "complete",
              "education_mandated_reporter_training": "complete"
            },
            "wake_at": "2027-03-15",
            "missing_facts": []
          }
        },
        {
          "name": "advance-past-certificate-expiry",
          "as_of": "2027-03-16",
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [
              "education_teaching_certificate:renewal",
              "education_mandated_reporter_training:renewal"
            ],
            "states": {
              "education_teaching_certificate": "expired",
              "education_fingerprint_check": "complete",
              "education_mandated_reporter_training": "complete"
            },
            "wake_at": "2027-11-02",
            "missing_facts": []
          }
        },
        {
          "name": "enter-mandated-reporter-renewal-window",
          "as_of": "2027-11-10",
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_fingerprint_check",
              "education_mandated_reporter_training",
              "education_mandated_reporter_training:renewal"
            ],
            "not_required": [
              "education_teaching_certificate:renewal"
            ],
            "states": {
              "education_teaching_certificate": "expired",
              "education_fingerprint_check": "complete",
              "education_mandated_reporter_training": "complete",
              "education_mandated_reporter_training:renewal": "available"
            },
            "wake_at": "2027-12-02",
            "missing_facts": []
          }
        },
        {
          "name": "advance-past-mandated-reporter-expiry",
          "as_of": "2027-12-03",
          "expect": {
            "required": [
              "education_teaching_certificate",
              "education_fingerprint_check",
              "education_mandated_reporter_training"
            ],
            "not_required": [
              "education_teaching_certificate:renewal",
              "education_mandated_reporter_training:renewal"
            ],
            "states": {
              "education_teaching_certificate": "expired",
              "education_fingerprint_check": "complete",
              "education_mandated_reporter_training": "expired"
            },
            "missing_facts": []
          }
        }
      ]
    }
  ]
}

Forma Lisp

Show Forma Lisp source education.forma
(pack education
  :format 1
  :version "2026.12.0"
  :kind "library"
  :description "Education staffing compliance library pack (Plan 0006): educator role and school-based placement concepts plus statutory requirement shapes for teaching certificate or substitute permit verification, fingerprint background check, and mandated reporter training. State packs or bindings supply state-specific deadlines and citations.")

;; ── Pack Dependencies ──────────────────────────────────────────────────────

(require-pack credentials-core :range "^2026.12")
(require-pack screening-core :range "^2026.12")
(require-pack us-federal :range "^2026.12")

;; ── Concepts ───────────────────────────────────────────────────────────────

(concept "education/role"
  :type "choice"
  :options ["teacher" "substitute" "aide" "school_staff"]
  :description "Education placement role of the principal (classroom teacher, substitute teacher, instructional aide, or non-teaching school staff)")

(concept "education/school_based"
  :type "boolean"
  :description "Whether the engagement is performed in a school-based setting with student contact or campus access")

(concept "education/certificate_expires_on"
  :type "date"
  :description "Expiration date of the educator's teaching certificate or substitute permit (YYYY-MM-DD)")

;; ── Document Templates ─────────────────────────────────────────────────────

(template education_teaching_certificate_record
  :version "2026.1.0"
  :title "Teaching Certificate or Substitute Permit Verification Record"
  :roles
    [{:name "subject" :kind "person" :label "Educator"}
     {:name "reviewer" :kind "user" :label "Credentialing Reviewer" :after ["subject"]}]
  :sections
    [{:id "certificate_submission"
       :role "subject"
       :title "Educator Certificate or Permit Details"
       :fields
        [{:id "credential_category"
           :type "choice"
           :label "Credential Category"
           :options ["teaching_certificate" "substitute_permit"]
           :required true}
         {:id "certificate_number"
           :type "text"
           :label "Certificate or Permit Number"
           :required true}
         {:id "issuing_state"
           :type "text"
           :label "Issuing State Education Agency"
           :required true}
         {:id "expires_on"
           :type "date"
           :label "Certificate Expiration Date"
           :required true}]}
     {:id "certificate_verification"
       :role "reviewer"
       :title "Primary Source Verification"
       :readable ["certificate_submission"]
       :fields
        [{:id "verification_source"
           :type "choice"
           :label "Verification Source"
           :options ["state_education_agency" "credential_registry" "document_review"]
           :required true}
         {:id "verified_on" :type "date" :label "Verification Date" :required true}
         {:id "standing_confirmed"
           :type "boolean"
           :label "Active and Valid Standing Confirmed"
           :required true}]
       :signature
        {:id "reviewer_signature"
         :attestation "I attest that I verified the educator's teaching certificate or substitute permit against the recorded verification source and confirmed active standing."
         :covers ["certificate_submission" "certificate_verification"]}}])

(template education_mandated_reporter_training_record
  :version "2026.1.0"
  :title "Mandated Reporter Training Completion Attestation"
  :roles [{:name "subject" :kind "person" :label "School Personnel"}]
  :sections
    [{:id "training_completion"
       :role "subject"
       :title "Mandated Reporter Training Record"
       :fields
        [{:id "completed_date" :type "date" :label "Completion Date" :required true}
         {:id "training_jurisdiction"
           :type "text"
           :label "State or Jurisdiction Curriculum"
           :required true}
         {:id "delivery_format"
           :type "choice"
           :label "Delivery Format"
           :options ["online" "in_person" "live_virtual"]
           :required true}
         {:id "certificate_reference"
           :type "text"
           :label "Completion Certificate Reference"
           :required false}]
       :signature
        {:id "subject_signature"
         :attestation "I attest that I have completed the mandated child abuse and neglect reporter training required for school-based personnel."
         :covers ["training_completion"]}}])

;; ── Compliance Policy Sets ─────────────────────────────────────────────────

(policy-set education
  :version "2026.12.0"
  :facts
    {"engagement/start_date" {:type "date"}
     "engagement/reviewer" {:type "string"}
     "education/role" {:type "choice" :options ["teacher" "substitute" "aide" "school_staff"]}
     "education/school_based" {:type "boolean"}
     "education/certificate_expires_on" {:type "date"}}
  :stages
    [{:id "education_credentials" :title "Educator Credentials"}
     {:id "education_screening" :title "School-Based Background Clearance"}
     {:id "education_training" :title "Mandated Reporter Training"}]
  :requirements
    {:education_teaching_certificate
      {:title "Teaching Certificate or Substitute Permit"
       :kind "document"
       :template "education_teaching_certificate_record"
       :stage "education_credentials"
       :parties {:subject "subject" :reviewer "engagement/reviewer"}
       :due
        {:subject {:relative_to "engagement/start_date" :days -1}
         :reviewer {:relative_to "engagement/start_date" :days -1}}
       :expires_on "education/certificate_expires_on"
       :renew_within {:days 30}
       :on_unknown "wait"
       :authority "statute"
       :cites ["State education code (confirm)"]}
     :education_fingerprint_check
      {:title "Fingerprint Background Check"
       :kind "check"
       :provider "fingerprint-check"
       :stage "education_screening"
       :parties {:provider "system:fingerprint-check"}
       :due {:provider {:relative_to "engagement/start_date" :days -1}}
       :on_unknown "wait"
       :authority "statute"
       :cites ["State education code (confirm)"]}
     :education_mandated_reporter_training
      {:title "Mandated Reporter Training"
       :kind "document"
       :template "education_mandated_reporter_training_record"
       :stage "education_training"
       :parties {:subject "subject"}
       :due {:subject {:relative_to "engagement/start_date" :days -1}}
       :expires {:years 1}
       :renew_within {:days 30}
       :on_unknown "wait"
       :authority "statute"
       :cites ["State child abuse reporting law (confirm)"]}}
  :policies
    [{:id "education-teaching-certificate"
       :title "Teaching certificate or substitute permit for teachers and substitutes before start (confirm)"
       :when {:fact "education/role" :operator "in" :value ["teacher" "substitute"]}
       :require ["education_teaching_certificate"]
       :optional false
       :cites ["State education code (confirm)"]}
     {:id "education-fingerprint-check"
       :title "Fingerprint background check for all school-based roles before start (confirm)"
       :when {:fact "education/school_based" :operator "equal" :value true}
       :require ["education_fingerprint_check"]
       :optional false
       :cites ["State education code (confirm)"]}
     {:id "education-mandated-reporter-training"
       :title "Mandated reporter training for all school-based roles before start with state renewal cycle (confirm)"
       :when {:fact "education/school_based" :operator "equal" :value true}
       :require ["education_mandated_reporter_training"]
       :optional false
       :cites ["State child abuse reporting law (confirm)"]}])

;; ── Declarative Scenarios ──────────────────────────────────────────────────

(scenario teacher-school-based-applies
  :description "School-based classroom teacher requires teaching certificate verification, fingerprint background check, and mandated reporter training before start."
  :policy-set "education"
  :as-of "2026-12-01"
  :facts
    {"engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_edu_reviewer_01"
     "education/role" "teacher"
     "education/school_based" true
     "education/certificate_expires_on" "2027-06-30"}
  :expect
    {:required
      ["education_teaching_certificate"
       "education_fingerprint_check"
       "education_mandated_reporter_training"]
     :not_required []
     :states
      {:education_teaching_certificate "available"
       :education_fingerprint_check "available"
       :education_mandated_reporter_training "available"}
     :wake_at "2026-12-07"
     :missing_facts []})

(scenario substitute-school-based-applies
  :description "School-based substitute requires substitute permit verification, fingerprint background check, and mandated reporter training before start."
  :policy-set "education"
  :as-of "2026-12-01"
  :facts
    {"engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_edu_reviewer_01"
     "education/role" "substitute"
     "education/school_based" true
     "education/certificate_expires_on" "2027-05-15"}
  :expect
    {:required
      ["education_teaching_certificate"
       "education_fingerprint_check"
       "education_mandated_reporter_training"]
     :not_required []
     :states
      {:education_teaching_certificate "available"
       :education_fingerprint_check "available"
       :education_mandated_reporter_training "available"}
     :wake_at "2026-12-07"
     :missing_facts []})

(scenario non-teaching-school-staff-applies
  :description "School-based instructional aides and non-teaching school staff require fingerprint background check and mandated reporter training, but do not require a teaching certificate."
  :policy-set "education"
  :as-of "2026-12-01"
  :facts
    {"engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_edu_reviewer_01"
     "education/role" "aide"
     "education/school_based" true}
  :expect
    {:required ["education_fingerprint_check" "education_mandated_reporter_training"]
     :not_required ["education_teaching_certificate"]
     :states
      {:education_fingerprint_check "available"
       :education_mandated_reporter_training "available"}
     :wake_at "2026-12-07"
     :missing_facts []}
  :steps
    [{:name "school-staff-role-also-exempt-from-certificate"
       :set_facts {"education/role" "school_staff"}
       :expect
        {:required ["education_fingerprint_check" "education_mandated_reporter_training"]
         :not_required ["education_teaching_certificate"]
         :states
          {:education_fingerprint_check "available"
           :education_mandated_reporter_training "available"}
         :missing_facts []}}])

(scenario non-school-based-exempt
  :description "Non-school-based administrative or support staff do not trigger teaching certificate, fingerprint background check, or mandated reporter training requirements."
  :policy-set "education"
  :as-of "2026-12-01"
  :facts
    {"engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_edu_reviewer_01"
     "education/role" "school_staff"
     "education/school_based" false}
  :expect
    {:required []
     :not_required
      ["education_teaching_certificate"
       "education_fingerprint_check"
       "education_mandated_reporter_training"]
     :missing_facts []})

(scenario missing-facts-tentative
  :description "When education/role and education/school_based are unknown, all education requirements are tentative and blocked on missing facts until supplied."
  :policy-set "education"
  :as-of "2026-12-01"
  :facts {"engagement/start_date" "2026-12-07" "engagement/reviewer" "usr_edu_reviewer_01"}
  :expect
    {:required
      ["education_teaching_certificate"
       "education_fingerprint_check"
       "education_mandated_reporter_training"]
     :not_required []
     :states
      {:education_teaching_certificate "blocked_on_facts"
       :education_fingerprint_check "blocked_on_facts"
       :education_mandated_reporter_training "blocked_on_facts"}
     :missing_facts ["education/role" "education/school_based"]}
  :steps
    [{:name "supply-school-based-true"
       :set_facts {"education/school_based" true}
       :expect
        {:required
          ["education_teaching_certificate"
           "education_fingerprint_check"
           "education_mandated_reporter_training"]
         :not_required []
         :states
          {:education_teaching_certificate "blocked_on_facts"
           :education_fingerprint_check "available"
           :education_mandated_reporter_training "available"}
         :missing_facts ["education/role"]}}
     {:name "supply-teacher-role"
       :set_facts {"education/role" "teacher"}
       :expect
        {:required
          ["education_teaching_certificate"
           "education_fingerprint_check"
           "education_mandated_reporter_training"]
         :not_required []
         :states
          {:education_teaching_certificate "available"
           :education_fingerprint_check "available"
           :education_mandated_reporter_training "available"}
         :missing_facts []}}])

(scenario due-dates-before-start-and-overdue
  :description "All three education requirements are due the day before engagement/start_date (2026-12-06 for a 2026-12-07 start) and become overdue on the start date if incomplete."
  :policy-set "education"
  :as-of "2026-12-06"
  :facts
    {"engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_edu_reviewer_01"
     "education/role" "teacher"
     "education/school_based" true
     "education/certificate_expires_on" "2027-06-30"}
  :expect
    {:required
      ["education_teaching_certificate"
       "education_fingerprint_check"
       "education_mandated_reporter_training"]
     :not_required []
     :states
      {:education_teaching_certificate "available"
       :education_fingerprint_check "available"
       :education_mandated_reporter_training "available"}
     :wake_at "2026-12-07"
     :missing_facts []}
  :steps
    [{:name "advance-to-start-date-overdue"
       :as_of "2026-12-07"
       :expect
        {:required
          ["education_teaching_certificate"
           "education_fingerprint_check"
           "education_mandated_reporter_training"]
         :not_required []
         :states
          {:education_teaching_certificate "overdue"
           :education_fingerprint_check "overdue"
           :education_mandated_reporter_training "overdue"}
         :missing_facts []}}])

(scenario certificate-expiry-and-mandated-reporter-renewal
  :description "Completed teaching certificate opens a 30-day renewal before education/certificate_expires_on and expires after that date; completed mandated reporter training opens a 30-day renewal before its 1-year cycle and expires past 1 year while fingerprint check stays complete."
  :policy-set "education"
  :as-of "2026-12-05"
  :facts
    {"engagement/start_date" "2026-12-07"
     "engagement/reviewer" "usr_edu_reviewer_01"
     "education/role" "teacher"
     "education/school_based" true
     "education/certificate_expires_on" "2027-03-15"}
  :evidence
    [{:id "doc_edu_mrt_01"
       :template "education_mandated_reporter_training_record"
       :template_version "2026.1.0"
       :status "completed"
       :completed_at "2026-12-02"
       :facts {}}]
  :progress
    {:education_teaching_certificate
      {:status "completed"
       :document "doc_edu_cert_01"
       :roles {:subject "completed" :reviewer "completed"}}
     :education_fingerprint_check {:status "completed" :roles {:provider "completed"}}
     :education_mandated_reporter_training {:status "completed" :document "doc_edu_mrt_01" :roles {:subject "completed"}}}
  :expect
    {:required
      ["education_teaching_certificate"
       "education_fingerprint_check"
       "education_mandated_reporter_training"]
     :not_required
      ["education_teaching_certificate:renewal"
       "education_mandated_reporter_training:renewal"]
     :states
      {:education_teaching_certificate "complete"
       :education_fingerprint_check "complete"
       :education_mandated_reporter_training "complete"}
     :wake_at "2027-02-13"
     :missing_facts []}
  :steps
    [{:name "enter-certificate-renewal-window"
       :as_of "2027-02-15"
       :expect
        {:required
          ["education_teaching_certificate"
           "education_teaching_certificate:renewal"
           "education_fingerprint_check"
           "education_mandated_reporter_training"]
         :not_required ["education_mandated_reporter_training:renewal"]
         :states
          {:education_teaching_certificate "complete"
           "education_teaching_certificate:renewal" "available"
           :education_fingerprint_check "complete"
           :education_mandated_reporter_training "complete"}
         :wake_at "2027-03-15"
         :missing_facts []}}
     {:name "advance-past-certificate-expiry"
       :as_of "2027-03-16"
       :expect
        {:required
          ["education_teaching_certificate"
           "education_fingerprint_check"
           "education_mandated_reporter_training"]
         :not_required
          ["education_teaching_certificate:renewal"
           "education_mandated_reporter_training:renewal"]
         :states
          {:education_teaching_certificate "expired"
           :education_fingerprint_check "complete"
           :education_mandated_reporter_training "complete"}
         :wake_at "2027-11-02"
         :missing_facts []}}
     {:name "enter-mandated-reporter-renewal-window"
       :as_of "2027-11-10"
       :expect
        {:required
          ["education_teaching_certificate"
           "education_fingerprint_check"
           "education_mandated_reporter_training"
           "education_mandated_reporter_training:renewal"]
         :not_required ["education_teaching_certificate:renewal"]
         :states
          {:education_teaching_certificate "expired"
           :education_fingerprint_check "complete"
           :education_mandated_reporter_training "complete"
           "education_mandated_reporter_training:renewal" "available"}
         :wake_at "2027-12-02"
         :missing_facts []}}
     {:name "advance-past-mandated-reporter-expiry"
       :as_of "2027-12-03"
       :expect
        {:required
          ["education_teaching_certificate"
           "education_fingerprint_check"
           "education_mandated_reporter_training"]
         :not_required
          ["education_teaching_certificate:renewal"
           "education_mandated_reporter_training:renewal"]
         :states
          {:education_teaching_certificate "expired"
           :education_fingerprint_check "complete"
           :education_mandated_reporter_training "expired"}
         :missing_facts []}}])