The get_entity_prototype method is used to retrieve an object JSON schema, which will be used to map one entity to another on the Apination web interface

See json-schema.org for schema implementation details

cn_app_get_{entity}_prototype

Expected Response

{
    "data": {
        "title": "Entity Name",
        "type": "object",
        "properties": {
            "simpleField": {
                "title": "User-facing field name",

                // string, number, integer, boolean, object, array, date-time, email, hostname, uri
                // see http://json-schema.org/latest/json-schema-validation.html for the full list of supported data types
                "type": "string",
                
                // a hint description that will be shown to a user 
                // (e.g. a list of supported values, phone number format, etc.)
                "description": "One of: option1, option2, option3"
            },
            "complexField": {
                "title": "User-facing field name",
                "type": "object",
                "properties": {
                    // inner properties...
                },
                "required": [
                    // a list of required inner properties
                ]
            }
            // other root-level fields...
        },
        "required": [
            "simpleField"
        ]
    }
}