{"_id":"@codegouvfr/rjsf-dsfr","_rev":"6-91faeb3c5b48e8a239b80b5af3470904","name":"@codegouvfr/rjsf-dsfr","dist-tags":{"latest":"0.1.9"},"versions":{"0.1.0":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.0","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","_id":"@codegouvfr/rjsf-dsfr@0.1.0","homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"dist":{"shasum":"2be3a322516bd78d5645f7be773484d04ec9e2da","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.0.tgz","fileCount":9,"integrity":"sha512-J810LmGGHR5a2t4KjyU+eoYP8p5AGFWRto1dGjmE+5HtWRdliaBw6I0LRZCLrivLcwWIMA0oMrRi+o4/9H92vQ==","signatures":[{"sig":"MEYCIQD9r8RHTwI3WCGLuiAK2J6OZ2Kyr15m+dqy8YxVn4NTRAIhAIJfOAt2C8ggAMt3JOR0qGWf898gCeff7EI8tPcISF+g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63360},"main":"dist/index.cjs","tsup":{"dts":true,"clean":true,"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true},"type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"309223744760c1daa22139c979f2beebaeab9ab3","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit --strict","build":"tsup","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git","type":"git"},"_npmVersion":"10.7.0","description":"react-jsonschema-form with the DSFR","directories":{},"_nodeVersion":"18.20.3","dependencies":{"react":"^18.3.1","@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4","@codegouvfr/react-dsfr":"^1.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsup":"^8.1.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/react":"^18.3.3"},"_npmOperationalInternal":{"tmp":"tmp/rjsf-dsfr_0.1.0_1718903326269_0.39479223371943517","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.4","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","_id":"@codegouvfr/rjsf-dsfr@0.1.4","homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"dist":{"shasum":"2e4fe81d3e5f4fb4c5b1f272cb494decdf229c98","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.4.tgz","fileCount":9,"integrity":"sha512-vW6ozfnOlB2V/r0Q5YsHj9Rxg+9thLr2GKecb/vqXMDwVv5ejsT4wL3ZJpKcYoVMj8RGQXRXMieSGXfK1wkgJA==","signatures":[{"sig":"MEUCIBjRmxLX6ZeofIsaC0Oiw1choJUolqFk0ehudHaOeh8tAiEA+7QeSi3IebNj2ICM5KjhPsuMpbfrVoNtsiJIvAzSmYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63360},"main":"dist/index.cjs","tsup":{"dts":true,"clean":true,"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true},"type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e3eaee75746cc29c42180d00d01cb008fcc8abec","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit --strict","build":"tsup","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git","type":"git"},"_npmVersion":"10.7.0","description":"react-jsonschema-form with the DSFR","directories":{},"_nodeVersion":"18.20.3","dependencies":{"react":"^18.3.1","@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4","@codegouvfr/react-dsfr":"^1.9.20"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsup":"^8.1.0","prettier":"^3.3.2","typescript":"^5.4.5","@types/react":"^18.3.3"},"_npmOperationalInternal":{"tmp":"tmp/rjsf-dsfr_0.1.4_1718904453432_0.676714029168408","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.5","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","_id":"@codegouvfr/rjsf-dsfr@0.1.5","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"codegouv-owner","email":"equipe@code.gouv.fr"},{"name":"hjonin","email":"helene.jonin@gmail.com"},{"name":"garronej","email":"joseph.garrone.gj@gmail.com"}],"homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"dist":{"shasum":"f6a57546526d8c00a23ab353370b50f93505ee76","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.5.tgz","fileCount":9,"integrity":"sha512-HRPg2UByNrOygJZrihOWId3cZGslO2LRvtp74h+l+GQqL94TERAPKLo4tPQEWZyVc3vDqyjldVL7v93/RmCzuw==","signatures":[{"sig":"MEUCIQD0G1MPXz47PBdnAgZA4m5JCQY1yv6VeAcTVLJ/iYpQvAIgASNSRSCLFOMSMut+ce/qAxfl15Pm26pLV3/fEl9e/kk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103531},"main":"dist/index.cjs","tsup":{"dts":true,"clean":true,"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true},"type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"fa1eff747c6b1b10310f1c10beb53e37310664bc","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit --strict","build":"tsup","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git","type":"git"},"_npmVersion":"10.7.0","description":"react-jsonschema-form with the DSFR","directories":{},"_nodeVersion":"18.20.3","dependencies":{"@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4","@codegouvfr/react-dsfr":"^1.9.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.3.2","typescript":"^5.4.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.3"},"_npmOperationalInternal":{"tmp":"tmp/rjsf-dsfr_0.1.5_1720697536785_0.4331297625465014","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.6","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","_id":"@codegouvfr/rjsf-dsfr@0.1.6","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"codegouv-owner","email":"equipe@code.gouv.fr"},{"name":"hjonin","email":"helene.jonin@gmail.com"},{"name":"garronej","email":"joseph.garrone.gj@gmail.com"}],"homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"dist":{"shasum":"616430533a8499ec36bb8541ead355044b7ef8f4","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.6.tgz","fileCount":9,"integrity":"sha512-FyDhs7ltpZHYY3qsc9UFpzpsLcHGDBK+xn3J4lW8+TS8SuBs77C8r8PP3QQ1WYZ0wFnaz9y19gGwqyliTCXdNw==","signatures":[{"sig":"MEUCIQCqlEzyIfApNcAYFjeFDzjirTBE88m+WCB4qf7wHbNwrgIgW8Brh0hSu6xoF1eXea/vbD4qctyFonXCSS7UP6S92pQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103531},"main":"dist/index.cjs","tsup":{"dts":true,"clean":true,"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true},"type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"06a852f5dd34833d98a5bbe6a2b46a39c256aa4e","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit --strict","build":"tsup","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git","type":"git"},"_npmVersion":"10.7.0","description":"react-jsonschema-form with the DSFR","directories":{},"_nodeVersion":"18.20.3","dependencies":{"@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4","@codegouvfr/react-dsfr":"^1.9.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.3.2","typescript":"^5.4.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.3"},"_npmOperationalInternal":{"tmp":"tmp/rjsf-dsfr_0.1.6_1720698196199_0.8365906986931242","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.7","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","_id":"@codegouvfr/rjsf-dsfr@0.1.7","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"codegouv-owner","email":"equipe@code.gouv.fr"},{"name":"hjonin","email":"helene.jonin@gmail.com"},{"name":"garronej","email":"joseph.garrone.gj@gmail.com"}],"homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"dist":{"shasum":"a6e0bb0c3725f3b7a13b685a63aa53fe2914ad49","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.7.tgz","fileCount":9,"integrity":"sha512-HbSEpg7uWtzfFKS8zhnNXtV7SdxrBJ+SoCV1auUp4KYOLwcsuVKytozKBQRzFLYyd3iKuMLVvwhbWc9l9aNMxw==","signatures":[{"sig":"MEQCIFwrGyISQ6iGTjceoNEmP7gJ/30JpbuZkPJCenLLxo7mAiAsjboiRYiuhIWcLc0ENw+Z/KWz6ki1dvrQORG5r7Bgvw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103531},"main":"dist/index.cjs","tsup":{"dts":true,"clean":true,"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true},"type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4749f300d87cc4d9b9f1eb23d07482c4e3e6c79c","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit --strict","build":"tsup","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git","type":"git"},"_npmVersion":"10.7.0","description":"react-jsonschema-form with the DSFR","directories":{},"_nodeVersion":"18.20.3","dependencies":{"@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4","@codegouvfr/react-dsfr":"^1.9.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.3.2","typescript":"^5.4.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.3"},"_npmOperationalInternal":{"tmp":"tmp/rjsf-dsfr_0.1.7_1720706638843_0.3096965820316411","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.8","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","_id":"@codegouvfr/rjsf-dsfr@0.1.8","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"codegouv-owner","email":"equipe@code.gouv.fr"},{"name":"hjonin","email":"helene.jonin@gmail.com"},{"name":"garronej","email":"joseph.garrone.gj@gmail.com"}],"homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"dist":{"shasum":"4a977500cc582257fa651a5d97512b60ff6a54ce","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.8.tgz","fileCount":9,"integrity":"sha512-fjhaD37QSnjAOOuLTzfTABvvIeLFhgNLSxIkcaOoZ8raW8hM3Jqq+RiTDwt7K+ZGBH+QCmO7kbLb92wPxn6vbQ==","signatures":[{"sig":"MEQCIE7UCZXId1bnKXL9EECjuW7xiqZo7xUvB67rhKkfaN1VAiAQx2jXRUGp5rI3WjRFLhmZlVqdYwguqZFYaCAhpp8M+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":103531},"main":"dist/index.cjs","tsup":{"dts":true,"clean":true,"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true},"type":"module","types":"./dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ea2ba13e9df3c344ea3309612aeb2710779e49d7","scripts":{"dev":"tsup --watch","lint":"tsc --noEmit --strict","build":"tsup","format":"prettier --write .","format:check":"prettier --check ."},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"repository":{"url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git","type":"git"},"_npmVersion":"10.7.0","description":"react-jsonschema-form with the DSFR","directories":{},"_nodeVersion":"18.20.3","dependencies":{"@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4","@codegouvfr/react-dsfr":"^1.9.22"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsc":"^2.0.4","tsup":"^8.1.0","react":"^18.3.1","prettier":"^3.3.2","typescript":"^5.4.5","@types/react":"^18.3.3"},"peerDependencies":{"react":"^18.3.3"},"_npmOperationalInternal":{"tmp":"tmp/rjsf-dsfr_0.1.8_1720707047647_0.22905810617674804","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@codegouvfr/rjsf-dsfr","version":"0.1.9","description":"react-jsonschema-form with the DSFR","repository":{"type":"git","url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git"},"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"license":"MIT","type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"}},"scripts":{"build":"tsup","dev":"tsup --watch","lint":"tsc --noEmit --strict","format:check":"prettier --check .","format":"prettier --write ."},"devDependencies":{"@types/react":"^18.3.3","prettier":"^3.3.2","react":"^18.3.1","tsc":"^2.0.4","tsup":"^8.1.0","typescript":"^5.4.5"},"tsup":{"entry":["./src/index.tsx"],"format":["cjs","esm"],"sourcemap":true,"clean":true,"dts":true},"dependencies":{"@codegouvfr/react-dsfr":"^1.9.22","@rjsf/core":"^5.18.4","@rjsf/utils":"^5.18.4","@rjsf/validator-ajv8":"^5.18.4"},"peerDependencies":{"react":"^18.3.3"},"publishConfig":{"access":"public"},"_id":"@codegouvfr/rjsf-dsfr@0.1.9","gitHead":"5fa4c3ab0ea97ce9fcc33c2cefb7b8444f82e1b2","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-wkdSLzxutAN53D5yQZs96SKZLUjry15phniH4WCI6Z94DxqfvtE+OdpJlLU3o5tHjDm5EZeuLLWhkF6GrvED2w==","shasum":"151a01f68cab3d1b2f5a8b83ac5f5702a2dccf25","tarball":"https://registry.npmjs.org/@codegouvfr/rjsf-dsfr/-/rjsf-dsfr-0.1.9.tgz","fileCount":9,"unpackedSize":103531,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFNN9DOgrhAHTc2Q2sfLr3/RbOVsGcTtkem1Wr4Hi+t/AiEAuur0DAGK9YV6Hxk0oHINWibIW2dFGzcYJlYLoPYIhXA="}]},"_npmUser":{"name":"emilerolley","email":"emile.rolley@tuta.io"},"directories":{},"maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"codegouv-owner","email":"equipe@code.gouv.fr"},{"name":"hjonin","email":"helene.jonin@gmail.com"},{"name":"garronej","email":"joseph.garrone.gj@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rjsf-dsfr_0.1.9_1720707399578_0.517343008572027"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-20T17:08:46.082Z","modified":"2024-07-11T14:16:40.036Z","0.1.0":"2024-06-20T17:08:46.410Z","0.1.4":"2024-06-20T17:27:33.575Z","0.1.5":"2024-07-11T11:32:16.951Z","0.1.6":"2024-07-11T11:43:16.355Z","0.1.7":"2024-07-11T14:03:59.039Z","0.1.8":"2024-07-11T14:10:47.851Z","0.1.9":"2024-07-11T14:16:39.811Z"},"bugs":{"url":"https://github.com/codegouvfr/rjsf-dsfr/issues"},"author":{"name":"Emile Rolley","email":"emile.rolley@tuta.io"},"license":"MIT","homepage":"https://github.com/codegouvfr/rjsf-dsfr#readme","keywords":["DSFR","react-jsonschema-form","react","jsonschema","form","form-builder"],"repository":{"type":"git","url":"git+ssh://git@github.com/codegouvfr/rjsf-dsfr.git"},"description":"react-jsonschema-form with the DSFR","maintainers":[{"name":"emilerolley","email":"emile.rolley@tuta.io"},{"name":"codegouv-owner","email":"equipe@code.gouv.fr"},{"name":"hjonin","email":"helene.jonin@gmail.com"},{"name":"garronej","email":"joseph.garrone.gj@gmail.com"}],"readme":"# React JSON Schema Form with the DSFR\n\nThis is a wrapper around the\n[react-jsonschema-form](https://rjsf-team.github.io/react-jsonschema-form/docs/)\nwith the components from\n[`react-dsfr`](https://github.com/codegouvfr/react-dsfr).\n\n> [!IMPORTANT]\n> For now, this is simply extracted code from\n> [`catala-dsfr`](https://github.com/CatalaLang/catala-dsfr).\n> Therefore, the API is not yet defined and and is likely to be not flexible\n> enough for your use case.\n>\n> If you want to use this library, please [open an\n> issue](https://github.com/codegouvfr/rjsf-dsfr/issues) to discuss your needs!\n\n## Installation\n\n```bash\nyarn add @codegouvfr/rjsf-dsfr\n```\n\n## Usage\n\nFor now, the API matches the one from `react-jsonschema-form` and you can\noverrides some widgets (resp. templates) by specifying them in the props.\n\n```tsx\nimport { RJSFSchema } from '@rjsf/utils'\nimport FormDSFR from '@codegouvfr/rjsf-dsfr'\nimport { customizeValidator } from '@rjsf/validator-ajv8'\nimport frenchLocalizer from 'ajv-i18n/localize/fr'\n\nconst validator = customizeValidator({}, frenchLocalizer)\n\nconst schema: RJSFSchema = {\n  type: 'object',\n  properties: {\n    nom: { title: 'Nom', type: 'string', minLength: 2 },\n    prenom: { title: 'Prénom', type: 'string' },\n    ddn: { title: 'Date de naissance', type: 'string', format: 'date' },\n  },\n  required: ['nom'],\n}\n\nexport default function Form() {\n  return <FormDSFR schema={schema} validator={validator} />\n}\n```\n\n## Notes on writing schemas\n\n### Title\n\nThe titles must not be defined inside `\"kind\"` properties of the object\ndefinition but just before the `\"$ref\"` of the calling parent:\n\n```json\n\"categorieEquivalenceLoyerD84216\": {\n  \"title\": \"Catégorie de personnes résidant en logement-foyer\",\n  \"$ref\": \"#/definitions/categorie_equivalence_loyer_allocation_logement_foyer\"\n}\n```\n\n### UI Options\n\nAs described in the [react-jsonschema-form\ndocumentation](https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/uiSchema),\nyou can customize the form by providing a `uiSchema`.\nIn addition to the standard options, you can use the following specific options\nfor `rjsf-dsfr`.\n\n> [!TIP]\n> You can have a look to a real world example\n> [here](https://github.com/CatalaLang/catala-web-assets/blob/main/assets/aides_logement_ui_fr.schema.jsx)\n\n#### Global field options\n\nThe following options can be set for any field in the `uiSchema`:\n\n- `ui:heading`: set the heading level for the field's title (available values: `h2`, `h3`, `h4`, `h5`, `h6`)\n- `ui:hideTitle`: hide the field's title.\n\n#### Specific field options\n\n##### Array fields\n\nThe following options can be set for fields of type `array`:\n\n- `ui:addIcon`: set the [DSFR icon id](https://react-dsfr.codegouv.studio/icons) for the _Add_ button\n- `ui:removeIcon`: set the [DSFR icon id](https://react-dsfr.codegouv.studio/icons) for the _Remove_ button\n- `ui:tabLabel`: set the label for the tab in the array field (it needs to be\n  defined at the root of the `array` field)\n\n> [!NOTE]\n> By default, array fields are displayed in a\n> [`Tabs`](https://components.react-dsfr.codegouv.studio/?path=/docs/components-tabs--default)\n> component. Each tab is labeled with the `ui:tabLabel` value and the last tab\n> contains the _Add_ button.\n\n> [!IMPORTANT]\n> The `ui:hideTitle` option it's needed for items of type `object` inside a\n> field of type `array` to hide the unique title of the array's items.\n>\n> Example:\n>\n> ```json\n> \"personnesACharge\": {\n>    \"ui:tabLabel\": \"Personne\",\n>    \"items\": {\n>        \"ui:hideTitle\": true,\n> ...\n> ```\n\n## Development\n\nLaunch the playground to play with the DSFR theme :\n\n```sh\ncd demo\nyarn\nyarn start\n```\n","readmeFilename":"README.md"}