Skip to content

np_jobs resource integrations ​

np_jobs hosts job capabilities and capability packs. Resources such as np_prison, np_surveillance, np_cctv and np_documents remain ordinary resources: they expose server APIs and events, then ask the owning pack's feature through np_jobs when it is running. They do not register as addons or claim feature IDs.

Authorization and compatibility ​

When a mapped feature is registered, its hasFeature result is authoritative, including denials for duty, grade, permissions and feature requirements. A missing np_jobs host/export or an unknown/offline feature mapping falls back to that resource's existing job, grade and permission configuration. Duty is enforced on the protected actions in both paths. Existing exports, aliases and events remain available to current np_* consumers during migration.

The sibling np_jobs checkout now includes the host runtime and server export bindings. Packs must register their own feature definitions after attaching to the host. A consuming resource should use its legacy access rules when np_jobs is unavailable or a feature is unknown/offline; once a registered feature returns a denial, that denial is authoritative. See the np_jobs API page for callable signatures and known host limitations.

Pack-to-resource map ​

Capability pack Resource contracts used Feature IDs in the current pack contract
np_police Prison booking, custody queries, release/transfer and events; surveillance cases, member management, devices and warrants; CCTV footage/evidence and camera workflows; document checks, citations and seizure police.booking, police.transport, police.cases, police.mdt (with relevant sections), police.warrants.request, police.warrants.serve, police.evidence.collect, police.citations, police.seize
np_medic Planned consumer of prison custody and visit events for medical roleplay medic.hospital, medic.records; these do not grant prison custody actions
np_security CCTV monitor desks, network-scoped camera viewing, clips and footage; venue document checks security.desk (sites, canClip, canExport, wall), security.door / compatibility security.guestlist, security.protect
np_legal Prison judge, lawyer visits, trial and bail release; surveillance warrant requests and signed local warrant decisions; licence/document issue and court record changes legal.judge, legal.represent, legal.bail, legal.warrant_sign, legal.licence_issue, legal.records
np_certifications Planned consumer: register every certification as a document type; issue, suspend, reinstate, revoke and verify qualification cards cert.issue, cert.revoke, cert.verify
np_minijobs (planned) Prisoner work details remain resource-backed activities and are planned for the prison minijob category Future contract; no migration in this integration

The IDs above are owned by packs. Where a resource also documents proposed extension IDs that are not registered by a current pack, those IDs remain unknown and use the documented legacy fallback until the owning pack adds them. The matrix describes pack-owned feature contracts documented by the individual resources; an integration is active only when the owning pack registers the feature and the resource bridge calls the host. CCTV monitor access is site-scoped through security.desk; police footage access also requires the appropriate MDT section and an explicit CCTV site/network scope. The current police pack has no bodycam feature, so mobile bodycam attachment continues through the legacy CCTV manage policy until the owner pack adds one.

Resource API references ​

These pages describe exact signatures, server-local events, the legacy fallback and configuration mappings. See the np_jobs API & exports page for method names verified in the current host source and the export availability limit.