Skip to content

Document the RULE object's annotation keys - #154

Open
ronaldtse wants to merge 1 commit into
mainfrom
docs/rule-entity-ref-keys
Open

ronaldtse wants to merge 1 commit into
mainfrom
docs/rule-entity-ref-keys

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Summary

Documents the RULE object's annotation keys in the syntax guide, per TRThurman's answer on #153 ( prompted by metanorma/iso-10303#882):

  • the RULE entry was missing from the referable-objects list entirely;
  • its sub-keys (rule.wr:WR1 where rules, rule.ip:IP1 informal propositions, and rule.entity_ref_name entity refs) were undocumented;
  • the entity-ref form carries the terminology note TRThurman asked for (entity_ref, not "argument" — rules don't have arguments) and the constraint that a global rule applies to all instances of each entity ref, so per-entity-ref text is not permitted by the standard: the key exists for computer-generated descriptions only, per the shape_elements_are_acyclic.Shape_element precedent in general_design_connectivity_arm.exp.

Test plan

  • Render check of the syntax guide (adoc → site) once CI/preview runs.

The RULE entry was missing from the referable-objects list, and its
sub-keys (where rules, informal propositions, entity refs) were
undocumented. The entity-ref form follows the general_design_connectivity_arm
precedent (TRThurman, on expressdocs-reference#153): a global rule
applies to all instances of each entity ref, so per-entity-ref text is
not permitted by the standard - the key exists for
computer-generated descriptions only.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant