{# Resolve reference #} {%- set property, property_path, current_path, is_recursive = (property | resolve_ref(schema, property_path, current_path, link_to_reused_ref)) -%} {%- set suffix = property_name -%} {%- if parent != "" -%} {%- set suffix = parent ~ "__" ~ suffix -%} {%- endif -%} {%- if named_property -%} {%- set suffix = suffix | escape_property_name_for_id -%} {%- else -%} {%- set suffix = parent | generate_id_for_pattern_property(current_id) -%} {%- if "title" in property -%} {%- set property_title = property['title'] -%} {%- else -%} {%- set property_title = property_name -%} {%- endif -%} {%- endif -%} {%- set is_required = property_name in required_properties -%}

{%- set _none = current_path | record_path_id(property_path, suffix) -%}

{{ content(suffix, property_name, property, property_path, current_path, named_property) }}