part.yml 856 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Part content type: a logical subdivision within an artifact.
  3. # Resources of this type may be used to build logical structures implemented
  4. # as linked lists.
  5. #
  6. # The `pas:first` property points to the first child in a
  7. # linked list nested inside the current resource. There may be any number of
  8. # linked list heads under the same Part, or none.
  9. #
  10. # The `pas:next` property points to the next sibling in a linked list. The
  11. # last item in a list is identified by the lack of this property.
  12. #
  13. # In a more complex hierarchy, any given Part may have both "first" and
  14. # "next" properties.
  15. ---
  16. id: "pas:Part"
  17. ls_code: Part
  18. label: Part
  19. broader: "pas:Anything"
  20. properties:
  21. "pas:first":
  22. label: First child
  23. type: resource
  24. range: ["pas:Part"]
  25. "pas:next":
  26. label: Next sibling
  27. type: resource
  28. range: ["pas:Part"]
  29. max_cardinality: 1