{"_id":"@dna-codes/dna-schemas","_rev":"4-ab8fa52e97b42805e65435509d1f2e4f","name":"@dna-codes/dna-schemas","dist-tags":{"latest":"0.8.0"},"versions":{"0.5.0":{"name":"@dna-codes/dna-schemas","version":"0.5.0","keywords":["dna","json-schema","dsl","business-modeling"],"license":"MIT","_id":"@dna-codes/dna-schemas@0.5.0","maintainers":[{"name":"timkleier","email":"tim@upgradesolutions.io"}],"homepage":"https://github.com/dna-codes/dna#readme","bugs":{"url":"https://github.com/dna-codes/dna/issues"},"dist":{"shasum":"454704ed98f30f2f69fdf166ef5c17b770cac4e5","tarball":"https://registry.npmjs.org/@dna-codes/dna-schemas/-/dna-schemas-0.5.0.tgz","fileCount":43,"integrity":"sha512-0X16IU8YIlPj6yMphg26DNgqMVCkTARQebovJj7rARFprNYmJVMM0FLcOZ31Ww+2r9uaR9Jm3KGzOi8RP1wB6Q==","signatures":[{"sig":"MEYCIQCBkAweNsaucFq6pesj1NQriW6/kzmU0VwNq/Agzb9fNQIhAOCDEtoa/8awaTETwrM6qjM/BGnxemzNp6FmC00W8HUR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":116806},"exports":{"./*":"./*","./package.json":"./package.json"},"gitHead":"f2ee6cdb98103689eff910a4618ed76e133b0da3","_npmUser":{"name":"timkleier","email":"tim@upgradesolutions.io"},"repository":{"url":"git+https://github.com/dna-codes/dna.git","type":"git"},"_npmVersion":"11.11.0","description":"JSON Schema (Draft 2020-12) definitions for DNA — the declarative language for describing business systems. Language-agnostic, zero dependencies.","directories":{},"_nodeVersion":"23.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dna-schemas_0.5.0_1777584656304_0.7347057617997592","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@dna-codes/dna-schemas","version":"0.6.0","keywords":["dna","json-schema","dsl","business-modeling"],"license":"MIT","_id":"@dna-codes/dna-schemas@0.6.0","maintainers":[{"name":"timkleier","email":"tim@upgradesolutions.io"}],"homepage":"https://github.com/dna-codes/dna#readme","bugs":{"url":"https://github.com/dna-codes/dna/issues"},"dist":{"shasum":"caf7015728232108ea7df3919d5695afffeea856","tarball":"https://registry.npmjs.org/@dna-codes/dna-schemas/-/dna-schemas-0.6.0.tgz","fileCount":45,"integrity":"sha512-Eloc+yqf0q+ouHJB0F3Fii/dAVUOX6Kj1G2pVLLPGUT6SbSi2KYJ57oc6Q1KqPY91Q4dgIJVLnojUxPJgEhDeQ==","signatures":[{"sig":"MEUCIGabSrw4Cc7Ns+Go7h0jNKBSlxTHO584SbnAS9HmYNQtAiEAriRJZOF6rATTMahtTXca3o6upZ1EmKSrcSjlS5M4dTo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120320},"exports":{"./*":"./*","./package.json":"./package.json"},"gitHead":"625b2e25e1abd82da0fbbb208b3e40accb3029ea","_npmUser":{"name":"timkleier","email":"tim@upgradesolutions.io"},"repository":{"url":"git+https://github.com/dna-codes/dna.git","type":"git"},"_npmVersion":"11.11.0","description":"JSON Schema (Draft 2020-12) definitions for DNA — the declarative language for describing business systems. Language-agnostic, zero dependencies.","directories":{},"_nodeVersion":"23.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dna-schemas_0.6.0_1779072670429_0.9199346843005438","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@dna-codes/dna-schemas","version":"0.7.0","keywords":["dna","json-schema","dsl","business-modeling"],"license":"MIT","_id":"@dna-codes/dna-schemas@0.7.0","maintainers":[{"name":"timkleier","email":"tim@upgradesolutions.io"}],"homepage":"https://github.com/dna-codes/dna#readme","bugs":{"url":"https://github.com/dna-codes/dna/issues"},"dist":{"shasum":"24c4aa6385bd75ebd528581d3f16fe39e79af173","tarball":"https://registry.npmjs.org/@dna-codes/dna-schemas/-/dna-schemas-0.7.0.tgz","fileCount":45,"integrity":"sha512-N+YWyVi7NiAa+H9R557d9z5zsa/cq1IiTvNNnAqZAvIQ8ZpHXumjQRg8x14rMKae4vSL6bYeIL+JGGPByXy3LQ==","signatures":[{"sig":"MEYCIQCa8KluLD2Te1ljUukNQ07Nv6YYIcksSX+WXHhem259+gIhAJ4Xix4TGhO54z30aO1m0+JzfqKw8s8hqPXIKkr4Z7BX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120751},"exports":{"./*":"./*","./package.json":"./package.json"},"gitHead":"b8505f6183b51b3695fda62bc10c4d1b47f7c178","_npmUser":{"name":"timkleier","email":"tim@upgradesolutions.io"},"repository":{"url":"git+https://github.com/dna-codes/dna.git","type":"git"},"_npmVersion":"11.11.0","description":"JSON Schema (Draft 2020-12) definitions for DNA — the declarative language for describing business systems. Language-agnostic, zero dependencies.","directories":{},"_nodeVersion":"23.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dna-schemas_0.7.0_1780161847631_0.9721045339321772","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@dna-codes/dna-schemas","version":"0.8.0","repository":{"type":"git","url":"git+https://github.com/dna-codes/dna.git"},"description":"JSON Schema (Draft 2020-12) definitions for DNA — the declarative language for describing business systems. Language-agnostic, zero dependencies.","keywords":["dna","json-schema","dsl","business-modeling"],"license":"MIT","publishConfig":{"access":"public"},"exports":{"./package.json":"./package.json","./*":"./*"},"gitHead":"7fa8b18bbbf3edf042d3ce2ae43e0507a3bd781e","_id":"@dna-codes/dna-schemas@0.8.0","bugs":{"url":"https://github.com/dna-codes/dna/issues"},"homepage":"https://github.com/dna-codes/dna#readme","_nodeVersion":"23.5.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-wplh5SfDpZYGr15/1q0642+3DmeKsPAlRlxuMkMO4pnry0DEgOK1hjMAQn74Nq8yIM/By2ZgMq6+PkB5HAXI9g==","shasum":"b161fa699aa405944981d65052178760148e373c","tarball":"https://registry.npmjs.org/@dna-codes/dna-schemas/-/dna-schemas-0.8.0.tgz","fileCount":48,"unpackedSize":129083,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH6VWzV6E9YNp9NxEpqyWy4o1wvYoEDyZAEuA3vslYO+AiANPQ/7nT4gIiUIob9/Ay8bAFWtP9hwKwXi1ynsKwYOqQ=="}]},"_npmUser":{"name":"timkleier","email":"tim@upgradesolutions.io"},"directories":{},"maintainers":[{"name":"timkleier","email":"tim@upgradesolutions.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dna-schemas_0.8.0_1780199104835_0.3241827121743168"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-30T21:30:56.188Z","modified":"2026-05-31T03:45:05.103Z","0.5.0":"2026-04-30T21:30:56.447Z","0.6.0":"2026-05-18T02:51:10.601Z","0.7.0":"2026-05-30T17:24:07.773Z","0.8.0":"2026-05-31T03:45:04.971Z"},"bugs":{"url":"https://github.com/dna-codes/dna/issues"},"license":"MIT","homepage":"https://github.com/dna-codes/dna#readme","keywords":["dna","json-schema","dsl","business-modeling"],"repository":{"type":"git","url":"git+https://github.com/dna-codes/dna.git"},"description":"JSON Schema (Draft 2020-12) definitions for DNA — the declarative language for describing business systems. Language-agnostic, zero dependencies.","maintainers":[{"name":"timkleier","email":"tim@upgradesolutions.io"}],"readme":"# `@dna-codes/dna-schemas`\n\nCanonical JSON Schema (Draft 2020-12) definitions for DNA. Zero dependencies, no JS runtime — just JSON files that any JSON-Schema-aware tool in any language can validate against.\n\n## Install\n\n```bash\nnpm install @dna-codes/dna-schemas\n```\n\n## Layout\n\n```\noperational/*.json              # 13 primitives + 1 aggregate\nproduct/core/*.json             # 4 primitives\nproduct/api/*.json              # 4 primitives\nproduct/web/*.json              # 4 primitives\nproduct/product.{core,api,ui}.json   # 3 aggregates\ntechnical/*.json                # 11 primitives + 1 aggregate\n```\n\nEvery schema has a stable `$id` of the form `https://dna.codes/schemas/<layer>/<primitive>`. Schemas cross-reference each other by absolute URI, so your validator must register **all** schemas before validating any one of them.\n\n## Usage from JavaScript\n\n```ts\nimport resource from '@dna-codes/dna-schemas/operational/resource.json'\n```\n\nFor a batteries-included JS/TS experience (typed bindings + a cross-layer validator), use [`@dna-codes/dna-core`](../core/), which depends on this package.\n\n## Usage from other languages\n\nPoint any JSON-Schema validator (Python `jsonschema`, Ruby `json-schema`, Rust `jsonschema` crate, Go `gojsonschema`, etc.) at the installed package root:\n\n```\nnode_modules/@dna-codes/dna-schemas/\n```\n\nRegister every file before validating — URIs cross-reference each other.\n\n## Versioning\n\nBreaking schema changes require a major version bump. `$id` URIs are stable identifiers and will not change without a deprecation path.\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}