# Poney v0.1.0 - Table of Contents > The Poney format in Elixir: read, check and walk Poney documents (software explained in diagrams), as the specification says. ## Pages - [Poney for Elixir](readme.md) - [Walkthroughs](walkthroughs.md) - [Conformance](conformance.md) - [Changelog](changelog.md) ## Modules - Reading - [Poney](Poney.md): The Poney format in Elixir: read and check Poney documents, as the [specification](https://github.com/hattoriai/poney/blob/main/spec/SPEC.md) says. - [Poney.InvalidDocumentError](Poney.InvalidDocumentError.md): Raised by `Poney.read!/1` when a document has errors. `issues` lists them all. - [Poney.Issue](Poney.Issue.md): One problem in a document. - [Poney.Ref](Poney.Ref.md): A reference to one element of a document, as walkthroughs write it (§5.8): `":"`, `"::"` for the parts of a behavior, `"group::"` for a group of a view, and `"dataType:#"` for a field. - Document - [Poney.Document](Poney.Document.md): A Poney document in its canonical form (§3): one model of a system, its views, its walkthroughs and its presentation. Every default is filled in, and views written inside walkthrough scenes are in `views`, so a scene's `view` is always the id of one. - [Poney.ExtensionUse](Poney.ExtensionUse.md): An extension a document uses (§8.1). A reader that does not know a required one refuses the document. - [Poney.Presentation](Poney.Presentation.md): How things look (§7), apart from what they mean: a style for each entity kind and relationship kind, and overrides by element and by view. - [Poney.Presentation.KindStyle](Poney.Presentation.KindStyle.md): The style of an entity kind: a shape, a tone, a Lucide icon name and a label. - [Poney.Presentation.LineStyle](Poney.Presentation.LineStyle.md): The style of a relationship kind: a pattern and the marker at its target end. - [Poney.Presentation.Override](Poney.Presentation.Override.md): A style override for one element. - [Poney.Project](Poney.Project.md): What a document describes (§3.2). `default_view` is the id of the view to open first. - Model - [Poney.Model](Poney.Model.md): The semantic model (§5): what the software is, independent of any diagram. - [Poney.Model.Activity](Poney.Model.Activity.md): A UML activity (§5.6.2): actions, decisions and the flows between them. - [Poney.Model.ActivityFlow](Poney.Model.ActivityFlow.md): A flow between two nodes of an activity, with an optional guard. - [Poney.Model.ActivityNode](Poney.Model.ActivityNode.md): A node of an activity. `performed_by` is the entity that does it: its swimlane. - [Poney.Model.Behavior](Poney.Model.Behavior.md): A behavior (§5.6), by its `"kind"`: an interaction (`Poney.Model.Interaction`), an activity (`Poney.Model.Activity`) or a state machine (`Poney.Model.StateMachine`). - [Poney.Model.Branch](Poney.Model.Branch.md): A branch of a fragment: its guard and its steps. - [Poney.Model.DataFlow](Poney.Model.DataFlow.md): Data moving from one entity to another (§5.5). `via` is the relationship that carries it, when one does. - [Poney.Model.DataRelation](Poney.Model.DataRelation.md): A relation between two data types (§5.4), with crow's foot ends such as `"exactly-one"`. `logical` relations cross a service boundary and have no database constraint. - [Poney.Model.DataType](Poney.Model.DataType.md): A table, record, event or document (§5.3), with its fields, its owner and where it is stored. - [Poney.Model.Entity](Poney.Model.Entity.md): A part of the software (§5.1): a person, a system, a service, a database… `kind` is a core kind such as `"service"`, or an extension's, such as `"ownership/team"`. `parent` names the entity it is inside. - [Poney.Model.Field](Poney.Model.Field.md): A field of a data type (§5.3). `references` is its foreign key, when it has one. - [Poney.Model.ForeignKey](Poney.Model.ForeignKey.md): The data type and field a foreign key points at. - [Poney.Model.Fragment](Poney.Model.Fragment.md): A combined fragment of an interaction (`"alt"`, `"opt"`, `"loop"` or `"par"`), with its branches. - [Poney.Model.Interaction](Poney.Model.Interaction.md): A UML interaction (§5.6.1): participants, left to right, and the messages between them, in order. - [Poney.Model.Message](Poney.Model.Message.md): A message of an interaction: `kind` is `"call"`, `"return"`, `"async"` or `"self"`. - [Poney.Model.Relationship](Poney.Model.Relationship.md): How one entity uses another (§5.2), such as `"calls"` or `"publishes"`. `data` lists the data types that travel along it. - [Poney.Model.SourceRef](Poney.Model.SourceRef.md): Where an element is in the code: a path in the repository, and optionally a line and a symbol. - [Poney.Model.State](Poney.Model.State.md): A state of a state machine: `kind` is `"initial"`, `"state"` or `"final"`. - [Poney.Model.StateMachine](Poney.Model.StateMachine.md): A state machine (§5.6.3): the lifecycle of `subject`, owned by `owner`. - [Poney.Model.Step](Poney.Model.Step.md): A step of an interaction, by its `"type"`: a message (`Poney.Model.Message`) or a combined fragment (`Poney.Model.Fragment`). - [Poney.Model.Transition](Poney.Model.Transition.md): A transition between two states, on an event, with an optional guard and actions. - [Poney.Model.UseCase](Poney.Model.UseCase.md): A UML use case (§5.7): something an actor does with the system. - Views - [Poney.View](Poney.View.md): A view (§6): which part of the model one diagram shows, and how it is organized. Each type has its own struct; `type` holds the format's name for it. - [Poney.View.Activity](Poney.View.Activity.md): An activity diagram of one activity. - [Poney.View.Architecture](Poney.View.Architecture.md): An architecture view (§6): entities, the relationships between them, groups, and containers drawn closed. - [Poney.View.DataFlow](Poney.View.DataFlow.md): A data flow diagram of some data flows. - [Poney.View.Dependency](Poney.View.Dependency.md): A dependency diagram: entities in layers, top to bottom. - [Poney.View.Erd](Poney.View.Erd.md): An entity relationship diagram of some data types. - [Poney.View.Extension](Poney.View.Extension.md): A view whose type an extension defines (§8.3): `extension` names it as `"/"`, and `data` is the extension's. - [Poney.View.Group](Poney.View.Group.md): A group of entities in a view: a zone in an architecture view, a layer in a dependency view. - [Poney.View.Map](Poney.View.Map.md): A map (§6): a small, composed picture of how a dozen entities connect, for one explanation. Walkthrough scenes use it most. - [Poney.View.Sequence](Poney.View.Sequence.md): A sequence diagram of one interaction. - [Poney.View.State](Poney.View.State.md): A state diagram of one state machine. - [Poney.View.UseCase](Poney.View.UseCase.md): A use case diagram. - Walkthroughs - [Poney.Scene](Poney.Scene.md): A scene of a walkthrough: the point of it in plain words (`text`), the view it shows (`view`, an id; `nil` for a scene of code only), what to keep bright (`focus`), numbered notes on elements (`callouts`), the code, the proof, a path to play (`trace`), and emphasis by meaning (`effects`, `badges`). Refs are text, such as `"entity:order-service"`; see `Poney.Ref`. - [Poney.Scene.Badge](Poney.Scene.Badge.md): A short fact pinned on an element: a count, a latency, a size. - [Poney.Scene.Callout](Poney.Scene.Callout.md): A numbered note on an element, in reading order. - [Poney.Scene.Case](Poney.Scene.Case.md): What the code does in one case. - [Poney.Scene.CodeBlock](Poney.Scene.CodeBlock.md): Code to read, as diff hunks. An excerpt of a file as it is becomes one hunk of unchanged (`"ctx"`) lines. `notes` sit under a line, by its new line number. - [Poney.Scene.DiffLine](Poney.Scene.DiffLine.md): A line of a diff: `kind` is `"add"`, `"del"` or `"ctx"`; `old` and `new` are its line numbers on each side. - [Poney.Scene.Effect](Poney.Scene.Effect.md): What a reader must see on an element, by meaning: `"flow"`, `"attention"`, `"hot-path"`, `"slow"`, `"failing"` or `"blocked"`. - [Poney.Scene.Hunk](Poney.Scene.Hunk.md): A hunk of a diff. - [Poney.Scene.Note](Poney.Scene.Note.md): A note under a line of code. - [Poney.Scene.Proof](Poney.Scene.Proof.md): Evidence: a test, a check, a run. `missing` marks proof that does not exist yet. - [Poney.Scene.TraceStep](Poney.Scene.TraceStep.md): One step of a path the reader can play: a line, a message, a transition, or a box to stop at. - [Poney.Walkthrough](Poney.Walkthrough.md): A walkthrough (§5.8): a story that explains one change (`kind: "change"`), or a tour of code as it is (`kind: "tour"`). Its scenes come in reading order. `marks` say what the change adds, changes or removes; `removed` holds the elements the change removes, to draw them as they were. - [Poney.Walkthrough.Fact](Poney.Walkthrough.Fact.md): A fact of a verdict: a label and a value. - [Poney.Walkthrough.Finding](Poney.Walkthrough.Finding.md): What a reviewer found: a `"risk"` to weigh or a `"note"`. `scene` is where it shows. - [Poney.Walkthrough.Mark](Poney.Walkthrough.Mark.md): A mark: the element `ref` is `"new"`, `"changed"` or `"removed"` in the change. - [Poney.Walkthrough.Removed](Poney.Walkthrough.Removed.md): The elements a change removes, as they were. - [Poney.Walkthrough.RemovedTransition](Poney.Walkthrough.RemovedTransition.md): A transition a change removes, with its state machine. - [Poney.Walkthrough.Source](Poney.Walkthrough.Source.md): Where a change or a tour comes from: a merge request, a commit, a repository. - [Poney.Walkthrough.Story](Poney.Walkthrough.Story.md): What changes for a person (a change, with `before` and `after`), or what the code is for (a tour). - [Poney.Walkthrough.Verdict](Poney.Walkthrough.Verdict.md): The reviewer's verdict: a risk (`"look"` or `"routine"`), facts, and findings. ## Mix Tasks - [mix poney.release_check](Mix.Tasks.Poney.ReleaseCheck.md): Checks the repository before a release of Poney. - [mix poney.spec](Mix.Tasks.Poney.Spec.md): Copies the files that define the Poney format from a release of Poney.