Build a Verified Document Sharing and Expiry Tracking Platform
Verify digital trade credentials and dangerous goods permits using OpenAttestation schemas. Track expiry horizons and construct redacted credential packages for downstream port authorities.
What you are building
The core problem, expected build, and operating context for this challenge.
Verify digital trade credentials and dangerous goods permits using OpenAttestation schemas. Track expiry horizons and construct redacted credential packages for downstream port authorities.
Logistics Compliance Officer
Ingest digital trade credential JSON submittals against OpenAttestation schema rules.
Evaluate document expiration timestamps against current system date.
Obfuscate sensitive commercial pricing fields using OpenAttestation cryptographic field masking.
Generate structured compliance notifications and dispatch renewal alerts to freight forwarders.
React dashboard displaying document validity status, days remaining before expiry, and one-click selective redaction toggles.
Simulate OpenAttestation v2 JSON documents using the open-attestation CLI mock templates. No paid API keys or blockchain deployment needed. Starter examples below are synthetic. They are not downloaded records.
OpenAttestation Utilizes OpenAttestation schema 2.0 validation, wrapDocuments Merkle hashing, and obfuscateDocument field masking methods.
pydantic-ai, fastapi, open-attestation. Pydantic AI provides strict schema-enforced validation for structured attestation payloads and credential metadata. Local lightweight model or hosted API for drafting plain-English renewal notices to suppliers.
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
Validate input documents using official @govtechsg/open-attestation schema 2.0 schemas.
Generate selective disclosure redacted documents using OpenAttestation obfuscateDocument.
Flag expiring documents within a configurable 30-day lookahead window.
Render an interactive queue for compliance officers to dispatch renewal alerts.
```json [ { "input": { "current_date": "2025-03-01", "document": { "$template": { "name": "DG_PERMIT", "type": "EMBEDDED_RENDERER", "url": "https://localhost:3000/renderer" }, "expiryDate": "2025-03-15", "id": "SGP-DG-9021", "issuers": [ { "identityProof": { "location": "tradetrust.io", "type": "DNS-TXT" }, "name": "MPA Store", "tokenRegistry": "0x9178F546D3FF57D7A6352bD61B80cCCD46199C2d" } ], "permitClass": "Class 3 Flammable", "recipient": { "name": "Apex Logistics SG" } } }, "expected_output": { "actions": [ "TRIGGER_RENEWAL_NOTICE", "OBFUSCATE_CONFIDENTIAL_FIELDS" ], "days_to_expiry": 14, "document_id": "SGP-DG-9021", "is_valid_schema": true, "redacted_fields": [ "recipient.name" ], "status": "EXPIRING_SOON" } }, { "input": { "current_date": "2025-03-01", "document": { "id": "SGP-DG-0001", "issuers": [] } }, "expected_output": { "actions": [ "REJECT_INVALID_SCHEMA" ], "days_to_expiry": null, "document_id": "SGP-DG-0001", "is_valid_schema": false, "redacted_fields": [], "status": "MALFORMED" } } ] ```
Documents and cryptographic hashes are processed in local memory; no actual private keys or live blockchain contracts are modified. Use mock external writes. Require human review before any real deployment.
Participation guide
Documents and cryptographic hashes are processed in local memory; no actual private keys or live blockchain contracts are modified. Use mock external writes and human review.
How work is evaluated
Validate input documents using official @govtechsg/open-attestation schema 2.0 schemas. Generate selective disclosure redacted documents using OpenAttestation obfuscateDocument. Flag expiring documents within a configurable 30-day lookahead window. Render an interactive queue for compliance officers to dispatch renewal alerts.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
Complete workflow
Ingest digital trade credential JSON submittals against OpenAttestation schema rules. Evaluate document expiration timestamps against current system date. Obfuscate sensitive commercial pricing fields using OpenAttestation cryptographic field masking. Generate structured compliance notifications and dispatch renewal alerts to freight forwarders.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Validate input documents using official @govtechsg/open-attestation schema 2.0 schemas. Generate selective disclosure redacted documents using OpenAttestation obfuscateDocument. Flag expiring documents within a configurable 30-day lookahead window. Render an interactive queue for compliance officers to dispatch renewal alerts.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
React dashboard displaying document validity status, days remaining before expiry, and one-click selective redaction toggles.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Documents and cryptographic hashes are processed in local memory; no actual private keys or live blockchain contracts are modified.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Ingest digital trade credential JSON submittals against OpenAttestation schema rules.
Evaluate document expiration timestamps against current system date.
Obfuscate sensitive commercial pricing fields using OpenAttestation cryptographic field masking.
Generate structured compliance notifications and dispatch renewal alerts to freight forwarders.
Reference links and supporting material
Simulate OpenAttestation v2 JSON documents using the open-attestation CLI mock templates. No paid API keys or blockchain deployment needed. Supplied starter examples are synthetic, not source extracts.
Challenge setup
Configuration summary for this challenge.
Challenge input
Input details are not configured.
Pydantic AI
Typed Python agent framework.
Evaluated output
No output checks are configured.
- Ingest digital trade credential JSON submittals against OpenAttestation schema rules. Evaluate document exp...
- Validate input documents using official @govtechsg/open-attestation schema 2.0 schemas. Generate selective...
- React dashboard displaying document validity status, days remaining before expiry, and one-click selective...
- 2 public reference cases
- 2 configured tools
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Pydantic AI · Optional
- Pydantic AI · Optional
Evaluation contract
- Complete workflow · Weight 40
- Correctness and evidence · Weight 30
- Review interface · Weight 20
- Safe execution · Weight 10
Reference cases
- 2 public reference cases
Workflow tasks
No workflow tasks are configured.
Recipe freeze marker
No recipe freeze time is recorded.