MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / identity_document

Function identity_document

atomic-remote/tests/project_identity_transport.rs:16–24  ·  view source on GitHub ↗
(project_id: &str)

Source from the content-addressed store, hash-verified

14use serde_json::json;
15
16fn identity_document(project_id: &str) -> serde_json::Value {
17 json!({
18 "@context": {"atomic": "https://atomic.dev/ns/workflow#", "dcterms": "http://purl.org/dc/terms/"},
19 "@type": "atomic:ProjectIdentity",
20 "atomic:projectId": project_id,
21 "atomic:schemaVersion": 1,
22 "dcterms:created": "2026-10-26T00:00:00Z"
23 })
24}
25
26/// Serve one scripted JSON response per connection, recording the request
27/// lines so assertions can pin the exact wire behavior.

Calls

no outgoing calls

Tested by

no test coverage detected