Sample JSON Business Records

You can pick a sample JSON business record and copy it over to API pages to test the APIs

Students

Sample JSON record for a student in a school management system. It includes personal details, address, and contact information.


{
"Code":10176,"Title":"Ms","FirstName":"Jeremi", "LastName":"Harris","DOB":"2010-11-25","Gender":"F","Active":true,
"Address":{"AddressLine1": "Legal House", "AddressLine2": "123 Floradel Street, Chippendale", "Suburb": "Tenlipu", "State": "ABC", "Postcode": "1234", "Country": "ABC" },
"Contact":{"Mobile": "012345678", "Phone": "12345678", "Email": "abcdef@abcdef.com", "Web":"abcdef.com"}, "j2codeConfig": {"multiWordsName": "student" } 
}    

Teachers

Sample JSON record for a teacher in a school management system. It includes personal details, address, contact information, and professional qualifications.


{
"Code":10176,"Title":"Ms","FirstName":"Jeremi","LastName":"Harris","DOB":"2010-11-25","Gender":"F","Active":true,
"Level": 3, "Specialty": "Math", "Qualification": "Batchelor",
"Address":{"AddressLine1": "Legal House", "AddressLine2": "123 Floradel Street, Chippendale", "Suburb": "Tenlipu", "State": "ABC", "Postcode": "1234", "Country": "ABC" },
"Contact":{"Mobile": "012345678", "Phone": "12345678", "Email": "abcdef@abcdef.com", "Web":"abcdef.com"}, "j2codeConfig": {"multiWordsName": "teacher", "folderStructureLevels": 3 } 
}    

Courses

Sample JSON record for a course in a school management system. It includes course details such as code, name, specialty, level, size, and description.


{
"Code":"History2", "Name":"Histroy Intermediate","Specialty":"History", "Level":"Intermediate", "Size":"Large", "Active":true, "Description":"ABC", "j2codeConfig": {"multiWordsName": "course" , "folderStructureLevels": 4} 
}    

Rooms

Sample JSON record for a classroom in a school management system. It includes room details such as code, name, capacity, and address.


{
  "Code":201, "Name": "Jeremi", "Active": true, "Capacity": "Large",
  "AddressLine1": "Legal House", "AddressLine2": "123 Floradel Street, Chippendale", "Suburb": "Tenlipu", "j2codeConfig": {"multiWordsName": "class, room", "folderStructureLevels": 2} 
}    

Coaching School Classes

Sample JSON record for a class in a school management system. It includes class details such as code, name, course, room, students, teacher, schedule, duration, and weeks.


{
  "Code":201001, "Name": "Math Advanced Large", "Active": true, "Course": "Math Advanced", "Room": "R201",
  "Students": ["aaaa", "bbbb"], "Teacher": "aaaa", "StartDateTime": "2024-10-10T08:30", "Hours": "Two Hours", "Weeks": 12, "j2codeConfig": {"multiWordsName": "Coaching, School, Class" } 
}

Products

Sample JSON record for a product in an appliance store management system. It includes product details such as category, code, model, make, price, and specifications.


{ "Category":"Electronics", "Code": "VB2003", "Model":"TV12", "Make": "Toshiba", "Price": 3050, "Specifications": {"Width":56,"Height":21,"Depth":21,"Weight":22}, "j2codeConfig": {"multiWordsName": "product"} 
}    

Stores

Sample JSON record for a store in an appliance store management system. It includes store details such as name, phone, managers, address, and comments.


{ "Name": "Canberra", "Phone": "(02) 6224 9500", "Managers": ["Bob", "Steven", "David"],
  "Address": {"Address1": "Canberra Centre", "Address2": "148 Bunda Street", "Suburb": "Canberra"}, "Comment": "ABC" 
}    

Contractors

Sample JSON record for a contractor in an appliance store management system. It includes contractor details such as code, name, mobile, phone, address, and comments.


{ "Code": "1001", "Name":"John Smith","Mobile": "0311 4567 8901", "Phone":"212 555-1234",
  "Address": {"Address1": "Flat 5", "Address2": "148 Bunda Street", "Suburb":"New York"}, "Comment": "ABC", "j2codeConfig": {"multiWordsName": "contractor"}
}    

Delivery for Appliance Stores

Sample JSON record for a delivery in an appliance store management system. It includes delivery details such as product, store, contractor, customer, address, start date and time, status, and comments.


