# @androconsis/react-native-jsonschema-form

> A React-Native component to build forms out of Json-Schema

Latest version **0.0.3** (published 2019-07-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install @androconsis/react-native-jsonschema-form
pnpm add @androconsis/react-native-jsonschema-form
yarn add @androconsis/react-native-jsonschema-form
bun add @androconsis/react-native-jsonschema-form
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-07-02 |
| First published | 2019-05-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 62.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Prateek Rathore |
| Maintainers | androconsis |
| Keywords | react-native, react-native-json-schema-form, jsonschema, json-schema, androconsis, react-native-jsonschema-form, forms |

## Links

- npm: https://www.npmjs.com/package/@androconsis/react-native-jsonschema-form
- Repository: https://github.com/AndroConsis/react-native-json-schema-form
- Homepage: https://github.com/AndroConsis/react-native-json-schema-form#readme
- Issues: https://github.com/AndroConsis/react-native-json-schema-form/issues
- npm.io page: https://npm.io/package/@androconsis/react-native-jsonschema-form

## Dependencies (3)

- [ajv](https://npm.io/package/ajv.md) ^6.10.0
- [react-native-check-box](https://npm.io/package/react-native-check-box.md) ^2.1.7
- [react-native-datepicker](https://npm.io/package/react-native-datepicker.md) ^1.7.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-07-02
- 0.0.2 — 2019-05-23
- 0.0.1 — 2019-05-23

## README

# react-native-json-schema-form
 React-Native component for building forms based on the JSON Schema.

## Accomplishments
 - renders the form with schema, uiSchema & formData
 - uniform styling of the components
 - Supported components [see list below](https://github.com/AndroConsis/react-native-json-schema-form#component-list)
 - ajv validation
 - on form submit, form gets scrolled to the topmost error in the form.


## Roadmap
 - Support for structured & complex JSON schema includes $id, $ref, definitions, additional properties
 - Support for defaults
 - Better ajv error formulation for readable & understandable errors
 - Support for theme provider for the form components
 - Unit tests
 
 
## Component list
[*Calculated](https://js.do/code/314698)


| **boolean** | | 
| ------ | ------ | 
| checkbox| CheckboxWidget| 
| radio| RadioWidget| 
| select| UnsupportedWidget| 
| hidden| UnsupportedWidget| 
| text| CheckboxWidget| 


| **string** | | 
| ------ | ------ | 
| text| TextWidget| 
| password| UnsupportedWidget| 
| email| UnsupportedWidget| 
| hostname| UnsupportedWidget| 
| ipv4| UnsupportedWidget| 
| ipv6| UnsupportedWidget| 
| uri| UnsupportedWidget| 
| data-url| UnsupportedWidget| 
| radio| RadioWidget| 
| select| DropDownWidget| 
| textarea| UnsupportedWidget| 
| hidden| UnsupportedWidget| 
| date| DateWidget| 
| datetime| UnsupportedWidget| 
| date-time| UnsupportedWidget| 
| alt-date| UnsupportedWidget| 
| alt-datetime| UnsupportedWidget| 
| color| UnsupportedWidget| 
| file| UnsupportedWidget| 


| **number** | | 
| ------ | ------ | 
| text| TextWidget| 
| select| UnsupportedWidget| 
| updown| UnsupportedWidget| 
| range| UnsupportedWidget| 
| radio| RadioWidget| 
| hidden| UnsupportedWidget| 


| **integer** | | 
| ------ | ------ | 
| text| TextWidget| 
| select| DropDownWidget| 
| updown| UnsupportedWidget| 
| range| UnsupportedWidget| 
| radio| RadioWidget| 
| hidden| UnsupportedWidget| 
| checkboxes| CheckboxesWidget| 


| **array** | | 
| ------ | ------ | 
| select| UnsupportedWidget| 
| checkboxes| CheckboxesWidget| 
| files| UnsupportedWidget|

---
_Source: https://npm.io/package/@androconsis/react-native-jsonschema-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
