blw-ofag-ufag / eCH-0261

eCH-0261 -- Agrardaten - Betriebs- und Unternehmensstammdaten
1 stars 0 forks source link

personWithFunctionType (reference to function) #21

Closed lars-steffen closed 7 months ago

lars-steffen commented 7 months ago

The personWithFunctionType contains a personIdentifier and a personFunction. Currently, the personFunction is of the data type personFunctionType. personFunctionType contains a code (xs:token, maxLength=50) and optionally a descriptor.

--> Is it OK that personWithFunctionType contains an element "personFunctionType" or should it rather reference only the code, i.e. an xs:token (maxLength=50)?

AFoletti commented 7 months ago

personFunctionType is to my understanding an external codelist. This makes in my opinion the integration of the whole element instead of just a code actually wrong.

See https://github.com/blw-ofag-ufag/eCH-0261/issues/11 for another open discussion on the same list.

lars-steffen commented 7 months ago

fixed with #22