{"_id":"@alistigo/document-format","_rev":"9-51d20c5e469d65d8dbcad454854db97b","name":"@alistigo/document-format","dist-tags":{"latest":"0.2.10"},"versions":{"0.2.2":{"name":"@alistigo/document-format","version":"0.2.2","_id":"@alistigo/document-format@0.2.2","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"dist":{"shasum":"26ebcb78e9a6dc7fd973dc44121aa485ccc23d31","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.2.tgz","fileCount":28,"integrity":"sha512-v4kZRx1OmZPUozdrV9QdeLpUpq6ADTZjWTWpG16JBr/Vs9xhVBuJPUstvB/QC3Fzs2SjhhK+lNj4TVo2vJybFA==","signatures":[{"sig":"MEUCIHD2u+pqGg7qguLnQpj6P+BYKVRDo9tjED/qOIEU3fRcAiEA6qCkfIyHTcjZO7FulZvGtWt8NZYTt5FHEnu0xywHOew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67547},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/7bff61e93e4d0c6d96502a8b00fc7589/alistigo-document-format-0.2.2.tgz","_integrity":"sha512-v4kZRx1OmZPUozdrV9QdeLpUpq6ADTZjWTWpG16JBr/Vs9xhVBuJPUstvB/QC3Fzs2SjhhK+lNj4TVo2vJybFA==","_npmVersion":"11.12.1","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.15.0","dependencies":{"@alistigo/domain":"0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1"},"peerDependenciesMeta":{"ajv":{"optional":true},"ajv-formats":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.2_1781170387471_0.4954214029573061","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@alistigo/document-format","version":"0.2.3","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.3","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"52599a6ab93fb649cb9abd37cf5682ac17065c79","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.3.tgz","fileCount":29,"integrity":"sha512-U4UuRi9Ou4pu5XWlMo49IM1LpjbyQ8AYVl7PiOgU3cl5kgkIxv4ok540rm0u+2GubijcFV/9qdMUWXHRMpxuTw==","signatures":[{"sig":"MEUCIDbC6rhLj0QsALdvHR/k9l+mi8YN5OBmEMWPxi8QEncYAiEAu5dc5YiFTWibiMf6KsEd9JO2l86y22yC0wsKhTstL/Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70215},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/278c8d66112da81c626c47f0a5f57506/alistigo-document-format-0.2.3.tgz","_integrity":"sha512-U4UuRi9Ou4pu5XWlMo49IM1LpjbyQ8AYVl7PiOgU3cl5kgkIxv4ok540rm0u+2GubijcFV/9qdMUWXHRMpxuTw==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@alistigo/domain":"0.2.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1"},"peerDependenciesMeta":{"ajv":{"optional":true},"ajv-formats":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.3_1782659796562_0.44947549046053137","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@alistigo/document-format","version":"0.2.4","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.4","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"0f3a6449bf6cc3ecdf6ad6958bb92f1d1cbff676","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.4.tgz","fileCount":29,"integrity":"sha512-fkj+n6QTB5D8prg0A08j+nXoLiN0MAjoF9jsZORt8P+IwfQH1im8T9rAa27xdYqbZZhi+thiG0RGLBdHuy4+3w==","signatures":[{"sig":"MEYCIQCUCZorH9KXpAqtdJ2uRPVwdHThwuj5ayyVOIQjFRqkYAIhAPyDGQHlyNgO4vvIByzeHi0hnFxeM1LYJQk2RZ6n8SEs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70215},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/bbec3e9cc56a725615ea02defba2ba86/alistigo-document-format-0.2.4.tgz","_integrity":"sha512-fkj+n6QTB5D8prg0A08j+nXoLiN0MAjoF9jsZORt8P+IwfQH1im8T9rAa27xdYqbZZhi+thiG0RGLBdHuy4+3w==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@alistigo/domain":"0.2.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1"},"peerDependenciesMeta":{"ajv":{"optional":true},"ajv-formats":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.4_1783001706226_0.2773189482890588","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@alistigo/document-format","version":"0.2.5","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.5","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"cbf3e87eb2549ada32484936cf401e7b5f79e4fd","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.5.tgz","fileCount":29,"integrity":"sha512-tD6UyrO5Vl66FKj2rzFaNgMMFSJs3KhObCZCNHDSi46OYBn/IMg1IuL/AmpWqXtjTipf8dofFOnZmtDzw9p4Og==","signatures":[{"sig":"MEUCIQC3w96n2ZvRvyiwtaqPH21eOuB6eoReT+oL01XkchZf7gIgKnR/TsargejM0r0J7cL1Y6Y6meQCkbzcIYE+aOl0gZY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70215},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/0b6b7d560eb487a2f8afb3c59b0d7ff6/alistigo-document-format-0.2.5.tgz","_integrity":"sha512-tD6UyrO5Vl66FKj2rzFaNgMMFSJs3KhObCZCNHDSi46OYBn/IMg1IuL/AmpWqXtjTipf8dofFOnZmtDzw9p4Og==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@alistigo/domain":"0.2.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1"},"peerDependenciesMeta":{"ajv":{"optional":true},"ajv-formats":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.5_1783006589521_0.20937545515336908","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@alistigo/document-format","version":"0.2.6","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.6","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"c0b7934b73105aec8cb9a1b11cf6f4ec311cf0dc","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.6.tgz","fileCount":29,"integrity":"sha512-dunicDc7810LWaltMJmvTo+kKtUtP0vkK0F/MeiMdcchFPyJvWzQrlyv4u9Tpcte29gYnaKyp+OqE1WgnbGZpA==","signatures":[{"sig":"MEQCIEwBR2XCukiu7TlN1BR8Jwp63k49cIXkeDqnXb//TF1gAiBmcEJ9/c00N/JrtSmjhEGkAw+w9np4UAINc6PlvjQexA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70215},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.6.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/314a23971e9124f2036bdbe6075b9df7/alistigo-document-format-0.2.6.tgz","_integrity":"sha512-dunicDc7810LWaltMJmvTo+kKtUtP0vkK0F/MeiMdcchFPyJvWzQrlyv4u9Tpcte29gYnaKyp+OqE1WgnbGZpA==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@alistigo/domain":"0.2.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1"},"peerDependenciesMeta":{"ajv":{"optional":true},"ajv-formats":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.6_1784472604911_0.23874516831569248","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"@alistigo/document-format","version":"0.2.7","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.7","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"2848ff723c3976b03d4ae27f1222c06799a86325","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.7.tgz","fileCount":29,"integrity":"sha512-Ec7V7ERSxF7pBmZn/xRrI48MqoNKZ9xl82e8KYHXWc5y8kKX5DLATJ4uawa77fko1847WB2KYmGyWGiQQUtaOw==","signatures":[{"sig":"MEQCIDozDEDs/AKr6AD9x1/x/shRLMAWJ1S/Y3JAuIzcLj14AiBqHBd80ESJOAEvabqj33wYFBinvQ/ok88+SUw5T9yDJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70215},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.7.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/3c694ad6b4be9d126b8884fbc2c37625/alistigo-document-format-0.2.7.tgz","_integrity":"sha512-Ec7V7ERSxF7pBmZn/xRrI48MqoNKZ9xl82e8KYHXWc5y8kKX5DLATJ4uawa77fko1847WB2KYmGyWGiQQUtaOw==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@alistigo/domain":"0.2.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1"},"peerDependenciesMeta":{"ajv":{"optional":true},"ajv-formats":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.7_1784806913503_0.636050612382886","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"@alistigo/document-format","version":"0.2.8","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.8","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"bc6162033e42b6c3cf1ff6984fee2af429bb48fb","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.8.tgz","fileCount":29,"integrity":"sha512-93ipuLI/s89B+K9Cp2u/4QrWdhHB4kr99Kw0EZPZN+WtolbcrcZBHWtXvW2mkyuzDynhyxaArWtlUCB+j+FvHQ==","signatures":[{"sig":"MEYCIQCacdojBFAaGM28625qCm/cIjlN3WMdB+0a303hsPX1tgIhAOAdnfUEWE6QPQWRvan1kRwYxzlfgT6DvnaPKoSvVgix","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69907},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.8.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/007baa9dbf79d692eb6d027bc7b1b4ec/alistigo-document-format-0.2.8.tgz","_integrity":"sha512-93ipuLI/s89B+K9Cp2u/4QrWdhHB4kr99Kw0EZPZN+WtolbcrcZBHWtXvW2mkyuzDynhyxaArWtlUCB+j+FvHQ==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1","@alistigo/domain":"0.2.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.8_1784878817535_0.3124774962860235","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@alistigo/document-format","version":"0.2.9","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","_id":"@alistigo/document-format@0.2.9","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","bugs":{"url":"https://github.com/alistigo/holos/issues"},"dist":{"shasum":"6e0e6fd5bdd595fc40a3345e968efe64d7c44d83","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.9.tgz","fileCount":29,"integrity":"sha512-LS24H8DhTsv4rb6mMCuHQvT0Jgv8uwNicah6hCdjTh3/Ffc+KvrhSjMGTKHI/Rj/lbtlP8ru/3HuJjtjUwkL4A==","signatures":[{"sig":"MEUCIQCSdNne3MG1pku/W5Q8ix+2fvEsBNqR/yn1HUnSIYdamAIgWpaRTwPsZItwpPkfqMIeudSDeYJM4ckt31lioTdl7ho=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69907},"main":"./dist/index.js","type":"module","_from":"file:alistigo-document-format-0.2.9.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/document.json":"./src/schemas/document.json"},"private":false,"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"_resolved":"/tmp/f63f3509bf9134dc91148bedd535fef7/alistigo-document-format-0.2.9.tgz","_integrity":"sha512-LS24H8DhTsv4rb6mMCuHQvT0Jgv8uwNicah6hCdjTh3/Ffc+KvrhSjMGTKHI/Rj/lbtlP8ru/3HuJjtjUwkL4A==","repository":{"url":"git+https://github.com/alistigo/holos.git","type":"git","directory":"packages/alistigo-document-format"},"_npmVersion":"11.16.0","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1","@alistigo/domain":"0.2.9"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/document-format_0.2.9_1784892960195_0.4756382144285134","host":"s3://npm-registry-packages-npm-production"}},"0.2.10":{"name":"@alistigo/document-format","version":"0.2.10","license":"MIT","author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"repository":{"type":"git","url":"git+https://github.com/alistigo/holos.git","directory":"packages/alistigo-document-format"},"bugs":{"url":"https://github.com/alistigo/holos/issues"},"homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"private":false,"type":"module","description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"},"./schemas/document.json":"./src/schemas/document.json"},"main":"./dist/index.js","types":"./dist/index.d.ts","publishConfig":{"access":"public"},"dependencies":{"ajv":"^8.17.0","ajv-formats":"^3.0.1","@alistigo/domain":"0.2.10"},"_id":"@alistigo/document-format@0.2.10","_integrity":"sha512-jyUDijqfjuJ3BHClz8XhsBC/dBCgHJwYBwhpvbOwauTC1Zg/w/Qqgzm6ETH+PNOZcUXte1R+bRs/n4vi5NgAUg==","_resolved":"/tmp/b388758f2640055bab812e3dd7daf401/alistigo-document-format-0.2.10.tgz","_from":"file:alistigo-document-format-0.2.10.tgz","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-jyUDijqfjuJ3BHClz8XhsBC/dBCgHJwYBwhpvbOwauTC1Zg/w/Qqgzm6ETH+PNOZcUXte1R+bRs/n4vi5NgAUg==","shasum":"2ef58e8ad096cfaee2ed871d29c887b3418afa49","tarball":"https://registry.npmjs.org/@alistigo/document-format/-/document-format-0.2.10.tgz","fileCount":29,"unpackedSize":69910,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC3GavqmorHp4lRYV+EIMnjrLHYPTTgowBGIEnoKbE4pgIhAPxXvgnK2NJHG+FlbBtHKS15k83kMknco7hsAdFeUOXg"}]},"_npmUser":{"name":"mikael.labrut","email":"npm@alistigo.com"},"directories":{},"maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/document-format_0.2.10_1785077692867_0.7317852877306714"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-11T09:33:07.263Z","modified":"2026-07-26T14:54:53.152Z","0.2.2":"2026-06-11T09:33:07.603Z","0.2.3":"2026-06-28T15:16:36.716Z","0.2.4":"2026-07-02T14:15:06.418Z","0.2.5":"2026-07-02T15:36:29.703Z","0.2.6":"2026-07-19T14:50:05.056Z","0.2.7":"2026-07-23T11:41:53.626Z","0.2.8":"2026-07-24T07:40:17.657Z","0.2.9":"2026-07-24T11:36:00.347Z","0.2.10":"2026-07-26T14:54:53.005Z"},"bugs":{"url":"https://github.com/alistigo/holos/issues"},"author":{"name":"Mikael Labrut","email":"contact@alistigo.com"},"license":"MIT","homepage":"https://github.com/alistigo/holos/tree/main/packages/alistigo-document-format#readme","keywords":["alistigo","list","document","json-schema","json-ld","typescript"],"repository":{"type":"git","url":"git+https://github.com/alistigo/holos.git","directory":"packages/alistigo-document-format"},"description":"Specification, JSON schemas, and TypeScript types for the Alistigo list document format. The source of truth for what an Alistigo document looks like.","maintainers":[{"name":"mikael.labrut","email":"npm@alistigo.com"}],"readme":"# @alistigo/document-format\n\n[![npm version](https://img.shields.io/npm/v/@alistigo/document-format.svg?style=flat)](https://www.npmjs.com/package/@alistigo/document-format)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue?logo=typescript)](https://www.typescriptlang.org/)\n[![CI](https://github.com/alistigo/holos/actions/workflows/ci.yml/badge.svg)](https://github.com/alistigo/holos/actions/workflows/ci.yml)\n\nThe **specification, JSON schemas, and TypeScript types** for the Alistigo list document format. Single source of truth — every other Alistigo package (the iframe app, the runner, the host protocol, plugins) imports types and schemas from here.\n\nA document is a self-contained JSON-LD object with three sections:\n\n- **`meta`** — identity (listId, formatVersion, dates) and the *event-log integrity descriptor* (full / truncated / absent).\n- **`eventLog`** — the append-only history. Optional. Can be prefix-truncated or omitted to shrink the document.\n- **`projection`** — the current rendered state of the list (a schema.org `ItemList`).\n\n```jsonc\n{\n  \"@context\": [\"https://schema.org\", { \"alistigo\": \"https://alistigo.io/ns/v1#\" }],\n  \"@type\": \"alistigo:Document\",\n  \"meta\": {\n    \"listId\": \"urn:uuid:0190f5cc-…\",\n    \"formatVersion\": \"1.0.0\",\n    \"dateCreated\": \"2026-04-30T12:00:00Z\",\n    \"dateModified\": \"2026-04-30T12:00:00Z\",\n    \"eventLog\": { \"presence\": \"full\" }\n  },\n  \"eventLog\": [ /* append-only events */ ],\n  \"projection\": {\n    \"@type\": \"ItemList\",\n    \"itemListElement\": [ /* current items */ ]\n  }\n}\n```\n\n## Documentation\n\n| File | Purpose |\n|------|---------|\n| [`docs/spec.md`](docs/spec.md) | The full format specification: every section, every field, every rule. **Authoritative.** |\n| [`docs/validation.md`](docs/validation.md) | How to validate a document — three layers (schema / plugin schemas / replay equivalence) with executable pseudo-code. |\n| [`src/schemas/document.json`](src/schemas/document.json) | The JSON Schema (Draft 2020-12). Bundled — `$defs` cover Meta, Event, Projection, ListItem, Item. |\n| [`src/types.ts`](src/types.ts) | TypeScript mirrors of the schemas. Keep in lockstep with the JSON. |\n\n## Install\n\n```sh\npnpm add @alistigo/document-format\n# Optional — only if you use validateDocument():\npnpm add ajv ajv-formats\n```\n\n`ajv` and `ajv-formats` are *optional* peer dependencies. Consumers that only need types or the schema as JSON can skip them; consumers that call `validateDocument()` install them.\n\n## Usage\n\n### Types\n\n```ts\nimport type {\n  AlistigoDocument,\n  AlistigoMeta,\n  AlistigoEvent,\n  AlistigoProjection,\n} from \"@alistigo/document-format\";\n\nconst doc: AlistigoDocument = JSON.parse(rawJson);\n```\n\n### JSON Schema\n\n```ts\nimport { documentSchema } from \"@alistigo/document-format\";\n\n// or, if you want to point Ajv at the file directly (for npm CDN consumers etc):\n//   import documentSchema from \"@alistigo/document-format/schemas/document.json\";\n```\n\n### Validation\n\n```ts\nimport { validateDocument } from \"@alistigo/document-format\";\n\nconst result = await validateDocument(unknownInput);\nif (!result.valid) {\n  console.error(result.errors);\n  return;\n}\n// proceed with input as AlistigoDocument\n```\n\nFor full three-layer validation (schema + plugin schemas + replay equivalence), see [`docs/validation.md`](docs/validation.md).\n\n### Replay an event log\n\n```ts\nimport { replayEvents } from \"@alistigo/document-format\";\n\nconst projection = replayEvents(doc.eventLog ?? []);\n// projection should equal doc.projection when meta.eventLog.presence is \"full\"\n```\n\n## How this package is meant to evolve\n\n- The **spec** ([`docs/spec.md`](docs/spec.md)) and the **JSON schema** ([`src/schemas/document.json`](src/schemas/document.json)) are kept in lockstep. Don't edit one without the other.\n- The **TypeScript types** ([`src/types.ts`](src/types.ts)) mirror the schema. They're a developer affordance, not the source of truth.\n- Format versioning is **SemVer** — see [spec §6](docs/spec.md#6-versioning--evolution). Every change to the schema bumps `FORMAT_VERSION` (exported as a constant) and adds a row to the changelog.\n- The package is **publishable** (`@mlabrut/*`) so the schema is fetchable by external systems via `unpkg`/`jsdelivr` etc. URL-stable schemas are part of the contract.\n\n## Related\n\n- [`projects/alistigo-ai/architecture.md`](../../projects/alistigo-ai/architecture.md) — why event sourcing and CQRS, and how the document interacts with the runtime.\n- [`packages/alistigo-features/`](../alistigo-features/) — the Gherkin behavior specs that exercise this format.\n","readmeFilename":"README.md"}