Skip to content

Commit 5bbac62

Browse files
authored
Merge pull request OpenAssetIO#54 from foundrytom/work/versionsDocUpdates
[Traits] Clarify canonical use of version related traits
2 parents 3da0b7c + 1cca6d9 commit 5bbac62

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

traits.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,10 @@ traits:
134134
135135
136136
If the reference itself does not contain a version
137-
specifier and relies on dynamic behaviour, then this should
138-
be left empty.
137+
specifier and relies on dynamic behaviour, this will be
138+
set to a tag that produces equivalent behaviour. This can
139+
then be used for user presentation or as a filter with a
140+
relationship query.
139141
stableTag:
140142
type: string
141143
description: >
@@ -144,9 +146,9 @@ traits:
144146
145147
146148
If, for example, references without an explicit version
147-
yield the most recent, then this should be set to
149+
yield the most recent, then this would be set to
148150
the tag of that version. When referencing some other
149-
semantic state (eg. approval), this should be set to the
151+
semantic state (eg. approval), this would be set to the
150152
tag of the concrete version that matches the specific
151153
state.
152154
@@ -160,7 +162,7 @@ traits:
160162
Stable:
161163
description: >
162164
Defines that the entity references returned from a
163-
relationship query with this trait should be devoid of any
165+
relationship query with this trait must be devoid of any
164166
dynamic behaviour. This includes concepts such as
165167
meta-versioning or context-specific variation that results
166168
logically different data being supplied.
@@ -278,6 +280,8 @@ specifications:
278280
description: >
279281
A relationship between alternate versions of the same logical
280282
entity. This may include unstable versions such as "latest".
283+
Results will be ordered with the most relevant first. This
284+
is usually reverse chronological order.
281285
traitSet:
282286
- namespace: usage
283287
name: Relationship

0 commit comments

Comments
 (0)