Work in progress. This page will document each primitive Field type with accepted shapes, validation rules, and meta flags.
schema.field/create and returned by fibery.entity/query.
| Field type | Example | Comments |
|---|---|---|
fibery/int | 42 | |
fibery/decimal | 0.33 | |
fibery/bool | true | |
fibery/text | Don't panic | Up to 1k characters. Can be styled using ui/type meta flag: text | email | phone | url |
~~fibery/email~~ | Deprecated. Use a fibery/text field with ui/type meta set to "email": {"ui/type": "email"} | |
fibery/emoji | 🏏 | |
fibery/date | 1979-10-12 | |
fibery/date-time | 2019-06-24T12:25:20.812Z | |
fibery/date-range | {"start": "2019-06-27", "end": "2019-06-30"} | |
fibery/date-time-range | {"start": "2019-06-18T02:40:00.000Z", "end": "2019-07-25T11:40:00.000Z"} | |
fibery/location | {"longitude": 2.349606, "latitude": 48.890764, "fullAddress": "Métro Marcadet Poissonniers, 67 boulevard Barbès, Paris, 75018, France", "addressParts": {"city": "Paris", "country": "France"}} | All address parts are optional. |
fibery/uuid | acb5ef80-9679-11e9-bc42-526af7764f64 | |
fibery/rank | 1000 | |
fibery/json-value | {"paranoid?": true} |