{ "Product": "VB2003", "Store": "Canberra", "Contractor": "1001",
  "Customer": {"Name": "Mary", "Phone": "(02) 6224 9500", "Comment": "ABC" },
  "Address": { "Address1": "Flat 5", "Address2": "148 Bunda Street", "Suburb": "Canbe" },
  "StartDateTime": "2024-10-09T15:30", "Status": "In Progress", "Comment": "ABC" , "j2codeConfig": {"multiWordsName": "delivery, record"}
}    

Project Diary Record

Sample JSON record for a project diary in a project management system. It provides an object hierarchy documenting projects and tracking their development progress


{
"Code":"abcdef","Name":"abcdef","Description":"abcdef","Status":"abcdef","Comment":"abcdef", "Updated": "2024-10-09",
"Structure": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef"}],
"Design": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef"}],
"Feature": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef", "Urgency": "abc", "Status":"abcdef","Comment":"abcdef", "Updated": "2024-10-09",
    "Approach": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef","Status":"abcdef","Comment":"abcdef", "Updated": "2024-10-09",
        "Task": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef", "Urgency": "abc", "Status":"abcdef","Comment":"abcdef", "Updated": "2024-10-09"}],
        "Issue": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef", "Severeness": "abc", "Duplicable": false, "Status":"abcdef","Comment":"abcdef", "Updated": "2024-10-09"}]
    }]
}],
"Bug": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef","Severeness": "abc", "Duplicable": false, "Status":"abcdef","Comment":"abcdef", "Updated": "2024-10-09"}],
"Reference": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef", "Category": "Web Site"}],
"Document": [{"Code":"abcdef","Name":"abcdef","Description":"abcdef"}], "j2codeConfig": {"multiWordsName": "Project, Diary, Record" } 
}

Contact Person List

Sample JSON record for a contact person in a business management system. It includes personal details, address, contact information, aliases, start date, category, status, comments, extensions, and correspondences.


{
    "Title": "Ms",
    "FirstName": "Jeremi",
    "MiddleName": "",
    "LastName": "Harris",
    "Gender": "F",
    "j2codeConfig_Gender": {
        "selectorConfig": {
            "selectorViewType": "SelectSingle",
            "selectorOptionSource": "ValueArray",
            "optionValueArrayName": "personGenderNames"
        }
    },
    "DOB": "2010-11-25",
    "ReferenceHistory": "three awards",
    "j2codeConfig_ReferenceHistory": {
        "dataTypeCode": "LongString"
    },
    "Address": {
        "AddressLine1": "Legal House",
        "AddressLine2": "123 Floradel Street, Chippendale",
        "Suburb": "Tenlipu",
        "State": "ABC",
        "Postcode": "ABC",
        "Country": "ABC"
    },
    "Contact": {
        "Phone": "12345678",
        "Category": ["Relative"],        
        "j2codeConfig_Category": {
            "dataTypeCode": "ArrayString",
            "selectorConfig": {
                "selectorViewType": "CheckboxList",
                "selectorOptionSource": "ValueArray",
                "optionValueArrayName": "contactPersonCategoryNames"
            }
        }, 
        "Web": "abcdef.com",
        "Email": "abcdef@abcdef.com",
        "Mobile": "012345678"
    },
    "Alias": [
        "Ghost",
        "Shadow"
    ],
    "StartDate": "2002-10-01",
    "Category": "Business Client",
    "Status": "Active",
    "Comment": "long string",
    "Extensions": [
        {
            "Type": "Daughter",
            "Name": "Katricia",
            "Comment": "Long string"
        }
    ],
    "Correspondences": [
        {
            "Way": "Encounter",
            "Venue": "Shopping mall",
            "Datetime": "2012-09-09T09:45 AM",
            "Comment": "long string"
        }
    ],
    "j2codeConfig": {
        "multiWordsName": "contact, people, rank",
        "folderStructureLevels": 2,
        "selectorOptionArraysContainer": {
            "valueArrays": {
                "personGenderNames": [
                    "Man",
                    "Woman",
                    "Unknown"
                ]
            }
        },
        "javascriptFunctionsContainer": {
            "sum": "function sum(...args) {let sum = 0; for (let arg of args) sum += arg;return sum;}", 
            "findMax": "function findMax() {let max = -Infinity; for (let i = 0; i < arguments.length; i++) {if (arguments[i] > max) { max = arguments[i];} } return max; }"
        }
    },
    "j2codeConfig_Contact": {
        "multiWordsName": "contact, body, small"
    }
}

Generate text files only and generated code follows MIT licenses

© 2025 j2code.app - All Rights Reserved - version 2.0.1