export const MEASUREMENT_SOURCES = [
  'Manufacturer Verified Specification',
  'Workshop Physical Measurement',
  '3D Scan Measurement',
  'Customer-Reported Measurement',
  'Calculated Measurement',
  'Estimated Measurement',
  'Unknown',
];
export const VERIFIED_SOURCES = ['Manufacturer Verified Specification','Workshop Physical Measurement','3D Scan Measurement'];
export const VERIFICATION_STATUSES = ['Unknown','Requested','Entered','Needs verification','Verified manufacturer value','Verified workshop value','Verified scan value','Conflict detected','Superseded','Not applicable'];
export const CAD_BLOCKING_SOURCES = ['Estimated Measurement','Customer-Reported Measurement','Unknown'];

export const MANUFACTURER_SPEC_FIELDS = [
  ['product_type','Product type','text'],['mobility_grade','Mobility grade','text'],
  ['max_user_weight_kg','Maximum user weight (kg)','number'],['component_weight_g','Component weight (g)','number'],
  ['material','Material','text'],['proximal_connection','Proximal connection','text'],
  ['distal_connection','Distal connection','text'],['tube_clamp_diameter_mm','Tube-clamp diameter (mm)','number'],
  ['max_knee_flexion_degrees','Maximum knee flexion (degrees)','number'],
  ['system_height_mm','System height (mm)','number'],['proximal_system_height_mm','Proximal system height to ARP (mm)','number'],
  ['distal_system_height_mm','Distal system height to ARP (mm)','number'],['build_height_mm','Build height (mm)','number'],
  ['proximal_build_height_mm','Proximal build height to ARP (mm)','number'],['distal_build_height_mm','Distal build height to ARP (mm)','number'],
  ['min_distal_system_height_mm','Min distal system height with tube adapter (mm)','number'],
  ['max_distal_system_height_mm','Max distal system height with tube adapter (mm)','number'],
  ['min_distal_build_height_mm','Min distal build height with tube adapter (mm)','number'],
  ['max_distal_build_height_mm','Max distal build height with tube adapter (mm)','number'],
  ['named_tube_adapter','Named tube adapter','text'],
  ['environmental_rating','Environmental rating','text'],['waterproof_rating','Waterproof rating','text'],
  ['corrosion_resistance','Corrosion resistance','text'],['operating_temperature','Operating temperature','text'],
  ['charging_requirements','Charging requirements','text'],['battery_info','Battery information','text'],
  ['compatible_adapters','Compatible adapters','text'],['compatible_protective_covers','Compatible protective covers','text'],
  ['maintenance_access_requirements','Maintenance access requirements','text'],
  ['manufacturer_restrictions','Manufacturer restrictions','text'],['manufacturer_warnings','Manufacturer warnings','text'],
];

export const ENVELOPE_DIMENSIONS = [
  ['overall_height','Overall component height','mm'],['overall_max_width','Overall maximum width','mm'],
  ['overall_max_depth','Overall maximum depth','mm'],
  ['bounding_box_width','Bounding-box width','mm'],['bounding_box_depth','Bounding-box depth','mm'],['bounding_box_height','Bounding-box height','mm'],
  ['proximal_connector_width','Proximal connector width','mm'],['proximal_connector_depth','Proximal connector depth','mm'],['proximal_connector_height','Proximal connector height','mm'],
  ['distal_connector_width','Distal connector width','mm'],['distal_connector_depth','Distal connector depth','mm'],['distal_connector_height','Distal connector height','mm'],
  ['tube_diameter','Tube diameter','mm'],['tube_length','Tube length','mm'],
  ['pivot_center_height','Pivot-centre height','mm'],['pivot_axis_orientation','Pivot-axis orientation','text'],
  ['alignment_reference_point','Alignment reference point','text'],['alignment_centreline','Alignment centreline','text'],
  ['medial_offset','Medial offset','mm'],['lateral_offset','Lateral offset','mm'],
  ['anterior_offset','Anterior offset','mm'],['posterior_offset','Posterior offset','mm'],
  ['rotation_adapter_dimensions','Rotation-adapter dimensions','text'],['quick_release_dimensions','Quick-release dimensions','text'],
  ['clamp_dimensions','Clamp dimensions','text'],['fastener_protrusions','Fastener protrusions','text'],
  ['cable_protrusions','Cable protrusions','text'],['hydraulic_control_protrusions','Hydraulic-control protrusions','text'],
  ['battery_protrusions','Battery protrusions','text'],['protective_cover_dimensions','Protective-cover dimensions','text'],
  ['existing_cosmetic_shell_dimensions','Existing cosmetic-shell dimensions','text'],
];

export const STATION_SUGGESTIONS = [
  'Proximal connector','10 mm below proximal connector','20 mm below proximal connector','30 mm below proximal connector',
  'Above knee pivot','Through knee pivot','Below knee pivot','Mid-body',
  'Above distal connector','Distal connector','Tube clamp','Custom station',
];

export const ACCESS_POINT_TYPES = ['Charging port','Charging-cover opening path','Buttons','Indicator lights','Manual lock','Release catch','Hydraulic adjustment','Flexion adjustment','Extension adjustment','Service connector','Bluetooth or communication access','Battery access','Safety release','Rotation release','Vacuum valve','Air valve','Drain opening','Fasteners','Maintenance cover','Custom access point'];

export const KEEP_OUT_TYPES = ['No contact','No attachment','No covering','Ventilation required','Heat-producing area','Service access','Moving part','Water drainage','Cable movement','Safety mechanism','Unknown mechanism','Custom keep-out'];

export const MOVEMENT_POSITIONS = [
  ['Full extension',0],['15 degrees flexion',15],['30 degrees flexion',30],['45 degrees flexion',45],
  ['60 degrees flexion',60],['75 degrees flexion',75],['90 degrees flexion',90],['105 degrees flexion',105],
  ['120 degrees flexion',120],['Maximum permitted flexion',null],['Sitting',null],['Kneeling',null],['Custom position',null],
];

export const ASSEMBLY_TYPES = ['Socket','Knee','Proximal adapter','Distal adapter','Rotation adapter','Pylon','Tube clamp','Ankle','Foot','Battery','Charger interface','Vacuum components','Release mechanisms','Osseointegration connector','Custom components'];

export const REQUIRED_ENVELOPE_KEYS = ['overall_height','overall_max_width','overall_max_depth','proximal_connector_width','proximal_connector_depth','distal_connector_width','distal_connector_depth'];

export const JOINT_CATEGORIES = ['Knee','Ankle','Elbow','Wrist','Arm joint','Rotation adapter'];