{"_id":"@adobe/da-sc-sdk","_rev":"11-778fd098e8caf03f84f388d71913e9ac","name":"@adobe/da-sc-sdk","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"@adobe/da-sc-sdk","version":"0.1.0","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobe/da-sc-sdk@0.1.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/da-sc-sdk#readme","bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"dist":{"shasum":"ffe13ec71379bb9c39c3a3814fc93bcc8fd00295","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.1.0.tgz","fileCount":16,"integrity":"sha512-d3QyM9eOnwjrO5PI4ODZOLWgT/LfWPuY47/758xPU2hGnL1FJbGSYjEgTqtea7Vn5M0oNP1Ary+K4AAQH3R/Yw==","signatures":[{"sig":"MEQCIE1V3U3O5XsDpCORS9pXsfIkR2AyxqjIaCifZ5fof31kAiAze1eSghnn/u2rdQGjV8+UAEHPRSmDM1MCCMmAVreQJg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":523896},"main":"./src/index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"gitHead":"759b5316cb87d5fa8bcf886b3f6456e8d66fc150","scripts":{"lint":"eslint .","test":"wtr","build":"node build.mjs","prepare":"husky","lint:fix":"eslint . --fix","test:watch":"wtr --watch","prepublishOnly":"npm run build","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","repository":{"url":"git+https://github.com/adobe/da-sc-sdk.git","type":"git"},"_npmVersion":"10.9.8","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"hast-util-from-html":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","esbuild":"^0.24.0","globals":"^15.14.0","lint-staged":"^15.5.1","@esm-bundle/chai":"^4.3.4","@web/test-runner":"^0.18.0","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@web/test-runner-commands":"^0.9.0","@adobe/eslint-config-helix":"^3.0.17","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/da-sc-sdk_0.1.0_1780067441555_0.8872060425150226","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@adobe/da-sc-sdk","version":"0.1.1","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobe/da-sc-sdk@0.1.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/da-sc-sdk#readme","bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"dist":{"shasum":"209af528ca01d4bb23397c2ce7d24005a518e043","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.1.1.tgz","fileCount":16,"integrity":"sha512-O98sEJLPBPUAowYlDX1k3m9zS/z6+EbfBdJpz4UxQfGhs0+vocHMAhF1BZI85eH0hwBiKEPSTFXNy4yd2pLGFQ==","signatures":[{"sig":"MEUCIAPR7qD2AxQm1VSlkjeIgFVDq0yiCPi0Z5BWUvXLJjaNAiEAitkhm7lbcuCJjSIQDHzGZkmyFrOdaswwmLVO2QvyaAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":523762},"main":"./src/index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"gitHead":"5a7f16a8fd6b3897e48e6bd1f24c61c38dd04281","scripts":{"lint":"eslint .","test":"wtr","build":"node build.mjs","prepare":"husky","lint:fix":"eslint . --fix","test:watch":"wtr --watch","prepublishOnly":"npm run build","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","repository":{"url":"git+https://github.com/adobe/da-sc-sdk.git","type":"git"},"_npmVersion":"10.9.8","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"hast-util-from-html":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","esbuild":"^0.24.0","globals":"^15.14.0","lint-staged":"^15.5.1","@esm-bundle/chai":"^4.3.4","@web/test-runner":"^0.18.0","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@web/test-runner-commands":"^0.9.0","@adobe/eslint-config-helix":"^3.0.17","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/da-sc-sdk_0.1.1_1780471105121_0.6986005432260165","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@adobe/da-sc-sdk","version":"0.1.2","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobe/da-sc-sdk@0.1.2","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/da-sc-sdk#readme","bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"dist":{"shasum":"395bcca11f4a1ad8469efeeb68c112f7f65d9da1","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.1.2.tgz","fileCount":16,"integrity":"sha512-saPmbwSCfhFT/q9o6qotMQgeAec2dEa8FrLb4X59iVG8d9HiaY+Ec9wSzX+5Zpr3yw17eETXA5cESjnj0DAo0Q==","signatures":[{"sig":"MEQCIHCFOFPQV2v0mknR+pqLb9tr9Q7CLVHICIXjC+69U4UMAiAWUCfC7Fq5abG4fO2I0Sd93dJlkuvzpkjOb6dX+HWauA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":524028},"main":"./src/index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"gitHead":"73810fdd26b49f618a9d8faac3aebbff14fba739","scripts":{"lint":"eslint .","test":"wtr","build":"node build.mjs","prepare":"husky","lint:fix":"eslint . --fix","test:watch":"wtr --watch","prepublishOnly":"npm run build","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","repository":{"url":"git+https://github.com/adobe/da-sc-sdk.git","type":"git"},"_npmVersion":"10.9.8","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.22.3","dependencies":{"hast-util-from-html":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","esbuild":"^0.24.0","globals":"^15.14.0","lint-staged":"^15.5.1","@esm-bundle/chai":"^4.3.4","@web/test-runner":"^0.18.0","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@web/test-runner-commands":"^0.9.0","@adobe/eslint-config-helix":"^3.0.17","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/da-sc-sdk_0.1.2_1782203149063_0.40006624918757994","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@adobe/da-sc-sdk","version":"0.2.0","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobe/da-sc-sdk@0.2.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/da-sc-sdk#readme","bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"dist":{"shasum":"5cc0c41e368b9d3ade0e0332148972489053ce4e","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.2.0.tgz","fileCount":16,"integrity":"sha512-ooS/C26EP5FfnWSuuwAigp15m2MZhvktzEBNXNWb1v0SSYez7t8JaAOW2d94BE2AHaoll/flhvCGulEbm2Sq2Q==","signatures":[{"sig":"MEYCIQCYsRtNqjOTXpRPEdSnGNwUwOvu7nN9bnl8qmEj1PTNPwIhAOwMou6YZnMOX2mXoNGAVJpO+XK6Y0grtQj+q3UYgE4I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":525196},"main":"./src/index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"gitHead":"7d9efaff45f3804ddc2a1ef41c8e1c48ed9a594b","scripts":{"lint":"eslint .","test":"wtr","build":"node build.mjs","prepare":"husky","lint:fix":"eslint . --fix","test:watch":"wtr --watch","prepublishOnly":"npm run build","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","repository":{"url":"git+https://github.com/adobe/da-sc-sdk.git","type":"git"},"_npmVersion":"10.9.8","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"hast-util-from-html":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","esbuild":"^0.24.0","globals":"^15.14.0","lint-staged":"^15.5.1","@esm-bundle/chai":"^4.3.4","@web/test-runner":"^0.18.0","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@web/test-runner-commands":"^0.9.0","@adobe/eslint-config-helix":"^3.0.17","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/da-sc-sdk_0.2.0_1785331845774_0.5347053308058669","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@adobe/da-sc-sdk","version":"0.3.0","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobe/da-sc-sdk@0.3.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/da-sc-sdk#readme","bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"dist":{"shasum":"286be95a8d38578e57726db0cb2c077e415c390a","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.3.0.tgz","fileCount":16,"integrity":"sha512-pl/BOW+xxZ9DwS4AH5PU328ALQnaV0s/sSYJaLaY4roeRlRSUORO1eCQaHzxXboAhTqthxwOynRpSm+baj7KDg==","signatures":[{"sig":"MEQCIExpGKDwupTey+Difk+hGNrFlm52JfB8dNl3ptXia1wBAiAasq9hhoLk/VF8vufQDNGO87NOIDOBUWlzRZ5TGRhHwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":529804},"main":"./src/index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"gitHead":"820494b05602413af51d5a57496a3e56e292b158","scripts":{"lint":"eslint .","test":"wtr","build":"node build.mjs","prepare":"husky","lint:fix":"eslint . --fix","test:watch":"wtr --watch","prepublishOnly":"npm run build","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","repository":{"url":"git+https://github.com/adobe/da-sc-sdk.git","type":"git"},"_npmVersion":"10.9.9","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"hast-util-from-html":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","esbuild":"^0.24.0","globals":"^15.14.0","lint-staged":"^15.5.1","@esm-bundle/chai":"^4.3.4","@web/test-runner":"^0.18.0","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@web/test-runner-commands":"^0.9.0","@adobe/eslint-config-helix":"^3.0.17","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/da-sc-sdk_0.3.0_1785933626302_0.9637616788001366","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@adobe/da-sc-sdk","version":"0.4.0","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"author":{"name":"Adobe Inc."},"license":"Apache-2.0","_id":"@adobe/da-sc-sdk@0.4.0","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"homepage":"https://github.com/adobe/da-sc-sdk#readme","bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"dist":{"shasum":"30190a9fdaa2d05cb9a7f6ff6d56f93096a5c0cf","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.4.0.tgz","fileCount":17,"integrity":"sha512-1ECCF5hJDrGe39jLB/IpjJBZeiJVn0RDVCh5dRx2uNNMO5f9o0MZREoR0v3Bi3Zg079i3FN5c5mF0ptg/U/VqA==","signatures":[{"sig":"MEUCIGDe/VT83l12kwrD56RbfG5xRtW6+S4Fv6S/wTMOIb6jAiEArZyb/qwflV7wdIS/VQBdRlJO73kkwRRv1Ng3Yxk7H4M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":533062},"main":"./src/index.js","type":"module","types":"./index.d.ts","engines":{"node":">=22"},"exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"gitHead":"56cfa4d9fee424224c884d5604c9ddbcb37763e5","scripts":{"lint":"eslint .","test":"wtr","build":"node build.mjs","prepare":"husky","lint:fix":"eslint . --fix","test:watch":"wtr --watch","prepublishOnly":"npm run build","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","repository":{"url":"git+https://github.com/adobe/da-sc-sdk.git","type":"git"},"_npmVersion":"10.9.9","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","directories":{},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"sideEffects":false,"_nodeVersion":"22.23.2","dependencies":{"hast-util-from-html":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^9.1.7","eslint":"^9.39.2","esbuild":"^0.24.0","globals":"^15.14.0","lint-staged":"^15.5.1","@esm-bundle/chai":"^4.3.4","@web/test-runner":"^0.18.0","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@web/test-runner-commands":"^0.9.0","@adobe/eslint-config-helix":"^3.0.17","@semantic-release/changelog":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/da-sc-sdk_0.4.0_1786702051517_0.3282537783241315","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@adobe/da-sc-sdk","version":"0.5.0","description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","type":"module","publishConfig":{"access":"public"},"sideEffects":false,"license":"Apache-2.0","author":{"name":"Adobe Inc."},"homepage":"https://github.com/adobe/da-sc-sdk#readme","repository":{"type":"git","url":"git+https://github.com/adobe/da-sc-sdk.git"},"bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"//runtime":"The SDK is ES2022 + ESM with no Node-specific code — runs in any modern runtime (browsers, modern Node, Deno, Bun, Web/Cloudflare Workers). `engines.node` is set to >=22 to match the Node version verified in CI; it does not describe the SDK's actual runtime support.","engines":{"node":">=22"},"main":"./src/index.js","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./src/index.js"}},"scripts":{"build":"node build.mjs","test":"wtr","test:watch":"wtr --watch","lint":"eslint .","lint:fix":"eslint . --fix","prepublishOnly":"npm run build","prepare":"husky","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run --no-ci --branches $CI_BRANCH"},"dependencies":{"hast-util-from-html":"^2.0.0"},"devDependencies":{"@adobe/eslint-config-helix":"^3.0.17","@esm-bundle/chai":"^4.3.4","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@web/test-runner":"^0.18.0","@web/test-runner-commands":"^0.9.0","esbuild":"^0.24.0","eslint":"^9.39.2","globals":"^15.14.0","husky":"^9.1.7","lint-staged":"^15.5.1","semantic-release":"^24.2.7"},"lint-staged":{"*.{js,mjs}":"eslint --fix"},"_id":"@adobe/da-sc-sdk@0.5.0","gitHead":"dff3a112f43ab9900aa5126b9e67a3a584adbf1b","_nodeVersion":"22.23.2","_npmVersion":"10.9.9","dist":{"integrity":"sha512-ROXESnxBKqbrUM/bx3V8oKeNsERO6rzdTa0Vg3hIr/MKKOhwDNcdki/9sqpSZrY6D85s0zvegL2UIUiiuCS9Hw==","shasum":"d335adff68fa0601122ef602af1042da84a8b774","tarball":"https://registry.npmjs.org/@adobe/da-sc-sdk/-/da-sc-sdk-0.5.0.tgz","fileCount":17,"unpackedSize":537013,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFQwKBUJ6uwFcOC3esFMjHKiohAmj4cEhqgNIPeaYinGAiAVWojFI4Ww5+xnB+aZYefKxtFTplqfyf7Gvi80jsJxdA=="}]},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"directories":{},"maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/da-sc-sdk_0.5.0_1788533066947_0.31955203486571415"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-29T15:10:41.369Z","modified":"2026-09-04T14:44:27.224Z","0.1.0":"2026-05-29T15:10:41.715Z","0.1.1":"2026-06-03T07:18:25.285Z","0.1.2":"2026-06-23T08:25:49.197Z","0.2.0":"2026-07-29T13:30:45.939Z","0.3.0":"2026-08-05T12:40:26.442Z","0.4.0":"2026-08-14T10:07:31.691Z","0.5.0":"2026-09-04T14:44:27.090Z"},"bugs":{"url":"https://github.com/adobe/da-sc-sdk/issues"},"author":{"name":"Adobe Inc."},"license":"Apache-2.0","homepage":"https://github.com/adobe/da-sc-sdk#readme","keywords":["adobe","da","structured-content","json-schema","headless","editor","sdk","esm"],"repository":{"type":"git","url":"git+https://github.com/adobe/da-sc-sdk.git"},"description":"Headless SDK for DA Structured Content: schema-driven JSON document editing, validation, and HTML serialization.","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"namarora","email":"namarora@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"readme":"# da-sc-sdk\n\nA headless SDK for working with **DA Structured Content** — schema-constrained JSON documents serialized as a defined HTML wire format. It exposes a small, focused API covering the operations supported today.\n\nThe SDK is pure ESM and ships with no DOM dependencies and no I/O. UI rendering, transport, and persistence are intentionally left to the consuming application.\n\nIn exchange, every tool built on the SDK shares the same DA Structured Content behavior — defined here once and used across all consumers, instead of being re-implemented (and inevitably drifting) in each tool.\n\n## Status\n\n`0.x` — the public API may change before `1.0.0`.\n\n## Install\n\n```bash\nnpm install @adobe/da-sc-sdk\n```\n\n```js\nimport {\n  createEngine,\n  convertJsonToHtml,\n} from \"@adobe/da-sc-sdk\";\n```\n\n## Quick start\n\n```js\nimport { createEngine, convertJsonToHtml } from \"@adobe/da-sc-sdk\";\n\nconst schema = {\n  type: \"object\",\n  title: \"Project\",\n  required: [\"name\"],\n  properties: {\n    name: { type: \"string\", title: \"Name\" },\n    tags: {\n      type: \"array\",\n      title: \"Tags\",\n      items: { type: \"string\", title: \"Tag\" },\n    },\n  },\n};\n\nconst engine = createEngine({\n  schema,\n  document: { metadata: { schemaName: \"project\" }, data: {} },\n  onChange: () => {\n    /* state changed — read engine.getState() */\n  },\n});\n\nengine.setField(\"/data/name\", \"Alice\");\nengine.addItem(\"/data/tags\");\nengine.setField(\"/data/tags/0\", \"demo\");\n\nconst { html } = convertJsonToHtml({ json: engine.getState().document });\n// `html` is ready to POST. Persistence is your job.\n```\n\nRunnable scripts in [examples/](./examples/).\n\n## API\n\nFive top-level functions:\n\n| Function            | Purpose                                              | Returns                           |\n| ------------------- | ---------------------------------------------------- | --------------------------------- |\n| `createEngine`      | Stateful editing (UI editors, agents holding state). | `Engine`                          |\n| `validateSchema`    | Lint a schema before binding to it.                  | `{ valid, schemaIssues }`         |\n| `validateData`      | Check data against a schema.                         | `{ valid, errors, schemaIssues }` |\n| `convertJsonToHtml` | Convert JSON → DA wire-format HTML.                  | `{ html } \\| { error }`           |\n| `convertHtmlToJson` | Convert DA HTML → JSON.                              | `{ json } \\| { error }`           |\n\n`createEngine` compiles a schema + initial document into a stateful, mutable handle.\n\n**What it offers:**\n\n- Pointer-addressed mutations (`setField`, `addItem`, `insertItem`, `removeItem`, `moveItem`) that update immutably and re-validate atomically.\n- Schema defaults materialized into the initial document.\n- `onChange` fires exactly once per real mutation. Setting a field to its current value is a no-op and does not fire `onChange`.\n\n**Use it when** you edit a document over time — interactive editors, agents holding state across turns, anything where the document survives between operations.\n\nThe handle exposes six methods. All synchronous, all addressed by RFC 6901 JSON Pointer:\n\n| Method                        | Purpose                              |\n| ----------------------------- | ------------------------------------ |\n| `getState()`                  | Read the current state snapshot.     |\n| `setField(pointer, value)`    | Set a primitive value at `pointer`.  |\n| `addItem(pointer)`            | Append to the array at `pointer`.    |\n| `insertItem(pointer)`         | Insert before the item at `pointer`. |\n| `removeItem(pointer)`         | Remove the item at `pointer`.        |\n| `moveItem(pointer, from, to)` | Reorder an array item.               |\n\nEvery real mutation triggers `onChange`; the return value is the engine's current state after the call. `onChange` does **not** fire at construction — read the initial state via `getState()`. To start over with a different `(schema, document)`, create a new engine.\n\n## Usage\n\n### Validate\n\n```js\nimport { validateSchema, validateData } from \"@adobe/da-sc-sdk\";\n\nvalidateSchema({ schema });\n// → { valid, schemaIssues }\n\nvalidateData({ schema, data });\n// → { valid, errors, schemaIssues }\n```\n\n`errors` is a pointer-keyed map; `errors[pointer]?.message` is O(1). Each entry exposes `keyword`, `instancePath`, `params`, and `message` fields. `valid` is `true` only when both `schemaIssues` and `errors` are empty — you can't claim a document is valid against a broken schema.\n\n### Convert (JSON ↔ HTML)\n\n```js\nimport { convertJsonToHtml, convertHtmlToJson } from \"@adobe/da-sc-sdk\";\n\nconst { html } = convertJsonToHtml({\n  json: { metadata: { schemaName: \"project\" }, data: { name: \"Alice\" } },\n});\n\nconst { json } = convertHtmlToJson({ html });\n```\n\n`convertHtmlToJson` returns `{ error: \"<reason>\" }` on empty or malformed input.\n\n### Edit (with persistence)\n\nThe engine has no transport and no save status. Wire your own persistence on top of `onChange`:\n\n```js\nlet engine;\nlet lastValues;\nengine = createEngine({\n  schema,\n  document,\n  onChange: () => {\n    const next = engine.getState().document;\n    if (next === lastValues) return; // skip non-mutation transitions\n    lastValues = next;\n    // convert via convertJsonToHtml, POST, IndexedDB-cache — whatever fits\n  },\n});\nlastValues = engine.getState().document; // onChange does NOT fire at init\n```\n\n[docs/headless-consumer.md](docs/headless-consumer.md) has a ~40-line single-flight save pattern with status tracking.\n\n## Error handling\n\nThe SDK reports validation, conversion, and mutation failures through return values rather than exceptions. Truly invalid arguments (wrong types, malformed pointers) may still surface as runtime errors.\n\n- **Validators** (`validateSchema`, `validateData`) — check `result.valid`. When `false`, inspect `result.schemaIssues` for schema-level problems and `result.errors` for data-level problems (the latter is a `{ [pointer]: ValidationError }` map).\n- **Converters** (`convertJsonToHtml`, `convertHtmlToJson`) — destructure with a fallback: `const { html, error } = convertJsonToHtml(...)`. The `error` field is set on empty or malformed input; otherwise the success field (`html` or `json`) is set.\n- **Engine** — if the schema is malformed, `createEngine` still returns a handle but `getState().schemaIssues` will be non-empty and mutations no-op. Check `schemaIssues.length === 0` before relying on the engine.\n\n## TypeScript\n\nType declarations ship in `index.d.ts` — no separate `@types/*` install needed.\n\n```ts\nimport type {\n  Engine,\n  EditorState,\n  Document,\n  JsonPointer,\n  SchemaIssue,\n  ErrorsByPointer,\n  ValidationError,\n} from \"@adobe/da-sc-sdk\";\n```\n\n## Runtime support\n\n- ES2022 + ESM. No Node built-ins, no DOM.\n- Node ≥18 and modern browsers.\n- One runtime dependency: [hast-util-from-html](https://www.npmjs.com/package/hast-util-from-html).\n\n## Design\n\n- **Headless.** No UI, no DOM, no rendering. UIs subscribe to `onChange`.\n- **No I/O.** No fetch, no file system, no DA endpoints. Callers wire their own transport.\n- **Five named exports.** The `package.json` `exports` map blocks deep imports. The five exports are the entire public API and the intended semver boundary.\n- **Strict schema subset.** A strict subset of JSON Schema 2020-12 — see [docs/schema-spec.md](docs/schema-spec.md). Anything outside that contract surfaces in `schemaIssues`.\n- **Not** for general JSON Schema validation.\n\n## Development\n\nInside the repo:\n\n- `npm install` — install dev dependencies\n- `npm test` — run the test suite (Web Test Runner)\n- `npm run lint` / `npm run lint:fix` — lint\n- `npm run build` — produce `dist/index.js`\n\n## Internals\n\nFor contributors and anyone going deeper than the public API — layout, lifecycle, schema/model builders, and the headless consumer pattern — see [docs/](./docs/).\n\n## License\n\nApache-2.0 © Adobe Inc.\n","readmeFilename":"README.md"}