ProtectedSubjectPolicy
DID service type defined by IGCT-Kynexis. Application-defined (W3C DID Core §5.4); processed by systems configured to read it.
Service entry
{"id": "<did>#protected-subject", "type": "ProtectedSubjectPolicy",
"serviceEndpoint": "https://<host>/.well-known/protection/lattice-policy",
"definition": "https://indigenousprotocolministry.io/ns/protected-subject-policy"}
Endpoint content
JSON lattice policy published by the DID controller. Key protectedSubject: name, variants, matchRule, variantRule, onMatch, metadataEnforcement. Instrument effects and external conditions per instrument. The same policy is bound by digest (policyDigest) into the signed graph credential at /.well-known/protection/graph (W3C VC 2.0, eddsa-jcs-2022).
Processing
- Resolve the DID; take the service of this type.
- Fetch
/.well-known/protection/graph; verify the proof against the DID's assertion key. - Fetch the endpoint; confirm SHA-256 of its JCS form equals
policyDigestin the verified graph. - Apply
matchRuleto names in the record being processed; on match applyonMatchand each instrument's effects, with its elements outstanding and the performance owed as published. - Check status at
/.well-known/protection/status-list.
Records CC BY-NC-ND 4.0; retain NOTICE.