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.pincode/address.zipCodestringPlace
address.statestringPlace
address.stateISOCodestringPlace
address.streetstringPlace
amountfloat
applicationobject
applicationContextany
applicationIdstring
authenticationobject
authorizedByany
bucketstring
category/subCategorystring
channelany
codestring, int
commandstring, int
component/subComponentstring
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
enabled/disabledboolean
entityany
environmentstringSample Values
1. dev, qa, staging, production
errorany
eventany
existboolean
fieldstring
fileNamestring
filterany
firstintPagination
givenNamestringPerson
hoststring
idstring, uuid, serial
identifierany
ignoreCaseboolean
indexstring
intervalint
invoiceNumberint, string
ipstring
ipAddressstring
keystring
labelstring
lastReportedDatedate
lastSeenDatedate
lastUpdatedDatedate
latitude/longitudegeo
lengthint, float
logModestringSample Values
1. warn, debug
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
primary/secondaryany
propertystring
providerstring
quantityfloat
queryany
ratefloat
readOnlyboolean
receivedDatedate
relationshipstring
requestDatedate
resourceany
resourceContextany
retryCountint
retryEnabledboolean
schema
searchTypestringSample Values
1. CONTAINS, MATCHES, STARTS_WITH, ENDS_WITH
serialNumberstring
sizeint, float
skipPaginationbooleanPagination
sortBystringPagination
source/targetany
stackstringSample Values
1. dev, qa, staging, production
startDate/endDatedate
statusstringSample Values
1. Pass, Fail
2. Initiated, Success, Failure
3. Active, Deleted
subtotalfloatInvoice
subTypestring
summaryany
supportedEntitiesstring
supportedFieldsstring
supportedValuesstring
surnamestringPerson
syncEnabledboolean
tagstring
sourceType/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
firstNamestringPerson
middleNamestringPerson
lastNamestringPerson
public/privatestring
start/stop
begin/end
transactionIdany

Leave a Reply