API/Database Column/Field/Variable Name Collection

Naming a field, variable or a column in database is one of the time consuming task in programming. Sometimes we even get to know even better terms once we are into production after which we will not concentrate on correcting to better terms. So it is better to name the fields better in early stages of the development.

So I have consolidated a list of terms which I think will be useful for developers.

#FieldNameData Type
DescriptionTags
actionstring
Sample Values
1. ASSIGN/UNASSIGN
2. ADD/REMOVE
activeboolean
addressstringPlace
address.areastringPlace
address.citystringPlace
address.countrystringPlace
address.countryISOCodestringPlace
address.locationgeoPlace
address.pincodestringPlace
address.statestringPlace
address.stateISOCodestringPlace
address.streetstringPlace
amountfloat
applicationobject
applicationContextany
applicationIdstring
authenticationobject
authorizedByany
bucketstring
categorystring
channelany
codestring, int
commandstring, int
componentstring
contextany
countintPagination
createdDatedate
currentDatedate
customDataany
dataany
database
databaseNamePrefix
databaseNameSuffix
dataTypestringSample Values
1. string, int, float
datePatternstring
dateRangedate
debugboolean
defaultPageSizeintPagination
deletedboolean
descriptionstring
direction
discountfloatInvoice
discountedSubtotalfloatInvoice
distanceint, float
dnsstring
durationint, floatSample Values
1. int (seconds) - 30
2. float (hours ) - 1.5 (90 minutes)
emailAddressstringCompany, Person
enabledboolean
endDatedate
entityany
environmentstringSample Values
1. dev, qa, staging, production
errorany
eventany
existboolean
fieldstring
fileNamestring
filterany
firstintPagination
givenNamestring
hoststring
idstring, uuid, serial
identifierany
ignoreCaseboolean
indexstring
intervalint
invoiceNumberint, string
ipstring
ipAddressstring
keystring
labelstring
lastReportedDatedate
lastSeenDatedate
lastUpdatedDatedate
latitudegeo
lengthint, float
logModestringSample Values
1. warn, debug
longitudegeo
maxPageSizeintPagination
merchantany
metaany
metaInfoany
methodanySample Values
1. POST, PUT, DELETE, GET
2. any
mobileNumberstring
namestring
occurredDatedate
offsetintPagination
operationstringSample Values
1. C, R, U, D
2. Create, Read, Update, Delete
operatorany
optionany
orderBystring
pageIndexintPagination
pageSizeintPagination
parallelismint
parameterany
partialUpdateboolean
passwordstring
pathstring
payloadany
permissionstringSample Values
1. C, R, U, D
2. Create, Read, Update, Delete
phoneNumberstring
pinstring, int
portint
powerint, float
precisionint, float, stringSample Values
1. int - Range 1 to 10
2. float - Range 1 to 10
3. string - Low, Medium, High
pricefloat
pricePerQuantityfloat
primaryany
propertystring
providerstring
quantityfloat
queryany
ratefloat
readOnlyboolean
receivedDatedate
relationshipstring
requestDatedate
resourceany
resourceContextany
retryCountint
retryEnabledboolean
schema
searchTypestringSample Values
1. CONTAINS, MATCHES, STARTS_WITH, ENDS_WITH
secondaryany
serialNumberstring
sizeint, float
skipPaginationbooleanPagination
sortBystringPagination
sourceany
stackstringSample Values
1. dev, qa, staging, production
startDatedate
statusstringSample Values
1. Pass, Fail
2. Initiated, Success, Failure
3. Active, Deleted
subCategorystring
subComponentstring
subtotalfloatInvoice
subTypestring
summaryany
supportedEntitiesstring
supportedFieldsstring
supportedValuesstring
surnamestring
syncEnabledboolean
tagstring
targetany
targetTypestring
taxfloatInvoice
templateany
tenantany
tenantIdstring, intSample Values
1. int - 1000, 1001
2. string - A254, B584
tokenstring
totalfloatInvoice, Pagination
trackany
typestringSample Values
1. Fixed, Percentage
2. Payment, Refund
3. Input, Output
updatedDatedate
upsertboolean
uristring
urlstring
userContextany
userInfoany
usernamestring
valueany
verifiedboolean
versionstring
visibilityboolean
websitestring
zipCodestring

Leave a Reply