dot_notation_to_schema_pointer

Function dot_notation_to_schema_pointer 

Source
pub fn dot_notation_to_schema_pointer(path: &str) -> String
Expand description

Convert dotted path to JSON Schema pointer format

This is used for schema paths where properties are nested under /properties/

Examples:

  • “illustration.insured.name” -> “#/illustration/properties/insured/properties/name”
  • “header.form_number” -> “#/header/properties/form_number”
  • “#/already/formatted” -> “#/already/formatted” (no change)