{
"id": "lol.mlf.package",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"publishedAt",
"tool",
"published"
],
"properties": {
"tool": {
"type": "string",
"description": "Version string of the MLF tool that produced the publish\n(e.g. `\"mlf@0.1.0\"`)."
},
"published": {
"type": "array",
"items": {
"ref": "#PublishedItem",
"type": "ref"
},
"description": "Every lexicon record the publish wrote to the PDS in this event,\nsorted lexicographically by NSID."
},
"publishedAt": {
"type": "string",
"format": "datetime",
"description": "ISO 8601 timestamp of when the publish completed."
},
"resolvedDependencies": {
"type": "array",
"items": {
"ref": "#ResolvedDependency",
"type": "ref"
},
"description": "Every external lexicon the workspace resolved against at publish\ntime, pinned to the remote CID observed during the publish.\nEmpty list when the package has no external dependencies."
}
}
}
},
"PublishedItem": {
"type": "object",
"required": [
"nsid",
"cid"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "CID of the record as stored on the PDS."
},
"nsid": {
"type": "string",
"format": "nsid",
"description": "NSID of the published lexicon."
}
},
"description": "One lexicon record included in a publish."
},
"ResolvedDependency": {
"type": "object",
"required": [
"nsid",
"cid"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "CID of the record at the moment of the publish."
},
"nsid": {
"type": "string",
"format": "nsid",
"description": "NSID of the external lexicon the package linked against."
}
},
"description": "One external dependency pinned at publish time."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "MLF publish manifest — one record per publish event.\n\nWritten by `mlf publish` into the author's PDS alongside the\nlexicons themselves. The record's own CID is the durable identifier\nfor \"this specific publish\" — a content-addressed release pointer\nthat binds the set of published items and the dependency versions\nthey were resolved against."
}