bedatadriven / activityinfo-R

ActivityInfo R Language Client
https://www.activityinfo.org/support/docs/R/
17 stars 12 forks source link

Reserved keywords for ActivityInfo in R package #85

Closed nickdickinson closed 1 year ago

nickdickinson commented 1 year ago

@akbertram Do we have a list of reserved keywords? It may be good to add this to the sanity check for codes in created fields and schemas.

akbertram commented 1 year ago

The only consideration is that codes must match the pattern ^[A-Za-z][A-Za-z0-9_]{0,31}$

nickdickinson commented 1 year ago

Ok thanks!

nickdickinson commented 1 year ago

I've added a check for code names when a formField is added to a form schema or when a form schema is being processed in a number of places.