declare namespace cybozu.data { namespace types { type SchemaDataField = { id: string; label: string; // field name properties: Record; type: string; var: string; // field code }; type SchemaDataTable = cybozu.data.types.SchemaDataField & { fieldList: Record; }; type SchemaDataSubtable = Record; type SchemaDataGroups = Array<{ table: cybozu.data.types.SchemaDataTable; subTable: cybozu.data.types.SchemaDataSubtable; }>; type SchemaData = { groups: cybozu.data.types.SchemaDataGroups; revision: string; table: cybozu.data.types.SchemaDataTable; subTable: cybozu.data.types.SchemaDataSubtable; }; } namespace page { const FORM_DATA: { schema: cybozu.data.types.SchemaData; }; } }