{
  "landmarkDefinitions": {
    "S":   { "lm_id": "S",   "lm_name": "Sella",                "lm_type": "skeletal" },
    "N":   { "lm_id": "N",   "lm_name": "Nasion",               "lm_type": "skeletal" },
    "Or":  { "lm_id": "Or",  "lm_name": "Orbitale",             "lm_type": "skeletal" },
    "Po":  { "lm_id": "Po",  "lm_name": "Porion",               "lm_type": "skeletal" },
    "ANS": { "lm_id": "ANS", "lm_name": "Ant. Nasal Spine",     "lm_type": "skeletal" },
    "PNS": { "lm_id": "PNS", "lm_name": "Post. Nasal Spine",    "lm_type": "skeletal" },
    "Ar":  { "lm_id": "Ar",  "lm_name": "Articulare",           "lm_type": "skeletal" },
    "Go":  { "lm_id": "Go",  "lm_name": "Gonion",               "lm_type": "skeletal" },
    "Gn":  { "lm_id": "Gn",  "lm_name": "Gnathion",             "lm_type": "skeletal" },
    "Me":  { "lm_id": "Me",  "lm_name": "Menton",               "lm_type": "skeletal" },
    "Pg":  { "lm_id": "Pg",  "lm_name": "Pogonion",             "lm_type": "skeletal" },
    "A":   { "lm_id": "A",   "lm_name": "Point A",              "lm_type": "skeletal" },
    "B":   { "lm_id": "B",   "lm_name": "Point B",              "lm_type": "skeletal" },
    "U1_apex": { "lm_id": "U1_apex", "lm_name": "Upper Incisor Apex", "lm_type": "dental" },
    "U1_tip":  { "lm_id": "U1_tip",  "lm_name": "Upper Incisor Tip",  "lm_type": "dental" },
    "L1_apex": { "lm_id": "L1_apex", "lm_name": "Lower Incisor Apex", "lm_type": "dental" },
    "L1_tip":  { "lm_id": "L1_tip",  "lm_name": "Lower Incisor Tip",  "lm_type": "dental" },
    "G'":  { "lm_id": "G'",  "lm_name": "Glabella",             "lm_type": "soft" },
    "N'":  { "lm_id": "N'",  "lm_name": "Soft Nasion",          "lm_type": "soft" },
    "Prn": { "lm_id": "Prn", "lm_name": "Pronasale",            "lm_type": "soft" },
    "Sn":  { "lm_id": "Sn",  "lm_name": "Subnasale",            "lm_type": "soft" },
    "Ls":  { "lm_id": "Ls",  "lm_name": "Labrale Superius",     "lm_type": "soft" },
    "Stms":{ "lm_id": "Stms","lm_name": "Stomion Superius",     "lm_type": "soft" },
    "Stmi":{ "lm_id": "Stmi","lm_name": "Stomion Inferius",     "lm_type": "soft" },
    "Li":  { "lm_id": "Li",  "lm_name": "Labrale Inferius",     "lm_type": "soft" },
    "Pog'":{ "lm_id": "Pog'","lm_name": "Soft Pogonion",        "lm_type": "soft" },
    "Me'": { "lm_id": "Me'","lm_name": "Soft Menton",           "lm_type": "soft" }
  },
  "calibration": {
    "pixelSpacing": { "x": 0.1, "y": 0.1 },
    "calibration_factor": 0.027,
    "units": "mm",
    "method": "scale_marker"
  },
  "traceDefinitions": [
    {
      "id": "trace_sn_plane",
      "name": "Sella–Nasion (SN) Plane",
      "points": [
        { "lm_id": "S", "lm_name": "Sella" },
        { "lm_id": "N", "lm_name": "Nasion" }
      ],
      "style": { "stroke": "black", "strokeWidth": 2, "strokeDasharray": [4, 2] },
      "technique": "line",
      "isReferencePlane": true,
      "category": "skeletal",
      "active": "Y"
    },
    {
      "id": "trace_fh_plane",
      "name": "Frankfort Horizontal (FH) Plane",
      "points": [
        { "lm_id": "Po", "lm_name": "Porion" },
        { "lm_id": "Or", "lm_name": "Orbitale" }
      ],
      "style": { "stroke": "black", "strokeWidth": 2, "strokeDasharray": [4, 2] },
      "technique": "line",
      "isReferencePlane": true,
      "category": "skeletal",
      "active": "Y"
    },
    {
      "id": "trace_mandibular_plane",
      "name": "Mandibular Plane (Go–Me)",
      "points": [
        { "lm_id": "Go", "lm_name": "Gonion" },
        { "lm_id": "Me", "lm_name": "Menton" }
      ],
      "style": { "stroke": "green", "strokeWidth": 2, "strokeDasharray": [4, 2] },
      "technique": "line",
      "isReferencePlane": true,
      "category": "skeletal",
      "active": "Y"
    },
    {
      "id": "trace_palatal_plane",
      "name": "Palatal Plane (ANS–PNS)",
      "points": [
        { "lm_id": "ANS", "lm_name": "Ant. Nasal Spine" },
        { "lm_id": "PNS", "lm_name": "Post. Nasal Spine" }
      ],
      "style": { "stroke": "orange", "strokeWidth": 2, "strokeDasharray": [4, 2] },
      "technique": "line",
      "isReferencePlane": true,
      "category": "skeletal",
      "active": "Y"
    },
    {
      "id": "trace_cranial_base",
      "name": "Cranial Base (S–N–Fr)",
      "points": [
        { "lm_id": "S", "lm_name": "Sella" },
        { "lm_id": "N", "lm_name": "Nasion" },
        { "lm_id": "Fr", "lm_name": "Frontal" }
      ],
      "style": { "stroke": "black", "strokeWidth": 1 },
      "technique": "line",
      "isReferencePlane": false,
      "category": "skeletal",
      "active": "N"
    },
    {
      "id": "trace_mandible_contour",
      "name": "Mandible Contour",
      "points": [
        { "lm_id": "Ar", "lm_name": "Articulare" },
        { "lm_id": "Go", "lm_name": "Gonion" },
        { "lm_id": "Gn", "lm_name": "Gnathion" },
        { "lm_id": "Me", "lm_name": "Menton" },
        { "lm_id": "Pg", "lm_name": "Pogonion" },
        { "lm_id": "B", "lm_name": "Point B" },
        { "lm_id": "A", "lm_name": "Point A" }
      ],
      "style": { "stroke": "green", "strokeWidth": 2 },
      "technique": "bezier",
      "isReferencePlane": false,
      "category": "skeletal",
      "active": "Y"
    },
    {
      "id": "trace_hard_palate",
      "name": "Hard Palate (Nasal Floor)",
      "points": [
        { "lm_id": "ANS", "lm_name": "Ant. Nasal Spine" },
        { "lm_id": "PNS", "lm_name": "Post. Nasal Spine" }
      ],
      "style": { "stroke": "brown", "strokeWidth": 2 },
      "technique": "bezier",
      "isReferencePlane": false,
      "category": "skeletal",
      "active": "N"
    },
    {
      "id": "trace_upper_incisor_axis",
      "name": "Upper Incisor Axis",
      "points": [
        { "lm_id": "U1_apex", "lm_name": "Upper Incisor Apex" },
        { "lm_id": "U1_tip", "lm_name": "Upper Incisor Tip" }
      ],
      "style": { "stroke": "red", "strokeWidth": 2 },
      "technique": "line",
      "isReferencePlane": false,
      "category": "dental",
      "active": "Y"
    },
    {
      "id": "trace_lower_incisor_axis",
      "name": "Lower Incisor Axis",
      "points": [
        { "lm_id": "L1_apex", "lm_name": "Lower Incisor Apex" },
        { "lm_id": "L1_tip", "lm_name": "Lower Incisor Tip" }
      ],
      "style": { "stroke": "blue", "strokeWidth": 2 },
      "technique": "line",
      "isReferencePlane": false,
      "category": "dental",
      "active": "Y"
    },
    {
      "id": "trace_occlusal_plane",
      "name": "Occlusal Plane",
      "points": [
        { "lm_id": "U1_tip", "lm_name": "Upper Incisor Tip" },
        { "lm_id": "L1_tip", "lm_name": "Lower Incisor Tip" }
      ],
      "style": { "stroke": "brown", "strokeWidth": 2, "strokeDasharray": [4, 2] },
      "technique": "line",
      "isReferencePlane": true,
      "category": "dental",
      "active": "Y"
    },
    {
      "id": "trace_soft_tissue_profile",
      "name": "Soft Tissue Profile",
      "points": [
        { "lm_id": "G'", "lm_name": "Glabella" },
        { "lm_id": "N'", "lm_name": "Soft Nasion" },
        { "lm_id": "Prn", "lm_name": "Pronasale" },
        { "lm_id": "Sn", "lm_name": "Subnasale" },
        { "lm_id": "Ls", "lm_name": "Labrale Superius" },
        { "lm_id": "Stms", "lm_name": "Stomion Superius" },
        { "lm_id": "Stmi", "lm_name": "Stomion Inferius" },
        { "lm_id": "Li", "lm_name": "Labrale Inferius" },
        { "lm_id": "Pog'", "lm_name": "Soft Pogonion" },
        { "lm_id": "Me'", "lm_name": "Soft Menton" }
      ],
      "style": { "stroke": "purple", "strokeWidth": 2 },
      "technique": "spline",
      "isReferencePlane": false,
      "category": "soft",
      "active": "Y"
    },
    {
      "id": "trace_s_line",
      "name": "Steiner’s S‑Line",
      "points": [
        { "lm_id": "Sn", "lm_name": "Subnasale" },
        { "lm_id": "Pog'", "lm_name": "Soft Pogonion" }
      ],
      "style": { "stroke": "magenta", "strokeWidth": 2, "strokeDasharray": [4, 2] },
      "technique": "line",
      "isReferencePlane": true,
      "category": "soft",
      "active": "N"
    }
  ],
  "controlPoints": {},
  "drawingOrder": [
    "trace_mandible_contour",
    "trace_soft_tissue_profile",
    "trace_sn_plane",
    "trace_occlusal_plane"
  ],
  "defaultVisible": [
    "trace_sn_plane",
    "trace_mandible_contour",
    "trace_occlusal_plane"
  ]
}
