Bidjim

Description

Bidjim is a syntax used to describe :

  • Data models : Bidjim(odel) files

Bidji can be written in :

  • xml (by default)

Bidjim xml

Entity element

|Attribute  | Description           | Value               | Required      |
|-----------|-----------------------|---------------------|---------------|
|name       | entity name           |                     | yes           |
|persistance| storage system        |text,json,mysql,...  | no            |
|-----------|-----------------------|---------------------|---------------|
|Element    | Description           | Value               | Required      |
|-----------|-----------------------|---------------------|---------------|
|property   | entity properties     |                     | no            |

Property element

|Attribute  | Description           | Value               | Required      |
|-----------|-----------------------|---------------------|---------------|
|name       | property name         |                     | yes           |
|type       | property type         |String,TextArea,File | yes           |
|-----------|-----------------------|---------------------|---------------|

Example

<bidji>
<entity name="Foo" persistence="text">
<property name="input" type="File" />
<property name="content" type="String" />
</entity>
</bidji>