You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{% for c in gen.all_class_objects()|sort(attribute=sort_by) -%}
{% if c.name == "mapping set" %}
{{gen.link(c)}}: {{c.description|enshorten}}
| Column/Field | Description | Required |
|--------------------|---------------------------------------------------------|-------------|
{%- for slot in c.slots %}
{%- set slot_info = schemaview.get_slot(slot) %}
| **{{ gen.link(slot) }}** | {{ slot_info.description | default("No description") }} | {% if slot_info.required | default(false) %}Required{% elif slot_info.recommended | default(false) %}Recommended{% else %}Optional{% endif %} |
{%- endfor %}
{%- endif %}
{%- endfor %}
To show a row in the overall table. schemaview.get_slot(slot) retrieves the general information about the slot, but I want to know the information about the slot in the context for c. So license is not required in general, but in the context of the mapping set class, it is.
In the description of the license element on https://mapping-commons.github.io/sssom/license/, it is stated as an optional element. However, in the "Induced" section at the bottom of https://mapping-commons.github.io/sssom/MappingSet/, the required property of the license element is set to true.
The text was updated successfully, but these errors were encountered: