betagouv / SPPNautCarting

First version of interface to manage nautic publication
European Union Public License 1.2
3 stars 4 forks source link

[ContactDetails.radiocommunications] Which attributes for radiocommunications bounded to ContactDetails? #273

Open JulieMoncorger opened 1 year ago

JulieMoncorger commented 1 year ago

In the XSD, radiocommunications has all these attributes :

  • categoryOfCommPref
  • categoryOfMaritimeBroadcast
  • categoryOfRadioMethods
  • communicationChannel
  • contactInstructions
  • signalFrequency
  • transmissionContent
  • frequencyPair
  • timeIntervalsByDayOfWeek

ContactDetails in XSD restricts it to some attributes:

When bound to ContactDetails, only the listed sub-attributes may be used:

  • communicationChannel
  • contactinstructions
  • frequencypair
  • categoryOfChannelOrFrequencyPreference (We think it meant categoryOfCommPref)
  • timeIntervalsByDayOfWeek

The PDF page 26 also mentions restrictions:

When used as an attribute of ContactDetails, the sub-attributes of radiocommunications are restricted to those shown in Figure 9

Following the PDF restrictions would discard: transmissionContent.

Following the XSD restrictions would discard: categoryOfMaritimeBroadcast, categoryOfRadioMethods, transmissionContent and signalFrequency.

For now, we chose to follow the XSD.

Questions: