Entity

Schema

id (int, computed, immutable)

ID of the entity.

module (string)

Module identifier of the entity.

client (Entity, default = ) (optional)

Client of the entity.

fields (object(schema), default = []) (optional)

List of field attributes.

Schema: generated from the module’s fields during planning phase.

Examples

Invoice entity

[
  {
    "resource_entity": "invoice",
    "resource": {
      "module": "invoices",
      "fields": {
        "dueDate": "2069-06-09",
        "positions": [
          {
            "amount": 10,
            "product": {
              "id": "${resource_entity.pretzel.id}"
            }
          }
        ]
      }
    }
  }
]