{"_id":"@cronozen/dp-schema-public","_rev":"2-fb648902841cce4568054695c34007b6","name":"@cronozen/dp-schema-public","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@cronozen/dp-schema-public","version":"0.1.0","keywords":["decision-proof","governance","audit","json-ld","schema","cronozen"],"license":"Apache-2.0","_id":"@cronozen/dp-schema-public@0.1.0","maintainers":[{"name":"thearound","email":"dev@the-around.com"}],"homepage":"https://github.com/cronozen/dp-schema-public#readme","bugs":{"url":"https://github.com/cronozen/dp-schema-public/issues"},"dist":{"shasum":"269c83cb6bc7416ac82302f01dc374ade8fea9c7","tarball":"https://registry.npmjs.org/@cronozen/dp-schema-public/-/dp-schema-public-0.1.0.tgz","fileCount":20,"integrity":"sha512-MSSXAD2C807KeHU55JLuf9UBK4mALIdeAN1Ij3c4yWOaW2SSP4ZXsoIYHCauU3yhwUNRI+PXGu46WC99tsJCVw==","signatures":[{"sig":"MEUCIEBmVB81wKg28iqxX4ogCr941YoxUn6l/mwMZa8+IHRtAiEAwFapvheJHKcP2q+Oq7yhI9wqKGKbSBcEYFbqfBVb324=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99528},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./enums":{"types":"./dist/enums.d.ts","import":"./dist/enums.mjs","require":"./dist/enums.js"},"./jsonld":{"types":"./dist/jsonld-schema.d.ts","import":"./dist/jsonld-schema.mjs","require":"./dist/jsonld-schema.js"}},"gitHead":"670c49848dd3ab3c29e39d92b1a602282cb6b151","scripts":{"build":"tsup","clean":"rimraf dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"thearound","email":"dev@the-around.com"},"repository":{"url":"git+https://github.com/cronozen/dp-schema-public.git","type":"git"},"_npmVersion":"11.6.2","description":"Cronozen Decision Proof public schema - types, enums, JSON-LD definitions","directories":{},"sideEffects":false,"_nodeVersion":"25.2.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","typescript":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/dp-schema-public_0.1.0_1770696965374_0.5621111130512395","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cronozen/dp-schema-public","version":"0.2.0","description":"Cronozen Decision Proof public schema - types, enums, JSON-LD definitions","license":"Apache-2.0","author":{"name":"Cronozen","email":"dev@cronozen.com","url":"https://cronozen.com"},"homepage":"https://github.com/cronozen/proof/tree/main/packages/dp-schema-public","bugs":{"url":"https://github.com/cronozen/proof/issues"},"repository":{"type":"git","url":"git+https://github.com/cronozen/proof.git","directory":"packages/dp-schema-public"},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./enums":{"types":"./dist/enums.d.ts","import":"./dist/enums.mjs","require":"./dist/enums.js"},"./jsonld":{"types":"./dist/jsonld-schema.d.ts","import":"./dist/jsonld-schema.mjs","require":"./dist/jsonld-schema.js"}},"sideEffects":false,"publishConfig":{"access":"public"},"engines":{"node":">=18"},"scripts":{"build":"tsup","clean":"rimraf dist","prepublishOnly":"npm run build"},"devDependencies":{"tsup":"^8.0.1","typescript":"^5.0.0"},"keywords":["decision-proof","dpu","governance","audit","json-ld","schema","evidence-level","compliance","cronozen"],"gitHead":"10377bd5fec565e77cfe5b3fd84877c1b7b7cf05","_id":"@cronozen/dp-schema-public@0.2.0","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-GN6fgP77TM/+5L8BSRpnjh84RV2ES0+rDkHjjABICCxwXpbW671qbOAfGPR7wau0hXEvBIQXXpexHpY3NI+jAQ==","shasum":"f22a54dc69e2670896479540ae2316c9c4696ff6","tarball":"https://registry.npmjs.org/@cronozen/dp-schema-public/-/dp-schema-public-0.2.0.tgz","fileCount":22,"unpackedSize":146878,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCSBsdl5SHBorfJoLh8I29W1kMqBTEBgj5Ac9AVs7mkAwIhAM/apTJdX4fSsuirclAWjlGLGno8W4kmswI8zMh0PByw"}]},"_npmUser":{"name":"thearound","email":"dev@the-around.com"},"directories":{},"maintainers":[{"name":"thearound","email":"dev@the-around.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dp-schema-public_0.2.0_1787796521581_0.9682330241511772"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-10T04:16:05.222Z","modified":"2026-08-27T02:08:41.959Z","0.1.0":"2026-02-10T04:16:05.539Z","0.2.0":"2026-08-27T02:08:41.722Z"},"bugs":{"url":"https://github.com/cronozen/proof/issues"},"license":"Apache-2.0","homepage":"https://github.com/cronozen/proof/tree/main/packages/dp-schema-public","keywords":["decision-proof","dpu","governance","audit","json-ld","schema","evidence-level","compliance","cronozen"],"repository":{"type":"git","url":"git+https://github.com/cronozen/proof.git","directory":"packages/dp-schema-public"},"description":"Cronozen Decision Proof public schema - types, enums, JSON-LD definitions","maintainers":[{"name":"thearound","email":"dev@the-around.com"}],"readme":"# @cronozen/dp-schema-public\n\nCronozen Decision Proof Unit(DPU) 공개 스키마 패키지.\n\n## 핵심 원칙\n\n1. **Public Schema = 최소 표준.** 이 패키지는 DPU의 도입과 검증에 필요한 최소한의 타입, enum, 검증 함수만 포함합니다. 감사/정산/컴플라이언스 판정 로직은 포함되지 않습니다.\n\n2. **`extensions.cronozen.*`는 Private Schema에서만 정의됩니다.** JSON-LD 스키마의 `extensions.cronozen` 네임스페이스는 유료 패키지(`@cronozen/dpu-pro`, `@cronozen/dpu-enterprise`)에서만 스펙이 제공됩니다. Public Schema에는 확장 슬롯만 존재합니다.\n\n3. **Breaking Change 정책.** 이 패키지의 JSON-LD 스키마(`v2.0`)는 외부 시스템과의 계약입니다. 기존 필드의 이름/타입 변경, 필수 필드 삭제, enum 값 변경은 금지됩니다. 새 필드 추가(끝에)와 선택 필드 값 추가만 허용됩니다. Breaking Change가 필요한 경우 새 버전(`v3.0`)을 추가합니다.\n\n## 설치\n\n```bash\nnpm install @cronozen/dp-schema-public\n```\n\n## 사용\n\n```typescript\nimport {\n  EvidenceLevel,\n  isEvidenceLevelSufficient,\n  type DecisionProofUnitJSONLD,\n  type SixWFields,\n} from '@cronozen/dp-schema-public';\n\n// Evidence Level 비교\nconst sufficient = isEvidenceLevelSufficient(\n  EvidenceLevel.AUDIT_READY,\n  EvidenceLevel.PARTIAL\n); // true\n\n// JSON-LD 타입 사용\nconst dpu: DecisionProofUnitJSONLD = {\n  '@context': 'https://schema.cronozen.com/decision-proof/v2',\n  '@type': 'DecisionProofUnit',\n  '@id': 'crz:dpu/example-001',\n  // ...\n};\n```\n\n## 패키지 구조\n\n```\n@cronozen/dp-schema-public    (이 패키지, OSS)\n@cronozen/dpu-core             거버넌스 없는 순수 엔진 (OSS)\n@cronozen/dpu-pro              거버넌스/컴플라이언스/책임귀속 (유료)\n@cronozen/dpu-enterprise       멀티테넌시/승인워크플로우/감사팩 (고가)\n@cronozen/dpu-connector-*      DB 어댑터 (Prisma, PostgreSQL 등)\n@cronozen/dpu-templates-*      도메인별 템플릿 (복지, 약국 등)\n```\n\n## 라이선스\n\nApache-2.0\n","readmeFilename":"README.md","author":{"name":"Cronozen","email":"dev@cronozen.com","url":"https://cronozen.com"}}