{# Copyright 2022 Karlsruhe Institute of Technology # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #} {% extends "templates/manage_template_base.html" %} {% block breadcrumbs %} {{ super() }} {% snippet "snippets/breadcrumb.html", url=url_for("templates.view_template", id=template.id), title=template.title %} {% snippet "snippets/breadcrumb.html", url=url_for("templates.export_template", id=template.id, export_type=export_type), title=title %} {% endblock %} {% block content %} {% snippet "templates/snippets/back_to_template.html", template=template, tab="overview" %}
{% if export_type == const.EXPORT_TYPE_JSON_SCHEMA %} {% trans %} Note that only the extra metadata of the template data is exported and that the presence and order of properties are not enforced. Furthermore, units for numeric values are added as an additional keyword to each property. {% endtrans %}
{% elif export_type == const.EXPORT_TYPE_SHACL %} {% trans a_open='' .format(const.URL_AIMS) | safe, a_close="" | safe %} The exported SHACL aims to be compatible with the structure supported by the {{ a_open }}AIMS{{ a_close }} application profile editor. Note that only the extra metadata of the template data is exported and that list values are handled using their indices as identifiers. {% endtrans %}
{% endif %}
{% endblock %}