Skip to content
Michi Gysel edited this page Dec 17, 2015 · 6 revisions

The entity is a pattern from Domain Driven Design.

Some objects are not defined primarily by their attributes. They represent a thread of identity that runs through time and often across distinct representations.

E. Evans. Domain-Driven Design: Tackling Complexity in the Heart of Software

We map entities to Identity & Lifecycle Commonality.

Sample file

{  
   "entities":[  
      {  
         "name":"Booking",
         "nanoentities":[  
            "Booking.bookingDate",
            "Booking.paymentDate",
            "Booking.totalPrice",
            "Booking.bookingState"
         ]
      }
   ]
}

JSON Schema to validate the file: ServiceCutter/JSON_Schemas/2_userReps.json

Online Validator: www.jsonschemavalidator.net

Relevant coupling criteria