{
  alias:  "___fcf___variables",
  table:  "___fcf___variables",
  enable:           true,

  title:  "System Variables",
  singleTitle: "${record.package}$:${record.name}$",

  description:  "The configuration variables of the application",

  inner: true,

  dbSync: true,

  connectionGroup: "default",

  order: [
    {
      type: "field",
      field: "package",
      order: "asc",
    },
    {
      type: "field",
      field: "name",
      order: "asc",
    }
  ],

  unique: [["package", "name"]],

  access: {
    select:         ["*"],
    update:         ["root"],
    insert:         ["root"],
    delete:         ["root"],
  },

  key: "id",

  fields:[
    {
      alias: 'id',
      field: 'id',
      type: 'int',
      notAdd: true,
      notEdit: true,
      autoIncrement: true,
    },
    {
      alias: 'package',
      field: 'package',
      title: '!{Package}!',
      type:  'string',
      maxSize: 255,
      notEmpty: true,
    },
    {
      alias: 'name',
      field: 'name',
      title: '!{Name}!',
      type:  'string',
      maxSize: 255,
      notEmpty: true,
    },
    {
      alias: 'description',
      field: 'description',
      title: '!{Description}!',
      type:  'string',
    },
    {
      alias: 'value',
      field: 'value',
      title: '!{Value}!',
      type:  'text',
      usage: {
        "read.*": {
          wrap:  true,
        },
      }

    },
  ]
}
