Skip to content

Define mandatory field with checker rules? #750

Closed
@ClemensLinnhoff

Description

@ClemensLinnhoff

Describe the problem

As indicated by section 2.2.1 of the OSI documentation:

For the purpose of providing a complete interface, all existing fields should be set, unless not setting a field carries a specific meaning, as indicated in the accompanying comment.

The general case in the industry is however, that not all fields are set. It is completely up to the users, which fields to set in the interface.

Ask your question

Should some fields be marked as mandatory in any case? For example the version or the timestamp? If so, I propose to write this into the documentation of the respective field in machine readable form, so a checker can parse this as a rule, analog to rules like is_greater_than_or_equal_to.

Metadata

Metadata

Assignees

Labels

QuestionGeneral questions about the standard, work-flow and code.ReadyForCCBReviewIndicates that this MR is ready for a final review and merge by the CCB.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions