-
Notifications
You must be signed in to change notification settings - Fork 4
Models
Mikey edited this page Nov 1, 2017
·
18 revisions
- profile
- credentials
- relationships
- relationshipTypes
- name
- description
- avatar (image)
- banner (image)
- ?contact info (json)
- emails (home, work, etc)
- phone number (home, work, etc)
specific to Person profile: contact information specific to Group profile: banner
references: https://schema.org/Person, https://schema.org/Organization
- relationshipType
- source
- target
- name
- description
- location (or maybe instead we model "changes of location" once a resource is created)
- name
- description
- image
- resourceType
- quantity
- name
- description
- image
later:
- items (json array)
- resourceType
- quantity
example: a carton of 12 eggs
reference: http://www.qudt.org/
- value
- unit (each, kg, ...)
- resourceType
- priceSpecifications
- resourceType (via resourceTypeId)
- priceSpecs (via foreign productId)
- productId
- minimum
- price
- currency
- supplierAgentId
- consumerAgentId
- adminAgentId
unique per order, agent, product, priceSpec
An individual's desired order
- orderId
- agentId
- productId
- priceSpecId
- desiredQuantity
- minimumQuantity
- maximumQuantity
unique per order, agent, product, priceSpec
Like an invoice - the order that's going to be executed and sent to the supplier
- orderId
- agentId
- productId
- priceSpecId
- quantity
- name
- description
- ownerAgentId
- childTaskRecipes
- taskRecipeId
- parentTaskPlanId
- assignee (person or group or related agents (e.g. admins) being assigned)
- ? contextAgentId (group the task is within)
- ? due date (or range)
- taskRecipeId
- taskPlanId (optional)
- parentTaskWorkId
- workerAgentId
- ? done date (or range)