{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fieldwirelabs/json-schema/fieldwirelabs-project-with-user-schema.json",
  "title": "project_with_user",
  "description": "Entity that carries project & some user related information",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fieldwirelabs-fieldwire-regional-api-openapi.yml#/components/schemas/project_with_user",
  "type": "object",
  "required": [
    "id",
    "account_id",
    "has_logo",
    "is_email_notifications_enabled",
    "is_field_captures_enabled",
    "is_enterprise",
    "is_premium",
    "is_pm_enabled",
    "prompt_effort_on_complete",
    "color",
    "currency",
    "man_power_units",
    "name",
    "time_zone",
    "created_at",
    "device_created_at",
    "resolved_conflict",
    "device_updated_at",
    "updated_at"
  ],
  "nullable": false,
  "additionalProperties": true,
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "nullable": false,
      "description": "ID of the entity"
    },
    "account_id": {
      "type": "integer",
      "format": "int32",
      "nullable": false,
      "description": "Account id project is under"
    },
    "has_logo": {
      "type": "boolean",
      "nullable": false,
      "description": "Boolean if project has logo"
    },
    "is_3d_bim_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "If 3D BIM is enabled for this project"
    },
    "is_mobile_location_creation_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "If location creation on mobile is enabled for this project"
    },
    "is_email_notifications_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether email notifications are enabled for this project"
    },
    "is_plan_text_search_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether plan text search is enabled for this project"
    },
    "prompt_effort_on_complete": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether prompt to input effort should be shown on marking tasks as completed"
    },
    "address": {
      "type": [
        "string",
        "null"
      ],
      "description": "Address of this project"
    },
    "code": {
      "type": [
        "string",
        "null"
      ],
      "description": "Code of this project"
    },
    "color": {
      "type": "string",
      "nullable": false,
      "description": "Color to use for this project for highlighting in the UI"
    },
    "currency": {
      "type": "string",
      "nullable": false,
      "description": "Currency to use for the `cost_value` of `Task`s in this project"
    },
    "default_pm_group_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The default PmGroup for this project, if it is a PM-enabled project"
    },
    "logo_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL of the logo for this project"
    },
    "man_power_units": {
      "type": "string",
      "nullable": false,
      "description": "Unit to use for the `man_power_value` of `Task`s in this project"
    },
    "name": {
      "type": "string",
      "nullable": false,
      "description": "Name of this project"
    },
    "time_zone": {
      "type": "string",
      "nullable": false,
      "description": "Timezone of this project"
    },
    "min_verified_at_days": {
      "type": "integer",
      "format": "int32",
      "nullable": false,
      "description": "Count of days after which verified tasks are archived"
    },
    "sheets_limit": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Count of the latest sheet versions that should be cached on the mobile apps"
    },
    "owner_email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email of user who owns the project"
    },
    "plan_name": {
      "type": "string",
      "enum": [
        "Basic",
        "Pro",
        "Business",
        "Enterprise"
      ],
      "nullable": false,
      "description": "Tier this project belongs to"
    },
    "is_premium": {
      "type": "boolean",
      "nullable": false,
      "description": "If this is a premium project"
    },
    "is_field_captures_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether field captures are enabled, using an active boolean project override or the account setting"
    },
    "is_enterprise": {
      "type": "boolean",
      "nullable": false,
      "description": "If this project is an enterprise project"
    },
    "work_week": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "boolean"
      },
      "description": "Array of seven boolean values indicating whether Sunday-Saturday are work days"
    },
    "archived_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Time when this project was archived"
    },
    "trash_emptied_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Time when this project's trash was last emptied"
    },
    "trash_emptied_by_user_id": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32",
      "description": "Id of the user who last emptied this project's trash"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "nullable": false,
      "description": "Time when the server created the entity"
    },
    "device_created_at": {
      "type": "string",
      "format": "date-time",
      "nullable": false,
      "description": "Time when the device created the entity"
    },
    "resolved_conflict": {
      "type": "boolean",
      "nullable": false,
      "description": "Specifies if PUT/PATCH request was rejected - do not store this field!"
    },
    "device_updated_at": {
      "type": "string",
      "format": "date-time",
      "nullable": false,
      "description": "Time when the device last updated the entity"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "nullable": false,
      "description": "Time when the server last updated the entity"
    },
    "deleted_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Time the server deleted the entity"
    },
    "is_analytics_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether analytics is enabled for this project"
    },
    "is_forms_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether `Forms` tab should be shown for this project"
    },
    "is_photo_attachments_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether `Photos` tab should be shown for this project"
    },
    "is_plan_email_notifications_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether notifications should be sent out on processing plans"
    },
    "is_tasks_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether `Tasks` tab should be shown for this project"
    },
    "tz_name": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "Etc/GMT+12",
        "Pacific/Midway",
        "Pacific/Pago_Pago",
        "Pacific/Honolulu",
        "America/Juneau",
        "America/Los_Angeles",
        "America/Tijuana",
        "America/Denver",
        "America/Phoenix",
        "America/Chihuahua",
        "America/Mazatlan",
        "America/Chicago",
        "America/Regina",
        "America/Mexico_City",
        "America/Mexico_City",
        "America/Monterrey",
        "America/Guatemala",
        "America/New_York",
        "America/Indiana/Indianapolis",
        "America/Bogota",
        "America/Lima",
        "America/Lima",
        "America/Halifax",
        "America/Caracas",
        "America/La_Paz",
        "America/Santiago",
        "America/St_Johns",
        "America/Sao_Paulo",
        "America/Argentina/Buenos_Aires",
        "America/Montevideo",
        "America/Guyana",
        "America/Puerto_Rico",
        "America/Godthab",
        "Atlantic/South_Georgia",
        "Atlantic/Azores",
        "Atlantic/Cape_Verde",
        "Europe/Dublin",
        "Europe/London",
        "Europe/Lisbon",
        "Europe/London",
        "Africa/Casablanca",
        "Africa/Monrovia",
        "Etc/UTC",
        "Europe/Belgrade",
        "Europe/Bratislava",
        "Europe/Budapest",
        "Europe/Ljubljana",
        "Europe/Prague",
        "Europe/Sarajevo",
        "Europe/Skopje",
        "Europe/Warsaw",
        "Europe/Zagreb",
        "Europe/Brussels",
        "Europe/Copenhagen",
        "Europe/Madrid",
        "Europe/Paris",
        "Europe/Amsterdam",
        "Europe/Berlin",
        "Europe/Zurich",
        "Europe/Zurich",
        "Europe/Rome",
        "Europe/Stockholm",
        "Europe/Vienna",
        "Africa/Algiers",
        "Europe/Bucharest",
        "Africa/Cairo",
        "Europe/Helsinki",
        "Europe/Kiev",
        "Europe/Riga",
        "Europe/Sofia",
        "Europe/Tallinn",
        "Europe/Vilnius",
        "Europe/Athens",
        "Europe/Istanbul",
        "Europe/Minsk",
        "Asia/Jerusalem",
        "Africa/Harare",
        "Africa/Johannesburg",
        "Europe/Kaliningrad",
        "Europe/Moscow",
        "Europe/Moscow",
        "Europe/Volgograd",
        "Europe/Samara",
        "Asia/Kuwait",
        "Asia/Riyadh",
        "Africa/Nairobi",
        "Asia/Baghdad",
        "Asia/Tehran",
        "Asia/Muscat",
        "Asia/Muscat",
        "Asia/Baku",
        "Asia/Tbilisi",
        "Asia/Yerevan",
        "Asia/Kabul",
        "Asia/Yekaterinburg",
        "Asia/Karachi",
        "Asia/Karachi",
        "Asia/Tashkent",
        "Asia/Kolkata",
        "Asia/Kolkata",
        "Asia/Kolkata",
        "Asia/Kolkata",
        "Asia/Kathmandu",
        "Asia/Dhaka",
        "Asia/Colombo",
        "Asia/Almaty",
        "Asia/Almaty",
        "Asia/Novosibirsk",
        "Asia/Rangoon",
        "Asia/Bangkok",
        "Asia/Bangkok",
        "Asia/Jakarta",
        "Asia/Krasnoyarsk",
        "Asia/Shanghai",
        "Asia/Chongqing",
        "Asia/Hong_Kong",
        "Asia/Urumqi",
        "Asia/Kuala_Lumpur",
        "Asia/Singapore",
        "Asia/Taipei",
        "Australia/Perth",
        "Asia/Irkutsk",
        "Asia/Ulaanbaatar",
        "Asia/Seoul",
        "Asia/Tokyo",
        "Asia/Tokyo",
        "Asia/Tokyo",
        "Asia/Yakutsk",
        "Australia/Darwin",
        "Australia/Adelaide",
        "Australia/Canberra",
        "Australia/Melbourne",
        "Australia/Sydney",
        "Australia/Brisbane",
        "Australia/Hobart",
        "Asia/Vladivostok",
        "Pacific/Guam",
        "Pacific/Port_Moresby",
        "Asia/Magadan",
        "Asia/Srednekolymsk",
        "Pacific/Guadalcanal",
        "Pacific/Noumea",
        "Pacific/Fiji",
        "Asia/Kamchatka",
        "Pacific/Majuro",
        "Pacific/Auckland",
        "Pacific/Auckland",
        "Pacific/Tongatapu",
        "Pacific/Fakaofo",
        "Pacific/Chatham",
        "Pacific/Apia"
      ],
      "description": "Timezone of this project"
    },
    "measurement_units": {
      "type": "string",
      "enum": [
        "imperial",
        "metric"
      ],
      "nullable": false,
      "description": "Unit to use for the measurements show on plans"
    },
    "trial_end_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "deprecated": true,
      "description": "Time when the trial for this project ends"
    },
    "is_task_status_enabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether this project can have custom task statuses (denoted by `Status`)"
    },
    "min_api_version": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "Minimum Fieldwire API version required to use this project"
    },
    "pm_group_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "Id of PM Group for user of this project"
    },
    "is_project_labels_enabled": {
      "type": "boolean",
      "nullable": false,
      "description": "Whether Project Labels should be shown for this project"
    },
    "project_attributes": {
      "type": [
        "array",
        "null"
      ],
      "description": "Set of serialized project_attributes for this project",
      "items": {
        "type": "object",
        "description": "Model for form template section record input ids and property values to update",
        "required": [
          "id",
          "creator_user_id",
          "last_editor_user_id",
          "account_id",
          "resolved_conflict",
          "created_at",
          "updated_at",
          "device_created_at",
          "device_updated_at",
          "deleted_at",
          "name",
          "color",
          "kind",
          "projects_project_attribute_id"
        ],
        "nullable": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": false,
            "description": "ID of the entity"
          },
          "creator_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who created this entity"
          },
          "last_editor_user_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the user who most recently edited this entity"
          },
          "account_id": {
            "type": "integer",
            "format": "int32",
            "nullable": false,
            "description": "ID of the account this entity belongs to"
          },
          "resolved_conflict": {
            "type": "boolean",
            "nullable": false,
            "description": "Specifies if PUT/PATCH request was rejected - do not store this field!"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the server created the entity"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the server last updated the entity"
          },
          "device_created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device created the entity"
          },
          "device_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false,
            "description": "Time when the device last updated the entity"
          },
          "deleted_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Time the server deleted the entity"
          },
          "name": {
            "type": "string",
            "nullable": false,
            "description": "Name of the project attribute, must be unique."
          },
          "color": {
            "type": "string",
            "nullable": false,
            "description": "Color of the project attribute"
          },
          "kind": {
            "type": "string",
            "enum": [
              "label",
              "priority"
            ],
            "nullable": false,
            "description": "Kind of project attribute"
          }
        },
        "additionalProperties": false
      }
    }
  }
}