This is a supporter for getblackboard.com; mainly for static API services. Let's see if this evolves into something else or not.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
* Flag.js
|
|
|
|
*
|
|
|
|
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
|
|
|
|
* @docs :: http://sailsjs.org/#!documentation/models
|
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
|
|
|
attributes: {
|
|
|
|
|
|
|
|
english: {
|
|
|
|
type: 'string',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
|
|
|
|
thai: {
|
|
|
|
type: 'string',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
|
|
|
|
iso2: {
|
|
|
|
type: 'string',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
|
|
|
|
iso3: {
|
|
|
|
type: 'string',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
|
|
|
|
continent: {
|
|
|
|
type: 'string',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
|
|
|
|
phone_code: {
|
|
|
|
type: 'string'
|
|
|
|
},
|
|
|
|
|
|
|
|
currency: {
|
|
|
|
type: 'string'
|
|
|
|
},
|
|
|
|
|
|
|
|
capital: {
|
|
|
|
type: 'string'
|
|
|
|
},
|
|
|
|
|
|
|
|
languages: {
|
|
|
|
type: 'array'
|
|
|
|
},
|
|
|
|
|
|
|
|
top_level_domain: {
|
|
|
|
type: 'string'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|