Skip to content
EN FR

Class declaration in YAML

Documentation status: reference — see Maturity and evidence.

class:
  name: Task
  classId: tsk#task
  type: Entity
  concepts:
    - name: Entity
      facets:
        - name: main
          type: hypergraph
          fields:
            - Title: String
            - Description:
                type: String
                nullable: true

Notes

  • classId is a stable public identity;
  • name must remain consistent with model references;
  • simple fields may use the compact Title: String form;
  • expanded forms preserve type when adding properties;
  • private implementation names must not appear in public examples.