Skip to main content
Challenge

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.

Business OperationsHosted by Vera
Challenge brief

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.

Rules

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.

Delivery guide

How work is evaluated

Evaluation

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.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

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.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

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.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

React dashboard displaying document validity status, days remaining before expiry, and one-click selective redaction toggles.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Documents and cryptographic hashes are processed in local memory; no actual private keys or live blockchain contracts are modified.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

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.

Resources and assets

Reference links and supporting material

Dataset notes

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.

Evaluation checks
  • 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...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 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

Action Space
  • Pydantic AI · Optional
Orchestration
  • 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.

Frequently Asked Questions about Build a Verified Document Sharing and Expiry Tracking Platform