[ { "name" : "Applications", "resource" : "application", "list_fields" : [ "name", "description", "creationTimestamp" ], "fields" : [ { "name" : "id", "display" : "ID", "type" : "number", "pk" : true, "autogenerate" : true, "readOnly" : true }, { "name" : "code", "display" : "Code", "type" : "string", "maxlength" : 4, "mandatory" : true }, { "name" : "name", "display" : "Name", "type" : "string", "maxlength" : 45, "mandatory" : true }, { "name" : "description", "display" : "Description", "type" : "string", "maxlength" : 500, "multiline" : 2 }, { "name" : "license_filename", "display" : "License filename", "type" : "string", "maxlength" : 100, "mandatory" : true }, { "name" : "creation_timestamp", "display" : "Creation date", "autogenerate" : true, "type" : "date", "readOnly" : true }, { "name" : "metadata", "display" : "Metadata", "type" : "metadata", "allow_creation": true } ] }, { "name" : "License types", "list_fields" : [ "code", "name", "application_name", "creationTimestamp" ], "resource" : "licensetype", "fields" : [ { "name" : "id", "display" : "ID", "type" : "number", "pk" : true, "autogenerate" : true, "readOnly" : true }, { "name" : "code", "display" : "Code", "type" : "string", "maxlength" : 10, "mandatory" : true }, { "name" : "name", "display" : "Name", "type" : "string", "maxlength" : 45, "mandatory" : true }, { "name" : "description", "display" : "Description", "type" : "string", "maxlength" : 500, "multiline" : 2 }, { "name" : "application_id", "display" : "Application", "resource" : "application", "mandatory" : true, "type" : "select", "onchange": "updateMetadata" }, { "name" : "creation_timestamp", "display" : "Creation date", "autogenerate" : true, "type" : "date", "readOnly" : true }, { "name" : "application_name", "display" : "Application", "listingOnly" : true }, { "name" : "metadata", "display" : "Metadata", "type" : "metadata", "allow_creation": false } ] }, { "name" : "Organizations", "list_fields" : [ "code", "name", "org_parent_name", "creationTimestamp" ], "resource" : "organization", "fields" : [ { "name" : "id", "display" : "ID", "type" : "number", "pk" : true, "autogenerate" : true, "readOnly" : true }, { "name" : "code", "display" : "Code", "type" : "string", "maxlength" : 10, "mandatory" : true }, { "name" : "name", "display" : "Name", "type" : "string", "maxlength" : 45, "mandatory" : true }, { "name" : "description", "display" : "Description", "type" : "string", "maxlength" : 500, "multiline" : 2 }, { "name" : "org_parent_id", "display" : "Parent organization", "resource" : "organization", "type" : "select" }, { "name" : "users_ids", "display" : "Users", "resource" : "user", "type" : "multiselect" }, { "name" : "creation_timestamp", "display" : "Creation date", "autogenerate" : true, "type" : "date", "readOnly" : true }, { "name" : "org_parent_name", "display" : "Parent org", "listingOnly" : true } ] }, { "name" : "Users", "list_fields" : [ "username", "first_name", "last_name", "lastLogin" ], "resource" : "user", "fields" : [ { "name" : "username", "display" : "Username", "type" : "string", "maxlength" : 45, "pk" : true, "readOnly" : true, "mandatory" : true }, { "name" : "email", "display" : "Email", "type" : "email", "maxlength" : 150, "mandatory" : true }, { "name" : "first_name", "display" : "First name", "type" : "string", "maxlength" : 100, "mandatory" : true }, { "name" : "password", "display" : "Password", "type" : "password", "maxlength" : 100, "mandatory" : false }, { "name" : "last_name", "display" : "Last name", "type" : "string", "maxlength" : 100 }, { "name" : "organizations_ids", "display" : "Organizations", "resource" : "organization", "type" : "multiselect" }, { "name" : "roles", "display" : "Roles", "values" : [{"id":1, "label":"Advance"}, {"id":2, "label":"Admin"}], "type" : "multiselect" }, { "name" : "lastLogin", "display" : "Last login", "autogenerate" : true, "type" : "date", "readOnly" : true }, { "name" : "creation_timestamp", "display" : "Creation date", "autogenerate" : true, "type" : "date", "readOnly" : true }] } ]