ShtukbaseStandard
package file→ .shtukbase/packages/lenses/kit/examples/ontology.lens.md

kit/examples/ontology.lens.md

35 lines, 1.5 KB.

  1. ---
  2. type: Lens
  3. title: Base ontology
  4. icon: "🧬"
  5. description: "Which record types the base has, how many of them, and by which fields they link to each other"
  6. template: types
  7. skipTypes: [Collection, Contour, Phase, Page, Lens, Project]
  8. skipFields: [sourceDocs, sourceMeetings]
  9. layout:
  10. columns: "250px 250px 520px 270px"
  11. stacks:
  12. - [business]
  13. - [deal]
  14. - [product]
  15. - [ops, decisions, questions, research, executor, work, documents]
  16. layers:
  17. - {id: business, title: Business, hint: how the customer is organized, color: green}
  18. - {id: deal, title: Deal, hint: terms and course of work, color: orange}
  19. - {id: product, title: Product, hint: what we build, color: blue, columns: 2}
  20. - {id: ops, title: Operations, color: teal}
  21. - {id: decisions, title: Decisions, color: purple}
  22. - {id: questions, title: Questions, color: pink}
  23. - {id: research, title: Research, color: brown}
  24. - {id: documents, title: Documents, color: gray}
  25. - {id: work, title: Work, color: yellow}
  26. - {id: executor, title: Contractor, color: red}
  27. ---
  28. Record types by the base's layers. The number on a card is how many records of this type there are.
  29. An arrow from type A to type B means: records of A have a field with a link to records of B.
  30. The arrow's label is the field names and how many such links there are in all.
  31. Links to source documents and meetings (`sourceDocs`, `sourceMeetings`) are not drawn: there are too many.
  32. Click a type — the collection opens with its description, fields and the list of records.