{# NOTICE #} {# This software was produced for the U.S. Government under contract FA8702-22-C-0001, #} {# and is subject to the Rights in Data-General Clause 52.227-14, Alt. IV (DEC 2007) #} {# ©2021 The MITRE Corporation. All Rights Reserved. #} {% extends "html-multi/base.html" %} {% block navbar %} {% include "html-multi/navbar.html" %} {% endblock navbar %} {% block sidebar %} {% set thispage=main_entity.qname %} {% include "html-multi/sidebar.html" %} {% endblock sidebar %} {% block bodycontent %} {% if main_entity_type == "shape" %} {% set each = main_entity %} {# each is a OntoShape object #} {# path to this shape #} {% set thispage="shapeinfo" %} {% include "html-multi/breadcrumbs.html" %} {# name of this shape, with "leaf node" if it has no children #}
{{each.uri}}
Instances of {{targetClass.qname}} can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|||||
---|---|---|---|---|---|---|---|---|
{{constraint.header}} | {% else %} {# THIS ROW CONTAINS ALL THE COLUMNS #}{# PROPERTY #} {% set prop = constraint.property_obj.onto_property %} {{prop.qname}} | {# MIN COUNT #} {{constraint.sh_minCount|join(", ")|default("0")}} | {# MAX COUNT #} {{constraint.sh_maxCount|join(", ")|default("*")}} | {# LOCAL TYPE #}
{% for value in constraint.sh_datatype %}
{% if value.onto_class %}
{{value.onto_class.qname}}
{% else %}
{{value.qname}}
{% endif %}
{% endfor %} {% for value in constraint.sh_class %} {% if value.onto_class %} {{value.onto_class.qname}} {% else %} {{value.qname}} {% endif %} {% endfor %} |
{% endif %}
{{each.rdf_source()|linebreaks}}