Template Bases

Base structure

Device {
    "select":[  ver<1>  ] <ou> "select": “*”,

    "filters":
    [                 
        {
            "field":"  ver<2>  ",
            "term":"  ver<3>  ",
            "operation":"  ver<4>  "
        },

        {
            "field":"  ver<2>  ",
            "term":"  ver<3>  ",
            "operation":"  ver<4>  "
        }
    ],

    "literal": "  ver<5>  ",

    "limit" : "   ver<6>   ",

    "offset" : "  ver<6>  ",

    "order_by":{"asc":[  ver<1>   ], "desc":[  ver<1>   ]},

    "distinct":"true"
}

Base metadata

 
{ 
    "password": password, 
    "description": description, 
    "index_url": index_url, 
    "color": color, 
    "dt_base": dt_base, 
    "extract_time": extract_time, 
    "index_export": index_export, 
    "model": model, 
    "doc_extract": doc_extract, 
    "index_time": index_time, 
    "id_base": id_base, 
    "name": name,
    "txt_mapping": txt_mapping
} 

Content

[ ] 
    [ Structures ]

Structures

Field 
    Group 
    Field, Structures 
    Group, Structures

Field

{ 
    "field": { 
        "name": name, 
        "description": description, 
        "datatype": datatype, 
        "required": required, 
        "alias": alias, 
        "multivalued": multivalued, 
        "indices": indices 
    } 
} 

Group

{ 
    "group": { 
        "metadata": GroupMetadata, 
        "content": Content 
    } 
}

GroupMetadata

{ 
    "alias": alias, 
    "description": description, 
    "name": name, 
    "multivalued": multivalued 
} 

Name

    (String) Name of the object in question

Alias

    (String) Nickname of the object in question.

Description

    (String) Brief description of the object in question ..

Password

    (String) Base password.

txt_mapping

    (json) Configuration for textual indexing.

Index_url

    (string) Base index URL.

Color

    (string) Base Color (Hex Color Code).

dt_base

    (string) Date the database was created.

Extract_time

    Base text extraction time interval.

Index_export

    (boolean) Indicates the base indexing.

Model

    (object) Document template of the database.

Doc_extract

    (boolean) Indicates the extraction of testo from the base files.

Index_time

    (integer) Indexing interval time for base files.

Id_base

    (integer) Identifier of the base.

Multivalued

    (boolean) Indicates multi field valuation.

Datatype

    (string) Field type.

Required

    (boolean) Indicates an obligation to fill the field.

Indices

    (array) Array of Indices (string).