Skip to content

Instantly share code, notes, and snippets.

@tristen
Created April 23, 2011 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tristen/938730 to your computer and use it in GitHub Desktop.
Save tristen/938730 to your computer and use it in GitHub Desktop.
model = models['Document'].extend({
url: function() {
return '/api/Product/' + this.id;
},
schema: {
'timestamp': {
'type': 'string',
'title': 'Time Stamp'
},
'institution_id': {
'type': 'string',
'title': 'Institution Id'
},
'institution': {
'type': 'string',
'title': 'Institution'
},
'name': {
'type': 'string',
'title': 'Product Name'
},
'product_type': {
'type': 'string',
'title': 'Product Type'
},
'overview': {
'type': 'string',
'title': 'Overview'
},
'purpose_objectives': {
'type': 'string',
'title': 'Objectives'
},
'associated_project_name': {
'type': 'string',
'title': 'Associated Project Name'
},
'implementer_name': {
'type': 'string',
'title': 'Implementer Name'
},
'type_of_implementer': {
'type': 'string',
'title': 'Implementer Type'
},
'year_implemented': {
'type': 'string',
'title': 'Year Implemented'
},
'kyc_opening_requirements': {
'type': 'string',
'title': 'Opening Requirements',
'group': 'Requirements and Benefits'
},
'interest_rate': {
'type': 'string',
'title': 'Interest Rate',
'group': 'Fees and Restrictions'
},
'interest_rate_notes': {
'type': 'string',
'title': 'Interest Rate Notes',
'group': 'Fees and Restrictions'
},
'minimum_opening_deposit': {
'type': 'string',
'title': 'Minimum Opening Deposit',
'group': 'Fees and Restrictions'
},
'minimum_balance': {
'type': 'string',
'title': 'Minimum Balance',
'group': 'Fees and Restrictions'
},
'opening_fees': {
'type': 'string',
'title': 'Opening Fees',
'group': 'Fees and Restrictions'
},
'operation_fees': {
'type': 'string',
'title': 'Operation Fees',
'group': 'Fees and Restrictions'
},
'withdrawal_fees': {
'type': 'string',
'title': 'Withdrawal Fees',
'group': 'Fees and Restrictions'
},
'withdrawal_restrictions_or_policy': {
'type': 'string',
'title': 'Withdrawal Restrictions or Policy',
'group': 'Fees and Restrictions'
},
'deposit_fees': {
'type': 'string',
'title': 'Deposit Fees',
'group': 'Fees and Restrictions'
},
'closing_fees': {
'type': 'string',
'title': 'Closing Fees',
'group': 'Fees and Restrictions'
},
'inactivity_fees': {
'type': 'string',
'title': 'Inactivity Fees',
'group': 'Fees and Restrictions'
},
'relationship_to_loans': {
'type': 'string',
'title': 'Relationship to Loans',
'group': 'Requirements and Benefits'
},
'places_of_enrollment': {
'type': 'string',
'title': 'Places of Enrollment',
'group': 'Requirements and Benefits'
},
'delivery_method': {
'type': 'string',
'title': 'Delivery Method',
'group': 'Requirements and Benefits'
},
'additional_features_of_products': {
'type': 'string',
'title': 'Additional Features of Products',
'group': 'Requirements and Benefits'
},
'costing': {
'type': 'string',
'title': 'Costing',
'group': 'Requirements and Benefits'
},
'other_services_offered_in_savings_product_package': {
'type': 'string',
'title': 'Other Services Offered',
'group': 'Requirements and Benefits'
},
'age_group': {
'type': 'string',
'title': 'Age Limit',
'group': 'Requirements and Benefits'
},
'general_promotion_description': {
'type': 'string',
'title': 'Promotion Description',
'group': 'Promotion'
},
'advertising_dissemination': {
'type': 'string',
'title': 'Advertising & Dissemination',
'group': 'Promotion'
},
'slogan': {
'type': 'string',
'title': 'Slogan',
'group': 'Promotion'
},
'contracted_out': {
'type': 'string',
'title': 'Contracted Out',
'group': 'Promotion'
},
'attribution': {
'type': 'string',
'title': 'Attribution'
},
'select_type_of_current_account': {
'type': 'string',
'title': 'Current Account'
},
'select_type_of_commitment_savings_account': {
'type': 'string',
'title': 'Commitment Savings Account'
},
'select_type_of_recurring_standard_deposit_account': {
'type': 'string',
'title': 'Recurring Standard Deposit Account'
},
'occupational_group': {
'type': 'string',
'title': 'Occupational Group',
'group': 'Targeted Group'
},
'geography': {
'type': 'string',
'title': 'Geography',
'group': 'Targeted Group'
},
'female': {
'type': 'string',
'title': 'Female',
'group': 'Targeted Group'
},
'male': {
'type': 'string',
'title': 'Male',
'group': 'Targeted Group'
},
'associated_policy_name': {
'type': 'string',
'title': 'Associated Policy Name'
},
'country_id': {
'type': 'string',
'title': 'Country Id'
},
'country': {
'type': 'string',
'title': 'Country'
},
'region': {
'type': 'string',
'title': 'Region'
},
'number_of_accounts': {
'type': 'string',
'title': 'Number of Accounts',
'group': 'Bank Stats and Figures'
},
'number_of_depositors': {
'type': 'string',
'title': 'Number of Depositors',
'group': 'Bank Stats and Figures'
},
'volume_of_deposits': {
'type': 'string',
'title': 'Volume of Deposits',
'group': 'Bank Stats and Figures'
},
'percent_total_retail_savings_portfolio': {
'type': 'string',
'title': '% Total Retail Savings Portfolio',
'group': 'Bank Stats and Figures'
},
'percent_total_savings_portfolio': {
'type': 'string',
'title': '% Total Savings Portfolio',
'group': 'Bank Stats and Figures'
},
'processing_time': {
'type': 'string',
'title': 'Processing Time',
'group': 'Bank Stats and Figures'
},
'other_fees': {
'type': 'string',
'title': 'Other Fees'
},
'withdrawal_restrictions_or_withdrawal_policy': {
'type': 'string',
'title': 'Withdrawal Restrictions or Withdrawal Policy'
},
'in_house': {
'type': 'string',
'title': 'In House',
'group': 'Bank Stats and Figures'
},
'other': {
'type': 'string',
'title': 'Other'
},
'time_period_of_data': {
'type': 'string',
'title': 'Time Period of Data'
},
'upload_related_resources': {
'type': 'string',
'title': 'Related Resources'
},
'gender_target': {
'type': 'string',
'title': 'Gender Target',
'group': 'Targeted Group'
},
'notes_on_this_product': {
'type': 'string',
'title': 'Product Notes'
},
'data_sources': {
'type': 'string',
'title': 'Data sources'
},
'fees_notes': {
'type': 'string',
'title': 'Fees Notes'
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment