{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/extracker/json-schema/extracker-update-project-params-schema.json",
  "title": "UpdateProjectParams",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/extracker-openapi.json#/components/schemas/UpdateProjectParams",
  "properties": {
    "customerId": {
      "type": "integer",
      "format": "int32",
      "description": "Optional ID of a Clearstory Customer information record to associate to this project"
    },
    "title": {
      "type": "string",
      "description": "The Project title",
      "minLength": 1,
      "maxLength": 150
    },
    "jobNumber": {
      "type": [
        "string",
        "null"
      ],
      "description": "The job number (your company's job number)",
      "maxLength": 100
    },
    "customerJobNumber": {
      "type": [
        "string",
        "null"
      ],
      "description": "The customer's job number (your customer's job number if known)",
      "maxLength": 100
    },
    "contractValue": {
      "type": "number",
      "format": "float",
      "description": "The contract value with your customer (up to two decimal places are supported)"
    },
    "address": {
      "type": "string",
      "description": "The project's street address",
      "maxLength": 255
    },
    "city": {
      "type": "string",
      "description": "The project's city",
      "maxLength": 75
    },
    "state": {
      "type": "string",
      "description": "The project's state (prefer using US state abbreviation, but not required)",
      "maxLength": 50
    },
    "zipCode": {
      "type": "string",
      "description": "The project's postal code",
      "maxLength": 25
    },
    "country": {
      "type": "string",
      "description": "The project's country (prefer using country code, but not required)",
      "maxLength": 75
    },
    "lat": {
      "type": "number",
      "format": "double",
      "description": "The project's latitude"
    },
    "lng": {
      "type": "number",
      "format": "double",
      "description": "The project's longitude"
    },
    "presetSupervisorNotes": {
      "type": [
        "string",
        "null"
      ],
      "description": "The project's preset supervisor notes (if different from the office's, this value will be used instead).\nNote that this notes field, while often displayed in e-mails and PDFs, does not currently support HTML.\nPlease use text only. These are typically short notes in nature, but can support quite a bit of text.",
      "maxLength": 65000
    },
    "division": {
      "allOf": [
        {
          "$ref": "#/$defs/Division"
        }
      ],
      "nullable": true,
      "description": "The project division (note that this will not adjust any division default rates if changed)."
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the project is archived. Set to `true` to archive the project (it will be\nremoved from Active Projects), or `false` to unarchive it (it will be restored to\nActive Projects). This field is optional; if omitted, the project's archived status\nis left unchanged."
    }
  },
  "type": "object",
  "additionalProperties": false,
  "$defs": {
    "Division": {
      "description": "Division names",
      "enum": [
        "above_grade_waterproofing",
        "access_control_systems",
        "access_flooring",
        "acoustical_ceiling",
        "acoustical_treatment",
        "appliances",
        "applied_fireproofing",
        "architectural_woodwork",
        "artisan_veneer_plaster",
        "as_built_survey",
        "asphalt_paving",
        "athletic_equipment",
        "audio_visual_systems",
        "awnings_canopies",
        "below_grade_waterproofing",
        "book_storage_retrieval_sys",
        "building_specialties",
        "carpet_resilient_flooring",
        "ceramic_tile",
        "chain_link_fence",
        "commercial_equipment",
        "compressed_air_systems",
        "concrete_countertops",
        "concrete_cutting_coring",
        "concrete_formwork",
        "concrete_place_finish",
        "concrete_reinforcing_steel_p_t",
        "concrete_sealing",
        "concrete_work",
        "crane_hoists",
        "custom_elevator_cabs_doors",
        "decorative_metal_fence",
        "decorative_metals",
        "demolition",
        "demountable_partitions",
        "dewatering",
        "distributed_a_v_systems",
        "distributed_antenna_systems",
        "doors_frames_hardware",
        "eifs",
        "electrical",
        "elevators",
        "entrance_floor_mats_frames",
        "escalators_moving_walks",
        "expansion_joints",
        "exterior_stone",
        "fabric_wrapped_wall_panels",
        "fire_alarm",
        "fire_extinguishers_cabinets",
        "fire_extinguishing_sys_dry",
        "fire_sprinklers",
        "fireplaces",
        "firestopping",
        "fixed_audience_seating",
        "flagpoles",
        "flashing_sheetmetal",
        "flood_barriers",
        "fluid_applied_flooring",
        "food_service_equipment",
        "fountains_water_features",
        "fuel_cells",
        "fuel_storage_tanks",
        "furniture",
        "gfrc",
        "glass_glazing",
        "glass_fiber_reinfrcd_pnl_frp",
        "glass_railings",
        "grading_paving",
        "grandstands_bleachers",
        "gypsum_cement_underlayment",
        "high_performance_coatings",
        "hvac",
        "interior_stone",
        "intumescent_fireproofing",
        "joint_sealants_caulking",
        "joint_trench",
        "knox_box",
        "laboratory_casework",
        "laboratory_equipment",
        "landscape_irrigation",
        "lath_plaster",
        "laundry_chutes",
        "library_stack_systems",
        "lightweight_insulating_conc",
        "loading_dock_equipment",
        "louvers_vents",
        "masonry",
        "mass_excavation_fill",
        "metal_building_systems",
        "metal_decking",
        "metal_railings",
        "metal_roofing",
        "metal_siding",
        "metal_stairs_railings",
        "metal_studs_drywall",
        "metal_wall_panels",
        "millwork_casework",
        "misc_metal",
        "off_site_utilities",
        "operable_partitions",
        "orchestra_stage_lifts",
        "overhead_doors_grilles",
        "painting",
        "painting_exterior",
        "pallet_racks",
        "panelized_roof_systems",
        "parking_control_equipment",
        "parking_management_systems",
        "pavement_markings_bumpers",
        "pedestrian_control_equipment",
        "pest_control",
        "photovoltaic_systems",
        "pile_foundations",
        "plastic_laminate_countertops",
        "play_structures",
        "plumbing",
        "postal_specialties",
        "precast_concrete",
        "precast_concrete_site_walls",
        "process_piping_systems",
        "production_rigging_systems",
        "projection_screens",
        "recreational_equipment",
        "remediation_abatement",
        "rescue_air_system",
        "restoration_work",
        "roof_screens",
        "roof_specialties_accessories",
        "roof_pedestal_pavers",
        "roofing",
        "rough_carpentry",
        "safety_netting",
        "sandblasting",
        "scoreboards",
        "security_systems",
        "shoring_underpinning",
        "shotcrete",
        "shower_surrounds",
        "signage",
        "site_concrete",
        "site_electrical",
        "site_furnishings",
        "site_tele_data",
        "site_utilities",
        "skylights",
        "smoke_containment_barriers",
        "soil_vapor_extraction",
        "solar_hot_water_systems",
        "specialty_flooring",
        "stadium_arena_seating",
        "staining",
        "staking",
        "stone_countertops",
        "stone_flooring",
        "storage_lockers",
        "street_traffic_lights",
        "structural_excavation",
        "structural_steel",
        "strut_grid_systems",
        "submetering",
        "swimming_pool_spa",
        "swing_stage",
        "swppp_maintenance",
        "tele_data_systems",
        "terrazzo_flooring",
        "testing_inspection",
        "thermal_insulation",
        "thermal_insulation_exterior",
        "tile_roofing",
        "tilt_up_concrete",
        "toilet_accessories",
        "toilet_partitions_accessories",
        "tower_mobile_crane",
        "traffic_coating",
        "trash_chutes",
        "trash_compactors",
        "tree_shrub_transplanting",
        "tub_shower_doors",
        "unit_pavers",
        "vehicle_barrier_cables",
        "vehicle_lifts",
        "vesda",
        "visual_display_surfaces",
        "wall_corner_guards",
        "wall_coverings",
        "wardrobe_closet_specialties",
        "waterproofing",
        "waterproofing_and_roofing",
        "wheelchair_lifts",
        "window_film",
        "window_treatments",
        "window_washing_systems",
        "windows",
        "wire_mesh_partitions",
        "wood_fence",
        "wood_flooring",
        "wood_framing",
        "wood_siding",
        "wood_trusses"
      ],
      "type": "string"
    }
  }
}