{"_id":"@portabletext/schema","_rev":"17-9370cb7e6aa7b5acd69882f1c286a3cf","name":"@portabletext/schema","dist-tags":{"latest":"3.0.0"},"versions":{"0.0.0":{"name":"@portabletext/schema","version":"0.0.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@0.0.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"b52ed25b6a0e378b031668305e0dd03bb53d80d1","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-0.0.0.tgz","fileCount":13,"integrity":"sha512-3GfSk6WyPOz8kbv6KgbbBPHi1eyauxnkA4zWx4CO/Vaq3jSfPSUFvcA+BBaHtHZG/9IXKa/lCvzwDtprW/2UPw==","signatures":[{"sig":"MEYCIQCOOFKp88IgsosQ8h43Sj+UhY4reqlNpgdGgKOyF8tz7gIhAM5mkMcDW3KwDiPfLoVEu9ge9PtEVEwdok4SyENAdIkb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@0.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27430},"main":"./dist/index.cjs","type":"module","_from":"file:portabletext-schema-0.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","check:lint":"biome lint .","check:types":"tsc","check:types:watch":"tsc --watch"},"_npmUser":{"name":"sanity-io","email":"developers@sanity.io"},"_resolved":"/tmp/1d045eaa0665dc85b658b4e3cf05f129/portabletext-schema-0.0.0.tgz","_integrity":"sha512-3GfSk6WyPOz8kbv6KgbbBPHi1eyauxnkA4zWx4CO/Vaq3jSfPSUFvcA+BBaHtHZG/9IXKa/lCvzwDtprW/2UPw==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.9.3","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@sanity/pkg-utils":"^7.11.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_0.0.0_1755070709676_0.709510610056016","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@portabletext/schema","version":"1.0.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@1.0.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"f6b5f0e3ea206461d45d0d0bd574e430ac054a1d","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-1.0.0.tgz","fileCount":13,"integrity":"sha512-kV39CshZKViJMu0sCuIk4XoyHC0n4XGunCWX+aqbe2kKYDsAA8l/FY8mLUr+LgFOCIEyUpWHWsyFDTsPe04jVg==","signatures":[{"sig":"MEYCIQD7PWW4p5LCNDjLC5HhFPryRTxGk4XfL14Q7uRgNgKl1wIhAKk6mZhUeoSPKQmN4u16QAfn+5ynpINdjP2U8LYkSOKO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27430},"main":"./dist/index.cjs","type":"module","_from":"file:portabletext-schema-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","check:lint":"biome lint .","check:types":"tsc","check:types:watch":"tsc --watch"},"_npmUser":{"name":"sanity-io","email":"developers@sanity.io"},"_resolved":"/tmp/4e15e5fe725c7a46e6c94e74a6153923/portabletext-schema-1.0.0.tgz","_integrity":"sha512-kV39CshZKViJMu0sCuIk4XoyHC0n4XGunCWX+aqbe2kKYDsAA8l/FY8mLUr+LgFOCIEyUpWHWsyFDTsPe04jVg==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"10.9.3","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@sanity/pkg-utils":"^7.11.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_1.0.0_1755070936903_0.42853695459845387","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@portabletext/schema","version":"1.0.1","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@1.0.1","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"3a3bfb24829ac008b11a4fc8f3cfa0cfb0a79188","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-1.0.1.tgz","fileCount":13,"integrity":"sha512-oPyxLOpBzTKHMLdwYVaBR3NaJrtRgGlWFNwah8voQFTqI+LjsX6OiImrfnYq27IfWGZ5hbS/ntqRXjaDX16Ecg==","signatures":[{"sig":"MEQCIH17/KIYScBQGQ78PXCvliza+Ks2mLWETH5zVtIB/BQ4AiARrqbSatAEr58PI4BvFfPIZh9pMvCBJy/c2qaaphfeGA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27430},"main":"./dist/index.cjs","type":"module","_from":"file:portabletext-schema-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","check:lint":"biome lint .","check:types":"tsc","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/f8a5b115da374f426bafab1e8d1ae4eb/portabletext-schema-1.0.1.tgz","_integrity":"sha512-oPyxLOpBzTKHMLdwYVaBR3NaJrtRgGlWFNwah8voQFTqI+LjsX6OiImrfnYq27IfWGZ5hbS/ntqRXjaDX16Ecg==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.5.2","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.9.2","@sanity/pkg-utils":"^7.11.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_1.0.1_1755705178466_0.503612343246856","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@portabletext/schema","version":"1.1.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@1.1.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"aa89393c52d6743f32eddf26af9082d6f9180358","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-1.1.0.tgz","fileCount":14,"integrity":"sha512-ohSLgpCjiHqJAHOhwxKpnZDq9lmK0TrGWoxk+Nh7yoroqC8m8c0NyHoZN6yIC9jOYlka0J63CIuXTscN7GHpRw==","signatures":[{"sig":"MEUCIQCxm12fBREzxjwSQR6DKmoU3sylZd9Ecm5WQz8Upai6/AIgUCsyoNrcVQkMbK4nNQGjWRsYgVk5sxuUlLymOnRO3UA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33009},"main":"./dist/index.cjs","type":"module","_from":"file:portabletext-schema-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/c1bc672bf59503d06ab520a327d47631/portabletext-schema-1.1.0.tgz","_integrity":"sha512-ohSLgpCjiHqJAHOhwxKpnZDq9lmK0TrGWoxk+Nh7yoroqC8m8c0NyHoZN6yIC9jOYlka0J63CIuXTscN7GHpRw==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.5.2","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.9.2","@sanity/pkg-utils":"^7.11.9"},"_npmOperationalInternal":{"tmp":"tmp/schema_1.1.0_1755853791886_0.8460613611536687","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@portabletext/schema","version":"1.2.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@1.2.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"260132b6bc12afdd7d50c95d576382af757ce101","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-1.2.0.tgz","fileCount":15,"integrity":"sha512-LGu5KSJkOZvj1mggjj6vYURRUOMgXDXFwpl7rsFQks7vVuemJ1xJldUXSatfcloNTrpgu/ye5Iz+kOrFe7XDFQ==","signatures":[{"sig":"MEQCIAxBtDfuuLjj0ZMx7YZ+Quk7WH4trBYbHRr5qFEgheWBAiAO+b9ixXcx4sbcxlFg/3d7IH5KbnWza0xF77RVJLgl8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42761},"main":"./dist/index.cjs","type":"module","_from":"file:portabletext-schema-1.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","source":"./src/index.ts","default":"./dist/index.js","require":"./dist/index.cjs"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/681e8a6d17645f803d78e91359546b3e/portabletext-schema-1.2.0.tgz","_integrity":"sha512-LGu5KSJkOZvj1mggjj6vYURRUOMgXDXFwpl7rsFQks7vVuemJ1xJldUXSatfcloNTrpgu/ye5Iz+kOrFe7XDFQ==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.5.2","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^3.2.4","typescript":"^5.9.2","@sanity/pkg-utils":"^8.0.5"},"_npmOperationalInternal":{"tmp":"tmp/schema_1.2.0_1756215943424_0.5603903742282146","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@portabletext/schema","version":"2.0.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.0.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"07e9cec4ed460a357f98daab3831e35bf32da1c5","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.0.0.tgz","fileCount":12,"integrity":"sha512-RtsjsfuU/v3CeCZsIHIu6l9tyEGN8DG3xpLrWUJXVjeSVO5t4yHpCwmaB1fLruP8vQUCCRdiOtcipIFOumf9Iw==","signatures":[{"sig":"MEQCIAQiaGFGJAkmKSSCm07P4xXg3lzHsdnadCMCVtbIcBPxAiAH2uWG2yxe/T/StTnmPyWlM6oFj+kQzCQAK6GbTMKSIQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27396},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":{"source":"./src/index.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/3d15fd500ad5949dba4f864912274a32/portabletext-schema-2.0.0.tgz","_integrity":"sha512-RtsjsfuU/v3CeCZsIHIu6l9tyEGN8DG3xpLrWUJXVjeSVO5t4yHpCwmaB1fLruP8vQUCCRdiOtcipIFOumf9Iw==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.6.2","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.5","typescript":"5.9.3","@sanity/pkg-utils":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.0_1762267969366_0.7357870696803708","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@portabletext/schema","version":"2.0.1","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.0.1","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"e03cba594233eca49a290bccff22121f3a32db60","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.0.1.tgz","fileCount":7,"integrity":"sha512-hLWB7ZspBEXCsuf3l4ziE65wt32QiWsbt5cMg/vwP0yZ+98jG/W60grq8qnktSj7p5ABOIZAfEfgQb5iAp5orA==","signatures":[{"sig":"MEUCIQDeBp3AnZCindFQjPYujjVia2Y+ZCqgdBhn+ior7/km5wIgbq/dAuLxLCj/dukEEGPIMTSLSKMMhLIDcTT7h8Y9Deg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21595},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":{"source":"./src/index.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/cf0481f3cabe50bb0bfe47aa540b033d/portabletext-schema-2.0.1.tgz","_integrity":"sha512-hLWB7ZspBEXCsuf3l4ziE65wt32QiWsbt5cMg/vwP0yZ+98jG/W60grq8qnktSj7p5ABOIZAfEfgQb5iAp5orA==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.6.4","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.14","typescript":"5.9.3","@sanity/tsconfig":"^1.0.0","@sanity/pkg-utils":"^10.1.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.0.1_1765282440889_0.8866291927281684","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@portabletext/schema","version":"2.1.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.1.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"f79b85916c7783b3831e5a25a19f72fced10c2e7","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.1.0.tgz","fileCount":7,"integrity":"sha512-wtTYmMslVZFlONd5Ncm8wpb3MChw6s5w73icPHPZBHd+TTJn0lMGuROHhE+9XEQuD7Ly465ooH+7T/k2eQVxHg==","signatures":[{"sig":"MEQCIFQR5JiqZZUqritbFpscYJ/s4nD62vU4m82tIN0W3R0+AiB6+m+hcXn7xgh0jLXMM6Wnk7jV9uDetzjtSE/2+mlt5w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22223},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":{"source":"./src/index.ts","default":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/a7c9743a7a7e0810ecc94a23b280e330/portabletext-schema-2.1.0.tgz","_integrity":"sha512-wtTYmMslVZFlONd5Ncm8wpb3MChw6s5w73icPHPZBHd+TTJn0lMGuROHhE+9XEQuD7Ly465ooH+7T/k2eQVxHg==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.7.0","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.14","typescript":"5.9.3","@sanity/tsconfig":"^2.0.0","@sanity/pkg-utils":"^10.1.2"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.1.0_1765452626044_0.759294806390219","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@portabletext/schema","version":"2.1.1","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.1.1","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"cdb06c5b29dcd2f67ef665f2dd2f1fa087e86c9e","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.1.1.tgz","fileCount":7,"integrity":"sha512-cH5ZleN0nw3W7xYBvOfMoAhGdkz6XFGhk0yuXcAZX9rwrtWb6qfQVLcieGC5tmIsrDFjQeVMro64vIFg5tz6vA==","signatures":[{"sig":"MEQCIAonhJoGImwUd+DkQ6UnU7hahqgReKPCc3pQPyA4czN7AiAb0khiILMIwTeOpA/hOVoEN+f9suQHbnlxzRm5bCRBZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22164},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/f65969cbfedfa312c3913f481b5d7181/portabletext-schema-2.1.1.tgz","_integrity":"sha512-cH5ZleN0nw3W7xYBvOfMoAhGdkz6XFGhk0yuXcAZX9rwrtWb6qfQVLcieGC5tmIsrDFjQeVMro64vIFg5tz6vA==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.7.0","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.14","typescript":"5.9.3","@sanity/tsconfig":"^2.0.0","@sanity/pkg-utils":"^10.2.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.1.1_1765904660568_0.2442456985665038","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@portabletext/schema","version":"2.2.0","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.2.0","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"851c2cc8a707cbe0aa75d88b20f02dc52a4fd158","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.2.0.tgz","fileCount":7,"integrity":"sha512-Dun3sZv+Dp+qF9SSbxldQ+mpn7O7nqGVjq/5DFxFARGRoGlnNHmb9tXS/NV9pqlFZ5+d1GAgnDkMLy4qyU1JZw==","signatures":[{"sig":"MEUCIQD1B9FsJg0dSUXGLWv1AkgtSuPJL5KLhob7/8B9jvPINQIgUw76ycDJHdk3PuzDazQayA2jPtRgRjV/J2sI5s44JbQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":41942},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/017e22fa3bf14a36dae1ddc774a2a086/portabletext-schema-2.2.0.tgz","_integrity":"sha512-Dun3sZv+Dp+qF9SSbxldQ+mpn7O7nqGVjq/5DFxFARGRoGlnNHmb9tXS/NV9pqlFZ5+d1GAgnDkMLy4qyU1JZw==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.14.1","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.4","typescript":"5.9.3","@sanity/tsconfig":"^2.1.0","@sanity/pkg-utils":"^10.2.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.2.0_1779280222694_0.8500220858016774","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"@portabletext/schema","version":"2.2.1","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.2.1","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"ace75ef3cb0f5efc6610c61d9acc011fdf3ee511","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.2.1.tgz","fileCount":7,"integrity":"sha512-sreO5HzSc+PDMiYFv4lyh+zpSLp3CFPkyW3gQA2PJ3RQ05pHL7Nbdoopn4B1RvgBPsb1EnmtsUTNcj3VtTLhiA==","signatures":[{"sig":"MEYCIQDJvF+Fm/ftILbCtkGCofQHdj/UHiPeiHIQGIrBrTYfuwIhAPatmRMGP5swEd4IjautZCXUzPOnKFE8sukg7dCaaMO5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46771},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/d515b631c650ff8d04c91bf3d215a63c/portabletext-schema-2.2.1.tgz","_integrity":"sha512-sreO5HzSc+PDMiYFv4lyh+zpSLp3CFPkyW3gQA2PJ3RQ05pHL7Nbdoopn4B1RvgBPsb1EnmtsUTNcj3VtTLhiA==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.17.0","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","typescript":"5.9.3","@sanity/tsconfig":"^2.1.0","@sanity/pkg-utils":"^10.2.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.2.1_1781856933481_0.6987527634291426","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"name":"@portabletext/schema","version":"2.2.2","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.2.2","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"c615ba82840b4632749beac08a3e4a66f34e8941","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.2.2.tgz","fileCount":7,"integrity":"sha512-nQ9g0c1RJZyObLsuNWecIgYl69Irimpf+m9g+u26mhtUFxS4kc6fjqZWtiJUowC5nUGIkjg+Pnr36WGxCE/65g==","signatures":[{"sig":"MEUCIQDNX3XnCjbjQnKCR+/3H6y3qiQUbyOxOcFoPwYP2Yxg0gIgAOr+42T8wTSFJFrLxkn5TTFnI7aQYNQDZaVTyQJvFB8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46771},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.2.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/89ebc84d95f9a1f0237de1cb8cc2056f/portabletext-schema-2.2.2.tgz","_integrity":"sha512-nQ9g0c1RJZyObLsuNWecIgYl69Irimpf+m9g+u26mhtUFxS4kc6fjqZWtiJUowC5nUGIkjg+Pnr36WGxCE/65g==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.17.0","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.9","typescript":"5.9.3","@sanity/tsconfig":"^2.1.0","@sanity/pkg-utils":"^10.2.1"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.2.2_1782294109485_0.38051501496144424","host":"s3://npm-registry-packages-npm-production"}},"2.2.3":{"name":"@portabletext/schema","version":"2.2.3","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.2.3","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"607830e133b6f719a774fc6cc35cf4f394fdaaef","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.2.3.tgz","fileCount":7,"integrity":"sha512-C3+BvyDmUk3ZMgdTXowVdzqxHHPotgy2tFsiuuaxhOsXCeb1+iYUnxoDQKV+7HO9CYwA3H6I85/t+1b5VJWPEA==","signatures":[{"sig":"MEUCIQCuKMMWF8qV0HmWpeBkVFoaUsUqQ5j1Pf1TZC7uoMNmvwIgCPZoLMGuf6IaXbhrugiD1WdrWK3lmFZJhWw8GsMUPTQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46647},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.2.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check --clean","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/37ae0fbd83968edcde4502adc38e6ee7/portabletext-schema-2.2.3.tgz","_integrity":"sha512-C3+BvyDmUk3ZMgdTXowVdzqxHHPotgy2tFsiuuaxhOsXCeb1+iYUnxoDQKV+7HO9CYwA3H6I85/t+1b5VJWPEA==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.18.0","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"6.0.3","@sanity/tsconfig":"^2.1.0","@sanity/pkg-utils":"^10.8.2"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.2.3_1783687002411_0.1939541449716835","host":"s3://npm-registry-packages-npm-production"}},"2.2.4":{"name":"@portabletext/schema","version":"2.2.4","keywords":["portabletext","schema"],"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","_id":"@portabletext/schema@2.2.4","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"dist":{"shasum":"63d93c3bce6816a3818762936f57b162217e4407","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-2.2.4.tgz","fileCount":7,"integrity":"sha512-pTDrGxBk2LFVK4awpyBBOEkwGZwQOUWFyQAnhPfuLHIIgjcljOhzGHB+Mz89ddxi+zAXlxJ/A3U2xmFibe8qNQ==","signatures":[{"sig":"MEYCIQCMFpEuE7yAmL/UKnnC1rm6FAbHID2uxEvZeFb70Uo48AIhAJ7wPunipJwy9H7txPyopTWC6DFAH3IeLknfQ6ouMHPl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@2.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45863},"main":"./dist/index.js","type":"module","_from":"file:portabletext-schema-2.2.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20.19 <22 || >=22.12"},"exports":{".":"./dist/index.js","./package.json":"./package.json"},"scripts":{"dev":"pkg-utils watch","build":"pkg-utils build --strict --check","clean":"del .turbo && del lib && del node_modules","lint:fix":"biome lint --write .","test:unit":"vitest run","check:lint":"biome lint .","check:types":"tsc","test:unit:watch":"vitest watch","check:types:watch":"tsc --watch"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"_resolved":"/tmp/6ae6015c7c8386cd4e8b2a65d6b4e9be/portabletext-schema-2.2.4.tgz","_integrity":"sha512-pTDrGxBk2LFVK4awpyBBOEkwGZwQOUWFyQAnhPfuLHIIgjcljOhzGHB+Mz89ddxi+zAXlxJ/A3U2xmFibe8qNQ==","repository":{"url":"git+https://github.com/portabletext/editor.git","type":"git","directory":"packages/schema"},"_npmVersion":"11.19.0","description":"Portable Text Schema","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.0","vitest":"^4.1.10","typescript":"6.0.3","@sanity/tsconfig":"^2.1.0","@sanity/pkg-utils":"^12.1.0"},"_npmOperationalInternal":{"tmp":"tmp/schema_2.2.4_1786343751049_0.7371710092276793","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@portabletext/schema","version":"3.0.0","description":"Portable Text Schema","keywords":["portabletext","schema"],"homepage":"https://www.portabletext.org/","bugs":{"url":"https://github.com/portabletext/editor/issues"},"license":"MIT","author":{"name":"Sanity.io","email":"hello@sanity.io"},"repository":{"type":"git","url":"git+https://github.com/portabletext/editor.git","directory":"packages/schema"},"type":"module","sideEffects":false,"types":"./dist/index.d.ts","exports":{".":"./dist/index.js","./package.json":"./package.json"},"devDependencies":{"@sanity/pkg-utils":"^12.3.0","@sanity/tsconfig":"^2.1.0","typescript":"^7.0.2","vite":"^8.2.0","vitest":"^4.1.10"},"engines":{"node":">=22.12"},"scripts":{"build":"pkg-utils build --strict --check","check:types":"tsc","check:types:watch":"tsc --watch","clean":"del .turbo && del lib && del node_modules","dev":"pkg-utils watch","test:unit":"vitest run","test:unit:watch":"vitest watch"},"_id":"@portabletext/schema@3.0.0","_integrity":"sha512-mNv1YShl0e6XJZIntQYm7nr9UbLXCf3+JktfGp1OO8iPxpdMRnhaIq3iGSMVrO9fIBcB7TNQgFfOdqQCSfXFew==","_resolved":"/tmp/7c4593d1ee1e8f879571e18e277e96af/portabletext-schema-3.0.0.tgz","_from":"file:portabletext-schema-3.0.0.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-mNv1YShl0e6XJZIntQYm7nr9UbLXCf3+JktfGp1OO8iPxpdMRnhaIq3iGSMVrO9fIBcB7TNQgFfOdqQCSfXFew==","shasum":"10e16eb093131bc4b795de2df4962fcd0d7db4df","tarball":"https://registry.npmjs.org/@portabletext/schema/-/schema-3.0.0.tgz","fileCount":7,"unpackedSize":45715,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@portabletext%2fschema@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGIx7bWjcCk1hpRQMHVXEEgDvivaBa67NqkQbmEy+RHWAiBp6ShxePTRz4FWENgwM4VYu1sYnF96bBAO/LXv6w4x4Q=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1cebead8-ba46-4d18-82f7-10608525577d"}},"directories":{},"maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_3.0.0_1787648621228_0.9750506792245113"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-13T07:38:29.615Z","modified":"2026-08-25T09:03:42.496Z","0.0.0":"2025-08-13T07:38:29.867Z","1.0.0":"2025-08-13T07:42:17.079Z","1.0.1":"2025-08-20T15:52:58.638Z","1.1.0":"2025-08-22T09:09:52.067Z","1.2.0":"2025-08-26T13:45:43.610Z","2.0.0":"2025-11-04T14:52:49.593Z","2.0.1":"2025-12-09T12:14:01.044Z","2.1.0":"2025-12-11T11:30:26.218Z","2.1.1":"2025-12-16T17:04:20.711Z","2.2.0":"2026-05-20T12:30:22.821Z","2.2.1":"2026-06-19T08:15:33.609Z","2.2.2":"2026-06-24T09:41:49.681Z","2.2.3":"2026-07-10T12:36:42.547Z","2.2.4":"2026-08-10T06:35:51.184Z","3.0.0":"2026-08-25T09:03:41.376Z"},"bugs":{"url":"https://github.com/portabletext/editor/issues"},"author":{"name":"Sanity.io","email":"hello@sanity.io"},"license":"MIT","homepage":"https://www.portabletext.org/","keywords":["portabletext","schema"],"repository":{"type":"git","url":"git+https://github.com/portabletext/editor.git","directory":"packages/schema"},"description":"Portable Text Schema","maintainers":[{"name":"kmelve","email":"knut.melvaer@gmail.com"},{"name":"rexxars","email":"espen@hovlandsdal.com"},{"name":"skogsmaskin","email":"per.kristian.nordnes@gmail.com"},{"name":"mariuslundgard","email":"studio@mariuslundgard.com"},{"name":"bjoerge","email":"bjoerge@gmail.com"},{"name":"rbotten","email":"rbotten@gmail.com"},{"name":"sanity-io","email":"developers@sanity.io"},{"name":"snorreeb","email":"snorre.e.brekke@gmail.com"},{"name":"josef-sanity","email":"josef.hlavacek@sanity.io"},{"name":"stipsan","email":"stipsan@gmail.com"},{"name":"christianhg","email":"services@groengaard.dk"}],"readme":"# `@portabletext/schema`\n\nA TypeScript library for defining and compiling Portable Text schemas with full type safety and editor support.\n\n## Installation\n\n```bash\nnpm install @portabletext/schema\n```\n\n## Usage\n\n### Define a schema\n\n```ts\nimport {defineSchema} from '@portabletext/schema'\n\nconst schemaDefinition = defineSchema({\n  styles: [{name: 'normal'}, {name: 'h1'}, {name: 'h2'}, {name: 'blockquote'}],\n  decorators: [{name: 'strong'}, {name: 'em'}],\n  annotations: [{name: 'link'}],\n  lists: [{name: 'bullet'}, {name: 'numbered'}],\n})\n```\n\n### Compile schema\n\n```ts\nimport {compileSchema} from '@portabletext/schema'\n\nconst schema = compileSchema(schemaDefinition)\n```\n\n## Containers and sub-schemas\n\nA block object can act as a _container_: one of its fields is an array whose\n`of` includes a `{type: 'block'}` member, which declares the text sub-schema\nallowed inside it. This is how a code block, callout, or table cell restricts\nwhat can be typed within it.\n\n```ts\nconst schemaDefinition = defineSchema({\n  decorators: [{name: 'strong'}, {name: 'em'}, {name: 'code'}],\n  styles: [{name: 'normal'}, {name: 'h1'}],\n  blockObjects: [\n    {\n      name: 'code-block',\n      fields: [\n        {\n          name: 'lines',\n          type: 'array',\n          of: [\n            // A code line: a `code` style only, and no decorators.\n            {type: 'block', styles: [{name: 'code'}], decorators: []},\n          ],\n        },\n      ],\n    },\n  ],\n})\n```\n\nUse `getSubSchema` to resolve what is allowed at a position inside a\ncontainer. It returns a `Schema` you can treat like any top-level one:\n\n```ts\nimport {compileSchema, getSubSchema} from '@portabletext/schema'\n\nconst schema = compileSchema(schemaDefinition)\nconst codeBlock = schema.blockObjects.find((type) => type.name === 'code-block')\nconst lines = codeBlock.fields.find((field) => field.name === 'lines')\n\nconst subSchema = getSubSchema(schema, lines.of)\n// subSchema.decorators === []                 (the code line forbids decorators)\n// subSchema.styles     === [{name: 'code', ...}] (only the `code` style)\n```\n\n### How a nested block overrides and inherits\n\nEach of `styles`, `decorators`, `annotations`, `lists`, and `inlineObjects`\nresolves independently:\n\n- **Declared** overrides for that property.\n- **Declared empty** (`[]`) overrides to nothing, e.g. `decorators: []`\n  forbids every decorator inside the container.\n- **Absent** inherits from the nearest enclosing container that declares a\n  block, or the root when none does.\n\nThere is no merging: a property is either declared here or taken whole from a\nsingle source. An absent property resolves against the **nearest enclosing\ncontainer** whose block declares it, so a block nested inside a container that\nrestricts its own text inherits that restriction rather than the document\nroot. It falls back to the root only when no enclosing container declares a\nblock of its own (e.g. structural `table` → `row` → `cell` wrappers, where the\ncell's text inherits the document). A nested block never blends multiple\nancestors; it takes exactly one inherited value. When the `of` has no\n`{type: 'block'}` member at all, the container allows objects only, with no\ntext formatting.\n","readmeFilename":"README.md"}