{
  "components": {
    "schemas": {
      "AccountContactCreate": {
        "properties": {
          "contact_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Contact Id"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "is_support_contact": {
            "default": false,
            "title": "Is Support Contact",
            "type": "boolean"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "receive_invoices": {
            "default": false,
            "title": "Receive Invoices",
            "type": "boolean"
          },
          "receive_quote_approval_requests": {
            "default": false,
            "title": "Receive Quote Approval Requests",
            "type": "boolean"
          },
          "receive_scheduling_updates": {
            "default": false,
            "title": "Receive Scheduling Updates",
            "type": "boolean"
          },
          "receive_work_order_updates": {
            "default": false,
            "title": "Receive Work Order Updates",
            "type": "boolean"
          },
          "role_value_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role Value Id"
          }
        },
        "required": [
          "contact_id"
        ],
        "title": "AccountContactCreate",
        "type": "object"
      },
      "AccountContactCreatePayload": {
        "additionalProperties": false,
        "properties": {
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "custom_fields": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "gender_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender Id"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "is_support_contact": {
            "default": false,
            "title": "Is Support Contact",
            "type": "boolean"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "marital_status_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marital Status Id"
          },
          "middle_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Middle Name"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "occupation_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Occupation Id"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          },
          "pronoun_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pronoun Id"
          },
          "receive_invoices": {
            "default": false,
            "title": "Receive Invoices",
            "type": "boolean"
          },
          "receive_quote_approval_requests": {
            "default": false,
            "title": "Receive Quote Approval Requests",
            "type": "boolean"
          },
          "receive_scheduling_updates": {
            "default": false,
            "title": "Receive Scheduling Updates",
            "type": "boolean"
          },
          "receive_work_order_updates": {
            "default": false,
            "title": "Receive Work Order Updates",
            "type": "boolean"
          },
          "role_value_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role Value Id"
          },
          "suffix_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suffix Id"
          },
          "title_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title Id"
          }
        },
        "title": "AccountContactCreatePayload",
        "type": "object"
      },
      "AccountContactResponse": {
        "properties": {
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "is_primary": {
            "title": "Is Primary",
            "type": "boolean"
          },
          "is_support_contact": {
            "title": "Is Support Contact",
            "type": "boolean"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "receive_invoices": {
            "title": "Receive Invoices",
            "type": "boolean"
          },
          "receive_quote_approval_requests": {
            "title": "Receive Quote Approval Requests",
            "type": "boolean"
          },
          "receive_scheduling_updates": {
            "title": "Receive Scheduling Updates",
            "type": "boolean"
          },
          "receive_work_order_updates": {
            "title": "Receive Work Order Updates",
            "type": "boolean"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "role_value_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role Value Uid"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "is_primary",
          "receive_invoices",
          "receive_work_order_updates",
          "receive_scheduling_updates",
          "receive_quote_approval_requests",
          "is_support_contact",
          "created_at",
          "updated_at"
        ],
        "title": "AccountContactResponse",
        "type": "object"
      },
      "AccountCreate": {
        "additionalProperties": false,
        "properties": {
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_rating": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Rating"
          },
          "account_type": {
            "$ref": "#/components/schemas/AccountType",
            "default": "household"
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "contacts": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountContactCreatePayload"
            },
            "title": "Contacts",
            "type": "array"
          },
          "created_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Via"
          },
          "custom_fields": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "do_not_contact": {
            "default": false,
            "title": "Do Not Contact",
            "type": "boolean"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "is_internal": {
            "default": false,
            "title": "Is Internal",
            "type": "boolean"
          },
          "lead_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lead Score"
          },
          "lifecycle_status_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle Status Id"
          },
          "lifetime_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifetime Value"
          },
          "linked_contacts": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountContactCreate"
            },
            "title": "Linked Contacts",
            "type": "array"
          },
          "locations": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountLocationCreate"
            },
            "title": "Locations",
            "type": "array"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "parent_account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Account Id"
          },
          "referral_source_detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source Detail"
          },
          "referral_source_value_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source Value Id"
          },
          "referred_by_account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Account Id"
          },
          "referred_by_contact_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Contact Id"
          },
          "referred_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Name"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatus",
            "default": "active"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          }
        },
        "title": "AccountCreate",
        "type": "object"
      },
      "AccountLocationCreate": {
        "additionalProperties": false,
        "properties": {
          "address_line1": {
            "title": "Address Line1",
            "type": "string"
          },
          "address_line2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line2"
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "city": {
            "title": "City",
            "type": "string"
          },
          "country_code": {
            "title": "Country Code",
            "type": "string"
          },
          "custom_fields": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "formatted_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatted Address"
          },
          "geocode_accuracy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Accuracy"
          },
          "geocode_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Source"
          },
          "geocode_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Status"
          },
          "google_place_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Place Id"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "latitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latitude"
          },
          "location_type": {
            "default": "service",
            "title": "Location Type",
            "type": "string"
          },
          "longitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Longitude"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "postal_code": {
            "title": "Postal Code",
            "type": "string"
          },
          "region_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region Code"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "required": [
          "address_line1",
          "city",
          "postal_code",
          "country_code"
        ],
        "title": "AccountLocationCreate",
        "type": "object"
      },
      "AccountPrimaryContactSummary": {
        "properties": {
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "is_primary": {
            "default": true,
            "title": "Is Primary",
            "type": "boolean"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "phone_extension": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Extension"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "role_value_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role Value Uid"
          }
        },
        "title": "AccountPrimaryContactSummary",
        "type": "object"
      },
      "AccountResponse": {
        "properties": {
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_number_locked": {
            "default": false,
            "title": "Account Number Locked",
            "type": "boolean"
          },
          "account_rating": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Rating"
          },
          "account_type": {
            "$ref": "#/components/schemas/AccountType"
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "child_accounts": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountSummary"
            },
            "title": "Child Accounts",
            "type": "array"
          },
          "child_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Child Count"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "contact_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Count"
          },
          "contacts": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AccountContactResponse"
            },
            "title": "Contacts",
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By"
          },
          "created_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Via"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "deleted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted By"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "do_not_contact": {
            "title": "Do Not Contact",
            "type": "boolean"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "is_internal": {
            "title": "Is Internal",
            "type": "boolean"
          },
          "lead_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lead Score"
          },
          "lifecycle_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LifecycleStatusSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "lifecycle_status_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle Status Uid"
          },
          "lifetime_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifetime Value"
          },
          "location_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Count"
          },
          "locations": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/LocationResponse"
            },
            "title": "Locations",
            "type": "array"
          },
          "merge_job_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merge Job Uid"
          },
          "merged_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged At"
          },
          "merged_into_account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged Into Account Uid"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "parent_account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "parent_account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Account Uid"
          },
          "primary_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountPrimaryContactSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "referral_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source"
          },
          "referral_source_detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source Detail"
          },
          "referral_source_value_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source Value Uid"
          },
          "referred_by_account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Account Uid"
          },
          "referred_by_contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Contact Uid"
          },
          "referred_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Name"
          },
          "search_match": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountSearchMatch"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_asset_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Asset Count"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatus"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          },
          "work_order_metrics": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountWorkOrderMetrics"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "uid",
          "org_id",
          "account_type",
          "status",
          "do_not_contact",
          "is_internal",
          "created_at",
          "updated_at"
        ],
        "title": "AccountResponse",
        "type": "object"
      },
      "AccountSearchMatch": {
        "properties": {
          "label": {
            "title": "Label",
            "type": "string"
          },
          "source": {
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "source",
          "label"
        ],
        "title": "AccountSearchMatch",
        "type": "object"
      },
      "AccountStatus": {
        "enum": [
          "active",
          "inactive",
          "archived"
        ],
        "title": "AccountStatus",
        "type": "string"
      },
      "AccountSummary": {
        "properties": {
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_type": {
            "$ref": "#/components/schemas/AccountType"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "status": {
            "$ref": "#/components/schemas/AccountStatus"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "account_type",
          "status"
        ],
        "title": "AccountSummary",
        "type": "object"
      },
      "AccountTimelineEntry": {
        "description": "A single row in the account's activity feed.",
        "properties": {
          "amount_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Cents"
          },
          "call_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Uid"
          },
          "conversation_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Conversation Uid"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "direction": {
            "anyOf": [
              {
                "enum": [
                  "inbound",
                  "outbound"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Direction"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "inbox_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inbox Uid"
          },
          "invoice_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Invoice Uid"
          },
          "is_unread": {
            "default": false,
            "title": "Is Unread",
            "type": "boolean"
          },
          "needs_attention": {
            "default": false,
            "title": "Needs Attention",
            "type": "boolean"
          },
          "occurred_at": {
            "format": "date-time",
            "title": "Occurred At",
            "type": "string"
          },
          "quote_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quote Uid"
          },
          "source": {
            "enum": [
              "call",
              "email",
              "invoice",
              "quote",
              "text",
              "voicemail",
              "work_order"
            ],
            "title": "Source",
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "subtitle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subtitle"
          },
          "thread_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thread Uid"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "voicemail_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Voicemail Uid"
          },
          "work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Uid"
          }
        },
        "required": [
          "id",
          "source",
          "occurred_at",
          "title"
        ],
        "title": "AccountTimelineEntry",
        "type": "object"
      },
      "AccountTimelineOmittedSource": {
        "description": "A source deliberately left out of this feed for this caller.\n\nReported (rather than silently dropped) so the client can hide the matching\nfilter chip instead of showing an always-empty one.",
        "properties": {
          "reason": {
            "enum": [
              "permission",
              "entitlement"
            ],
            "title": "Reason",
            "type": "string"
          },
          "source": {
            "enum": [
              "call",
              "email",
              "invoice",
              "quote",
              "text",
              "voicemail",
              "work_order"
            ],
            "title": "Source",
            "type": "string"
          }
        },
        "required": [
          "source",
          "reason"
        ],
        "title": "AccountTimelineOmittedSource",
        "type": "object"
      },
      "AccountTimelineResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountTimelineEntry"
            },
            "title": "Data",
            "type": "array"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "included_sources": {
            "items": {
              "enum": [
                "call",
                "email",
                "invoice",
                "quote",
                "text",
                "voicemail",
                "work_order"
              ],
              "type": "string"
            },
            "title": "Included Sources",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "omitted_sources": {
            "items": {
              "$ref": "#/components/schemas/AccountTimelineOmittedSource"
            },
            "title": "Omitted Sources",
            "type": "array"
          },
          "organization_currency": {
            "title": "Organization Currency",
            "type": "string"
          }
        },
        "required": [
          "organization_currency"
        ],
        "title": "AccountTimelineResponse",
        "type": "object"
      },
      "AccountType": {
        "enum": [
          "household",
          "company",
          "other"
        ],
        "title": "AccountType",
        "type": "string"
      },
      "AccountUpdate": {
        "additionalProperties": false,
        "properties": {
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_rating": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Rating"
          },
          "account_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountType"
              },
              {
                "type": "null"
              }
            ]
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "do_not_contact": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Do Not Contact"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "is_internal": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Internal"
          },
          "lead_score": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lead Score"
          },
          "lifecycle_status_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle Status Id"
          },
          "lifetime_value": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifetime Value"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "parent_account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Account Id"
          },
          "referral_source_detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source Detail"
          },
          "referral_source_value_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referral Source Value Id"
          },
          "referred_by_account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Account Id"
          },
          "referred_by_contact_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Contact Id"
          },
          "referred_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Referred By Name"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          }
        },
        "title": "AccountUpdate",
        "type": "object"
      },
      "AccountWorkOrderMetrics": {
        "properties": {
          "active_work_orders": {
            "title": "Active Work Orders",
            "type": "integer"
          },
          "invoiced_work_orders": {
            "title": "Invoiced Work Orders",
            "type": "integer"
          },
          "total_work_orders": {
            "title": "Total Work Orders",
            "type": "integer"
          }
        },
        "required": [
          "total_work_orders",
          "invoiced_work_orders",
          "active_work_orders"
        ],
        "title": "AccountWorkOrderMetrics",
        "type": "object"
      },
      "BookingAssignmentInput": {
        "properties": {
          "assignment_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Assignment Id"
          },
          "assignment_type": {
            "title": "Assignment Type",
            "type": "string"
          },
          "quantity": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          }
        },
        "required": [
          "assignment_type",
          "assignment_id"
        ],
        "title": "BookingAssignmentInput",
        "type": "object"
      },
      "BookingAssignmentResponse": {
        "properties": {
          "assignment_id": {
            "title": "Assignment Id",
            "type": "string"
          },
          "assignment_type": {
            "title": "Assignment Type",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "quantity": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "assignment_type",
          "assignment_id",
          "uid",
          "created_at",
          "updated_at"
        ],
        "title": "BookingAssignmentResponse",
        "type": "object"
      },
      "BookingIdentityDuplicateReviewTaskSummary": {
        "properties": {
          "assigned_to_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assigned To User Id"
          },
          "candidate_account_ids": {
            "items": {
              "type": "string"
            },
            "title": "Candidate Account Ids",
            "type": "array"
          },
          "candidate_account_uids": {
            "items": {
              "type": "string"
            },
            "title": "Candidate Account Uids",
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "last_action_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Action At"
          },
          "opened_at": {
            "format": "date-time",
            "title": "Opened At",
            "type": "string"
          },
          "opened_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Opened By User Id"
          },
          "outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Outcome"
          },
          "priority": {
            "title": "Priority",
            "type": "string"
          },
          "reason_provided": {
            "title": "Reason Provided",
            "type": "boolean"
          },
          "resolution_note_provided": {
            "default": false,
            "title": "Resolution Note Provided",
            "type": "boolean"
          },
          "resolved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolved At"
          },
          "resolved_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolved By User Id"
          },
          "selected_account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Account Id"
          },
          "selected_account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Account Uid"
          },
          "selected_contact_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Contact Id"
          },
          "selected_contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Contact Uid"
          },
          "selected_location_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Location Id"
          },
          "selected_location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Location Uid"
          },
          "sla_status": {
            "title": "Sla Status",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "status",
          "priority",
          "reason_provided",
          "opened_at",
          "sla_status",
          "created_at"
        ],
        "title": "BookingIdentityDuplicateReviewTaskSummary",
        "type": "object"
      },
      "BookingRouteReview": {
        "additionalProperties": false,
        "properties": {
          "candidate_fingerprint": {
            "pattern": "^[a-f0-9]{64}$",
            "title": "Candidate Fingerprint",
            "type": "string"
          },
          "fingerprint": {
            "pattern": "^[a-f0-9]{64}$",
            "title": "Fingerprint",
            "type": "string"
          },
          "resource_uid": {
            "title": "Resource Uid",
            "type": "string"
          },
          "working_day": {
            "format": "date",
            "title": "Working Day",
            "type": "string"
          }
        },
        "required": [
          "resource_uid",
          "working_day",
          "fingerprint",
          "candidate_fingerprint"
        ],
        "title": "BookingRouteReview",
        "type": "object"
      },
      "BranchResponse": {
        "additionalProperties": false,
        "properties": {
          "address_line1": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line1"
          },
          "address_line2": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line2"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "branch_id": {
            "title": "Branch Id",
            "type": "integer"
          },
          "city": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "code": {
            "maxLength": 40,
            "minLength": 1,
            "title": "Code",
            "type": "string"
          },
          "color_hex": {
            "anyOf": [
              {
                "maxLength": 7,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color Hex"
          },
          "country_code": {
            "anyOf": [
              {
                "maxLength": 10,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country Code"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "anyOf": [
              {
                "maxLength": 320,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "is_active": {
            "default": true,
            "title": "Is Active",
            "type": "boolean"
          },
          "is_default": {
            "title": "Is Default",
            "type": "boolean"
          },
          "is_deleted": {
            "title": "Is Deleted",
            "type": "boolean"
          },
          "latitude": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latitude"
          },
          "location_type": {
            "default": "operational_branch",
            "maxLength": 40,
            "title": "Location Type",
            "type": "string"
          },
          "longitude": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Longitude"
          },
          "name": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "organization_id": {
            "title": "Organization Id",
            "type": "integer"
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "postal_code": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Postal Code"
          },
          "primary_warehouse_location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Warehouse Location Uid"
          },
          "region_code": {
            "anyOf": [
              {
                "maxLength": 40,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region Code"
          },
          "supports_billing": {
            "default": false,
            "title": "Supports Billing",
            "type": "boolean"
          },
          "supports_bookable_units": {
            "default": false,
            "title": "Supports Bookable Units",
            "type": "boolean"
          },
          "supports_dispatch": {
            "default": true,
            "title": "Supports Dispatch",
            "type": "boolean"
          },
          "supports_marketing": {
            "default": false,
            "title": "Supports Marketing",
            "type": "boolean"
          },
          "supports_scheduling": {
            "default": true,
            "title": "Supports Scheduling",
            "type": "boolean"
          },
          "supports_stock": {
            "default": false,
            "title": "Supports Stock",
            "type": "boolean"
          },
          "timezone": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "uid",
          "branch_id",
          "organization_id",
          "is_default",
          "is_deleted",
          "created_at",
          "updated_at"
        ],
        "title": "BranchResponse",
        "type": "object"
      },
      "CommerceDiscountApplicationResponse": {
        "properties": {
          "application_key": {
            "title": "Application Key",
            "type": "string"
          },
          "approval_required": {
            "default": false,
            "title": "Approval Required",
            "type": "boolean"
          },
          "approval_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approval State"
          },
          "base_amount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Base Amount Cents"
          },
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "combinability_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Combinability Mode"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "is_external_execution_only": {
            "default": false,
            "title": "Is External Execution Only",
            "type": "boolean"
          },
          "is_legacy_projection": {
            "default": false,
            "title": "Is Legacy Projection",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Key"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "origin": {
            "title": "Origin",
            "type": "string"
          },
          "policy_bundle": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDiscountPolicyBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "policy_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Policy Key"
          },
          "priority": {
            "default": 0,
            "minimum": 0.0,
            "title": "Priority",
            "type": "integer"
          },
          "reference_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Key"
          },
          "requested_discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Requested Discount Cents"
          },
          "resolved_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Resolved Discount Cents",
            "type": "integer"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "source_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Uid"
          },
          "stacking_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Stacking Key"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "value_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Type"
          }
        },
        "required": [
          "application_key",
          "scope",
          "origin",
          "status"
        ],
        "title": "CommerceDiscountApplicationResponse",
        "type": "object"
      },
      "CommerceDiscountCodeOutcomeResponse": {
        "properties": {
          "application_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Application Key"
          },
          "code": {
            "title": "Code",
            "type": "string"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          },
          "resolved_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Resolved Discount Cents",
            "type": "integer"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "code",
          "status"
        ],
        "title": "CommerceDiscountCodeOutcomeResponse",
        "type": "object"
      },
      "CommerceDiscountCollectionResponse": {
        "properties": {
          "accepted_code_outcomes": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountCodeOutcomeResponse"
            },
            "title": "Accepted Code Outcomes",
            "type": "array"
          },
          "applications": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountApplicationResponse"
            },
            "title": "Applications",
            "type": "array"
          },
          "applied_discount_codes": {
            "items": {
              "type": "string"
            },
            "title": "Applied Discount Codes",
            "type": "array"
          },
          "compatibility": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Compatibility"
          },
          "document_applications": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountApplicationResponse"
            },
            "title": "Document Applications",
            "type": "array"
          },
          "line_applications": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountApplicationResponse"
            },
            "title": "Line Applications",
            "type": "array"
          },
          "policy": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Policy"
          },
          "recurring_applications": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountApplicationResponse"
            },
            "title": "Recurring Applications",
            "type": "array"
          },
          "rejected_code_outcomes": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountCodeOutcomeResponse"
            },
            "title": "Rejected Code Outcomes",
            "type": "array"
          },
          "rejected_discount_codes": {
            "items": {
              "type": "string"
            },
            "title": "Rejected Discount Codes",
            "type": "array"
          },
          "requested_discount_codes": {
            "items": {
              "type": "string"
            },
            "title": "Requested Discount Codes",
            "type": "array"
          },
          "source_applications": {
            "items": {
              "$ref": "#/components/schemas/CommerceDiscountApplicationResponse"
            },
            "title": "Source Applications",
            "type": "array"
          },
          "summary": {
            "$ref": "#/components/schemas/CommerceDiscountSummaryResponse"
          }
        },
        "required": [
          "summary"
        ],
        "title": "CommerceDiscountCollectionResponse",
        "type": "object"
      },
      "CommerceDiscountPolicyBundle": {
        "properties": {
          "allow_with_contract_pricing": {
            "default": false,
            "title": "Allow With Contract Pricing",
            "type": "boolean"
          },
          "allow_with_manual_discount": {
            "default": false,
            "title": "Allow With Manual Discount",
            "type": "boolean"
          },
          "allow_with_recurring_discounts": {
            "default": false,
            "title": "Allow With Recurring Discounts",
            "type": "boolean"
          },
          "allowed_customer_segments": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Customer Segments",
            "type": "array"
          },
          "allowed_customer_tiers": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Customer Tiers",
            "type": "array"
          },
          "allowed_days_of_week": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Days Of Week",
            "type": "array"
          },
          "allowed_lifecycle_segments": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Lifecycle Segments",
            "type": "array"
          },
          "allowed_surface_modes": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Surface Modes",
            "type": "array"
          },
          "apply_to_full_price_lines_only": {
            "default": false,
            "title": "Apply To Full Price Lines Only",
            "type": "boolean"
          },
          "audience_segment_keys": {
            "items": {
              "type": "string"
            },
            "title": "Audience Segment Keys",
            "type": "array"
          },
          "audience_segment_match_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audience Segment Match Mode"
          },
          "best_of_group_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Best Of Group Key"
          },
          "blackout_dates": {
            "items": {
              "type": "string"
            },
            "title": "Blackout Dates",
            "type": "array"
          },
          "budget_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Budget Scope"
          },
          "campaign_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Campaign Key"
          },
          "campaign_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Campaign Status"
          },
          "contract_pricing_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contract Pricing Mode"
          },
          "cooldown_days_per_account": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cooldown Days Per Account"
          },
          "cooldown_days_per_customer": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cooldown Days Per Customer"
          },
          "credit_hold_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credit Hold Mode"
          },
          "cumulative_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cumulative Cap Cents"
          },
          "daily_discount_spend_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily Discount Spend Cap Cents"
          },
          "daily_end_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily End Time"
          },
          "daily_start_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily Start Time"
          },
          "excluded_account_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Excluded Account Ids",
            "type": "array"
          },
          "excluded_account_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Account Statuses",
            "type": "array"
          },
          "excluded_account_types": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Account Types",
            "type": "array"
          },
          "excluded_billing_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Billing Statuses",
            "type": "array"
          },
          "excluded_branch_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Excluded Branch Ids",
            "type": "array"
          },
          "excluded_catalog_entity_types": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Catalog Entity Types",
            "type": "array"
          },
          "excluded_catalog_refs": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Catalog Refs",
            "type": "array"
          },
          "excluded_collections_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Collections Statuses",
            "type": "array"
          },
          "excluded_customer_identity_keys": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Customer Identity Keys",
            "type": "array"
          },
          "excluded_customer_segments": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Customer Segments",
            "type": "array"
          },
          "excluded_customer_tiers": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Customer Tiers",
            "type": "array"
          },
          "excluded_email_domains": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Email Domains",
            "type": "array"
          },
          "excluded_inventory_item_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Excluded Inventory Item Ids",
            "type": "array"
          },
          "excluded_lifecycle_segments": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Lifecycle Segments",
            "type": "array"
          },
          "excluded_line_semantics": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Line Semantics",
            "type": "array"
          },
          "excluded_line_types": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Line Types",
            "type": "array"
          },
          "excluded_offering_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Excluded Offering Ids",
            "type": "array"
          },
          "excluded_package_codes": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Package Codes",
            "type": "array"
          },
          "excluded_package_component_codes": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Package Component Codes",
            "type": "array"
          },
          "excluded_package_component_visibilities": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Package Component Visibilities",
            "type": "array"
          },
          "excluded_package_presentation_modes": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Package Presentation Modes",
            "type": "array"
          },
          "excluded_package_roles": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Package Roles",
            "type": "array"
          },
          "excluded_payer_account_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Excluded Payer Account Ids",
            "type": "array"
          },
          "excluded_source_types": {
            "items": {
              "type": "string"
            },
            "title": "Excluded Source Types",
            "type": "array"
          },
          "exclusion_family_keys": {
            "items": {
              "type": "string"
            },
            "title": "Exclusion Family Keys",
            "type": "array"
          },
          "exclusion_group_keys": {
            "items": {
              "type": "string"
            },
            "title": "Exclusion Group Keys",
            "type": "array"
          },
          "exclusive_group_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclusive Group Key"
          },
          "family_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Family Key"
          },
          "group_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Group Cap Cents"
          },
          "group_floor_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Group Floor Cents"
          },
          "group_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Group Key"
          },
          "included_account_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Included Account Ids",
            "type": "array"
          },
          "included_account_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Included Account Statuses",
            "type": "array"
          },
          "included_account_types": {
            "items": {
              "type": "string"
            },
            "title": "Included Account Types",
            "type": "array"
          },
          "included_billing_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Included Billing Statuses",
            "type": "array"
          },
          "included_branch_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Included Branch Ids",
            "type": "array"
          },
          "included_catalog_entity_types": {
            "items": {
              "type": "string"
            },
            "title": "Included Catalog Entity Types",
            "type": "array"
          },
          "included_catalog_refs": {
            "items": {
              "type": "string"
            },
            "title": "Included Catalog Refs",
            "type": "array"
          },
          "included_collections_statuses": {
            "items": {
              "type": "string"
            },
            "title": "Included Collections Statuses",
            "type": "array"
          },
          "included_customer_identity_keys": {
            "items": {
              "type": "string"
            },
            "title": "Included Customer Identity Keys",
            "type": "array"
          },
          "included_email_domains": {
            "items": {
              "type": "string"
            },
            "title": "Included Email Domains",
            "type": "array"
          },
          "included_inventory_item_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Included Inventory Item Ids",
            "type": "array"
          },
          "included_line_semantics": {
            "items": {
              "type": "string"
            },
            "title": "Included Line Semantics",
            "type": "array"
          },
          "included_line_types": {
            "items": {
              "type": "string"
            },
            "title": "Included Line Types",
            "type": "array"
          },
          "included_offering_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Included Offering Ids",
            "type": "array"
          },
          "included_package_codes": {
            "items": {
              "type": "string"
            },
            "title": "Included Package Codes",
            "type": "array"
          },
          "included_package_component_codes": {
            "items": {
              "type": "string"
            },
            "title": "Included Package Component Codes",
            "type": "array"
          },
          "included_package_component_visibilities": {
            "items": {
              "type": "string"
            },
            "title": "Included Package Component Visibilities",
            "type": "array"
          },
          "included_package_presentation_modes": {
            "items": {
              "type": "string"
            },
            "title": "Included Package Presentation Modes",
            "type": "array"
          },
          "included_package_roles": {
            "items": {
              "type": "string"
            },
            "title": "Included Package Roles",
            "type": "array"
          },
          "included_payer_account_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Included Payer Account Ids",
            "type": "array"
          },
          "included_source_types": {
            "items": {
              "type": "string"
            },
            "title": "Included Source Types",
            "type": "array"
          },
          "lapsed_customer_days": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lapsed Customer Days"
          },
          "manual_discount_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manual Discount Mode"
          },
          "max_combined_code_count": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Combined Code Count"
          },
          "max_discount_spend_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Discount Spend Cents"
          },
          "monthly_discount_spend_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Discount Spend Cap Cents"
          },
          "non_stackable_family_keys": {
            "items": {
              "type": "string"
            },
            "title": "Non Stackable Family Keys",
            "type": "array"
          },
          "per_code_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Code Cap Cents"
          },
          "per_code_floor_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Code Floor Cents"
          },
          "per_document_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Document Cap Cents"
          },
          "per_document_floor_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Document Floor Cents"
          },
          "per_line_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Line Cap Cents"
          },
          "per_line_floor_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Per Line Floor Cents"
          },
          "recurring_discount_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring Discount Mode"
          },
          "requires_authenticated_customer": {
            "default": false,
            "title": "Requires Authenticated Customer",
            "type": "boolean"
          },
          "requires_first_time_customer": {
            "default": false,
            "title": "Requires First Time Customer",
            "type": "boolean"
          },
          "requires_lapsed_customer": {
            "default": false,
            "title": "Requires Lapsed Customer",
            "type": "boolean"
          },
          "requires_portal_session": {
            "default": false,
            "title": "Requires Portal Session",
            "type": "boolean"
          },
          "requires_returning_customer": {
            "default": false,
            "title": "Requires Returning Customer",
            "type": "boolean"
          },
          "schedule_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule Timezone"
          },
          "tax_exempt_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Exempt Mode"
          },
          "usage_limit_per_branch": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Usage Limit Per Branch"
          },
          "weekly_discount_spend_cap_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Weekly Discount Spend Cap Cents"
          }
        },
        "title": "CommerceDiscountPolicyBundle",
        "type": "object"
      },
      "CommerceDiscountSummaryResponse": {
        "properties": {
          "application_count": {
            "default": 0,
            "minimum": 0.0,
            "title": "Application Count",
            "type": "integer"
          },
          "compatibility_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Compatibility Mode"
          },
          "contract_version": {
            "default": 1,
            "minimum": 1.0,
            "title": "Contract Version",
            "type": "integer"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "document_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Document Discount Cents",
            "type": "integer"
          },
          "immutable_after_freeze": {
            "default": true,
            "title": "Immutable After Freeze",
            "type": "boolean"
          },
          "line_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Line Discount Cents",
            "type": "integer"
          },
          "recurring_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Recurring Discount Cents",
            "type": "integer"
          },
          "resolved_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Resolved Discount Cents",
            "type": "integer"
          },
          "source_discount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Source Discount Cents",
            "type": "integer"
          }
        },
        "title": "CommerceDiscountSummaryResponse",
        "type": "object"
      },
      "CommerceDocumentAddress": {
        "properties": {
          "addressee": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Addressee"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "line1": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line1"
          },
          "line2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line2"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "postal_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Postal Code"
          },
          "region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          }
        },
        "title": "CommerceDocumentAddress",
        "type": "object"
      },
      "CommerceDocumentAttachmentLink": {
        "properties": {
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Type"
          },
          "file_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "kind": {
            "anyOf": [
              {
                "pattern": "^(hosted|link)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Kind"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "original_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Filename"
          },
          "size_bytes": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size Bytes"
          },
          "uploaded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uploaded At"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "label",
          "url"
        ],
        "title": "CommerceDocumentAttachmentLink",
        "type": "object"
      },
      "CommerceDocumentContact": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          }
        },
        "title": "CommerceDocumentContact",
        "type": "object"
      },
      "CommerceDocumentCustomField": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value"
          },
          "visible": {
            "default": true,
            "title": "Visible",
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "CommerceDocumentCustomField",
        "type": "object"
      },
      "CommerceDocumentCustomerSnapshot": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "account_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Label"
          },
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "bill_to": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentAddress"
              },
              {
                "type": "null"
              }
            ]
          },
          "billing_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentContact"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "external_billing_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Billing Code"
          },
          "service_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentContact"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentAddress"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Location Id"
          },
          "ship_to": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentAddress"
              },
              {
                "type": "null"
              }
            ]
          },
          "tax_registration_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Registration Number"
          }
        },
        "title": "CommerceDocumentCustomerSnapshot",
        "type": "object"
      },
      "CommerceDocumentCustomerSnapshotRead": {
        "properties": {
          "account_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Label"
          },
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "bill_to": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentAddress"
              },
              {
                "type": "null"
              }
            ]
          },
          "billing_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentContact"
              },
              {
                "type": "null"
              }
            ]
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "external_billing_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Billing Code"
          },
          "service_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentContact"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentAddress"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Location Uid"
          },
          "ship_to": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentAddress"
              },
              {
                "type": "null"
              }
            ]
          },
          "tax_registration_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Registration Number"
          }
        },
        "title": "CommerceDocumentCustomerSnapshotRead",
        "type": "object"
      },
      "CommerceDocumentFieldLayout": {
        "properties": {
          "document_kinds": {
            "items": {
              "enum": [
                "invoice",
                "quote"
              ],
              "type": "string"
            },
            "title": "Document Kinds",
            "type": "array"
          },
          "key": {
            "maxLength": 100,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          },
          "label": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "placement": {
            "default": "reference_section",
            "enum": [
              "header_meta",
              "party_block",
              "reference_section",
              "payment_block",
              "footer_terms"
            ],
            "title": "Placement",
            "type": "string"
          },
          "sort_order": {
            "default": 100,
            "maximum": 10000.0,
            "minimum": 0.0,
            "title": "Sort Order",
            "type": "integer"
          },
          "visibility": {
            "default": "if_present",
            "enum": [
              "if_present",
              "always",
              "never"
            ],
            "title": "Visibility",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "title": "CommerceDocumentFieldLayout",
        "type": "object"
      },
      "CommerceDocumentHandoffPolicy": {
        "properties": {
          "final_invoice_trigger": {
            "default": "manual",
            "enum": [
              "work_order_completion",
              "manual"
            ],
            "title": "Final Invoice Trigger",
            "type": "string"
          },
          "invoice_billing_basis": {
            "default": "manual",
            "enum": [
              "accepted_quote",
              "work_order_actuals",
              "manual"
            ],
            "title": "Invoice Billing Basis",
            "type": "string"
          },
          "version": {
            "const": 1,
            "default": 1,
            "title": "Version",
            "type": "integer"
          },
          "work_order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentWorkOrderHandoff"
              },
              {
                "type": "null"
              }
            ]
          },
          "work_order_creation": {
            "default": "manual",
            "enum": [
              "on_acceptance",
              "manual"
            ],
            "title": "Work Order Creation",
            "type": "string"
          }
        },
        "title": "CommerceDocumentHandoffPolicy",
        "type": "object"
      },
      "CommerceDocumentLegalTerms": {
        "properties": {
          "late_fee_terms": {
            "anyOf": [
              {
                "maxLength": 3000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Late Fee Terms"
          },
          "ownership_terms": {
            "anyOf": [
              {
                "maxLength": 3000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ownership Terms"
          },
          "return_terms": {
            "anyOf": [
              {
                "maxLength": 3000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Return Terms"
          },
          "terms_detail": {
            "anyOf": [
              {
                "maxLength": 6000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Terms Detail"
          },
          "warranty_terms": {
            "anyOf": [
              {
                "maxLength": 3000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Warranty Terms"
          }
        },
        "title": "CommerceDocumentLegalTerms",
        "type": "object"
      },
      "CommerceDocumentPaymentOptions": {
        "properties": {
          "accept_bank_transfer": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accept Bank Transfer"
          },
          "accept_card": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accept Card"
          },
          "allow_deposit": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Deposit"
          },
          "allow_discount": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Discount"
          },
          "allow_late_fees": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Late Fees"
          },
          "allow_multicurrency": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Multicurrency"
          },
          "allow_partial_payment": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Partial Payment"
          },
          "allow_shipping_fee": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Shipping Fee"
          },
          "instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions"
          },
          "offline_methods": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offline Methods"
          }
        },
        "title": "CommerceDocumentPaymentOptions",
        "type": "object"
      },
      "CommerceDocumentPaymentSchedule-Input": {
        "properties": {
          "requirements": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentPaymentScheduleEntry-Input"
            },
            "maxItems": 20,
            "title": "Requirements",
            "type": "array"
          },
          "version": {
            "const": 1,
            "default": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "title": "CommerceDocumentPaymentSchedule",
        "type": "object"
      },
      "CommerceDocumentPaymentSchedule-Output": {
        "properties": {
          "requirements": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentPaymentScheduleEntry-Output"
            },
            "maxItems": 20,
            "title": "Requirements",
            "type": "array"
          },
          "version": {
            "const": 1,
            "default": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "title": "CommerceDocumentPaymentSchedule",
        "type": "object"
      },
      "CommerceDocumentPaymentScheduleEntry-Input": {
        "properties": {
          "allow_partial_payment": {
            "default": true,
            "title": "Allow Partial Payment",
            "type": "boolean"
          },
          "calculation_basis": {
            "default": "grand_total",
            "enum": [
              "grand_total",
              "net_subtotal",
              "subtotal_before_tax"
            ],
            "title": "Calculation Basis",
            "type": "string"
          },
          "calculation_mode": {
            "enum": [
              "fixed",
              "percentage"
            ],
            "title": "Calculation Mode",
            "type": "string"
          },
          "customer_message": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "due_trigger": {
            "default": "on_acceptance",
            "enum": [
              "on_acceptance",
              "specific_date",
              "before_scheduling",
              "before_work_start"
            ],
            "title": "Due Trigger",
            "type": "string"
          },
          "fixed_amount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fixed Amount Cents"
          },
          "gate_actions": {
            "items": {
              "enum": [
                "scheduling",
                "work_start",
                "procurement",
                "invoice_release"
              ],
              "type": "string"
            },
            "title": "Gate Actions",
            "type": "array"
          },
          "key": {
            "anyOf": [
              {
                "maxLength": 80,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key"
          },
          "label": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "percentage": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "maximum": 100.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Percentage"
          },
          "requirement_type": {
            "default": "deposit",
            "enum": [
              "deposit",
              "progress",
              "milestone"
            ],
            "title": "Requirement Type",
            "type": "string"
          },
          "sequence_order": {
            "default": 1,
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Sequence Order",
            "type": "integer"
          }
        },
        "required": [
          "calculation_mode"
        ],
        "title": "CommerceDocumentPaymentScheduleEntry",
        "type": "object"
      },
      "CommerceDocumentPaymentScheduleEntry-Output": {
        "properties": {
          "allow_partial_payment": {
            "default": true,
            "title": "Allow Partial Payment",
            "type": "boolean"
          },
          "calculation_basis": {
            "default": "grand_total",
            "enum": [
              "grand_total",
              "net_subtotal",
              "subtotal_before_tax"
            ],
            "title": "Calculation Basis",
            "type": "string"
          },
          "calculation_mode": {
            "enum": [
              "fixed",
              "percentage"
            ],
            "title": "Calculation Mode",
            "type": "string"
          },
          "customer_message": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "due_trigger": {
            "default": "on_acceptance",
            "enum": [
              "on_acceptance",
              "specific_date",
              "before_scheduling",
              "before_work_start"
            ],
            "title": "Due Trigger",
            "type": "string"
          },
          "fixed_amount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fixed Amount Cents"
          },
          "gate_actions": {
            "items": {
              "enum": [
                "scheduling",
                "work_start",
                "procurement",
                "invoice_release"
              ],
              "type": "string"
            },
            "title": "Gate Actions",
            "type": "array"
          },
          "key": {
            "anyOf": [
              {
                "maxLength": 80,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key"
          },
          "label": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "percentage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Percentage"
          },
          "requirement_type": {
            "default": "deposit",
            "enum": [
              "deposit",
              "progress",
              "milestone"
            ],
            "title": "Requirement Type",
            "type": "string"
          },
          "sequence_order": {
            "default": 1,
            "maximum": 100.0,
            "minimum": 1.0,
            "title": "Sequence Order",
            "type": "integer"
          }
        },
        "required": [
          "calculation_mode"
        ],
        "title": "CommerceDocumentPaymentScheduleEntry",
        "type": "object"
      },
      "CommerceDocumentPresentation": {
        "properties": {
          "accent_color": {
            "anyOf": [
              {
                "pattern": "^#(?:[0-9A-Fa-f]{6}|[0-9A-Fa-f]{3})$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accent Color"
          },
          "package_default_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Default Mode"
          },
          "show_business_number": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Show Business Number"
          },
          "show_generated_timestamp": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Show Generated Timestamp"
          },
          "show_line_adjustments": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Show Line Adjustments"
          },
          "show_product_service": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Show Product Service"
          },
          "show_quantity_unit_price": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Show Quantity Unit Price"
          },
          "show_service_date": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Show Service Date"
          },
          "show_ship_to": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Show Ship To"
          },
          "show_sku": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Show Sku"
          },
          "surface_preset": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "mixed",
            "title": "Surface Preset"
          },
          "tax_column_mode": {
            "anyOf": [
              {
                "enum": [
                  "auto",
                  "always",
                  "mixed_only",
                  "never"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "auto",
            "title": "Tax Column Mode"
          },
          "template_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template Key"
          }
        },
        "title": "CommerceDocumentPresentation",
        "type": "object"
      },
      "CommerceDocumentReference": {
        "properties": {
          "address_snapshot": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Snapshot"
          },
          "customer_visible": {
            "default": true,
            "title": "Customer Visible",
            "type": "boolean"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "label": {
            "maxLength": 255,
            "minLength": 1,
            "title": "Label",
            "type": "string"
          },
          "number": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "role": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "related",
            "title": "Role"
          },
          "type": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "label"
        ],
        "title": "CommerceDocumentReference",
        "type": "object"
      },
      "CommerceDocumentRemittance": {
        "properties": {
          "accepted_methods": {
            "items": {
              "type": "string"
            },
            "maxItems": 16,
            "title": "Accepted Methods",
            "type": "array"
          },
          "address_lines": {
            "items": {
              "type": "string"
            },
            "maxItems": 8,
            "title": "Address Lines",
            "type": "array"
          },
          "bank_transfer_label": {
            "anyOf": [
              {
                "maxLength": 180,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bank Transfer Label"
          },
          "email": {
            "anyOf": [
              {
                "maxLength": 320,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "instructions": {
            "anyOf": [
              {
                "maxLength": 4000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions"
          },
          "pay_to_name": {
            "anyOf": [
              {
                "maxLength": 180,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pay To Name"
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          }
        },
        "title": "CommerceDocumentRemittance",
        "type": "object"
      },
      "CommerceDocumentSalesRep": {
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "email": {
            "anyOf": [
              {
                "maxLength": 320,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "phone": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "snapshot": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snapshot"
          },
          "source": {
            "anyOf": [
              {
                "enum": [
                  "user",
                  "manual",
                  "account_default",
                  "template_default"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "user_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Id"
          }
        },
        "title": "CommerceDocumentSalesRep",
        "type": "object"
      },
      "CommerceDocumentScheduling": {
        "properties": {
          "print_later": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Print Later"
          },
          "scheduled_send_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Send At"
          },
          "send_later": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Send Later"
          }
        },
        "title": "CommerceDocumentScheduling",
        "type": "object"
      },
      "CommerceDocumentShippingDetails-Input": {
        "properties": {
          "amount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Amount Cents",
            "type": "integer"
          },
          "carrier_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier Code"
          },
          "delivery_window": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivery Window"
          },
          "enabled": {
            "default": false,
            "title": "Enabled",
            "type": "boolean"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "reference_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Number"
          },
          "service_level": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Level"
          },
          "ship_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ship Via"
          },
          "shipping_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shipping Date"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_rate_percent": {
            "anyOf": [
              {
                "maximum": 1000.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Rate Percent"
          },
          "tracking_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Number"
          },
          "tracking_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Url"
          }
        },
        "title": "CommerceDocumentShippingDetails",
        "type": "object"
      },
      "CommerceDocumentShippingDetails-Output": {
        "properties": {
          "amount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Amount Cents",
            "type": "integer"
          },
          "carrier_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Carrier Code"
          },
          "delivery_window": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivery Window"
          },
          "enabled": {
            "default": false,
            "title": "Enabled",
            "type": "boolean"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "reference_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Number"
          },
          "service_level": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Level"
          },
          "ship_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ship Via"
          },
          "shipping_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shipping Date"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_rate_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Rate Percent"
          },
          "tracking_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Number"
          },
          "tracking_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking Url"
          }
        },
        "title": "CommerceDocumentShippingDetails",
        "type": "object"
      },
      "CommerceDocumentTemplateSection": {
        "properties": {
          "aliases": {
            "items": {
              "type": "string"
            },
            "maxItems": 24,
            "title": "Aliases",
            "type": "array"
          },
          "canonical_kind": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Canonical Kind"
          },
          "customer_visibility": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Visibility"
          },
          "default_line_class": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Line Class"
          },
          "default_line_semantic": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Line Semantic"
          },
          "default_line_type": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Line Type"
          },
          "description": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "key": {
            "maxLength": 80,
            "minLength": 1,
            "title": "Key",
            "type": "string"
          },
          "label": {
            "maxLength": 120,
            "minLength": 1,
            "title": "Label",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "show_subtotal": {
            "default": true,
            "title": "Show Subtotal",
            "type": "boolean"
          },
          "sort_order": {
            "default": 100,
            "maximum": 10000.0,
            "minimum": 0.0,
            "title": "Sort Order",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "CommerceDocumentTemplateSection",
        "type": "object"
      },
      "CommerceDocumentTerms": {
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "days": {
            "anyOf": [
              {
                "maximum": 3650.0,
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Days"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          }
        },
        "title": "CommerceDocumentTerms",
        "type": "object"
      },
      "CommerceDocumentWorkOrderHandoff": {
        "properties": {
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "customer_summary": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Summary"
          },
          "description": {
            "anyOf": [
              {
                "maxLength": 6000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "dispatch_title": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Title"
          },
          "location_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "priority": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "project_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "maxItems": 50,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          }
        },
        "title": "CommerceDocumentWorkOrderHandoff",
        "type": "object"
      },
      "CommerceEstimateWorksheet-Input": {
        "properties": {
          "default_customer_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Customer Visibility"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "scenarios": {
            "items": {
              "$ref": "#/components/schemas/CommerceEstimateWorksheetScenario-Input"
            },
            "title": "Scenarios",
            "type": "array"
          },
          "selected_scenario_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Scenario Id"
          }
        },
        "title": "CommerceEstimateWorksheet",
        "type": "object"
      },
      "CommerceEstimateWorksheet-Output": {
        "properties": {
          "default_customer_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Customer Visibility"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "scenarios": {
            "items": {
              "$ref": "#/components/schemas/CommerceEstimateWorksheetScenario-Output"
            },
            "title": "Scenarios",
            "type": "array"
          },
          "selected_scenario_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Selected Scenario Id"
          }
        },
        "title": "CommerceEstimateWorksheet",
        "type": "object"
      },
      "CommerceEstimateWorksheetScenario-Input": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "header_discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Header Discount Cents"
          },
          "header_fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Header Fee Cents"
          },
          "is_archived": {
            "default": false,
            "title": "Is Archived",
            "type": "boolean"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLineBase-Input"
            },
            "title": "Lines",
            "type": "array"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "scenario_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Scenario Id",
            "type": "string"
          }
        },
        "required": [
          "scenario_id",
          "name"
        ],
        "title": "CommerceEstimateWorksheetScenario",
        "type": "object"
      },
      "CommerceEstimateWorksheetScenario-Output": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "header_discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Header Discount Cents"
          },
          "header_fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Header Fee Cents"
          },
          "is_archived": {
            "default": false,
            "title": "Is Archived",
            "type": "boolean"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLineBase-Output"
            },
            "title": "Lines",
            "type": "array"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "scenario_id": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Scenario Id",
            "type": "string"
          }
        },
        "required": [
          "scenario_id",
          "name"
        ],
        "title": "CommerceEstimateWorksheetScenario",
        "type": "object"
      },
      "CommerceFinancialDocumentLineBase-Input": {
        "properties": {
          "cost_misc_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Misc Cents"
          },
          "cost_shipping_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Shipping Cents"
          },
          "cost_tax_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Tax Cents"
          },
          "crew_size": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crew Size"
          },
          "customer_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Visibility"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Discount Cents"
          },
          "duration_minutes": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Minutes"
          },
          "estimate_source_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Source Mode"
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Fee Cents"
          },
          "fulfillment_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment End At"
          },
          "fulfillment_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment Start At"
          },
          "internal_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Note"
          },
          "inventory_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inventory Item Id"
          },
          "is_taxable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Is Taxable"
          },
          "labor_days": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Days"
          },
          "labor_hours": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Hours"
          },
          "labor_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Role"
          },
          "landed_unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Landed Unit Cost Cents"
          },
          "line_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Class"
          },
          "line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Key"
          },
          "line_semantic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Semantic"
          },
          "line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "service",
            "title": "Line Type"
          },
          "markup_percent": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markup Percent"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "package_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Code"
          },
          "package_component_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Code"
          },
          "package_component_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Visibility"
          },
          "package_parent_line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Parent Line Key"
          },
          "package_presentation_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Presentation Mode"
          },
          "pricing_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pricing Mode"
          },
          "procurement_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Procurement State"
          },
          "purchase_required": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchase Required"
          },
          "quantity": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "1",
            "title": "Quantity"
          },
          "resulting_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "resulting_service_asset_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resulting Service Asset Id"
          },
          "service_asset_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Asset Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Sort Order"
          },
          "source_adapter_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Adapter Key"
          },
          "source_document_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Id"
          },
          "source_document_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Type"
          },
          "source_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Domain"
          },
          "source_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Id"
          },
          "source_line_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Id"
          },
          "source_line_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Item Id"
          },
          "source_line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Type"
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "supplier_quote_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Quote Ref"
          },
          "supplier_sku": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Sku"
          },
          "target_margin_percent": {
            "anyOf": [
              {
                "maximum": 100.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Margin Percent"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_rate_percent": {
            "anyOf": [
              {
                "maximum": 100.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Rate Percent"
          },
          "unit_base_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Base Cost Cents"
          },
          "unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Cost Cents"
          },
          "unit_of_measure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Of Measure"
          },
          "unit_price_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Unit Price Cents",
            "type": "integer"
          },
          "vendor_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Id"
          },
          "vendor_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Label"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "worksheet_unit_price_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worksheet Unit Price Cents"
          }
        },
        "required": [
          "description"
        ],
        "title": "CommerceFinancialDocumentLineBase",
        "type": "object"
      },
      "CommerceFinancialDocumentLineBase-Output": {
        "properties": {
          "cost_misc_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Misc Cents"
          },
          "cost_shipping_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Shipping Cents"
          },
          "cost_tax_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Tax Cents"
          },
          "crew_size": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crew Size"
          },
          "customer_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Visibility"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Discount Cents"
          },
          "duration_minutes": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Minutes"
          },
          "estimate_source_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Source Mode"
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Fee Cents"
          },
          "fulfillment_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment End At"
          },
          "fulfillment_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment Start At"
          },
          "internal_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Note"
          },
          "inventory_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inventory Item Id"
          },
          "is_taxable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Is Taxable"
          },
          "labor_days": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Days"
          },
          "labor_hours": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Hours"
          },
          "labor_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Role"
          },
          "landed_unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Landed Unit Cost Cents"
          },
          "line_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Class"
          },
          "line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Key"
          },
          "line_semantic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Semantic"
          },
          "line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "service",
            "title": "Line Type"
          },
          "markup_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markup Percent"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "package_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Code"
          },
          "package_component_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Code"
          },
          "package_component_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Visibility"
          },
          "package_parent_line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Parent Line Key"
          },
          "package_presentation_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Presentation Mode"
          },
          "pricing_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pricing Mode"
          },
          "procurement_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Procurement State"
          },
          "purchase_required": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchase Required"
          },
          "quantity": {
            "default": "1",
            "title": "Quantity",
            "type": "string"
          },
          "resulting_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "resulting_service_asset_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resulting Service Asset Id"
          },
          "service_asset_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Asset Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Sort Order"
          },
          "source_adapter_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Adapter Key"
          },
          "source_document_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Id"
          },
          "source_document_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Type"
          },
          "source_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Domain"
          },
          "source_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Id"
          },
          "source_line_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Id"
          },
          "source_line_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Item Id"
          },
          "source_line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Type"
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "supplier_quote_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Quote Ref"
          },
          "supplier_sku": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Sku"
          },
          "target_margin_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Margin Percent"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_rate_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Rate Percent"
          },
          "unit_base_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Base Cost Cents"
          },
          "unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Cost Cents"
          },
          "unit_of_measure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Of Measure"
          },
          "unit_price_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Unit Price Cents",
            "type": "integer"
          },
          "vendor_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Id"
          },
          "vendor_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Label"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "worksheet_unit_price_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worksheet Unit Price Cents"
          }
        },
        "required": [
          "description"
        ],
        "title": "CommerceFinancialDocumentLineBase",
        "type": "object"
      },
      "CommerceFinancialDocumentLineCommercialStateResponse": {
        "properties": {
          "approval_summary": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approval Summary"
          },
          "approval_traces": {
            "items": {
              "type": "object"
            },
            "title": "Approval Traces",
            "type": "array"
          },
          "canonical": {
            "$ref": "#/components/schemas/CommerceFinancialDocumentLineCommercialValueSnapshot"
          },
          "cost_precedence_layer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cost Precedence Layer"
          },
          "effective": {
            "$ref": "#/components/schemas/CommerceFinancialDocumentLineCommercialValueSnapshot"
          },
          "governed": {
            "default": false,
            "title": "Governed",
            "type": "boolean"
          },
          "override_traces": {
            "items": {
              "type": "object"
            },
            "title": "Override Traces",
            "type": "array"
          },
          "price_precedence_layer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price Precedence Layer"
          },
          "reference_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Kind"
          },
          "requested_overrides": {
            "items": {
              "$ref": "#/components/schemas/CommercePricingPreviewOverrideDirective"
            },
            "title": "Requested Overrides",
            "type": "array"
          },
          "resolution_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolution Mode"
          },
          "warning_codes": {
            "items": {
              "type": "string"
            },
            "title": "Warning Codes",
            "type": "array"
          }
        },
        "title": "CommerceFinancialDocumentLineCommercialStateResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentLineCommercialValueSnapshot": {
        "properties": {
          "is_taxable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Taxable"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_treatment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Treatment"
          },
          "unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Cost Cents"
          },
          "unit_price_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Price Cents"
          }
        },
        "title": "CommerceFinancialDocumentLineCommercialValueSnapshot",
        "type": "object"
      },
      "CommerceFinancialDocumentLineCreate": {
        "properties": {
          "commercial_overrides": {
            "items": {
              "$ref": "#/components/schemas/CommercePricingPreviewOverrideDirective"
            },
            "title": "Commercial Overrides",
            "type": "array"
          },
          "cost_misc_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Misc Cents"
          },
          "cost_shipping_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Shipping Cents"
          },
          "cost_tax_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Tax Cents"
          },
          "crew_size": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crew Size"
          },
          "customer_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Visibility"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Discount Cents"
          },
          "duration_minutes": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Minutes"
          },
          "estimate_source_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Source Mode"
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Fee Cents"
          },
          "fulfillment_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment End At"
          },
          "fulfillment_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment Start At"
          },
          "internal_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Note"
          },
          "inventory_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inventory Item Id"
          },
          "is_taxable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Is Taxable"
          },
          "labor_days": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Days"
          },
          "labor_hours": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Hours"
          },
          "labor_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Role"
          },
          "landed_unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Landed Unit Cost Cents"
          },
          "line_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Class"
          },
          "line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Key"
          },
          "line_semantic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Semantic"
          },
          "line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "service",
            "title": "Line Type"
          },
          "markup_percent": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markup Percent"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "package_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Code"
          },
          "package_component_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Code"
          },
          "package_component_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Visibility"
          },
          "package_parent_line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Parent Line Key"
          },
          "package_presentation_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Presentation Mode"
          },
          "pricing_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pricing Mode"
          },
          "procurement_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Procurement State"
          },
          "purchase_required": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchase Required"
          },
          "quantity": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              }
            ],
            "default": "1",
            "title": "Quantity"
          },
          "resulting_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "resulting_service_asset_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resulting Service Asset Id"
          },
          "service_asset_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Asset Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Sort Order"
          },
          "source_adapter_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Adapter Key"
          },
          "source_document_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Id"
          },
          "source_document_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Type"
          },
          "source_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Domain"
          },
          "source_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Id"
          },
          "source_line_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Id"
          },
          "source_line_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Item Id"
          },
          "source_line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Type"
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "supplier_quote_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Quote Ref"
          },
          "supplier_sku": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Sku"
          },
          "target_margin_percent": {
            "anyOf": [
              {
                "maximum": 100.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Margin Percent"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_rate_percent": {
            "anyOf": [
              {
                "maximum": 100.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Rate Percent"
          },
          "unit_base_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Base Cost Cents"
          },
          "unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Cost Cents"
          },
          "unit_of_measure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Of Measure"
          },
          "unit_price_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Unit Price Cents",
            "type": "integer"
          },
          "vendor_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Id"
          },
          "vendor_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Label"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "worksheet_unit_price_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worksheet Unit Price Cents"
          }
        },
        "required": [
          "description"
        ],
        "title": "CommerceFinancialDocumentLineCreate",
        "type": "object"
      },
      "CommerceFinancialDocumentLineResponse": {
        "properties": {
          "commercial_state": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceFinancialDocumentLineCommercialStateResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "cost_misc_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Misc Cents"
          },
          "cost_shipping_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Shipping Cents"
          },
          "cost_tax_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Cost Tax Cents"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "crew_size": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Crew Size"
          },
          "customer_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Visibility"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "discounts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDiscountCollectionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "duration_minutes": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Minutes"
          },
          "effective_tax_rate_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effective Tax Rate Percent"
          },
          "estimate_source_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Source Mode"
          },
          "fee_cents": {
            "title": "Fee Cents",
            "type": "integer"
          },
          "financial_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Financial Document Uid"
          },
          "fulfillment_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment End At"
          },
          "fulfillment_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fulfillment Start At"
          },
          "internal_note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Note"
          },
          "inventory_item_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Inventory Item Id"
          },
          "is_taxable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": true,
            "title": "Is Taxable"
          },
          "labor_days": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Days"
          },
          "labor_hours": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Hours"
          },
          "labor_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labor Role"
          },
          "landed_unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Landed Unit Cost Cents"
          },
          "line_class": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Class"
          },
          "line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Key"
          },
          "line_semantic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Semantic"
          },
          "line_subtotal_cents": {
            "title": "Line Subtotal Cents",
            "type": "integer"
          },
          "line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "service",
            "title": "Line Type"
          },
          "markup_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Markup Percent"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "net_cents": {
            "title": "Net Cents",
            "type": "integer"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "package_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Code"
          },
          "package_component_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Code"
          },
          "package_component_visibility": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Component Visibility"
          },
          "package_parent_line_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Parent Line Key"
          },
          "package_presentation_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Package Presentation Mode"
          },
          "pricing_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pricing Mode"
          },
          "procurement_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Procurement State"
          },
          "purchase_required": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchase Required"
          },
          "quantity": {
            "default": "1",
            "title": "Quantity",
            "type": "string"
          },
          "resulting_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "resulting_service_asset_resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "resulting_service_asset_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetReferenceSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "resulting_service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resulting Service Asset Uid"
          },
          "service_asset_resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_asset_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetReferenceSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Asset Uid"
          },
          "sort_order": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Sort Order"
          },
          "source_adapter_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Adapter Key"
          },
          "source_document_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Type"
          },
          "source_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Uid"
          },
          "source_domain": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Domain"
          },
          "source_line_item_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Item Uid"
          },
          "source_line_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Type"
          },
          "source_line_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Line Uid"
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "source_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Uid"
          },
          "supplier_quote_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Quote Ref"
          },
          "supplier_sku": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supplier Sku"
          },
          "target_margin_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Margin Percent"
          },
          "tax_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Category"
          },
          "tax_cents": {
            "title": "Tax Cents",
            "type": "integer"
          },
          "tax_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Code"
          },
          "tax_rate_percent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Rate Percent"
          },
          "tax_treatment": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Treatment"
          },
          "total_cents": {
            "title": "Total Cents",
            "type": "integer"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "unit_base_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Base Cost Cents"
          },
          "unit_cost_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Cost Cents"
          },
          "unit_of_measure": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Unit Of Measure"
          },
          "unit_price_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Unit Price Cents",
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "vendor_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Label"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "worksheet_unit_price_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Worksheet Unit Price Cents"
          }
        },
        "required": [
          "org_id",
          "description",
          "line_subtotal_cents",
          "fee_cents",
          "net_cents",
          "tax_cents",
          "total_cents",
          "created_at",
          "updated_at"
        ],
        "title": "CommerceFinancialDocumentLineResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentLinkInput": {
        "properties": {
          "customer_visible": {
            "default": true,
            "title": "Customer Visible",
            "type": "boolean"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "link_scope": {
            "default": "document",
            "maxLength": 64,
            "minLength": 1,
            "title": "Link Scope",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "number": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "relationship_kind": {
            "default": "manual",
            "maxLength": 64,
            "minLength": 1,
            "title": "Relationship Kind",
            "type": "string"
          },
          "role": {
            "default": "related",
            "maxLength": 64,
            "minLength": 1,
            "title": "Role",
            "type": "string"
          },
          "sort_order": {
            "default": 0,
            "maximum": 10000.0,
            "minimum": 0.0,
            "title": "Sort Order",
            "type": "integer"
          },
          "target_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Target Id"
          },
          "target_type": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Target Type",
            "type": "string"
          }
        },
        "required": [
          "target_type",
          "target_id"
        ],
        "title": "CommerceFinancialDocumentLinkInput",
        "type": "object"
      },
      "CommerceFinancialDocumentLinkResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "customer_visible": {
            "default": true,
            "title": "Customer Visible",
            "type": "boolean"
          },
          "financial_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Financial Document Uid"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "link_scope": {
            "default": "document",
            "maxLength": 64,
            "minLength": 1,
            "title": "Link Scope",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "number": {
            "anyOf": [
              {
                "maxLength": 120,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "relationship_kind": {
            "default": "manual",
            "maxLength": 64,
            "minLength": 1,
            "title": "Relationship Kind",
            "type": "string"
          },
          "role": {
            "default": "related",
            "maxLength": 64,
            "minLength": 1,
            "title": "Role",
            "type": "string"
          },
          "sort_order": {
            "default": 0,
            "maximum": 10000.0,
            "minimum": 0.0,
            "title": "Sort Order",
            "type": "integer"
          },
          "source": {
            "default": "user",
            "title": "Source",
            "type": "string"
          },
          "target_account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Account Uid"
          },
          "target_branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Branch Id"
          },
          "target_id": {
            "title": "Target Id",
            "type": "string"
          },
          "target_snapshot": {
            "title": "Target Snapshot",
            "type": "object"
          },
          "target_type": {
            "maxLength": 64,
            "minLength": 1,
            "title": "Target Type",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "target_type",
          "target_id",
          "uid",
          "org_id",
          "created_at",
          "updated_at"
        ],
        "title": "CommerceFinancialDocumentLinkResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentReference": {
        "properties": {
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "version_root_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version Root Uid"
          }
        },
        "required": [
          "uid",
          "status"
        ],
        "title": "CommerceFinancialDocumentReference",
        "type": "object"
      },
      "CommerceFinancialDocumentResponse": {
        "properties": {
          "accepted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted At"
          },
          "accepted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted By"
          },
          "account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "accounting_lock_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accounting Lock Reason"
          },
          "accounting_lock_state": {
            "default": "unlocked",
            "title": "Accounting Lock State",
            "type": "string"
          },
          "accounting_locked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accounting Locked At"
          },
          "accounting_locked_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accounting Locked By"
          },
          "amount_credited_cents": {
            "title": "Amount Credited Cents",
            "type": "integer"
          },
          "amount_customer_credit_applied_cents": {
            "title": "Amount Customer Credit Applied Cents",
            "type": "integer"
          },
          "amount_deposit_applied_cents": {
            "title": "Amount Deposit Applied Cents",
            "type": "integer"
          },
          "amount_paid_cents": {
            "title": "Amount Paid Cents",
            "type": "integer"
          },
          "amount_refunded_cents": {
            "title": "Amount Refunded Cents",
            "type": "integer"
          },
          "amount_written_off_cents": {
            "default": 0,
            "title": "Amount Written Off Cents",
            "type": "integer"
          },
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "balance_due_cents": {
            "title": "Balance Due Cents",
            "type": "integer"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "canceled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Canceled At"
          },
          "canceled_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Canceled By"
          },
          "commercial_frozen_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Frozen At"
          },
          "commercial_frozen_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Frozen By"
          },
          "commercial_snapshot": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Snapshot"
          },
          "commercial_snapshot_version": {
            "title": "Commercial Snapshot Version",
            "type": "integer"
          },
          "commercial_status": {
            "title": "Commercial Status",
            "type": "string"
          },
          "converted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted At"
          },
          "converted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted By"
          },
          "converted_from_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted From Document Uid"
          },
          "converted_invoice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceFinancialDocumentReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "converted_invoices": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentReference"
            },
            "title": "Converted Invoices",
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "credited_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credited At"
          },
          "credited_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credited By"
          },
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshotRead"
              },
              {
                "type": "null"
              }
            ]
          },
          "discarded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Discarded At"
          },
          "discounts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDiscountCollectionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "document_flow": {
            "title": "Document Flow",
            "type": "string"
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkResponse"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Key"
          },
          "document_template_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Name"
          },
          "document_template_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Uid"
          },
          "document_template_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Version"
          },
          "document_type": {
            "title": "Document Type",
            "type": "string"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "fee_cents": {
            "title": "Fee Cents",
            "type": "integer"
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "finalized_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finalized At"
          },
          "finalized_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finalized By"
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_mixed_source_lines": {
            "title": "Has Mixed Source Lines",
            "type": "boolean"
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "is_commercially_frozen": {
            "title": "Is Commercially Frozen",
            "type": "boolean"
          },
          "is_discarded": {
            "default": false,
            "title": "Is Discarded",
            "type": "boolean"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "line_fee_cents": {
            "title": "Line Fee Cents",
            "type": "integer"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLineResponse"
            },
            "title": "Lines",
            "type": "array"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "net_subtotal_cents": {
            "title": "Net Subtotal Cents",
            "type": "integer"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "paid_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Paid At"
          },
          "parent_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Document Uid"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "previous_version_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous Version Uid"
          },
          "purchase_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchase Order Uid"
          },
          "recurring": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring"
          },
          "recurring_source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring Source Type"
          },
          "recurring_source_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring Source Uid"
          },
          "refunded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refunded At"
          },
          "refunded_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refunded By"
          },
          "rejected_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rejected At"
          },
          "rejected_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rejected By"
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "replacement_of_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replacement Of Document Uid"
          },
          "restore_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Restore Expires At"
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "sections": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentTemplateSection"
            },
            "title": "Sections",
            "type": "array"
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_domain_count": {
            "title": "Source Domain Count",
            "type": "integer"
          },
          "source_quote": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteLineageReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "source_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Uid"
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subtotal_cents": {
            "title": "Subtotal Cents",
            "type": "integer"
          },
          "tax_cents": {
            "title": "Tax Cents",
            "type": "integer"
          },
          "tax_profile_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Profile Uid"
          },
          "taxable_subtotal_cents": {
            "title": "Taxable Subtotal Cents",
            "type": "integer"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_cents": {
            "title": "Total Cents",
            "type": "integer"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "ux": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceFinancialDocumentUxResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "vendor_invoice_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Invoice Number"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "version": {
            "minimum": 1.0,
            "title": "Version",
            "type": "integer"
          },
          "version_number": {
            "title": "Version Number",
            "type": "integer"
          },
          "version_root_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version Root Uid"
          },
          "voided_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Voided At"
          },
          "voided_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Voided By"
          },
          "work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Uid"
          }
        },
        "required": [
          "org_id",
          "document_flow",
          "document_type",
          "status",
          "commercial_status",
          "version",
          "version_number",
          "currency",
          "subtotal_cents",
          "line_fee_cents",
          "fee_cents",
          "net_subtotal_cents",
          "taxable_subtotal_cents",
          "tax_cents",
          "total_cents",
          "amount_paid_cents",
          "amount_credited_cents",
          "amount_refunded_cents",
          "amount_deposit_applied_cents",
          "amount_customer_credit_applied_cents",
          "balance_due_cents",
          "is_commercially_frozen",
          "has_mixed_source_lines",
          "source_domain_count",
          "commercial_snapshot_version",
          "created_at",
          "updated_at"
        ],
        "title": "CommerceFinancialDocumentResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentUxActionResponse": {
        "properties": {
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "emphasis": {
            "default": "secondary",
            "title": "Emphasis",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "CommerceFinancialDocumentUxActionResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentUxResponse": {
        "properties": {
          "business_state_version": {
            "default": 2,
            "title": "Business State Version",
            "type": "integer"
          },
          "can_create_replacement": {
            "default": false,
            "title": "Can Create Replacement",
            "type": "boolean"
          },
          "can_create_revision": {
            "default": false,
            "title": "Can Create Revision",
            "type": "boolean"
          },
          "can_edit_customer_visible": {
            "default": false,
            "title": "Can Edit Customer Visible",
            "type": "boolean"
          },
          "can_edit_customer_visible_non_financial": {
            "default": false,
            "title": "Can Edit Customer Visible Non Financial",
            "type": "boolean"
          },
          "can_edit_financial_amounts": {
            "default": false,
            "title": "Can Edit Financial Amounts",
            "type": "boolean"
          },
          "can_edit_internal": {
            "default": false,
            "title": "Can Edit Internal",
            "type": "boolean"
          },
          "can_record_payment": {
            "default": false,
            "title": "Can Record Payment",
            "type": "boolean"
          },
          "can_resend": {
            "default": false,
            "title": "Can Resend",
            "type": "boolean"
          },
          "can_send": {
            "default": false,
            "title": "Can Send",
            "type": "boolean"
          },
          "can_take_payment": {
            "default": false,
            "title": "Can Take Payment",
            "type": "boolean"
          },
          "card_payment_block_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Card Payment Block Code"
          },
          "card_payment_block_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Card Payment Block Scope"
          },
          "current_version_sent": {
            "default": false,
            "title": "Current Version Sent",
            "type": "boolean"
          },
          "days_past_due": {
            "default": 0,
            "title": "Days Past Due",
            "type": "integer"
          },
          "delivery_state": {
            "$ref": "#/components/schemas/CommerceFinancialDocumentUxStateResponse"
          },
          "display_status": {
            "$ref": "#/components/schemas/CommerceFinancialDocumentUxStateResponse"
          },
          "edit_policy": {
            "$ref": "#/components/schemas/CommerceFinancialDocumentUxStateResponse"
          },
          "has_customer_delivery": {
            "default": false,
            "title": "Has Customer Delivery",
            "type": "boolean"
          },
          "has_financial_activity": {
            "default": false,
            "title": "Has Financial Activity",
            "type": "boolean"
          },
          "is_overdue": {
            "default": false,
            "title": "Is Overdue",
            "type": "boolean"
          },
          "lifecycle_actions": {
            "items": {
              "$ref": "#/components/schemas/CommerceLifecycleActionResponse"
            },
            "title": "Lifecycle Actions",
            "type": "array"
          },
          "payment_state": {
            "$ref": "#/components/schemas/CommerceFinancialDocumentUxStateResponse"
          },
          "primary_action": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceFinancialDocumentUxActionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "requires_financial_edit_resolution": {
            "default": false,
            "title": "Requires Financial Edit Resolution",
            "type": "boolean"
          },
          "resend_recommended": {
            "default": false,
            "title": "Resend Recommended",
            "type": "boolean"
          },
          "suggested_actions": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentUxActionResponse"
            },
            "title": "Suggested Actions",
            "type": "array"
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentUxWarningResponse"
            },
            "title": "Warnings",
            "type": "array"
          }
        },
        "required": [
          "display_status",
          "delivery_state",
          "payment_state",
          "edit_policy"
        ],
        "title": "CommerceFinancialDocumentUxResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentUxStateResponse": {
        "properties": {
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "CommerceFinancialDocumentUxStateResponse",
        "type": "object"
      },
      "CommerceFinancialDocumentUxWarningResponse": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "severity": {
            "default": "info",
            "title": "Severity",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "code",
          "title"
        ],
        "title": "CommerceFinancialDocumentUxWarningResponse",
        "type": "object"
      },
      "CommerceFulfillmentLineResolution": {
        "properties": {
          "action": {
            "default": "none",
            "enum": [
              "none",
              "reserve_available",
              "backorder",
              "reduce_to_available",
              "remove",
              "substitute",
              "schedule_capacity",
              "override_negative_stock"
            ],
            "title": "Action",
            "type": "string"
          },
          "expected_replenishment_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Replenishment At"
          },
          "financial_document_line_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Financial Document Line Id"
          },
          "note": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "promised_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Promised At"
          },
          "quantity": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity"
          },
          "substitute_inventory_item_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Substitute Inventory Item Id"
          }
        },
        "required": [
          "financial_document_line_id"
        ],
        "title": "CommerceFulfillmentLineResolution",
        "type": "object"
      },
      "CommerceInvoiceCreate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Discount Cents"
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkInput"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Id"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Fee Cents"
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLineCreate"
            },
            "title": "Lines",
            "type": "array"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "draft",
            "title": "Status"
          },
          "tax_profile_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Profile Id"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          }
        },
        "title": "CommerceInvoiceCreate",
        "type": "object"
      },
      "CommerceInvoiceFulfillmentResolutionRequest": {
        "properties": {
          "fulfillment_resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteConversionFulfillmentResolution"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "CommerceInvoiceFulfillmentResolutionRequest",
        "type": "object"
      },
      "CommerceInvoiceListResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "includes_lines": {
            "default": true,
            "title": "Includes Lines",
            "type": "boolean"
          },
          "overview": {
            "additionalProperties": {
              "additionalProperties": {
                "additionalProperties": {
                  "type": "integer"
                },
                "type": "object"
              },
              "type": "object"
            },
            "title": "Overview",
            "type": "object"
          },
          "page": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "view_counts": {
            "additionalProperties": {
              "type": "integer"
            },
            "title": "View Counts",
            "type": "object"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "CommerceInvoiceListResponse",
        "type": "object"
      },
      "CommerceInvoiceSendRequest": {
        "properties": {
          "bcc_recipients": {
            "items": {
              "type": "string"
            },
            "title": "Bcc Recipients",
            "type": "array"
          },
          "body_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Html"
          },
          "body_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Text"
          },
          "cc_recipients": {
            "items": {
              "type": "string"
            },
            "title": "Cc Recipients",
            "type": "array"
          },
          "channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "email",
            "title": "Channel"
          },
          "expected_version": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 16,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notify_on_view": {
            "default": false,
            "title": "Notify On View",
            "type": "boolean"
          },
          "recipient": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient"
          },
          "reminder": {
            "default": false,
            "title": "Reminder",
            "type": "boolean"
          },
          "reply_to_email": {
            "anyOf": [
              {
                "maxLength": 320,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Email"
          },
          "scheduled_send_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Send At"
          },
          "send_copy_to_self": {
            "default": false,
            "title": "Send Copy To Self",
            "type": "boolean"
          },
          "sender_email_inbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sender Email Inbox Id"
          },
          "sender_phone_line_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sender Phone Line Id"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "to_recipients": {
            "items": {
              "type": "string"
            },
            "title": "To Recipients",
            "type": "array"
          }
        },
        "title": "CommerceInvoiceSendRequest",
        "type": "object"
      },
      "CommerceInvoiceUpdate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Discount Cents"
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkInput"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Id"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "edit_reason_code": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Edit Reason Code"
          },
          "edit_reason_note": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Edit Reason Note"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected_version": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version"
          },
          "expected_version_number": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version Number"
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fee Cents"
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "lines": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentLineCreate"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lines"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "settlement_resolution_action": {
            "anyOf": [
              {
                "enum": [
                  "none",
                  "refund",
                  "customer_credit",
                  "unapply_or_reallocate_payment",
                  "create_invoice_replacement"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Settlement Resolution Action"
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "tax_profile_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Profile Id"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          }
        },
        "title": "CommerceInvoiceUpdate",
        "type": "object"
      },
      "CommerceLifecycleActionResponse": {
        "properties": {
          "allowed": {
            "title": "Allowed",
            "type": "boolean"
          },
          "alternatives": {
            "items": {
              "type": "string"
            },
            "title": "Alternatives",
            "type": "array"
          },
          "blocker_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Blocker Code"
          },
          "blocker_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Blocker Message"
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "expected_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version"
          },
          "irreversible": {
            "default": false,
            "title": "Irreversible",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "reason_required": {
            "default": false,
            "title": "Reason Required",
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "label",
          "allowed"
        ],
        "title": "CommerceLifecycleActionResponse",
        "type": "object"
      },
      "CommercePaymentAllocationCreate": {
        "properties": {
          "allocated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allocated At"
          },
          "amount_cents": {
            "minimum": 0.0,
            "title": "Amount Cents",
            "type": "integer"
          },
          "application_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Application Scope"
          },
          "application_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Application Type"
          },
          "financial_document_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Financial Document Id"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "source_document_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Id"
          },
          "source_document_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Kind"
          }
        },
        "required": [
          "financial_document_id",
          "amount_cents"
        ],
        "title": "CommercePaymentAllocationCreate",
        "type": "object"
      },
      "CommercePaymentAllocationResponse": {
        "properties": {
          "allocated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allocated At"
          },
          "amount_cents": {
            "minimum": 0.0,
            "title": "Amount Cents",
            "type": "integer"
          },
          "application_scope": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Application Scope"
          },
          "application_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Application Type"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "financial_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Financial Document Uid"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "payment_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Uid"
          },
          "source_document_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Kind"
          },
          "source_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Document Uid"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "amount_cents",
          "uid",
          "org_id",
          "created_at",
          "updated_at"
        ],
        "title": "CommercePaymentAllocationResponse",
        "type": "object"
      },
      "CommercePaymentCreate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "allocatable_amount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allocatable Amount Cents"
          },
          "allocations": {
            "items": {
              "$ref": "#/components/schemas/CommercePaymentAllocationCreate"
            },
            "title": "Allocations",
            "type": "array"
          },
          "amount_cents": {
            "default": 0,
            "minimum": 0.0,
            "title": "Amount Cents",
            "type": "integer"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "deposited_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deposited At"
          },
          "fulfillment_resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteConversionFulfillmentResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "payment_direction": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "inbound",
            "title": "Payment Direction"
          },
          "payment_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "manual",
            "title": "Payment Method"
          },
          "payment_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Number"
          },
          "processor_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processor Name"
          },
          "processor_payment_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processor Payment Id"
          },
          "received_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Received At"
          },
          "reference_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Number"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "received",
            "title": "Status"
          },
          "tip_amount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tip Amount Cents"
          },
          "vendor_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Id"
          }
        },
        "title": "CommercePaymentCreate",
        "type": "object"
      },
      "CommercePaymentListResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CommercePaymentResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "CommercePaymentListResponse",
        "type": "object"
      },
      "CommercePaymentResponse": {
        "properties": {
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "allocatable_amount_cents": {
            "title": "Allocatable Amount Cents",
            "type": "integer"
          },
          "allocations": {
            "items": {
              "$ref": "#/components/schemas/CommercePaymentAllocationResponse"
            },
            "title": "Allocations",
            "type": "array"
          },
          "amount_cents": {
            "title": "Amount Cents",
            "type": "integer"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "deposited_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deposited At"
          },
          "fee_cents": {
            "default": 0,
            "title": "Fee Cents",
            "type": "integer"
          },
          "last_refunded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Refunded At"
          },
          "lifecycle_actions": {
            "items": {
              "$ref": "#/components/schemas/CommerceLifecycleActionResponse"
            },
            "title": "Lifecycle Actions",
            "type": "array"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "payment_direction": {
            "title": "Payment Direction",
            "type": "string"
          },
          "payment_method": {
            "title": "Payment Method",
            "type": "string"
          },
          "payment_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Number"
          },
          "processor_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processor Name"
          },
          "processor_payment_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Processor Payment Id"
          },
          "protected_amount_cents": {
            "title": "Protected Amount Cents",
            "type": "integer"
          },
          "receipt_summary": {
            "title": "Receipt Summary",
            "type": "object"
          },
          "received_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Received At"
          },
          "reference_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Number"
          },
          "refundable_amount_cents": {
            "title": "Refundable Amount Cents",
            "type": "integer"
          },
          "refunded_amount_cents": {
            "title": "Refunded Amount Cents",
            "type": "integer"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tip_amount_cents": {
            "title": "Tip Amount Cents",
            "type": "integer"
          },
          "tip_refundable_amount_cents": {
            "title": "Tip Refundable Amount Cents",
            "type": "integer"
          },
          "tip_refunded_amount_cents": {
            "title": "Tip Refunded Amount Cents",
            "type": "integer"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "unapplied_amount_cents": {
            "title": "Unapplied Amount Cents",
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "version": {
            "default": 1,
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "uid",
          "org_id",
          "payment_direction",
          "status",
          "payment_method",
          "currency",
          "amount_cents",
          "allocatable_amount_cents",
          "tip_amount_cents",
          "unapplied_amount_cents",
          "refunded_amount_cents",
          "tip_refunded_amount_cents",
          "protected_amount_cents",
          "refundable_amount_cents",
          "tip_refundable_amount_cents",
          "created_at",
          "updated_at"
        ],
        "title": "CommercePaymentResponse",
        "type": "object"
      },
      "CommercePricingPreviewOverrideDirective": {
        "properties": {
          "approval_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approval State"
          },
          "approved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approved At"
          },
          "approver_user_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approver User Id"
          },
          "clear_value": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clear Value"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "reason_code": {
            "title": "Reason Code",
            "type": "string"
          },
          "reason_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Text"
          },
          "target": {
            "title": "Target",
            "type": "string"
          },
          "value_bool": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Bool"
          },
          "value_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Cents"
          },
          "value_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Text"
          }
        },
        "required": [
          "target",
          "reason_code"
        ],
        "title": "CommercePricingPreviewOverrideDirective",
        "type": "object"
      },
      "CommerceQuoteConversionFulfillmentResolution": {
        "properties": {
          "allow_backorder": {
            "default": false,
            "title": "Allow Backorder",
            "type": "boolean"
          },
          "convert_available_only": {
            "default": false,
            "title": "Convert Available Only",
            "type": "boolean"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFulfillmentLineResolution"
            },
            "title": "Lines",
            "type": "array"
          },
          "manager_override_negative_stock": {
            "default": false,
            "title": "Manager Override Negative Stock",
            "type": "boolean"
          },
          "note": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "reserve_available": {
            "default": false,
            "title": "Reserve Available",
            "type": "boolean"
          }
        },
        "title": "CommerceQuoteConversionFulfillmentResolution",
        "type": "object"
      },
      "CommerceQuoteCreate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Discount Cents"
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkInput"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Id"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 0,
            "title": "Fee Cents"
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLineCreate"
            },
            "title": "Lines",
            "type": "array"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "draft",
            "title": "Status"
          },
          "tax_profile_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Profile Id"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          }
        },
        "title": "CommerceQuoteCreate",
        "type": "object"
      },
      "CommerceQuoteDecisionRequest": {
        "properties": {
          "note": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "reason_code": {
            "anyOf": [
              {
                "enum": [
                  "customer_declined",
                  "budget",
                  "timing",
                  "lost_to_competitor",
                  "scope_mismatch",
                  "no_response",
                  "duplicate",
                  "withdrawn"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          }
        },
        "title": "CommerceQuoteDecisionRequest",
        "type": "object"
      },
      "CommerceQuoteDecisionResponse": {
        "properties": {
          "actor_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Actor User Id"
          },
          "channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channel"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "portal_identity_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Portal Identity Id"
          },
          "portal_session_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Portal Session Id"
          },
          "reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          },
          "responded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Responded At"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "title": "CommerceQuoteDecisionResponse",
        "type": "object"
      },
      "CommerceQuoteLineageReference": {
        "properties": {
          "converted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted At"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "version_number": {
            "title": "Version Number",
            "type": "integer"
          },
          "version_root_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version Root Uid"
          }
        },
        "required": [
          "uid",
          "status",
          "version_number"
        ],
        "title": "CommerceQuoteLineageReference",
        "type": "object"
      },
      "CommerceQuoteListResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/CommerceQuoteResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "includes_lines": {
            "default": true,
            "title": "Includes Lines",
            "type": "boolean"
          },
          "overview": {
            "additionalProperties": {
              "additionalProperties": {
                "additionalProperties": {
                  "type": "integer"
                },
                "type": "object"
              },
              "type": "object"
            },
            "title": "Overview",
            "type": "object"
          },
          "page": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page"
          },
          "page_size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Size"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          },
          "view_counts": {
            "additionalProperties": {
              "type": "integer"
            },
            "title": "View Counts",
            "type": "object"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "CommerceQuoteListResponse",
        "type": "object"
      },
      "CommerceQuoteProgressRequest": {
        "properties": {
          "amount_cents": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount Cents"
          },
          "expected_remaining_cents": {
            "minimum": 0.0,
            "title": "Expected Remaining Cents",
            "type": "integer"
          },
          "idempotency_key": {
            "maxLength": 160,
            "minLength": 16,
            "title": "Idempotency Key",
            "type": "string"
          },
          "label": {
            "default": "Progress invoice",
            "maxLength": 160,
            "minLength": 1,
            "title": "Label",
            "type": "string"
          },
          "line_uids": {
            "items": {
              "type": "string"
            },
            "maxItems": 500,
            "title": "Line Uids",
            "type": "array"
          },
          "mode": {
            "enum": [
              "remaining",
              "percent",
              "amount",
              "selected_work"
            ],
            "title": "Mode",
            "type": "string"
          },
          "percent": {
            "anyOf": [
              {
                "exclusiveMinimum": 0.0,
                "maximum": 100.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Percent"
          }
        },
        "required": [
          "mode",
          "idempotency_key",
          "expected_remaining_cents"
        ],
        "title": "CommerceQuoteProgressRequest",
        "type": "object"
      },
      "CommerceQuoteResponse": {
        "properties": {
          "accepted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted At"
          },
          "accepted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accepted By"
          },
          "account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "accounting_lock_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accounting Lock Reason"
          },
          "accounting_lock_state": {
            "default": "unlocked",
            "title": "Accounting Lock State",
            "type": "string"
          },
          "accounting_locked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accounting Locked At"
          },
          "accounting_locked_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Accounting Locked By"
          },
          "amount_credited_cents": {
            "title": "Amount Credited Cents",
            "type": "integer"
          },
          "amount_customer_credit_applied_cents": {
            "title": "Amount Customer Credit Applied Cents",
            "type": "integer"
          },
          "amount_deposit_applied_cents": {
            "title": "Amount Deposit Applied Cents",
            "type": "integer"
          },
          "amount_paid_cents": {
            "title": "Amount Paid Cents",
            "type": "integer"
          },
          "amount_refunded_cents": {
            "title": "Amount Refunded Cents",
            "type": "integer"
          },
          "amount_written_off_cents": {
            "default": 0,
            "title": "Amount Written Off Cents",
            "type": "integer"
          },
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "balance_due_cents": {
            "title": "Balance Due Cents",
            "type": "integer"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "canceled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Canceled At"
          },
          "canceled_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Canceled By"
          },
          "commercial_frozen_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Frozen At"
          },
          "commercial_frozen_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Frozen By"
          },
          "commercial_snapshot": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Snapshot"
          },
          "commercial_snapshot_version": {
            "title": "Commercial Snapshot Version",
            "type": "integer"
          },
          "commercial_status": {
            "title": "Commercial Status",
            "type": "string"
          },
          "converted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted At"
          },
          "converted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted By"
          },
          "converted_from_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Converted From Document Uid"
          },
          "converted_invoice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceFinancialDocumentReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "converted_invoices": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentReference"
            },
            "title": "Converted Invoices",
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "credited_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credited At"
          },
          "credited_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Credited By"
          },
          "currency": {
            "title": "Currency",
            "type": "string"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_commitment_package": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomerCommitmentPackageSummaryRead"
              },
              {
                "type": "null"
              }
            ]
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshotRead"
              },
              {
                "type": "null"
              }
            ]
          },
          "discarded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Discarded At"
          },
          "discounts": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDiscountCollectionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "document_flow": {
            "title": "Document Flow",
            "type": "string"
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkResponse"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Key"
          },
          "document_template_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Name"
          },
          "document_template_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Uid"
          },
          "document_template_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Version"
          },
          "document_type": {
            "title": "Document Type",
            "type": "string"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "fee_cents": {
            "title": "Fee Cents",
            "type": "integer"
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "finalized_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finalized At"
          },
          "finalized_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Finalized By"
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "has_mixed_source_lines": {
            "title": "Has Mixed Source Lines",
            "type": "boolean"
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "is_commercially_frozen": {
            "title": "Is Commercially Frozen",
            "type": "boolean"
          },
          "is_discarded": {
            "default": false,
            "title": "Is Discarded",
            "type": "boolean"
          },
          "is_expired": {
            "default": false,
            "title": "Is Expired",
            "type": "boolean"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "line_fee_cents": {
            "title": "Line Fee Cents",
            "type": "integer"
          },
          "lines": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLineResponse"
            },
            "title": "Lines",
            "type": "array"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "net_subtotal_cents": {
            "title": "Net Subtotal Cents",
            "type": "integer"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "paid_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Paid At"
          },
          "parent_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Document Uid"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "previous_version_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous Version Uid"
          },
          "purchase_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Purchase Order Uid"
          },
          "quote_response": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteDecisionResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "recurring": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring"
          },
          "recurring_source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring Source Type"
          },
          "recurring_source_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurring Source Uid"
          },
          "refunded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refunded At"
          },
          "refunded_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refunded By"
          },
          "rejected_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rejected At"
          },
          "rejected_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rejected By"
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "replacement_of_document_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replacement Of Document Uid"
          },
          "restore_expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Restore Expires At"
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "sections": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentTemplateSection"
            },
            "title": "Sections",
            "type": "array"
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_domain_count": {
            "title": "Source Domain Count",
            "type": "integer"
          },
          "source_quote": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteLineageReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Type"
          },
          "source_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Uid"
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subtotal_cents": {
            "title": "Subtotal Cents",
            "type": "integer"
          },
          "tax_cents": {
            "title": "Tax Cents",
            "type": "integer"
          },
          "tax_profile_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Profile Uid"
          },
          "taxable_subtotal_cents": {
            "title": "Taxable Subtotal Cents",
            "type": "integer"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "total_cents": {
            "title": "Total Cents",
            "type": "integer"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "ux": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceFinancialDocumentUxResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "vendor_invoice_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Invoice Number"
          },
          "vendor_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Uid"
          },
          "version": {
            "minimum": 1.0,
            "title": "Version",
            "type": "integer"
          },
          "version_number": {
            "title": "Version Number",
            "type": "integer"
          },
          "version_root_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Version Root Uid"
          },
          "voided_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Voided At"
          },
          "voided_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Voided By"
          },
          "work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Uid"
          }
        },
        "required": [
          "org_id",
          "document_flow",
          "document_type",
          "status",
          "commercial_status",
          "version",
          "version_number",
          "currency",
          "subtotal_cents",
          "line_fee_cents",
          "fee_cents",
          "net_subtotal_cents",
          "taxable_subtotal_cents",
          "tax_cents",
          "total_cents",
          "amount_paid_cents",
          "amount_credited_cents",
          "amount_refunded_cents",
          "amount_deposit_applied_cents",
          "amount_customer_credit_applied_cents",
          "balance_due_cents",
          "is_commercially_frozen",
          "has_mixed_source_lines",
          "source_domain_count",
          "commercial_snapshot_version",
          "created_at",
          "updated_at"
        ],
        "title": "CommerceQuoteResponse",
        "type": "object"
      },
      "CommerceQuoteSendRequest": {
        "properties": {
          "bcc_recipients": {
            "items": {
              "type": "string"
            },
            "title": "Bcc Recipients",
            "type": "array"
          },
          "body_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Html"
          },
          "body_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Body Text"
          },
          "cc_recipients": {
            "items": {
              "type": "string"
            },
            "title": "Cc Recipients",
            "type": "array"
          },
          "channel": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "email",
            "title": "Channel"
          },
          "expected_version": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 16,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notify_on_view": {
            "default": false,
            "title": "Notify On View",
            "type": "boolean"
          },
          "recipient": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient"
          },
          "reminder": {
            "default": false,
            "title": "Reminder",
            "type": "boolean"
          },
          "reply_to_email": {
            "anyOf": [
              {
                "maxLength": 320,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reply To Email"
          },
          "scheduled_send_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Send At"
          },
          "send_copy_to_self": {
            "default": false,
            "title": "Send Copy To Self",
            "type": "boolean"
          },
          "sender_email_inbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sender Email Inbox Id"
          },
          "sender_phone_line_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sender Phone Line Id"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "to_recipients": {
            "items": {
              "type": "string"
            },
            "title": "To Recipients",
            "type": "array"
          }
        },
        "title": "CommerceQuoteSendRequest",
        "type": "object"
      },
      "CommerceQuoteToInvoiceConversionRequest": {
        "properties": {
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkInput"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Id"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "fulfillment_resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteConversionFulfillmentResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "progress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceQuoteProgressRequest"
              },
              {
                "type": "null"
              }
            ]
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "draft",
            "title": "Status"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "CommerceQuoteToInvoiceConversionRequest",
        "type": "object"
      },
      "CommerceQuoteUpdate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "attachment_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentAttachmentLink"
            },
            "title": "Attachment Links",
            "type": "array"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Currency"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentCustomField"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Message"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_reference": {
            "anyOf": [
              {
                "maxLength": 255,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Reference"
          },
          "customer_snapshot": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentCustomerSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "discount_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Discount Cents"
          },
          "document_links": {
            "items": {
              "$ref": "#/components/schemas/CommerceFinancialDocumentLinkInput"
            },
            "title": "Document Links",
            "type": "array"
          },
          "document_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Number"
          },
          "document_references": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentReference"
            },
            "title": "Document References",
            "type": "array"
          },
          "document_template_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Document Template Id"
          },
          "edit_reason_code": {
            "anyOf": [
              {
                "maxLength": 80,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Edit Reason Code"
          },
          "edit_reason_note": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Edit Reason Note"
          },
          "estimate_worksheet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceEstimateWorksheet-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "expected_version": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version"
          },
          "expected_version_number": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version Number"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "fee_cents": {
            "anyOf": [
              {
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fee Cents"
          },
          "field_layout": {
            "items": {
              "$ref": "#/components/schemas/CommerceDocumentFieldLayout"
            },
            "title": "Field Layout",
            "type": "array"
          },
          "handoff_policy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentHandoffPolicy"
              },
              {
                "type": "null"
              }
            ]
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "internal_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Memo"
          },
          "issued_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issued At"
          },
          "legal_terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentLegalTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "lines": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentLineCreate"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lines"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "payment_instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Payment Instructions"
          },
          "payment_options": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentOptions"
              },
              {
                "type": "null"
              }
            ]
          },
          "payment_schedule": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPaymentSchedule-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "presentation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentPresentation"
              },
              {
                "type": "null"
              }
            ]
          },
          "remittance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentRemittance"
              },
              {
                "type": "null"
              }
            ]
          },
          "sales_rep": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentSalesRep"
              },
              {
                "type": "null"
              }
            ]
          },
          "scheduling": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentScheduling"
              },
              {
                "type": "null"
              }
            ]
          },
          "settlement_resolution_action": {
            "anyOf": [
              {
                "enum": [
                  "none",
                  "refund",
                  "customer_credit",
                  "unapply_or_reallocate_payment",
                  "create_invoice_replacement"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Settlement Resolution Action"
          },
          "shipping_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentShippingDetails-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "statement_memo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Statement Memo"
          },
          "tax_profile_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tax Profile Id"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommerceDocumentTerms"
              },
              {
                "type": "null"
              }
            ]
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          }
        },
        "title": "CommerceQuoteUpdate",
        "type": "object"
      },
      "CommunicationSourceInput": {
        "description": "Optional link back to the originating call / conversation / call follow-up.",
        "properties": {
          "call_followup_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Followup Id"
          },
          "call_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Id"
          },
          "conversation_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Conversation Id"
          },
          "created_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Via"
          },
          "kind": {
            "anyOf": [
              {
                "enum": [
                  "call",
                  "conversation",
                  "call_followup"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Kind"
          }
        },
        "title": "CommunicationSourceInput",
        "type": "object"
      },
      "ContactCreate": {
        "additionalProperties": false,
        "properties": {
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "custom_fields": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "gender_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender Id"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "marital_status_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marital Status Id"
          },
          "middle_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Middle Name"
          },
          "occupation_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Occupation Id"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          },
          "pronoun_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pronoun Id"
          },
          "suffix_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suffix Id"
          },
          "title_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title Id"
          }
        },
        "title": "ContactCreate",
        "type": "object"
      },
      "ContactMethodOwnerType": {
        "enum": [
          "contact",
          "account",
          "location"
        ],
        "title": "ContactMethodOwnerType",
        "type": "string"
      },
      "ContactMethodResponse": {
        "properties": {
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "can_text": {
            "title": "Can Text",
            "type": "boolean"
          },
          "consent_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consent Source"
          },
          "consent_status": {
            "enum": [
              "unknown",
              "opted_in",
              "opted_out",
              "pending",
              "implied"
            ],
            "title": "Consent Status",
            "type": "string"
          },
          "consent_updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consent Updated At"
          },
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "is_archived": {
            "title": "Is Archived",
            "type": "boolean"
          },
          "is_primary": {
            "title": "Is Primary",
            "type": "boolean"
          },
          "is_public": {
            "title": "Is Public",
            "type": "boolean"
          },
          "is_verified": {
            "title": "Is Verified",
            "type": "boolean"
          },
          "is_voice_capable": {
            "title": "Is Voice Capable",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "meta": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Meta"
          },
          "method_type": {
            "$ref": "#/components/schemas/ContactMethodType"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "opt_out": {
            "title": "Opt Out",
            "type": "boolean"
          },
          "owner_type": {
            "$ref": "#/components/schemas/ContactMethodOwnerType"
          },
          "owner_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Uid"
          },
          "phone_extension": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Extension"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          },
          "value_normalized": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Normalized"
          },
          "verification_meta": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verification Meta"
          },
          "verification_method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verification Method"
          },
          "verified_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verified At"
          }
        },
        "required": [
          "uid",
          "owner_type",
          "method_type",
          "value",
          "is_primary",
          "is_verified",
          "is_public",
          "can_text",
          "is_voice_capable",
          "consent_status",
          "opt_out",
          "is_archived"
        ],
        "title": "ContactMethodResponse",
        "type": "object"
      },
      "ContactMethodType": {
        "enum": [
          "phone",
          "email",
          "social_profile"
        ],
        "title": "ContactMethodType",
        "type": "string"
      },
      "ContactResponse": {
        "properties": {
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "deleted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted By"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "gender_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender Uid"
          },
          "is_archived": {
            "title": "Is Archived",
            "type": "boolean"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "marital_status_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marital Status Uid"
          },
          "merge_job_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merge Job Uid"
          },
          "merged_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged At"
          },
          "merged_into_contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged Into Contact Uid"
          },
          "methods": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/ContactMethodResponse"
            },
            "title": "Methods",
            "type": "array"
          },
          "middle_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Middle Name"
          },
          "occupation_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Occupation Uid"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          },
          "pronoun_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pronoun Uid"
          },
          "suffix_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suffix Uid"
          },
          "title_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title Uid"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          }
        },
        "required": [
          "uid",
          "org_id",
          "is_archived",
          "created_at",
          "updated_at"
        ],
        "title": "ContactResponse",
        "type": "object"
      },
      "ContactUpdate": {
        "additionalProperties": false,
        "properties": {
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "gender_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gender Id"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "marital_status_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Marital Status Id"
          },
          "middle_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Middle Name"
          },
          "occupation_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Occupation Id"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          },
          "pronoun_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pronoun Id"
          },
          "suffix_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Suffix Id"
          },
          "title_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title Id"
          }
        },
        "title": "ContactUpdate",
        "type": "object"
      },
      "CustomFieldDefinitionResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "default_value": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Default Value"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "field_key": {
            "title": "Field Key",
            "type": "string"
          },
          "field_name": {
            "title": "Field Name",
            "type": "string"
          },
          "field_type": {
            "title": "Field Type",
            "type": "string"
          },
          "is_required": {
            "title": "Is Required",
            "type": "boolean"
          },
          "lifecycle": {
            "$ref": "#/components/schemas/CustomFieldLifecycle"
          },
          "metadata": {
            "title": "Metadata",
            "type": "object"
          },
          "options": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldOptionDescriptor"
            },
            "title": "Options",
            "type": "array"
          },
          "organization_id": {
            "title": "Organization Id",
            "type": "integer"
          },
          "policy": {
            "$ref": "#/components/schemas/CustomFieldPolicy"
          },
          "runtime_descriptor": {
            "$ref": "#/components/schemas/CustomFieldRuntimeDescriptor"
          },
          "sort_order": {
            "title": "Sort Order",
            "type": "integer"
          },
          "subject_key": {
            "title": "Subject Key",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "organization_id",
          "subject_key",
          "field_name",
          "field_key",
          "field_type",
          "is_required",
          "sort_order",
          "lifecycle",
          "runtime_descriptor",
          "created_at",
          "updated_at"
        ],
        "title": "CustomFieldDefinitionResponse",
        "type": "object"
      },
      "CustomFieldExportEligibilityDescriptor": {
        "properties": {
          "exportable": {
            "title": "Exportable",
            "type": "boolean"
          },
          "record_export_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Export Key"
          }
        },
        "required": [
          "exportable"
        ],
        "title": "CustomFieldExportEligibilityDescriptor",
        "type": "object"
      },
      "CustomFieldExposureEligibilityDescriptor": {
        "properties": {
          "merge_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merge Token"
          },
          "portal_visible": {
            "title": "Portal Visible",
            "type": "boolean"
          },
          "template_mergeable": {
            "title": "Template Mergeable",
            "type": "boolean"
          }
        },
        "required": [
          "template_mergeable",
          "portal_visible"
        ],
        "title": "CustomFieldExposureEligibilityDescriptor",
        "type": "object"
      },
      "CustomFieldLifecycle": {
        "properties": {
          "archived_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived At"
          },
          "archived_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived By User Id"
          },
          "status": {
            "enum": [
              "active",
              "archived"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "CustomFieldLifecycle",
        "type": "object"
      },
      "CustomFieldListEligibilityDescriptor": {
        "properties": {
          "column_id": {
            "title": "Column Id",
            "type": "string"
          },
          "default_column_visibility": {
            "default": false,
            "title": "Default Column Visibility",
            "type": "boolean"
          },
          "filterable": {
            "title": "Filterable",
            "type": "boolean"
          },
          "sort_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Key"
          },
          "sortable": {
            "title": "Sortable",
            "type": "boolean"
          },
          "supported_filter_operators": {
            "items": {
              "type": "string"
            },
            "title": "Supported Filter Operators",
            "type": "array"
          },
          "visible_in_list": {
            "title": "Visible In List",
            "type": "boolean"
          }
        },
        "required": [
          "column_id",
          "visible_in_list",
          "filterable",
          "sortable"
        ],
        "title": "CustomFieldListEligibilityDescriptor",
        "type": "object"
      },
      "CustomFieldMutationPolicy": {
        "properties": {
          "immutable_fields": {
            "items": {
              "type": "string"
            },
            "title": "Immutable Fields",
            "type": "array"
          },
          "lifecycle_mutation_mode": {
            "default": "archive_restore",
            "enum": [
              "archive_only",
              "archive_restore"
            ],
            "title": "Lifecycle Mutation Mode",
            "type": "string"
          },
          "option_mutation_mode": {
            "default": "managed_after_create",
            "enum": [
              "immutable_after_create",
              "managed_after_create"
            ],
            "title": "Option Mutation Mode",
            "type": "string"
          }
        },
        "title": "CustomFieldMutationPolicy",
        "type": "object"
      },
      "CustomFieldOptionDescriptor": {
        "properties": {
          "is_active": {
            "default": true,
            "title": "Is Active",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "CustomFieldOptionDescriptor",
        "type": "object"
      },
      "CustomFieldPolicy": {
        "additionalProperties": false,
        "properties": {
          "applicability": {
            "default": true,
            "title": "Applicability",
            "type": "boolean"
          },
          "editability": {
            "default": true,
            "title": "Editability",
            "type": "boolean"
          },
          "exportability": {
            "default": true,
            "title": "Exportability",
            "type": "boolean"
          },
          "metadata": {
            "title": "Metadata",
            "type": "object"
          },
          "reportability": {
            "default": false,
            "title": "Reportability",
            "type": "boolean"
          },
          "searchability": {
            "default": false,
            "title": "Searchability",
            "type": "boolean"
          },
          "visibility": {
            "default": true,
            "title": "Visibility",
            "type": "boolean"
          }
        },
        "title": "CustomFieldPolicy",
        "type": "object"
      },
      "CustomFieldRecordValueResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "field_uid": {
            "title": "Field Uid",
            "type": "string"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "lifecycle": {
            "$ref": "#/components/schemas/CustomFieldValueLifecycle"
          },
          "record_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Uid"
          },
          "subject_key": {
            "title": "Subject Key",
            "type": "string"
          },
          "typed_value": {
            "$ref": "#/components/schemas/CustomFieldTypedValue"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "boolean"
              },
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value"
          },
          "value_type": {
            "enum": [
              "text",
              "multiline",
              "number",
              "date",
              "boolean",
              "select"
            ],
            "title": "Value Type",
            "type": "string"
          }
        },
        "required": [
          "field_uid",
          "subject_key",
          "value_type",
          "typed_value",
          "lifecycle",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "title": "CustomFieldRecordValueResponse",
        "type": "object"
      },
      "CustomFieldReportingEligibilityDescriptor": {
        "properties": {
          "dimension_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dimension Key"
          },
          "reportable": {
            "title": "Reportable",
            "type": "boolean"
          },
          "supported_filter_operators": {
            "items": {
              "type": "string"
            },
            "title": "Supported Filter Operators",
            "type": "array"
          },
          "supported_value_aggregations": {
            "items": {
              "type": "string"
            },
            "title": "Supported Value Aggregations",
            "type": "array"
          },
          "value_storage_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Value Storage Column"
          }
        },
        "required": [
          "reportable"
        ],
        "title": "CustomFieldReportingEligibilityDescriptor",
        "type": "object"
      },
      "CustomFieldRuntimeBundle": {
        "properties": {
          "archived_fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldDefinitionResponse"
            },
            "title": "Archived Fields",
            "type": "array"
          },
          "archived_values": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldRecordValueResponse"
            },
            "title": "Archived Values",
            "type": "array"
          },
          "fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldDefinitionResponse"
            },
            "title": "Fields",
            "type": "array"
          },
          "record_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Record Uid"
          },
          "subject_key": {
            "title": "Subject Key",
            "type": "string"
          },
          "values": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldRecordValueResponse"
            },
            "title": "Values",
            "type": "array"
          }
        },
        "required": [
          "subject_key"
        ],
        "title": "CustomFieldRuntimeBundle",
        "type": "object"
      },
      "CustomFieldRuntimeDescriptor": {
        "properties": {
          "descriptor_version": {
            "default": 2,
            "title": "Descriptor Version",
            "type": "integer"
          },
          "export_eligibility": {
            "$ref": "#/components/schemas/CustomFieldExportEligibilityDescriptor"
          },
          "exposure_eligibility": {
            "$ref": "#/components/schemas/CustomFieldExposureEligibilityDescriptor"
          },
          "field_key": {
            "title": "Field Key",
            "type": "string"
          },
          "field_type": {
            "title": "Field Type",
            "type": "string"
          },
          "input_kind": {
            "title": "Input Kind",
            "type": "string"
          },
          "lifecycle": {
            "$ref": "#/components/schemas/CustomFieldLifecycle"
          },
          "list_eligibility": {
            "$ref": "#/components/schemas/CustomFieldListEligibilityDescriptor"
          },
          "mutation_policy": {
            "$ref": "#/components/schemas/CustomFieldMutationPolicy"
          },
          "options": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldOptionDescriptor"
            },
            "title": "Options",
            "type": "array"
          },
          "policy": {
            "$ref": "#/components/schemas/CustomFieldPolicy"
          },
          "query_operators": {
            "items": {
              "type": "string"
            },
            "title": "Query Operators",
            "type": "array"
          },
          "reporting_eligibility": {
            "$ref": "#/components/schemas/CustomFieldReportingEligibilityDescriptor"
          },
          "subject_key": {
            "title": "Subject Key",
            "type": "string"
          },
          "surface_eligibility": {
            "$ref": "#/components/schemas/CustomFieldSurfaceEligibilityDescriptor"
          },
          "ui_presentation": {
            "$ref": "#/components/schemas/CustomFieldUiPresentationDescriptor"
          },
          "value_model": {
            "$ref": "#/components/schemas/CustomFieldValueModelDescriptor"
          }
        },
        "required": [
          "subject_key",
          "field_key",
          "field_type",
          "input_kind",
          "policy",
          "lifecycle",
          "value_model",
          "list_eligibility",
          "export_eligibility",
          "reporting_eligibility",
          "exposure_eligibility"
        ],
        "title": "CustomFieldRuntimeDescriptor",
        "type": "object"
      },
      "CustomFieldSubjectValueInput": {
        "additionalProperties": false,
        "properties": {
          "field_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Field Id"
          },
          "value": {
            "title": "Value"
          }
        },
        "required": [
          "field_id"
        ],
        "title": "CustomFieldSubjectValueInput",
        "type": "object"
      },
      "CustomFieldSurfaceEligibilityDescriptor": {
        "additionalProperties": false,
        "properties": {
          "surfaces": {
            "additionalProperties": {
              "$ref": "#/components/schemas/CustomFieldSurfaceOverride"
            },
            "title": "Surfaces",
            "type": "object"
          }
        },
        "title": "CustomFieldSurfaceEligibilityDescriptor",
        "type": "object"
      },
      "CustomFieldSurfaceOverride": {
        "additionalProperties": false,
        "properties": {
          "visibility": {
            "default": "inherit",
            "enum": [
              "inherit",
              "show",
              "hide"
            ],
            "title": "Visibility",
            "type": "string"
          }
        },
        "title": "CustomFieldSurfaceOverride",
        "type": "object"
      },
      "CustomFieldTypedValue": {
        "properties": {
          "boolean": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Boolean"
          },
          "date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date"
          },
          "kind": {
            "enum": [
              "text",
              "multiline",
              "number",
              "date",
              "boolean",
              "select"
            ],
            "title": "Kind",
            "type": "string"
          },
          "number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Number"
          },
          "option_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Option Key"
          },
          "scalar": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "boolean"
              },
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scalar"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Text"
          }
        },
        "required": [
          "kind"
        ],
        "title": "CustomFieldTypedValue",
        "type": "object"
      },
      "CustomFieldUiPresentationDescriptor": {
        "additionalProperties": false,
        "properties": {
          "appearance": {
            "default": "auto",
            "enum": [
              "auto",
              "text",
              "textarea",
              "radio",
              "segmented",
              "switch",
              "select"
            ],
            "title": "Appearance",
            "type": "string"
          },
          "help_mode": {
            "default": "short",
            "enum": [
              "hidden",
              "short",
              "full"
            ],
            "title": "Help Mode",
            "type": "string"
          },
          "priority": {
            "default": 0,
            "title": "Priority",
            "type": "integer"
          },
          "section_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Section Key"
          },
          "section_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Section Label"
          },
          "width": {
            "default": "half",
            "enum": [
              "half",
              "full"
            ],
            "title": "Width",
            "type": "string"
          }
        },
        "title": "CustomFieldUiPresentationDescriptor",
        "type": "object"
      },
      "CustomFieldValueLifecycle": {
        "properties": {
          "cleared_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cleared At"
          },
          "cleared_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cleared By User Id"
          },
          "status": {
            "enum": [
              "active",
              "cleared"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "CustomFieldValueLifecycle",
        "type": "object"
      },
      "CustomFieldValueModelDescriptor": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "storage_table": {
            "title": "Storage Table",
            "type": "string"
          },
          "supports_generic_record_routes": {
            "title": "Supports Generic Record Routes",
            "type": "boolean"
          },
          "write_contract": {
            "title": "Write Contract",
            "type": "string"
          }
        },
        "required": [
          "key",
          "storage_table",
          "supports_generic_record_routes",
          "write_contract"
        ],
        "title": "CustomFieldValueModelDescriptor",
        "type": "object"
      },
      "CustomerCommitmentPackageSummaryRead": {
        "properties": {
          "account_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Label"
          },
          "agreement_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agreement Status"
          },
          "agreement_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agreement Title"
          },
          "agreement_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Agreement Uid"
          },
          "approved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Approved At"
          },
          "auth_policy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Auth Policy"
          },
          "auto_create_invoice_draft": {
            "default": false,
            "title": "Auto Create Invoice Draft",
            "type": "boolean"
          },
          "canceled_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Canceled At"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "decline_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decline Reason"
          },
          "declined_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Declined At"
          },
          "delivery_channel": {
            "title": "Delivery Channel",
            "type": "string"
          },
          "execution_surface": {
            "title": "Execution Surface",
            "type": "string"
          },
          "expired_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expired At"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "invoice_target_status": {
            "default": "draft",
            "title": "Invoice Target Status",
            "type": "string"
          },
          "invoice_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Invoice Uid"
          },
          "last_reminded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Reminded At"
          },
          "last_sent_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Sent At"
          },
          "mode": {
            "title": "Mode",
            "type": "string"
          },
          "participant_count": {
            "default": 0,
            "title": "Participant Count",
            "type": "integer"
          },
          "portal_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Portal Url"
          },
          "recipient_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient Email"
          },
          "recipient_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient Name"
          },
          "recipient_phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient Phone"
          },
          "recipient_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient Role"
          },
          "reminder_count": {
            "default": 0,
            "title": "Reminder Count",
            "type": "integer"
          },
          "requested_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Requested At"
          },
          "resend_count": {
            "default": 0,
            "title": "Resend Count",
            "type": "integer"
          },
          "resolution_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolution Source"
          },
          "sent_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sent At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subject_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Label"
          },
          "subject_type": {
            "title": "Subject Type",
            "type": "string"
          },
          "subject_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Uid"
          },
          "subject_version_number": {
            "title": "Subject Version Number",
            "type": "integer"
          },
          "subject_version_root_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Version Root Uid"
          },
          "superseded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Superseded At"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "viewed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Viewed At"
          }
        },
        "required": [
          "uid",
          "subject_type",
          "subject_version_number",
          "mode",
          "execution_surface",
          "status",
          "delivery_channel"
        ],
        "title": "CustomerCommitmentPackageSummaryRead",
        "type": "object"
      },
      "DocumentManagementRequest": {
        "properties": {
          "expected_version": {
            "minimum": 1.0,
            "title": "Expected Version",
            "type": "integer"
          },
          "idempotency_key": {
            "maxLength": 160,
            "minLength": 16,
            "title": "Idempotency Key",
            "type": "string"
          }
        },
        "required": [
          "expected_version",
          "idempotency_key"
        ],
        "title": "DocumentManagementRequest",
        "type": "object"
      },
      "EntityFilesResponse": {
        "description": "Paginated list of FileLink items (each includes the File).",
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/FileLinkResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "minimum": 0.0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "data"
        ],
        "title": "EntityFilesResponse",
        "type": "object"
      },
      "FileLinkResponse": {
        "description": "Returned when listing entity files or creating a link.\nIncludes embedded File metadata for UI convenience.\n\nThe integer primary key never leaves the database — the opaque ``uid`` is the\nonly link identifier on the wire.",
        "properties": {
          "capture_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Capture Source"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "deleted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted By"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "entity_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Label"
          },
          "entity_meta": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Meta"
          },
          "entity_type": {
            "title": "Entity Type",
            "type": "string"
          },
          "entity_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Uid"
          },
          "file": {
            "$ref": "#/components/schemas/FileResponse"
          },
          "file_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Uid"
          },
          "folder_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Folder Uid"
          },
          "is_deleted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Deleted"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "parent_account_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Account Label"
          },
          "parent_account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Account Uid"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          },
          "related_via": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Related Via"
          },
          "routing_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Routing Status"
          },
          "semantic_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Semantic Kind"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/FileVisibility"
          }
        },
        "required": [
          "uid",
          "org_id",
          "entity_type",
          "visibility",
          "created_at",
          "file"
        ],
        "title": "FileLinkResponse",
        "type": "object"
      },
      "FileResponse": {
        "description": "Returned after uploading a file and used when embedding file metadata under links.\n\nThe integer primary key never leaves the database — the opaque ``uid`` is the\nonly file identifier on the wire.",
        "properties": {
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Type"
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "deleted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted By"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration Seconds"
          },
          "file_ext": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Ext"
          },
          "file_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Kind"
          },
          "full_res_additional_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Additional Bytes"
          },
          "full_res_available": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Available"
          },
          "full_res_content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Content Type"
          },
          "full_res_counts_toward_storage": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Counts Toward Storage"
          },
          "full_res_deletable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Deletable"
          },
          "full_res_downloadable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Downloadable"
          },
          "full_res_duration_seconds": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Duration Seconds"
          },
          "full_res_height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Height"
          },
          "full_res_original_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Original Filename"
          },
          "full_res_page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Page Count"
          },
          "full_res_sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Sha256"
          },
          "full_res_size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Size Bytes"
          },
          "full_res_uploaded_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Uploaded At"
          },
          "full_res_variant_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Variant Mode"
          },
          "full_res_width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Full Res Width"
          },
          "height": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Height"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "metadata_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata Error"
          },
          "metadata_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata Status"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "original_filename": {
            "title": "Original Filename",
            "type": "string"
          },
          "page_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Page Count"
          },
          "preview_base_variant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Base Variant"
          },
          "preview_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Error"
          },
          "preview_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Status"
          },
          "preview_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Url"
          },
          "preview_variants": {
            "items": {
              "type": "string"
            },
            "title": "Preview Variants",
            "type": "array"
          },
          "processing_status": {
            "default": "not_required",
            "title": "Processing Status",
            "type": "string"
          },
          "reported_content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reported Content Type"
          },
          "safety_checked_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Safety Checked At"
          },
          "safety_status": {
            "default": "not_required",
            "title": "Safety Status",
            "type": "string"
          },
          "sha256": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sha256"
          },
          "size_bytes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Size Bytes"
          },
          "thumbnail_available": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thumbnail Available"
          },
          "thumbnail_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Thumbnail Url"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "upload_completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Completed At"
          },
          "upload_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Error"
          },
          "upload_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Upload Started At"
          },
          "upload_status": {
            "title": "Upload Status",
            "type": "string"
          },
          "uploaded_at": {
            "format": "date-time",
            "title": "Uploaded At",
            "type": "string"
          },
          "uploaded_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uploaded By"
          },
          "width": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Width"
          }
        },
        "required": [
          "uid",
          "org_id",
          "original_filename",
          "upload_status",
          "uploaded_at"
        ],
        "title": "FileResponse",
        "type": "object"
      },
      "FileVisibility": {
        "enum": [
          "internal",
          "account"
        ],
        "title": "FileVisibility",
        "type": "string"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "HelpArticleResponse": {
        "properties": {
          "audience": {
            "title": "Audience",
            "type": "string"
          },
          "body_html": {
            "title": "Body Html",
            "type": "string"
          },
          "body_markdown": {
            "title": "Body Markdown",
            "type": "string"
          },
          "breadcrumb": {
            "items": {
              "type": "string"
            },
            "title": "Breadcrumb",
            "type": "array"
          },
          "features": {
            "items": {
              "type": "string"
            },
            "title": "Features",
            "type": "array"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "keywords": {
            "items": {
              "type": "string"
            },
            "title": "Keywords",
            "type": "array"
          },
          "markdown_url": {
            "title": "Markdown Url",
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "title": "Permissions",
            "type": "array"
          },
          "related": {
            "items": {
              "$ref": "#/components/schemas/HelpRelatedArticle"
            },
            "title": "Related",
            "type": "array"
          },
          "routes": {
            "items": {
              "type": "string"
            },
            "title": "Routes",
            "type": "array"
          },
          "section": {
            "title": "Section",
            "type": "string"
          },
          "section_title": {
            "title": "Section Title",
            "type": "string"
          },
          "since": {
            "title": "Since",
            "type": "string"
          },
          "steps": {
            "items": {
              "type": "string"
            },
            "title": "Steps",
            "type": "array"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated": {
            "title": "Updated",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          },
          "word_count": {
            "default": 0,
            "title": "Word Count",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "title",
          "audience",
          "section",
          "section_title",
          "summary",
          "updated",
          "url",
          "markdown_url",
          "since",
          "body_html",
          "body_markdown"
        ],
        "title": "HelpArticleResponse",
        "type": "object"
      },
      "HelpRelatedArticle": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "key",
          "title",
          "summary",
          "url"
        ],
        "title": "HelpRelatedArticle",
        "type": "object"
      },
      "HelpSearchItem": {
        "properties": {
          "audience": {
            "title": "Audience",
            "type": "string"
          },
          "breadcrumb": {
            "items": {
              "type": "string"
            },
            "title": "Breadcrumb",
            "type": "array"
          },
          "features": {
            "items": {
              "type": "string"
            },
            "title": "Features",
            "type": "array"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "markdown_url": {
            "title": "Markdown Url",
            "type": "string"
          },
          "permissions": {
            "items": {
              "type": "string"
            },
            "title": "Permissions",
            "type": "array"
          },
          "rank": {
            "default": 0.0,
            "title": "Rank",
            "type": "number"
          },
          "routes": {
            "items": {
              "type": "string"
            },
            "title": "Routes",
            "type": "array"
          },
          "section": {
            "title": "Section",
            "type": "string"
          },
          "section_title": {
            "title": "Section Title",
            "type": "string"
          },
          "snippet_html": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snippet Html"
          },
          "summary": {
            "title": "Summary",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "updated": {
            "title": "Updated",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "key",
          "title",
          "audience",
          "section",
          "section_title",
          "summary",
          "updated",
          "url",
          "markdown_url"
        ],
        "title": "HelpSearchItem",
        "type": "object"
      },
      "HelpSearchResponse": {
        "properties": {
          "audience": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audience"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/HelpSearchItem"
            },
            "title": "Items",
            "type": "array"
          },
          "query": {
            "title": "Query",
            "type": "string"
          },
          "total": {
            "default": 0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "query"
        ],
        "title": "HelpSearchResponse",
        "type": "object"
      },
      "IdentityReviewCandidateRecentActivity": {
        "properties": {
          "account_created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Created At"
          },
          "account_updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Updated At"
          },
          "contact_updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Updated At"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Activity At"
          },
          "location_updated_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Updated At"
          }
        },
        "title": "IdentityReviewCandidateRecentActivity",
        "type": "object"
      },
      "IdentityReviewCandidateSummary": {
        "additionalProperties": true,
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "account_inactive": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Inactive"
          },
          "account_lifecycle_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Lifecycle Category"
          },
          "account_lifecycle_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Lifecycle Label"
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Status"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "candidate_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Candidate Key"
          },
          "comparison_rows": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewComparisonRow"
            },
            "title": "Comparison Rows",
            "type": "array"
          },
          "confidence_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confidence Label"
          },
          "confidence_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confidence Score"
          },
          "conflict_flags": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewConflictFlag"
            },
            "title": "Conflict Flags",
            "type": "array"
          },
          "contact_email_masked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Email Masked"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          },
          "contact_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Name"
          },
          "contact_phone_masked": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Phone Masked"
          },
          "contact_selection_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Selection Source"
          },
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "evidence_summary": {
            "items": {
              "type": "string"
            },
            "title": "Evidence Summary",
            "type": "array"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "location_is_archived": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Is Archived"
          },
          "location_is_primary": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Is Primary"
          },
          "location_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Label"
          },
          "location_selection_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Selection Source"
          },
          "location_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Type"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "match_reasons": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewMatchReason"
            },
            "title": "Match Reasons",
            "type": "array"
          },
          "reason_codes": {
            "items": {
              "type": "string"
            },
            "title": "Reason Codes",
            "type": "array"
          },
          "recent_activity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IdentityReviewCandidateRecentActivity"
              },
              {
                "type": "null"
              }
            ]
          },
          "risk_summary": {
            "items": {
              "type": "string"
            },
            "title": "Risk Summary",
            "type": "array"
          },
          "signals": {
            "items": {
              "type": "string"
            },
            "title": "Signals",
            "type": "array"
          }
        },
        "title": "IdentityReviewCandidateSummary",
        "type": "object"
      },
      "IdentityReviewComparisonMatrixCell": {
        "properties": {
          "candidate_key": {
            "title": "Candidate Key",
            "type": "string"
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "status": {
            "default": "info",
            "title": "Status",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "candidate_key",
          "value"
        ],
        "title": "IdentityReviewComparisonMatrixCell",
        "type": "object"
      },
      "IdentityReviewComparisonMatrixRow": {
        "properties": {
          "cells": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewComparisonMatrixCell"
            },
            "title": "Cells",
            "type": "array"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "submitted": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Submitted"
          }
        },
        "required": [
          "key",
          "label"
        ],
        "title": "IdentityReviewComparisonMatrixRow",
        "type": "object"
      },
      "IdentityReviewComparisonRow": {
        "properties": {
          "existing": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Existing"
          },
          "key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Key"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "submitted": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Submitted"
          }
        },
        "title": "IdentityReviewComparisonRow",
        "type": "object"
      },
      "IdentityReviewConflictFlag": {
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "severity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Severity"
          }
        },
        "title": "IdentityReviewConflictFlag",
        "type": "object"
      },
      "IdentityReviewDecisionOption": {
        "properties": {
          "action": {
            "title": "Action",
            "type": "string"
          },
          "category": {
            "default": "common",
            "title": "Category",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "high_risk": {
            "default": false,
            "title": "High Risk",
            "type": "boolean"
          },
          "intent": {
            "title": "Intent",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "operation_effects": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewOperationEffect"
            },
            "title": "Operation Effects",
            "type": "array"
          },
          "recommended": {
            "default": false,
            "title": "Recommended",
            "type": "boolean"
          },
          "requires_account": {
            "default": false,
            "title": "Requires Account",
            "type": "boolean"
          }
        },
        "required": [
          "action",
          "label",
          "intent",
          "description"
        ],
        "title": "IdentityReviewDecisionOption",
        "type": "object"
      },
      "IdentityReviewMatchReason": {
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "detail": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Detail"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "strength": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Strength"
          }
        },
        "title": "IdentityReviewMatchReason",
        "type": "object"
      },
      "IdentityReviewNotePrompt": {
        "properties": {
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          },
          "required_for_actions": {
            "items": {
              "type": "string"
            },
            "title": "Required For Actions",
            "type": "array"
          }
        },
        "required": [
          "key",
          "label",
          "prompt"
        ],
        "title": "IdentityReviewNotePrompt",
        "type": "object"
      },
      "IdentityReviewOperationEffect": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "severity": {
            "default": "info",
            "title": "Severity",
            "type": "string"
          }
        },
        "required": [
          "code",
          "label",
          "detail"
        ],
        "title": "IdentityReviewOperationEffect",
        "type": "object"
      },
      "LifecycleCategory": {
        "enum": [
          "pre_active",
          "active",
          "inactive",
          "closed_lost"
        ],
        "title": "LifecycleCategory",
        "type": "string"
      },
      "LifecycleReasonRequest": {
        "description": "Optional evidence; the action policy determines what is required.",
        "properties": {
          "reason": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reason_code": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          }
        },
        "title": "LifecycleReasonRequest",
        "type": "object"
      },
      "LifecycleStatusSummary": {
        "properties": {
          "category": {
            "$ref": "#/components/schemas/LifecycleCategory"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "key",
          "label",
          "category"
        ],
        "title": "LifecycleStatusSummary",
        "type": "object"
      },
      "LocationContactResponse": {
        "properties": {
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "is_primary": {
            "title": "Is Primary",
            "type": "boolean"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          },
          "role_value_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role Value Uid"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "is_primary",
          "created_at",
          "updated_at"
        ],
        "title": "LocationContactResponse",
        "type": "object"
      },
      "LocationCreate": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Account Id"
          },
          "address_line1": {
            "title": "Address Line1",
            "type": "string"
          },
          "address_line2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line2"
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "city": {
            "title": "City",
            "type": "string"
          },
          "country_code": {
            "title": "Country Code",
            "type": "string"
          },
          "custom_fields": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "formatted_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatted Address"
          },
          "geocode_accuracy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Accuracy"
          },
          "geocode_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Source"
          },
          "geocode_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Status"
          },
          "google_place_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Place Id"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "latitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latitude"
          },
          "location_type": {
            "default": "service",
            "title": "Location Type",
            "type": "string"
          },
          "longitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Longitude"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "postal_code": {
            "title": "Postal Code",
            "type": "string"
          },
          "region_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region Code"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "work_ref": {
            "anyOf": [
              {
                "maxLength": 96,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Ref"
          }
        },
        "required": [
          "account_id",
          "address_line1",
          "city",
          "postal_code",
          "country_code"
        ],
        "title": "LocationCreate",
        "type": "object"
      },
      "LocationResponse": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "address_line1": {
            "title": "Address Line1",
            "type": "string"
          },
          "address_line2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line2"
          },
          "address_signature_at_geocode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Signature At Geocode"
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "city": {
            "title": "City",
            "type": "string"
          },
          "contacts": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/LocationContactResponse"
            },
            "title": "Contacts",
            "type": "array"
          },
          "country_code": {
            "title": "Country Code",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "deleted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted By"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "formatted_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatted Address"
          },
          "geocode_accuracy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Accuracy"
          },
          "geocode_attempted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Attempted At"
          },
          "geocode_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Error"
          },
          "geocode_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Source"
          },
          "geocode_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Status"
          },
          "google_place_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Place Id"
          },
          "is_archived": {
            "title": "Is Archived",
            "type": "boolean"
          },
          "is_primary": {
            "title": "Is Primary",
            "type": "boolean"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "latitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latitude"
          },
          "location_type": {
            "title": "Location Type",
            "type": "string"
          },
          "longitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Longitude"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "pin_confirmed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pin Confirmed At"
          },
          "pin_manually_adjusted": {
            "default": false,
            "title": "Pin Manually Adjusted",
            "type": "boolean"
          },
          "postal_code": {
            "title": "Postal Code",
            "type": "string"
          },
          "region_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region Code"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          }
        },
        "required": [
          "org_id",
          "account_id",
          "location_type",
          "is_primary",
          "address_line1",
          "city",
          "postal_code",
          "country_code",
          "is_archived",
          "created_at",
          "updated_at"
        ],
        "title": "LocationResponse",
        "type": "object"
      },
      "LocationUpdate": {
        "additionalProperties": false,
        "properties": {
          "address_line1": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line1"
          },
          "address_line2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line2"
          },
          "ai_settings": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ai Settings"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City"
          },
          "country_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country Code"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "formatted_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatted Address"
          },
          "geocode_accuracy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Accuracy"
          },
          "geocode_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Source"
          },
          "geocode_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Status"
          },
          "google_place_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Place Id"
          },
          "is_primary": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is Primary"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "latitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latitude"
          },
          "location_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Type"
          },
          "longitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Longitude"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "postal_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Postal Code"
          },
          "region_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region Code"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "title": "LocationUpdate",
        "type": "object"
      },
      "LodgingProfile": {
        "properties": {
          "check_in_time_local": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Check In Time Local"
          },
          "check_out_time_local": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Check Out Time Local"
          },
          "guest_count": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Guest Count"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "reservation_reference": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reservation Reference"
          }
        },
        "title": "LodgingProfile",
        "type": "object"
      },
      "NoteAuthor": {
        "properties": {
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "required": [
          "display_name"
        ],
        "title": "NoteAuthor",
        "type": "object"
      },
      "NoteCaptureSource": {
        "enum": [
          "web",
          "mobile",
          "field",
          "system"
        ],
        "title": "NoteCaptureSource",
        "type": "string"
      },
      "NoteColor": {
        "enum": [
          "default",
          "red",
          "orange",
          "yellow",
          "green",
          "teal",
          "blue",
          "indigo",
          "purple",
          "pink",
          "brown",
          "gray"
        ],
        "title": "NoteColor",
        "type": "string"
      },
      "NoteContentFormat": {
        "enum": [
          "rich_json"
        ],
        "title": "NoteContentFormat",
        "type": "string"
      },
      "NoteCreate": {
        "additionalProperties": false,
        "properties": {
          "capture_source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteCaptureSource"
              },
              {
                "type": "null"
              }
            ]
          },
          "client_operation_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Operation Id"
          },
          "color": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteColor"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "minLength": 1,
            "title": "Content",
            "type": "string"
          },
          "entity_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Entity Id"
          },
          "entity_type": {
            "maxLength": 50,
            "minLength": 1,
            "title": "Entity Type",
            "type": "string"
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Folder Id"
          },
          "pinned": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pinned"
          },
          "route_folder_path": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Route Folder Path"
          },
          "semantic_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteSemanticKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "entity_type",
          "entity_id",
          "content"
        ],
        "title": "NoteCreate",
        "type": "object"
      },
      "NoteListResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/NoteResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "total": {
            "minimum": 0.0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "NoteListResponse",
        "type": "object"
      },
      "NoteMutationRequest": {
        "additionalProperties": false,
        "properties": {
          "base_revision": {
            "minimum": 1.0,
            "title": "Base Revision",
            "type": "integer"
          },
          "client_operation_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Operation Id"
          }
        },
        "required": [
          "base_revision"
        ],
        "title": "NoteMutationRequest",
        "type": "object"
      },
      "NoteResponse": {
        "properties": {
          "archived_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived At"
          },
          "archived_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived By"
          },
          "attachment_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Attachment Count"
          },
          "author": {
            "$ref": "#/components/schemas/NoteAuthor"
          },
          "capture_source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteCaptureSource"
              },
              {
                "type": "null"
              }
            ]
          },
          "color": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteColor"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "content_format": {
            "$ref": "#/components/schemas/NoteContentFormat"
          },
          "content_plaintext": {
            "title": "Content Plaintext",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "title": "Created By",
            "type": "integer"
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "deleted_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted By"
          },
          "entity_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Id"
          },
          "entity_type": {
            "title": "Entity Type",
            "type": "string"
          },
          "entity_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entity Uid"
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Folder Id"
          },
          "folder_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Folder Uid"
          },
          "is_archived": {
            "default": false,
            "title": "Is Archived",
            "type": "boolean"
          },
          "is_deleted": {
            "title": "Is Deleted",
            "type": "boolean"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "pinned": {
            "default": false,
            "title": "Pinned",
            "type": "boolean"
          },
          "revision": {
            "minimum": 1.0,
            "title": "Revision",
            "type": "integer"
          },
          "semantic_kind": {
            "$ref": "#/components/schemas/NoteSemanticKind",
            "default": "general"
          },
          "sort_order": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Order"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "title": "Updated By",
            "type": "integer"
          }
        },
        "required": [
          "uid",
          "org_id",
          "revision",
          "entity_type",
          "content",
          "content_format",
          "content_plaintext",
          "author",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at",
          "is_deleted"
        ],
        "title": "NoteResponse",
        "type": "object"
      },
      "NoteSemanticKind": {
        "enum": [
          "general",
          "field_log",
          "handoff",
          "issue",
          "internal_memo"
        ],
        "title": "NoteSemanticKind",
        "type": "string"
      },
      "NoteUpdate": {
        "additionalProperties": false,
        "properties": {
          "base_revision": {
            "minimum": 1.0,
            "title": "Base Revision",
            "type": "integer"
          },
          "capture_source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteCaptureSource"
              },
              {
                "type": "null"
              }
            ]
          },
          "client_operation_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Client Operation Id"
          },
          "color": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteColor"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content"
          },
          "edit_lock_session_id": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Edit Lock Session Id"
          },
          "folder_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Folder Id"
          },
          "pinned": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pinned"
          },
          "semantic_kind": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NoteSemanticKind"
              },
              {
                "type": "null"
              }
            ]
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "title": {
            "anyOf": [
              {
                "maxLength": 200,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          }
        },
        "required": [
          "base_revision"
        ],
        "title": "NoteUpdate",
        "type": "object"
      },
      "OrganizationSettingsResponse": {
        "properties": {
          "country_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country Code"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "default_currency": {
            "title": "Default Currency",
            "type": "string"
          },
          "default_language": {
            "title": "Default Language",
            "type": "string"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "industry": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Industry"
          },
          "logo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Logo Url"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "slug": {
            "title": "Slug",
            "type": "string"
          },
          "subscription_plan": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subscription Plan"
          },
          "template_key_applied": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template Key Applied"
          },
          "template_version_applied": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template Version Applied"
          },
          "timezone": {
            "title": "Timezone",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "website": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Website"
          }
        },
        "required": [
          "uid",
          "slug",
          "name",
          "timezone",
          "industry",
          "website",
          "default_currency",
          "default_language",
          "subscription_plan",
          "notes"
        ],
        "title": "OrganizationSettingsResponse",
        "type": "object"
      },
      "PaginatedAccountResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AccountResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "PaginatedAccountResponse",
        "type": "object"
      },
      "PaginatedContactResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ContactResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "PaginatedContactResponse",
        "type": "object"
      },
      "PaginatedLocationResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/LocationResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "PaginatedLocationResponse",
        "type": "object"
      },
      "PaginatedProjectResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ProjectResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "PaginatedProjectResponse",
        "type": "object"
      },
      "PaginatedTaskResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/TaskSummaryResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "PaginatedTaskResponse",
        "type": "object"
      },
      "PaginatedWorkOrderResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "queue_facets": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderQueueFacet"
            },
            "title": "Queue Facets",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "PaginatedWorkOrderResponse",
        "type": "object"
      },
      "ProjectCreate": {
        "properties": {
          "account_id": {
            "maxLength": 96,
            "minLength": 8,
            "title": "Account Id",
            "type": "string"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "budget_amount_cents": {
            "anyOf": [
              {
                "maximum": 2000000000.0,
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Budget Amount Cents"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due Date"
          },
          "estimated_hours": {
            "anyOf": [
              {
                "maximum": 1000000.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimated Hours"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "portfolio_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Portfolio Id"
          },
          "project_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Number"
          },
          "reminders": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProjectReminderUpsert"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders"
          },
          "source_work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Work Order Id"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "required": [
          "account_id",
          "name"
        ],
        "title": "ProjectCreate",
        "type": "object"
      },
      "ProjectReminderResponse": {
        "properties": {
          "bypass_quiet_hours": {
            "default": false,
            "title": "Bypass Quiet Hours",
            "type": "boolean"
          },
          "channel": {
            "title": "Channel",
            "type": "string"
          },
          "channels": {
            "items": {
              "enum": [
                "in_app",
                "web_push",
                "email",
                "sms",
                "mobile_push",
                "voice_call",
                "voicemail"
              ],
              "type": "string"
            },
            "title": "Channels",
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "title": "Created By",
            "type": "integer"
          },
          "dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dismissed At"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "plan_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Key"
          },
          "project_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Uid"
          },
          "recipient_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient User Id"
          },
          "recipient_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Recipient User Ids",
            "type": "array"
          },
          "reminder_at": {
            "format": "date-time",
            "title": "Reminder At",
            "type": "string"
          },
          "respect_user_preferences": {
            "default": true,
            "title": "Respect User Preferences",
            "type": "boolean"
          },
          "sent_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sent At"
          },
          "status": {
            "enum": [
              "pending",
              "sent",
              "dismissed",
              "cancelled"
            ],
            "title": "Status",
            "type": "string"
          },
          "step_number": {
            "default": 1,
            "title": "Step Number",
            "type": "integer"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "title": "Updated By",
            "type": "integer"
          }
        },
        "required": [
          "channel",
          "reminder_at",
          "status",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at"
        ],
        "title": "ProjectReminderResponse",
        "type": "object"
      },
      "ProjectReminderUpsert": {
        "properties": {
          "bypass_quiet_hours": {
            "default": false,
            "title": "Bypass Quiet Hours",
            "type": "boolean"
          },
          "channel": {
            "anyOf": [
              {
                "enum": [
                  "in_app",
                  "web_push",
                  "email",
                  "sms",
                  "mobile_push",
                  "voice_call",
                  "voicemail"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "in_app",
            "title": "Channel"
          },
          "channels": {
            "anyOf": [
              {
                "items": {
                  "enum": [
                    "in_app",
                    "web_push",
                    "email",
                    "sms",
                    "mobile_push",
                    "voice_call",
                    "voicemail"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channels"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "plan_key": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Key"
          },
          "recipient_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient User Id"
          },
          "recipient_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient User Ids"
          },
          "reminder_at": {
            "format": "date-time",
            "title": "Reminder At",
            "type": "string"
          },
          "respect_user_preferences": {
            "default": true,
            "title": "Respect User Preferences",
            "type": "boolean"
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "pending",
                  "sent",
                  "dismissed",
                  "cancelled"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "step_number": {
            "default": 1,
            "minimum": 1.0,
            "title": "Step Number",
            "type": "integer"
          },
          "timezone": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "required": [
          "reminder_at"
        ],
        "title": "ProjectReminderUpsert",
        "type": "object"
      },
      "ProjectResponse": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Branch Id"
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "archived_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Archived At"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "budget_amount_cents": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Budget Amount Cents"
          },
          "completed_task_count": {
            "default": 0,
            "title": "Completed Task Count",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "title": "Created By",
            "type": "integer"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due Date"
          },
          "estimated_hours": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimated Hours"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "portfolio_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Portfolio Uid"
          },
          "project_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Number"
          },
          "project_number_locked": {
            "default": false,
            "title": "Project Number Locked",
            "type": "boolean"
          },
          "reminders": {
            "items": {
              "$ref": "#/components/schemas/ProjectReminderResponse"
            },
            "title": "Reminders",
            "type": "array"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "task_count": {
            "default": 0,
            "title": "Task Count",
            "type": "integer"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          },
          "work_order_count": {
            "default": 0,
            "title": "Work Order Count",
            "type": "integer"
          }
        },
        "required": [
          "org_id",
          "name",
          "status",
          "created_by",
          "created_at"
        ],
        "title": "ProjectResponse",
        "type": "object"
      },
      "ProjectUpdate": {
        "properties": {
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "budget_amount_cents": {
            "anyOf": [
              {
                "maximum": 2000000000.0,
                "minimum": 0.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Budget Amount Cents"
          },
          "cascade_branch": {
            "default": false,
            "title": "Cascade Branch",
            "type": "boolean"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due Date"
          },
          "estimated_hours": {
            "anyOf": [
              {
                "maximum": 1000000.0,
                "minimum": 0.0,
                "type": "number"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimated Hours"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "portfolio_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Portfolio Id"
          },
          "project_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Number"
          },
          "reminders": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ProjectReminderUpsert"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders"
          },
          "start_date": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "title": "ProjectUpdate",
        "type": "object"
      },
      "RentalProfile": {
        "properties": {
          "dropoff_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dropoff Time"
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "pickup_time": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pickup Time"
          },
          "renter_contact": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Renter Contact"
          },
          "renter_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Renter Name"
          }
        },
        "title": "RentalProfile",
        "type": "object"
      },
      "ScheduleAccountSummary": {
        "properties": {
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "title": "ScheduleAccountSummary",
        "type": "object"
      },
      "ScheduleAssignment": {
        "properties": {
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "resource_user_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource User Uid"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          }
        },
        "title": "ScheduleAssignment",
        "type": "object"
      },
      "ScheduleAssignmentTarget": {
        "properties": {
          "assignment_type": {
            "title": "Assignment Type",
            "type": "string"
          },
          "assignment_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Uid"
          },
          "quantity": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity"
          },
          "role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Role"
          }
        },
        "required": [
          "assignment_type"
        ],
        "title": "ScheduleAssignmentTarget",
        "type": "object"
      },
      "ScheduleBookingAccountSummary": {
        "properties": {
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "title": "ScheduleBookingAccountSummary",
        "type": "object"
      },
      "ScheduleBookingAutomationOverrideInput": {
        "properties": {
          "automation_key": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Automation Key",
            "type": "string"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "mode": {
            "default": "disabled",
            "enum": [
              "inherit",
              "disabled",
              "enabled",
              "custom"
            ],
            "title": "Mode",
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          }
        },
        "required": [
          "automation_key"
        ],
        "title": "ScheduleBookingAutomationOverrideInput",
        "type": "object"
      },
      "ScheduleBookingCreate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "activity_party_size": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Activity Party Size"
          },
          "assignments": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/BookingAssignmentInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignments"
          },
          "automation_overrides": {
            "items": {
              "$ref": "#/components/schemas/ScheduleBookingAutomationOverrideInput"
            },
            "title": "Automation Overrides",
            "type": "array"
          },
          "booking_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Mode"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "consumer_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Id"
          },
          "consumer_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Type"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "delivery_mode": {
            "anyOf": [
              {
                "enum": [
                  "business",
                  "customer",
                  "online"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivery Mode"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "end_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End At Utc"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "lodging_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LodgingProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "notification_contact_uid": {
            "anyOf": [
              {
                "maxLength": 96,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notification Contact Uid"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Offering Id"
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "override": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override"
          },
          "override_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason"
          },
          "override_reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason Code"
          },
          "primary_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_service_asset_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Id"
          },
          "reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Code"
          },
          "related_service_asset_ids": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Related Service Asset Ids"
          },
          "rental_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RentalProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "route_review": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookingRouteReview"
              },
              {
                "type": "null"
              }
            ]
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "start_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At Utc"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "required": [
          "offering_id"
        ],
        "title": "ScheduleBookingCreate",
        "type": "object"
      },
      "ScheduleBookingLifecycleRequest": {
        "properties": {
          "reason": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reason_code": {
            "anyOf": [
              {
                "maxLength": 128,
                "minLength": 1,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          }
        },
        "title": "ScheduleBookingLifecycleRequest",
        "type": "object"
      },
      "ScheduleBookingListResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/ScheduleBookingResponse"
            },
            "title": "Data",
            "type": "array"
          },
          "page": {
            "default": 1,
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "default": 25,
            "title": "Page Size",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "data",
          "total"
        ],
        "title": "ScheduleBookingListResponse",
        "type": "object"
      },
      "ScheduleBookingMigrationSummary": {
        "properties": {
          "assignment_review_required": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Review Required"
          },
          "line_items_copied": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Items Copied"
          },
          "migrated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Migrated At"
          },
          "migrated_by_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Migrated By Label"
          },
          "migrated_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Migrated By User Id"
          },
          "pricing_strategy": {
            "anyOf": [
              {
                "enum": [
                  "preserve_existing_line_items",
                  "rebuild_pricing_manually"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pricing Strategy"
          },
          "replacement_booking_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replacement Booking Id"
          },
          "replacement_booking_reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replacement Booking Reference Code"
          },
          "replacement_booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replacement Booking Uid"
          },
          "replacement_offering_config_revision": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Replacement Offering Config Revision"
          },
          "source_assignment_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Assignment Count"
          },
          "source_booking_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Booking Id"
          },
          "source_booking_reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Booking Reference Code"
          },
          "source_booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Booking Uid"
          },
          "source_offering_config_revision": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Offering Config Revision"
          }
        },
        "title": "ScheduleBookingMigrationSummary",
        "type": "object"
      },
      "ScheduleBookingPublicReview": {
        "properties": {
          "action_required": {
            "default": false,
            "title": "Action Required",
            "type": "boolean"
          },
          "blockers": {
            "items": {
              "type": "string"
            },
            "title": "Blockers",
            "type": "array"
          },
          "blocking_reasons": {
            "items": {
              "type": "string"
            },
            "title": "Blocking Reasons",
            "type": "array"
          },
          "booking_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Id"
          },
          "booking_reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Reference Code"
          },
          "booking_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Status"
          },
          "booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Uid"
          },
          "candidate_account_ids": {
            "items": {
              "type": "string"
            },
            "title": "Candidate Account Ids",
            "type": "array"
          },
          "candidate_account_uids": {
            "items": {
              "type": "string"
            },
            "title": "Candidate Account Uids",
            "type": "array"
          },
          "candidate_count": {
            "default": 0,
            "title": "Candidate Count",
            "type": "integer"
          },
          "candidate_summaries": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewCandidateSummary"
            },
            "title": "Candidate Summaries",
            "type": "array"
          },
          "capacity_reserved": {
            "default": false,
            "title": "Capacity Reserved",
            "type": "boolean"
          },
          "comparison_matrix": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewComparisonMatrixRow"
            },
            "title": "Comparison Matrix",
            "type": "array"
          },
          "confidence_score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Confidence Score"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "decision_options": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewDecisionOption"
            },
            "title": "Decision Options",
            "type": "array"
          },
          "duplicate_review_task": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BookingIdentityDuplicateReviewTaskSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "note_prompts": {
            "items": {
              "$ref": "#/components/schemas/IdentityReviewNotePrompt"
            },
            "title": "Note Prompts",
            "type": "array"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Outcome"
          },
          "public_request_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Request Id"
          },
          "public_request_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Request Status"
          },
          "public_request_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Public Request Uid"
          },
          "reason_codes": {
            "items": {
              "type": "string"
            },
            "title": "Reason Codes",
            "type": "array"
          },
          "recommendation_confidence": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommendation Confidence"
          },
          "recommended_action": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommended Action"
          },
          "recommended_action_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommended Action Reason"
          },
          "recommended_candidate_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recommended Candidate Key"
          },
          "review_outcome": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Review Outcome"
          },
          "review_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Review State"
          },
          "reviewed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reviewed At"
          },
          "service_address_snapshot": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Address Snapshot"
          },
          "submitted_customer": {
            "title": "Submitted Customer",
            "type": "object"
          },
          "surface_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Surface Uid"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "work_order_allowed": {
            "default": false,
            "title": "Work Order Allowed",
            "type": "boolean"
          }
        },
        "title": "ScheduleBookingPublicReview",
        "type": "object"
      },
      "ScheduleBookingResponse": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleBookingAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "activity_party_size": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Activity Party Size"
          },
          "activity_session_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Activity Session Uid"
          },
          "assignments": {
            "items": {
              "$ref": "#/components/schemas/BookingAssignmentResponse"
            },
            "title": "Assignments",
            "type": "array"
          },
          "booking_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Kind"
          },
          "booking_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Mode"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "can_migrate_to_current_config": {
            "default": false,
            "title": "Can Migrate To Current Config",
            "type": "boolean"
          },
          "consumer_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Id"
          },
          "consumer_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Type"
          },
          "consumer_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Uid"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "current_offering_config_revision": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Offering Config Revision"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "delivery_mode": {
            "anyOf": [
              {
                "enum": [
                  "business",
                  "customer",
                  "online"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivery Mode"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "end_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End At Utc"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "lodging_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LodgingProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "migration_block_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Migration Block Reason"
          },
          "migration_summary": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleBookingMigrationSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "notification_contact_uid": {
            "anyOf": [
              {
                "maxLength": 96,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notification Contact Uid"
          },
          "offering_config_outdated": {
            "default": false,
            "title": "Offering Config Outdated",
            "type": "boolean"
          },
          "offering_config_revision": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Config Revision"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "offering_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Kind"
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "plan_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Version"
          },
          "primary_service_asset": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleBookingServiceAssetSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_service_asset_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Id"
          },
          "primary_service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Uid"
          },
          "public_review": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleBookingPublicReview"
              },
              {
                "type": "null"
              }
            ]
          },
          "recurrence_parent_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Id"
          },
          "recurrence_parent_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Uid"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Code"
          },
          "related_service_asset_ids": {
            "items": {
              "type": "string"
            },
            "title": "Related Service Asset Ids",
            "type": "array"
          },
          "related_service_asset_uids": {
            "items": {
              "type": "string"
            },
            "title": "Related Service Asset Uids",
            "type": "array"
          },
          "related_service_assets": {
            "items": {
              "$ref": "#/components/schemas/ScheduleBookingServiceAssetSummary"
            },
            "title": "Related Service Assets",
            "type": "array"
          },
          "rental_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RentalProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "reservation_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reservation State"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "series_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Series Id"
          },
          "service_asset_resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetResolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "start_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At Utc"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "superseded_by_booking_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Superseded By Booking Id"
          },
          "superseded_by_booking_reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Superseded By Booking Reference Code"
          },
          "superseded_by_booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Superseded By Booking Uid"
          },
          "supersedes_booking_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supersedes Booking Id"
          },
          "supersedes_booking_reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supersedes Booking Reference Code"
          },
          "supersedes_booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Supersedes Booking Uid"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "org_id",
          "created_at",
          "updated_at"
        ],
        "title": "ScheduleBookingResponse",
        "type": "object"
      },
      "ScheduleBookingServiceAssetSummary": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "account_uid": {
            "title": "Account Uid",
            "type": "string"
          },
          "asset_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Subtype"
          },
          "asset_type": {
            "title": "Asset Type",
            "type": "string"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "display_identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Identifier"
          },
          "is_archived": {
            "default": false,
            "title": "Is Archived",
            "type": "boolean"
          },
          "lifecycle_state": {
            "title": "Lifecycle State",
            "type": "string"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "location_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Label"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer"
          },
          "model_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Name"
          },
          "model_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Number"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "account_id",
          "account_uid",
          "name",
          "asset_type",
          "status",
          "lifecycle_state"
        ],
        "title": "ScheduleBookingServiceAssetSummary",
        "type": "object"
      },
      "ScheduleBookingUpdate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "activity_party_size": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Activity Party Size"
          },
          "assignments": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/BookingAssignmentInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignments"
          },
          "booking_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Mode"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "consumer_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Id"
          },
          "consumer_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Type"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "delivery_mode": {
            "anyOf": [
              {
                "enum": [
                  "business",
                  "customer",
                  "online"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delivery Mode"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "end_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End At Utc"
          },
          "expected_plan_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Plan Version"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "lodging_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LodgingProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "notification_contact_uid": {
            "anyOf": [
              {
                "maxLength": 96,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notification Contact Uid"
          },
          "override": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override"
          },
          "override_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason"
          },
          "override_reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason Code"
          },
          "primary_service_asset_capture": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ServiceAssetCapture"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_service_asset_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Id"
          },
          "reference_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reference Code"
          },
          "related_service_asset_ids": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Related Service Asset Ids"
          },
          "rental_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RentalProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "start_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At Utc"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "title": "ScheduleBookingUpdate",
        "type": "object"
      },
      "ScheduleEntryConflict": {
        "properties": {
          "allow_overrides": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allow Overrides"
          },
          "block_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Block Uid"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "closure_entry_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Closure Entry Id"
          },
          "conflict_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Conflict Type"
          },
          "day": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Day"
          },
          "end_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End At Utc"
          },
          "entry_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Entry Uid"
          },
          "item_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleItemType"
              },
              {
                "type": "null"
              }
            ]
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "resource_user_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource User Uid"
          },
          "start_at_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At Utc"
          },
          "subject_entry_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject Entry Uid"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "work_hours_end": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Hours End"
          },
          "work_hours_start": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Hours Start"
          }
        },
        "title": "ScheduleEntryConflict",
        "type": "object"
      },
      "ScheduleEntryDetail": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "all_day": {
            "title": "All Day",
            "type": "boolean"
          },
          "arrival_window_end_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window End Utc"
          },
          "arrival_window_start_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window Start Utc"
          },
          "assignment_targets": {
            "items": {
              "$ref": "#/components/schemas/ScheduleAssignmentTarget"
            },
            "title": "Assignment Targets",
            "type": "array"
          },
          "assignments": {
            "items": {
              "$ref": "#/components/schemas/ScheduleAssignment"
            },
            "title": "Assignments",
            "type": "array"
          },
          "block_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Block Subtype"
          },
          "booking_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Kind"
          },
          "booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Uid"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "color_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color Key"
          },
          "conflicts": {
            "items": {
              "$ref": "#/components/schemas/ScheduleEntryConflict"
            },
            "title": "Conflicts",
            "type": "array"
          },
          "consumer_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Type"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "end_at_utc": {
            "format": "date-time",
            "title": "End At Utc",
            "type": "string"
          },
          "has_conflicts": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Conflicts"
          },
          "has_recurrence_parent": {
            "default": false,
            "title": "Has Recurrence Parent",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "item_type": {
            "$ref": "#/components/schemas/ScheduleItemType"
          },
          "item_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Item Uid"
          },
          "location_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Address"
          },
          "location_lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Lat"
          },
          "location_lng": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Lng"
          },
          "location_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Name"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "lodging_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LodgingProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Notes"
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "queue_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Queue Group"
          },
          "recurrence_parent_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Uid"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "rental_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RentalProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "resource_user_uids": {
            "items": {
              "type": "string"
            },
            "title": "Resource User Uids",
            "type": "array"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "service_workflow": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Workflow"
          },
          "start_at_utc": {
            "format": "date-time",
            "title": "Start At Utc",
            "type": "string"
          },
          "status_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status Key"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "timezone_key": {
            "title": "Timezone Key",
            "type": "string"
          },
          "timing_precision": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timing Precision"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "org_id",
          "item_type",
          "title",
          "start_at_utc",
          "end_at_utc",
          "all_day",
          "timezone_key",
          "version",
          "created_at",
          "updated_at"
        ],
        "title": "ScheduleEntryDetail",
        "type": "object"
      },
      "ScheduleEntrySummary": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ScheduleAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "all_day": {
            "title": "All Day",
            "type": "boolean"
          },
          "arrival_window_end_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window End Utc"
          },
          "arrival_window_start_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window Start Utc"
          },
          "assignment_targets": {
            "items": {
              "$ref": "#/components/schemas/ScheduleAssignmentTarget"
            },
            "title": "Assignment Targets",
            "type": "array"
          },
          "block_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Block Subtype"
          },
          "booking_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Kind"
          },
          "booking_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Booking Uid"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "color_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Color Key"
          },
          "consumer_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consumer Type"
          },
          "end_at_utc": {
            "format": "date-time",
            "title": "End At Utc",
            "type": "string"
          },
          "has_conflicts": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Has Conflicts"
          },
          "has_recurrence_parent": {
            "default": false,
            "title": "Has Recurrence Parent",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "item_type": {
            "$ref": "#/components/schemas/ScheduleItemType"
          },
          "item_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Item Uid"
          },
          "location_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Address"
          },
          "location_lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Lat"
          },
          "location_lng": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Lng"
          },
          "location_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Name"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "lodging_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LodgingProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "queue_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Queue Group"
          },
          "recurrence_parent_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Uid"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "rental_profile": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RentalProfile"
              },
              {
                "type": "null"
              }
            ]
          },
          "resource_user_uids": {
            "items": {
              "type": "string"
            },
            "title": "Resource User Uids",
            "type": "array"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "service_workflow": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Workflow"
          },
          "start_at_utc": {
            "format": "date-time",
            "title": "Start At Utc",
            "type": "string"
          },
          "status_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status Key"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "timezone_key": {
            "title": "Timezone Key",
            "type": "string"
          },
          "timing_precision": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timing Precision"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "org_id",
          "item_type",
          "title",
          "start_at_utc",
          "end_at_utc",
          "all_day",
          "timezone_key",
          "version"
        ],
        "title": "ScheduleEntrySummary",
        "type": "object"
      },
      "ScheduleItemType": {
        "enum": [
          "work_order",
          "task",
          "project_milestone",
          "block",
          "time_off",
          "reservation"
        ],
        "title": "ScheduleItemType",
        "type": "string"
      },
      "ServiceAssetCapture": {
        "properties": {
          "asset_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Notes"
          },
          "asset_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Subtype"
          },
          "asset_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Type"
          },
          "identifiers": {
            "items": {
              "$ref": "#/components/schemas/ServiceAssetCaptureIdentifier"
            },
            "title": "Identifiers",
            "type": "array"
          },
          "issue_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Issue Summary"
          },
          "lifecycle_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle State"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "location_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Label"
          },
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer"
          },
          "metadata": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "model_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Name"
          },
          "model_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Number"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "profile_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Profile Kind"
          },
          "resolution_mode": {
            "default": "auto",
            "title": "Resolution Mode",
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          }
        },
        "title": "ServiceAssetCapture",
        "type": "object"
      },
      "ServiceAssetCaptureIdentifier": {
        "properties": {
          "identifier_type": {
            "title": "Identifier Type",
            "type": "string"
          },
          "identifier_value": {
            "title": "Identifier Value",
            "type": "string"
          }
        },
        "required": [
          "identifier_type",
          "identifier_value"
        ],
        "title": "ServiceAssetCaptureIdentifier",
        "type": "object"
      },
      "ServiceAssetReferenceSnapshot": {
        "description": "Frozen description of the asset a line serviced or produced.\n\nReconstructed by Pydantic from the snapshot dict persisted in a line's\nmetadata, so ``exclude=True`` here is what keeps an OLD persisted snapshot's\nintegers off the wire as well as a new one's.",
        "properties": {
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "asset_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Subtype"
          },
          "asset_subtype_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Subtype Label"
          },
          "asset_type": {
            "title": "Asset Type",
            "type": "string"
          },
          "asset_type_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Type Label"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "display_identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Identifier"
          },
          "is_archived": {
            "default": false,
            "title": "Is Archived",
            "type": "boolean"
          },
          "lifecycle_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lifecycle State"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer"
          },
          "model_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Name"
          },
          "model_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Number"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "required": [
          "name",
          "asset_type"
        ],
        "title": "ServiceAssetReferenceSnapshot",
        "type": "object"
      },
      "ServiceAssetResolution": {
        "properties": {
          "capture_staged": {
            "default": false,
            "title": "Capture Staged",
            "type": "boolean"
          },
          "created_service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Service Asset Uid"
          },
          "matched_identifier_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched Identifier Type"
          },
          "matched_identifier_value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched Identifier Value"
          },
          "matched_service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Matched Service Asset Uid"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "resolution_mode": {
            "default": "auto",
            "title": "Resolution Mode",
            "type": "string"
          },
          "resolved_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resolved At"
          },
          "service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Service Asset Uid"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "ServiceAssetResolution",
        "type": "object"
      },
      "TaskAclEntryInput": {
        "properties": {
          "effect": {
            "default": "allow",
            "enum": [
              "allow",
              "deny"
            ],
            "title": "Effect",
            "type": "string"
          },
          "permission": {
            "default": "view",
            "enum": [
              "view",
              "edit",
              "admin"
            ],
            "title": "Permission",
            "type": "string"
          },
          "principal_id": {
            "title": "Principal Id",
            "type": "string"
          },
          "principal_type": {
            "enum": [
              "user",
              "role"
            ],
            "title": "Principal Type",
            "type": "string"
          }
        },
        "required": [
          "principal_type",
          "principal_id"
        ],
        "title": "TaskAclEntryInput",
        "type": "object"
      },
      "TaskAclEntryResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "effect": {
            "enum": [
              "allow",
              "deny"
            ],
            "title": "Effect",
            "type": "string"
          },
          "permission": {
            "enum": [
              "view",
              "edit",
              "admin"
            ],
            "title": "Permission",
            "type": "string"
          },
          "principal_id": {
            "title": "Principal Id",
            "type": "string"
          },
          "principal_type": {
            "enum": [
              "user",
              "role"
            ],
            "title": "Principal Type",
            "type": "string"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "principal_type",
          "principal_id",
          "permission",
          "effect",
          "created_at",
          "updated_at"
        ],
        "title": "TaskAclEntryResponse",
        "type": "object"
      },
      "TaskCommentCreate": {
        "properties": {
          "body": {
            "title": "Body",
            "type": "string"
          },
          "mentioned_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mentioned User Ids"
          }
        },
        "required": [
          "body"
        ],
        "title": "TaskCommentCreate",
        "type": "object"
      },
      "TaskCommentListResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/TaskCommentResponse"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "TaskCommentListResponse",
        "type": "object"
      },
      "TaskCommentResponse": {
        "properties": {
          "author_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Author User Id"
          },
          "body": {
            "title": "Body",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "title": "Created By",
            "type": "integer"
          },
          "mentioned_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Mentioned User Ids",
            "type": "array"
          },
          "task_id": {
            "title": "Task Id",
            "type": "string"
          },
          "task_uid": {
            "title": "Task Uid",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "title": "Updated By",
            "type": "integer"
          }
        },
        "required": [
          "uid",
          "task_id",
          "task_uid",
          "body",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at"
        ],
        "title": "TaskCommentResponse",
        "type": "object"
      },
      "TaskCreate": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Account Id"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "assignee_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "collaborator_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collaborator User Ids"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "dependencies": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TaskDependencyInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dependencies"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Minutes"
          },
          "follower_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Follower User Ids"
          },
          "manual_progress_percent": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manual Progress Percent"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner User Id"
          },
          "parent_task_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Id"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "progress_mode": {
            "anyOf": [
              {
                "enum": [
                  "derived",
                  "manual"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Progress Mode"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "recurrence_generated_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Generated Until"
          },
          "recurrence_parent_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Id"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "recurrence_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Timezone"
          },
          "reminders": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TaskReminderUpsert"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders"
          },
          "series_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Series Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Order"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommunicationSourceInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "task_group_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Group Id"
          },
          "task_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Number"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "visibility_entries": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TaskAclEntryInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visibility Entries"
          },
          "visibility_mode": {
            "anyOf": [
              {
                "enum": [
                  "inherited",
                  "restricted",
                  "private"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visibility Mode"
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          }
        },
        "required": [
          "account_id",
          "title"
        ],
        "title": "TaskCreate",
        "type": "object"
      },
      "TaskDependencyInput": {
        "properties": {
          "blocked_task_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Blocked Task Id"
          },
          "blocking_task_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Blocking Task Id"
          },
          "dependency_type": {
            "const": "blocks",
            "default": "blocks",
            "title": "Dependency Type",
            "type": "string"
          },
          "depends_on_task_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Depends On Task Id"
          }
        },
        "title": "TaskDependencyInput",
        "type": "object"
      },
      "TaskDependencyResponse": {
        "properties": {
          "blocked_task_id": {
            "title": "Blocked Task Id",
            "type": "string"
          },
          "blocked_task_uid": {
            "title": "Blocked Task Uid",
            "type": "string"
          },
          "blocking_task_id": {
            "title": "Blocking Task Id",
            "type": "string"
          },
          "blocking_task_uid": {
            "title": "Blocking Task Uid",
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "title": "Created By",
            "type": "integer"
          },
          "dependency_type": {
            "const": "blocks",
            "title": "Dependency Type",
            "type": "string"
          },
          "related_task": {
            "$ref": "#/components/schemas/TaskRelatedTaskSummary"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "title": "Updated By",
            "type": "integer"
          }
        },
        "required": [
          "uid",
          "dependency_type",
          "blocking_task_id",
          "blocking_task_uid",
          "blocked_task_id",
          "blocked_task_uid",
          "related_task",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at"
        ],
        "title": "TaskDependencyResponse",
        "type": "object"
      },
      "TaskParticipantResponse": {
        "properties": {
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "role": {
            "enum": [
              "collaborator",
              "follower"
            ],
            "title": "Role",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "integer"
          }
        },
        "required": [
          "user_id",
          "role",
          "created_at",
          "updated_at"
        ],
        "title": "TaskParticipantResponse",
        "type": "object"
      },
      "TaskRelatedTaskSummary": {
        "properties": {
          "assignee_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner User Id"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "title",
          "status"
        ],
        "title": "TaskRelatedTaskSummary",
        "type": "object"
      },
      "TaskReminderResponse": {
        "properties": {
          "bypass_quiet_hours": {
            "default": false,
            "title": "Bypass Quiet Hours",
            "type": "boolean"
          },
          "channel": {
            "title": "Channel",
            "type": "string"
          },
          "channels": {
            "items": {
              "enum": [
                "in_app",
                "web_push",
                "email",
                "sms",
                "mobile_push",
                "voice_call",
                "voicemail"
              ],
              "type": "string"
            },
            "title": "Channels",
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by": {
            "title": "Created By",
            "type": "integer"
          },
          "dismissed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dismissed At"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "plan_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Key"
          },
          "recipient_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient User Id"
          },
          "recipient_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Recipient User Ids",
            "type": "array"
          },
          "reminder_at": {
            "format": "date-time",
            "title": "Reminder At",
            "type": "string"
          },
          "respect_user_preferences": {
            "default": true,
            "title": "Respect User Preferences",
            "type": "boolean"
          },
          "sent_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sent At"
          },
          "status": {
            "enum": [
              "pending",
              "sent",
              "dismissed",
              "cancelled"
            ],
            "title": "Status",
            "type": "string"
          },
          "step_number": {
            "default": 1,
            "title": "Step Number",
            "type": "integer"
          },
          "task_id": {
            "title": "Task Id",
            "type": "string"
          },
          "task_uid": {
            "title": "Task Uid",
            "type": "string"
          },
          "timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "title": "Updated At",
            "type": "string"
          },
          "updated_by": {
            "title": "Updated By",
            "type": "integer"
          }
        },
        "required": [
          "uid",
          "task_id",
          "task_uid",
          "channel",
          "reminder_at",
          "status",
          "created_by",
          "updated_by",
          "created_at",
          "updated_at"
        ],
        "title": "TaskReminderResponse",
        "type": "object"
      },
      "TaskReminderUpsert": {
        "properties": {
          "bypass_quiet_hours": {
            "default": false,
            "title": "Bypass Quiet Hours",
            "type": "boolean"
          },
          "channel": {
            "anyOf": [
              {
                "enum": [
                  "in_app",
                  "web_push",
                  "email",
                  "sms",
                  "mobile_push",
                  "voice_call",
                  "voicemail"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "in_app",
            "title": "Channel"
          },
          "channels": {
            "anyOf": [
              {
                "items": {
                  "enum": [
                    "in_app",
                    "web_push",
                    "email",
                    "sms",
                    "mobile_push",
                    "voice_call",
                    "voicemail"
                  ],
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channels"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "note": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note"
          },
          "plan_key": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Plan Key"
          },
          "recipient_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient User Id"
          },
          "recipient_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient User Ids"
          },
          "reminder_at": {
            "format": "date-time",
            "title": "Reminder At",
            "type": "string"
          },
          "respect_user_preferences": {
            "default": true,
            "title": "Respect User Preferences",
            "type": "boolean"
          },
          "status": {
            "anyOf": [
              {
                "enum": [
                  "pending",
                  "sent",
                  "dismissed",
                  "cancelled"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "step_number": {
            "default": 1,
            "minimum": 1.0,
            "title": "Step Number",
            "type": "integer"
          },
          "timezone": {
            "anyOf": [
              {
                "maxLength": 64,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Timezone"
          }
        },
        "required": [
          "reminder_at"
        ],
        "title": "TaskReminderUpsert",
        "type": "object"
      },
      "TaskResponse": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "title": "Account Uid",
            "type": "string"
          },
          "assignee_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "blocked_by": {
            "items": {
              "$ref": "#/components/schemas/TaskDependencyResponse"
            },
            "title": "Blocked By",
            "type": "array"
          },
          "blocked_by_count": {
            "default": 0,
            "title": "Blocked By Count",
            "type": "integer"
          },
          "blocking": {
            "items": {
              "$ref": "#/components/schemas/TaskDependencyResponse"
            },
            "title": "Blocking",
            "type": "array"
          },
          "blocking_count": {
            "default": 0,
            "title": "Blocking Count",
            "type": "integer"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "collaborator_count": {
            "default": 0,
            "title": "Collaborator Count",
            "type": "integer"
          },
          "collaborators": {
            "items": {
              "$ref": "#/components/schemas/TaskParticipantResponse"
            },
            "title": "Collaborators",
            "type": "array"
          },
          "comments": {
            "items": {
              "$ref": "#/components/schemas/TaskCommentResponse"
            },
            "title": "Comments",
            "type": "array"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "completed_subtask_count": {
            "default": 0,
            "title": "Completed Subtask Count",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by_user_id": {
            "title": "Created By User Id",
            "type": "integer"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Minutes"
          },
          "follower_count": {
            "default": 0,
            "title": "Follower Count",
            "type": "integer"
          },
          "followers": {
            "items": {
              "$ref": "#/components/schemas/TaskParticipantResponse"
            },
            "title": "Followers",
            "type": "array"
          },
          "manual_progress_percent": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manual Progress Percent"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner User Id"
          },
          "parent_task_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Id"
          },
          "parent_task_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Uid"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "progress_mode": {
            "default": "derived",
            "enum": [
              "derived",
              "manual"
            ],
            "title": "Progress Mode",
            "type": "string"
          },
          "progress_percent": {
            "default": 0,
            "title": "Progress Percent",
            "type": "integer"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "project_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Uid"
          },
          "recurrence_generated_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Generated Until"
          },
          "recurrence_parent_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Id"
          },
          "recurrence_parent_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Uid"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "recurrence_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Timezone"
          },
          "reminders": {
            "items": {
              "$ref": "#/components/schemas/TaskReminderResponse"
            },
            "title": "Reminders",
            "type": "array"
          },
          "schedule_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule End At"
          },
          "schedule_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule Start At"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "series_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Series Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Order"
          },
          "source_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Ref"
          },
          "source_system": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source System"
          },
          "start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subtask_count": {
            "default": 0,
            "title": "Subtask Count",
            "type": "integer"
          },
          "subtasks": {
            "items": {
              "$ref": "#/components/schemas/TaskSummaryResponse"
            },
            "title": "Subtasks",
            "type": "array"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          },
          "task_group_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Group Id"
          },
          "task_group_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Group Uid"
          },
          "task_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Number"
          },
          "task_number_locked": {
            "default": false,
            "title": "Task Number Locked",
            "type": "boolean"
          },
          "time_summary": {
            "$ref": "#/components/schemas/TaskTimeSummaryResponse"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          },
          "visibility_entries": {
            "items": {
              "$ref": "#/components/schemas/TaskAclEntryResponse"
            },
            "title": "Visibility Entries",
            "type": "array"
          },
          "visibility_mode": {
            "default": "inherited",
            "enum": [
              "inherited",
              "restricted",
              "private"
            ],
            "title": "Visibility Mode",
            "type": "string"
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          },
          "work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Uid"
          }
        },
        "required": [
          "uid",
          "org_id",
          "account_id",
          "account_uid",
          "title",
          "status",
          "created_by_user_id",
          "created_at"
        ],
        "title": "TaskResponse",
        "type": "object"
      },
      "TaskStatusConfig": {
        "properties": {
          "category": {
            "title": "Category",
            "type": "string"
          },
          "is_category_primary": {
            "default": false,
            "title": "Is Category Primary",
            "type": "boolean"
          },
          "is_default": {
            "default": false,
            "title": "Is Default",
            "type": "boolean"
          },
          "is_domain_default": {
            "default": false,
            "title": "Is Domain Default",
            "type": "boolean"
          },
          "is_enabled": {
            "default": true,
            "title": "Is Enabled",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "org_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Org Id"
          },
          "sort_order": {
            "default": 0,
            "title": "Sort Order",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "label",
          "category"
        ],
        "title": "TaskStatusConfig",
        "type": "object"
      },
      "TaskSummaryResponse": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "title": "Account Uid",
            "type": "string"
          },
          "assignee_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "blocked_by_count": {
            "default": 0,
            "title": "Blocked By Count",
            "type": "integer"
          },
          "blocking_count": {
            "default": 0,
            "title": "Blocking Count",
            "type": "integer"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "collaborator_count": {
            "default": 0,
            "title": "Collaborator Count",
            "type": "integer"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "completed_subtask_count": {
            "default": 0,
            "title": "Completed Subtask Count",
            "type": "integer"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "created_by_user_id": {
            "title": "Created By User Id",
            "type": "integer"
          },
          "deleted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted At"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Minutes"
          },
          "follower_count": {
            "default": 0,
            "title": "Follower Count",
            "type": "integer"
          },
          "manual_progress_percent": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manual Progress Percent"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner User Id"
          },
          "parent_task_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Id"
          },
          "parent_task_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Uid"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "progress_mode": {
            "default": "derived",
            "enum": [
              "derived",
              "manual"
            ],
            "title": "Progress Mode",
            "type": "string"
          },
          "progress_percent": {
            "default": 0,
            "title": "Progress Percent",
            "type": "integer"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "project_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Uid"
          },
          "recurrence_generated_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Generated Until"
          },
          "recurrence_parent_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Id"
          },
          "recurrence_parent_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Uid"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "recurrence_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Timezone"
          },
          "schedule_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule End At"
          },
          "schedule_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule Start At"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "series_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Series Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Order"
          },
          "source_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Ref"
          },
          "source_system": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source System"
          },
          "start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subtask_count": {
            "default": 0,
            "title": "Subtask Count",
            "type": "integer"
          },
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          },
          "task_group_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Group Id"
          },
          "task_group_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Group Uid"
          },
          "task_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Number"
          },
          "task_number_locked": {
            "default": false,
            "title": "Task Number Locked",
            "type": "boolean"
          },
          "time_summary": {
            "$ref": "#/components/schemas/TaskTimeSummaryResponse"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          },
          "visibility_mode": {
            "default": "inherited",
            "enum": [
              "inherited",
              "restricted",
              "private"
            ],
            "title": "Visibility Mode",
            "type": "string"
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          },
          "work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Uid"
          }
        },
        "required": [
          "uid",
          "org_id",
          "account_id",
          "account_uid",
          "title",
          "status",
          "created_by_user_id",
          "created_at"
        ],
        "title": "TaskSummaryResponse",
        "type": "object"
      },
      "TaskTimeSummaryResponse": {
        "properties": {
          "estimate_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Minutes"
          },
          "logged_minutes": {
            "default": 0,
            "title": "Logged Minutes",
            "type": "integer"
          },
          "running_started_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Running Started At"
          },
          "running_time_entry_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Running Time Entry Id"
          },
          "running_time_entry_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Running Time Entry Uid"
          }
        },
        "title": "TaskTimeSummaryResponse",
        "type": "object"
      },
      "TaskUpdate": {
        "properties": {
          "assignee_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "collaborator_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collaborator User Ids"
          },
          "completed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "dependencies": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TaskDependencyInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dependencies"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "due_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Due At"
          },
          "estimate_minutes": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Estimate Minutes"
          },
          "follower_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Follower User Ids"
          },
          "manual_progress_percent": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manual Progress Percent"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner User Id"
          },
          "parent_task_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Task Id"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "progress_mode": {
            "anyOf": [
              {
                "enum": [
                  "derived",
                  "manual"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Progress Mode"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "recurrence_generated_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Generated Until"
          },
          "recurrence_parent_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Parent Id"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "recurrence_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Timezone"
          },
          "recurrence_update_scope": {
            "anyOf": [
              {
                "enum": [
                  "single",
                  "future"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Update Scope"
          },
          "reminders": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TaskReminderUpsert"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reminders"
          },
          "series_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Series Id"
          },
          "sort_order": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Order"
          },
          "start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start At"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "task_group_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Group Id"
          },
          "task_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Task Number"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title"
          },
          "visibility_entries": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TaskAclEntryInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visibility Entries"
          },
          "visibility_mode": {
            "anyOf": [
              {
                "enum": [
                  "inherited",
                  "restricted",
                  "private"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Visibility Mode"
          },
          "work_order_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Id"
          }
        },
        "title": "TaskUpdate",
        "type": "object"
      },
      "TicketCreateRequest": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "assignee_user_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "extra_data": {
            "title": "Extra Data",
            "type": "object"
          },
          "initial_note_body": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Initial Note Body"
          },
          "initial_note_body_json": {
            "title": "Initial Note Body Json",
            "type": "object"
          },
          "priority": {
            "$ref": "#/components/schemas/TicketPriority",
            "default": "normal"
          },
          "queue_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Queue Id"
          },
          "request_type_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Id"
          },
          "source": {
            "$ref": "#/components/schemas/TicketSource",
            "default": "email_manual"
          },
          "source_inbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Inbox Id"
          },
          "status": {
            "$ref": "#/components/schemas/TicketStatus",
            "default": "new"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "watcher_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Watcher User Ids",
            "type": "array"
          }
        },
        "required": [
          "queue_id"
        ],
        "title": "TicketCreateRequest",
        "type": "object"
      },
      "TicketInternalNoteRequest": {
        "properties": {
          "attachment_file_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Attachment File Ids",
            "type": "array"
          },
          "body_json": {
            "title": "Body Json",
            "type": "object"
          },
          "body_text": {
            "title": "Body Text",
            "type": "string"
          },
          "mention_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Mention User Ids",
            "type": "array"
          },
          "visibility": {
            "$ref": "#/components/schemas/TicketNoteVisibility",
            "default": "internal"
          }
        },
        "required": [
          "body_text"
        ],
        "title": "TicketInternalNoteRequest",
        "type": "object"
      },
      "TicketNoteVisibility": {
        "enum": [
          "internal",
          "system_internal",
          "customer_visible"
        ],
        "title": "TicketNoteVisibility",
        "type": "string"
      },
      "TicketPriority": {
        "enum": [
          "low",
          "normal",
          "high",
          "urgent"
        ],
        "title": "TicketPriority",
        "type": "string"
      },
      "TicketSearchItemResponse": {
        "properties": {
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "assignee_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "assignee_user_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Uid"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "contact_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Name"
          },
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "created_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "custom_fields": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "imported_historical": {
            "default": false,
            "title": "Imported Historical",
            "type": "boolean"
          },
          "last_agent_message_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Agent Message At"
          },
          "last_customer_message_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Customer Message At"
          },
          "last_message_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Message At"
          },
          "merged_into_public_ticket_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged Into Public Ticket Code"
          },
          "merged_into_ticket_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged Into Ticket Number"
          },
          "merged_into_ticket_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Merged Into Ticket Uid"
          },
          "priority": {
            "title": "Priority",
            "type": "string"
          },
          "provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "public_ticket_code": {
            "title": "Public Ticket Code",
            "type": "string"
          },
          "queue_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Queue Label"
          },
          "queue_uid": {
            "title": "Queue Uid",
            "type": "string"
          },
          "request_form_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Form Summary"
          },
          "request_type_category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Category"
          },
          "request_type_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Group"
          },
          "request_type_icon": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Icon"
          },
          "request_type_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Key"
          },
          "request_type_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Label"
          },
          "request_type_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Type Uid"
          },
          "sla": {
            "title": "Sla",
            "type": "object"
          },
          "source": {
            "title": "Source",
            "type": "string"
          },
          "source_inbox_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Inbox Address"
          },
          "source_inbox_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Inbox Uid"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "tags": {
            "items": {
              "type": "object"
            },
            "title": "Tags",
            "type": "array"
          },
          "ticket_number": {
            "title": "Ticket Number",
            "type": "integer"
          },
          "ticket_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ticket Type"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          }
        },
        "required": [
          "uid",
          "ticket_number",
          "public_ticket_code",
          "status",
          "priority",
          "source",
          "queue_uid"
        ],
        "title": "TicketSearchItemResponse",
        "type": "object"
      },
      "TicketSearchRequest": {
        "properties": {
          "account_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Account Ids",
            "type": "array"
          },
          "assignee_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Assignee User Ids",
            "type": "array"
          },
          "categories": {
            "items": {
              "type": "string"
            },
            "title": "Categories",
            "type": "array"
          },
          "contact_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Contact Ids",
            "type": "array"
          },
          "custom_field_filters": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Field Filters"
          },
          "fulltext": {
            "default": false,
            "title": "Fulltext",
            "type": "boolean"
          },
          "imported_historical": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Imported Historical"
          },
          "inbox_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Inbox Ids",
            "type": "array"
          },
          "include_closed": {
            "default": true,
            "title": "Include Closed",
            "type": "boolean"
          },
          "include_merged": {
            "default": true,
            "title": "Include Merged",
            "type": "boolean"
          },
          "include_spam": {
            "default": true,
            "title": "Include Spam",
            "type": "boolean"
          },
          "page": {
            "default": 1,
            "minimum": 1.0,
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "default": 50,
            "maximum": 200.0,
            "minimum": 1.0,
            "title": "Page Size",
            "type": "integer"
          },
          "participant": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Participant"
          },
          "priorities": {
            "items": {
              "$ref": "#/components/schemas/TicketPriority"
            },
            "title": "Priorities",
            "type": "array"
          },
          "provider_keys": {
            "items": {
              "type": "string"
            },
            "title": "Provider Keys",
            "type": "array"
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Query"
          },
          "queue_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Queue Ids",
            "type": "array"
          },
          "request_type_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Request Type Ids",
            "type": "array"
          },
          "sla_states": {
            "items": {
              "type": "string"
            },
            "title": "Sla States",
            "type": "array"
          },
          "sort": {
            "default": "updated_desc",
            "title": "Sort",
            "type": "string"
          },
          "sort_by": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort By"
          },
          "sort_order": {
            "anyOf": [
              {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sort Order"
          },
          "statuses": {
            "items": {
              "$ref": "#/components/schemas/TicketStatus"
            },
            "title": "Statuses",
            "type": "array"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          },
          "tag_ids": {
            "items": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                }
              ]
            },
            "title": "Tag Ids",
            "type": "array"
          },
          "tag_names": {
            "items": {
              "type": "string"
            },
            "title": "Tag Names",
            "type": "array"
          },
          "ticket_numbers": {
            "items": {
              "type": "integer"
            },
            "title": "Ticket Numbers",
            "type": "array"
          },
          "ticket_types": {
            "items": {
              "type": "string"
            },
            "title": "Ticket Types",
            "type": "array"
          }
        },
        "title": "TicketSearchRequest",
        "type": "object"
      },
      "TicketSearchResponse": {
        "properties": {
          "applied_fulltext": {
            "default": false,
            "title": "Applied Fulltext",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/TicketSearchItemResponse"
            },
            "title": "Items",
            "type": "array"
          },
          "page": {
            "minimum": 1.0,
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "minimum": 1.0,
            "title": "Page Size",
            "type": "integer"
          },
          "total": {
            "minimum": 0.0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "total",
          "page",
          "page_size"
        ],
        "title": "TicketSearchResponse",
        "type": "object"
      },
      "TicketSource": {
        "enum": [
          "email_inbound",
          "email_manual",
          "historical_import",
          "portal",
          "phone",
          "sms",
          "chat",
          "api",
          "automation"
        ],
        "title": "TicketSource",
        "type": "string"
      },
      "TicketStatus": {
        "enum": [
          "new",
          "open",
          "pending_customer",
          "pending_internal",
          "on_hold",
          "resolved",
          "closed",
          "spam",
          "merged"
        ],
        "title": "TicketStatus",
        "type": "string"
      },
      "TicketUpdateRequest": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Id"
          },
          "assignee_user_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignee User Id"
          },
          "branch_id": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "contact_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Id"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "extra_data": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Extra Data"
          },
          "priority": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TicketPriority"
              },
              {
                "type": "null"
              }
            ]
          },
          "queue_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Queue Id"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TicketSource"
              },
              {
                "type": "null"
              }
            ]
          },
          "source_inbox_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Inbox Id"
          },
          "subject": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Subject"
          }
        },
        "title": "TicketUpdateRequest",
        "type": "object"
      },
      "TicketWorkspaceResponse": {
        "properties": {
          "collaboration": {
            "title": "Collaboration",
            "type": "object"
          },
          "customer_updates": {
            "items": {
              "type": "object"
            },
            "title": "Customer Updates",
            "type": "array"
          },
          "drafts": {
            "items": {
              "type": "object"
            },
            "title": "Drafts",
            "type": "array"
          },
          "linked_messages": {
            "items": {
              "type": "object"
            },
            "title": "Linked Messages",
            "type": "array"
          },
          "linked_threads": {
            "items": {
              "type": "object"
            },
            "title": "Linked Threads",
            "type": "array"
          },
          "notes": {
            "items": {
              "type": "object"
            },
            "title": "Notes",
            "type": "array"
          },
          "related_tickets": {
            "items": {
              "type": "object"
            },
            "title": "Related Tickets",
            "type": "array"
          },
          "request_form_submission": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Request Form Submission"
          },
          "ticket": {
            "title": "Ticket",
            "type": "object"
          },
          "watchers": {
            "items": {
              "type": "object"
            },
            "title": "Watchers",
            "type": "array"
          }
        },
        "title": "TicketWorkspaceResponse",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "WorkAccountPrimaryContact": {
        "properties": {
          "contact_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Contact Uid"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone"
          },
          "phone_extension": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone Extension"
          },
          "preferred_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preferred Name"
          }
        },
        "title": "WorkAccountPrimaryContact",
        "type": "object"
      },
      "WorkAccountSummary": {
        "description": "The customer of a work record. ``uid`` is the only identity on the wire.",
        "properties": {
          "account_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Number"
          },
          "account_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Type"
          },
          "company_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Company Name"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Name"
          },
          "primary_contact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkAccountPrimaryContact"
              },
              {
                "type": "null"
              }
            ]
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "title": "WorkAccountSummary",
        "type": "object"
      },
      "WorkOrderAssigneeSummary": {
        "properties": {
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "is_primary": {
            "default": false,
            "title": "Is Primary",
            "type": "boolean"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "title": "WorkOrderAssigneeSummary",
        "type": "object"
      },
      "WorkOrderAssignmentSummary": {
        "properties": {
          "assignment_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Label"
          },
          "assignment_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Type"
          },
          "assignment_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Uid"
          },
          "resource_user_ids": {
            "items": {
              "type": "integer"
            },
            "title": "Resource User Ids",
            "type": "array"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          }
        },
        "title": "WorkOrderAssignmentSummary",
        "type": "object"
      },
      "WorkOrderAutomationOverrideInput": {
        "additionalProperties": false,
        "description": "\"Let the customer know\" unchecked on create/schedule: a per-record opt-out for one\nmanaged customer message. Applied through the shared lifecycle override applier.",
        "properties": {
          "automation_key": {
            "maxLength": 128,
            "minLength": 1,
            "title": "Automation Key",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expires At"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 128,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "mode": {
            "default": "disabled",
            "enum": [
              "inherit",
              "disabled",
              "enabled",
              "custom"
            ],
            "title": "Mode",
            "type": "string"
          },
          "reason": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          }
        },
        "required": [
          "automation_key"
        ],
        "title": "WorkOrderAutomationOverrideInput",
        "type": "object"
      },
      "WorkOrderCreate": {
        "additionalProperties": false,
        "properties": {
          "account_id": {
            "maxLength": 96,
            "minLength": 8,
            "pattern": "^acct_[0-9a-f]{12,32}$",
            "title": "Account Id",
            "type": "string"
          },
          "account_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Uid"
          },
          "automation_overrides": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderAutomationOverrideInput"
            },
            "title": "Automation Overrides",
            "type": "array"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "custom_fields": {
            "items": {
              "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
            },
            "title": "Custom Fields",
            "type": "array"
          },
          "customer_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Notes"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Summary"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "dispatch_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Notes"
          },
          "dispatch_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Title"
          },
          "internal_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Notes"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "primary_service_asset_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Id"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "related_service_asset_ids": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Related Service Asset Ids"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommunicationSourceInput"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderStatusInput"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "work_order_number_display": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Number Display"
          }
        },
        "required": [
          "account_id"
        ],
        "title": "WorkOrderCreate",
        "type": "object"
      },
      "WorkOrderDispatchResponse": {
        "properties": {
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "account_name": {
            "title": "Account Name",
            "type": "string"
          },
          "account_uid": {
            "title": "Account Uid",
            "type": "string"
          },
          "additional_assignee_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Additional Assignee Ids"
          },
          "arrival_window_end_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window End Utc"
          },
          "arrival_window_start_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window Start Utc"
          },
          "assigned_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assigned User Ids"
          },
          "assignment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderAssignmentSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_dispatch_label": {
            "title": "Auto Dispatch Label",
            "type": "string"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "customer_label": {
            "title": "Customer Label",
            "type": "string"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Summary"
          },
          "dispatch_label": {
            "title": "Dispatch Label",
            "type": "string"
          },
          "dispatch_label_source": {
            "title": "Dispatch Label Source",
            "type": "string"
          },
          "dispatch_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Notes"
          },
          "dispatch_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Title"
          },
          "display_label": {
            "title": "Display Label",
            "type": "string"
          },
          "last_active_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "location_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Address"
          },
          "location_geocode_accuracy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Geocode Accuracy"
          },
          "location_geocode_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Geocode Source"
          },
          "location_geocode_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Geocode Status"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "location_lat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Lat"
          },
          "location_lng": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Lng"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "offering_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Name"
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "primary_assignee_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Assignee Id"
          },
          "primary_service_asset": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderServiceAssetSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Uid"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "project_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Uid"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "scheduled_end": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled End"
          },
          "scheduled_start": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Start"
          },
          "status": {
            "$ref": "#/components/schemas/WorkOrderStatus"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "workforce_tracking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderDispatchWorkforceSummary"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "uid",
          "org_id",
          "account_id",
          "account_uid",
          "account_name",
          "display_label",
          "dispatch_label",
          "customer_label",
          "auto_dispatch_label",
          "dispatch_label_source",
          "status"
        ],
        "title": "WorkOrderDispatchResponse",
        "type": "object"
      },
      "WorkOrderDispatchWorkforceAssigneeContext": {
        "properties": {
          "active_schedule_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Schedule Ref"
          },
          "active_work_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Work End At"
          },
          "active_work_item_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Work Item Type"
          },
          "active_work_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Work Start At"
          },
          "active_work_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Active Work Title"
          },
          "activity_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Activity State"
          },
          "connectivity_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Connectivity Status"
          },
          "consent_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consent State"
          },
          "current_schedule_linked": {
            "readOnly": true,
            "title": "Current Schedule Linked",
            "type": "boolean"
          },
          "current_work_order_display_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Work Order Display Label"
          },
          "current_work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Current Work Order Uid"
          },
          "last_seen_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Seen At"
          },
          "next_schedule_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Schedule Ref"
          },
          "next_work_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Work End At"
          },
          "next_work_item_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Work Item Type"
          },
          "next_work_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Work Start At"
          },
          "next_work_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Work Title"
          },
          "presence_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Presence State"
          },
          "privacy_mode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Privacy Mode"
          },
          "relation_status": {
            "default": "untracked",
            "title": "Relation Status",
            "type": "string"
          },
          "resource_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource Display Name"
          },
          "resource_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource Uid"
          },
          "scheduled_schedule_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Schedule Ref"
          },
          "scheduled_work_end_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Work End At"
          },
          "scheduled_work_item_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Work Item Type"
          },
          "scheduled_work_start_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Work Start At"
          },
          "scheduled_work_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Work State"
          },
          "scheduled_work_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Work Title"
          },
          "session_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Session State"
          },
          "snapshot_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snapshot Status"
          },
          "tracking_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tracking State"
          },
          "user_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "User Display Name"
          },
          "user_id": {
            "title": "User Id",
            "type": "integer"
          }
        },
        "required": [
          "user_id",
          "current_schedule_linked"
        ],
        "title": "WorkOrderDispatchWorkforceAssigneeContext",
        "type": "object"
      },
      "WorkOrderDispatchWorkforceSummary": {
        "properties": {
          "assigned_user_count": {
            "default": 0,
            "title": "Assigned User Count",
            "type": "integer"
          },
          "assignees": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderDispatchWorkforceAssigneeContext"
            },
            "title": "Assignees",
            "type": "array"
          },
          "matched_assignee_count": {
            "default": 0,
            "title": "Matched Assignee Count",
            "type": "integer"
          },
          "offline_assignee_count": {
            "default": 0,
            "title": "Offline Assignee Count",
            "type": "integer"
          },
          "stale_assignee_count": {
            "default": 0,
            "title": "Stale Assignee Count",
            "type": "integer"
          },
          "tracked_assignee_count": {
            "default": 0,
            "title": "Tracked Assignee Count",
            "type": "integer"
          }
        },
        "title": "WorkOrderDispatchWorkforceSummary",
        "type": "object"
      },
      "WorkOrderLocationSummary": {
        "properties": {
          "address_line1": {
            "title": "Address Line1",
            "type": "string"
          },
          "address_line2": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Line2"
          },
          "address_signature_at_geocode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Address Signature At Geocode"
          },
          "city": {
            "title": "City",
            "type": "string"
          },
          "country_code": {
            "title": "Country Code",
            "type": "string"
          },
          "formatted_address": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Formatted Address"
          },
          "geocode_accuracy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Accuracy"
          },
          "geocode_attempted_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Attempted At"
          },
          "geocode_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Error"
          },
          "geocode_source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Source"
          },
          "geocode_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Geocode Status"
          },
          "google_place_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Google Place Id"
          },
          "label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label"
          },
          "latitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Latitude"
          },
          "longitude": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Longitude"
          },
          "pin_confirmed_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pin Confirmed At"
          },
          "pin_manually_adjusted": {
            "default": false,
            "title": "Pin Manually Adjusted",
            "type": "boolean"
          },
          "postal_code": {
            "title": "Postal Code",
            "type": "string"
          },
          "region_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region Code"
          },
          "uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uid"
          }
        },
        "required": [
          "address_line1",
          "city",
          "postal_code",
          "country_code"
        ],
        "title": "WorkOrderLocationSummary",
        "type": "object"
      },
      "WorkOrderQueueFacet": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "key": {
            "anyOf": [
              {
                "enum": [
                  "needs_scheduling",
                  "needs_time",
                  "needs_assignment",
                  "dispatch_ready",
                  "in_progress",
                  "follow_up_required",
                  "ready_for_billing",
                  "closed"
                ],
                "type": "string"
              },
              {
                "type": "string"
              }
            ],
            "title": "Key"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "count"
        ],
        "title": "WorkOrderQueueFacet",
        "type": "object"
      },
      "WorkOrderResponse": {
        "properties": {
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkAccountSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "account_id": {
            "title": "Account Id",
            "type": "string"
          },
          "account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Account Name"
          },
          "account_uid": {
            "title": "Account Uid",
            "type": "string"
          },
          "additional_assignee_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Additional Assignee Ids"
          },
          "arrival_window_end_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window End Utc"
          },
          "arrival_window_start_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window Start Utc"
          },
          "assigned_user_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assigned User Ids"
          },
          "assignees": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/WorkOrderAssigneeSummary"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignees"
          },
          "assignment": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderAssignmentSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_dispatch_label": {
            "title": "Auto Dispatch Label",
            "type": "string"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Name"
          },
          "branch_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Uid"
          },
          "commercial_completion_invoice": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commercial Completion Invoice"
          },
          "created_at": {
            "format": "date-time",
            "title": "Created At",
            "type": "string"
          },
          "custom_fields": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CustomFieldRuntimeBundle"
              },
              {
                "type": "null"
              }
            ]
          },
          "customer_label": {
            "title": "Customer Label",
            "type": "string"
          },
          "customer_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Notes"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Summary"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "dispatch_label": {
            "title": "Dispatch Label",
            "type": "string"
          },
          "dispatch_label_source": {
            "title": "Dispatch Label Source",
            "type": "string"
          },
          "dispatch_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Notes"
          },
          "dispatch_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Title"
          },
          "display_label": {
            "title": "Display Label",
            "type": "string"
          },
          "follow_up_work_order_uids": {
            "items": {
              "type": "string"
            },
            "title": "Follow Up Work Order Uids",
            "type": "array"
          },
          "internal_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Notes"
          },
          "is_invoiced": {
            "default": false,
            "title": "Is Invoiced",
            "type": "boolean"
          },
          "is_recurring": {
            "default": false,
            "title": "Is Recurring",
            "type": "boolean"
          },
          "last_active_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderStatus"
              },
              {
                "type": "null"
              }
            ]
          },
          "location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderLocationSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "location_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "offering_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Name"
          },
          "offering_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Uid"
          },
          "org_id": {
            "title": "Org Id",
            "type": "integer"
          },
          "parent_work_order_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Parent Work Order Uid"
          },
          "primary_assignee_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Assignee Id"
          },
          "primary_service_asset": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderServiceAssetSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "primary_service_asset_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Uid"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "project_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Uid"
          },
          "queue_state": {
            "anyOf": [
              {
                "enum": [
                  "needs_scheduling",
                  "needs_time",
                  "needs_assignment",
                  "dispatch_ready",
                  "in_progress",
                  "follow_up_required",
                  "ready_for_billing",
                  "closed"
                ],
                "type": "string"
              },
              {
                "type": "string"
              }
            ],
            "default": "needs_scheduling",
            "title": "Queue State"
          },
          "queue_state_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Queue State Label"
          },
          "related_service_asset_uids": {
            "items": {
              "type": "string"
            },
            "title": "Related Service Asset Uids",
            "type": "array"
          },
          "related_service_assets": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderServiceAssetSummary"
            },
            "title": "Related Service Assets",
            "type": "array"
          },
          "requires_follow_up": {
            "default": false,
            "title": "Requires Follow Up",
            "type": "boolean"
          },
          "schedule_state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule State"
          },
          "scheduled_date_local": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Local"
          },
          "scheduled_date_timezone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Date Timezone"
          },
          "scheduled_end": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled End"
          },
          "scheduled_start": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scheduled Start"
          },
          "source_ref": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Ref"
          },
          "source_system": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source System"
          },
          "status": {
            "$ref": "#/components/schemas/WorkOrderStatus"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          },
          "updated_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated At"
          },
          "updated_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Updated By"
          },
          "version": {
            "default": 1,
            "title": "Version",
            "type": "integer"
          },
          "work_order_number": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Number"
          },
          "work_order_number_display": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Number Display"
          },
          "work_order_number_locked": {
            "default": false,
            "title": "Work Order Number Locked",
            "type": "boolean"
          },
          "workforce_tracking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderDispatchWorkforceSummary"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "uid",
          "org_id",
          "account_id",
          "account_uid",
          "display_label",
          "dispatch_label",
          "customer_label",
          "auto_dispatch_label",
          "dispatch_label_source",
          "status",
          "created_at"
        ],
        "title": "WorkOrderResponse",
        "type": "object"
      },
      "WorkOrderScheduleUpsert": {
        "properties": {
          "arrival_window_end_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window End Utc"
          },
          "arrival_window_start_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window Start Utc"
          },
          "assignment_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Id"
          },
          "assignment_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Type"
          },
          "automation_overrides": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderAutomationOverrideInput"
            },
            "title": "Automation Overrides",
            "type": "array"
          },
          "end_at_utc": {
            "format": "date-time",
            "title": "End At Utc",
            "type": "string"
          },
          "expected_plan_version": {
            "title": "Expected Plan Version",
            "type": "integer"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "override": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override"
          },
          "override_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason"
          },
          "override_reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason Code"
          },
          "resource_ids": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource Ids"
          },
          "schedule_entry_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Schedule Entry Uid"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "start_at_utc": {
            "format": "date-time",
            "title": "Start At Utc",
            "type": "string"
          },
          "time_confirmation_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Confirmation Status"
          }
        },
        "required": [
          "start_at_utc",
          "end_at_utc",
          "expected_plan_version"
        ],
        "title": "WorkOrderScheduleUpsert",
        "type": "object"
      },
      "WorkOrderScheduleVisitCreate": {
        "properties": {
          "all_day": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "All Day"
          },
          "arrival_window_end_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window End Utc"
          },
          "arrival_window_start_utc": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Arrival Window Start Utc"
          },
          "assignment_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Id"
          },
          "assignment_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assignment Type"
          },
          "automation_overrides": {
            "items": {
              "$ref": "#/components/schemas/WorkOrderAutomationOverrideInput"
            },
            "title": "Automation Overrides",
            "type": "array"
          },
          "end_at_utc": {
            "format": "date-time",
            "title": "End At Utc",
            "type": "string"
          },
          "expected_plan_version": {
            "title": "Expected Plan Version",
            "type": "integer"
          },
          "offering_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Offering Id"
          },
          "override": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override"
          },
          "override_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason"
          },
          "override_reason_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Override Reason Code"
          },
          "recurrence_count": {
            "anyOf": [
              {
                "maximum": 366.0,
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Count"
          },
          "recurrence_rule": {
            "anyOf": [
              {
                "maxLength": 1000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Rule"
          },
          "recurrence_until": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recurrence Until"
          },
          "resource_ids": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource Ids"
          },
          "source": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "start_at_utc": {
            "format": "date-time",
            "title": "Start At Utc",
            "type": "string"
          }
        },
        "required": [
          "start_at_utc",
          "end_at_utc",
          "expected_plan_version"
        ],
        "title": "WorkOrderScheduleVisitCreate",
        "type": "object"
      },
      "WorkOrderServiceAssetSummary": {
        "properties": {
          "account_uid": {
            "title": "Account Uid",
            "type": "string"
          },
          "asset_subtype": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Asset Subtype"
          },
          "asset_type": {
            "title": "Asset Type",
            "type": "string"
          },
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "display_identifier": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Display Identifier"
          },
          "is_archived": {
            "default": false,
            "title": "Is Archived",
            "type": "boolean"
          },
          "lifecycle_state": {
            "title": "Lifecycle State",
            "type": "string"
          },
          "location_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Label"
          },
          "location_uid": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Uid"
          },
          "manufacturer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Manufacturer"
          },
          "model_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Name"
          },
          "model_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Model Number"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "uid": {
            "title": "Uid",
            "type": "string"
          }
        },
        "required": [
          "uid",
          "account_uid",
          "name",
          "asset_type",
          "status",
          "lifecycle_state"
        ],
        "title": "WorkOrderServiceAssetSummary",
        "type": "object"
      },
      "WorkOrderStatus": {
        "properties": {
          "category": {
            "title": "Category",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "key",
          "label",
          "category"
        ],
        "title": "WorkOrderStatus",
        "type": "object"
      },
      "WorkOrderStatusConfig": {
        "properties": {
          "category": {
            "title": "Category",
            "type": "string"
          },
          "is_category_primary": {
            "default": false,
            "title": "Is Category Primary",
            "type": "boolean"
          },
          "is_default": {
            "default": false,
            "title": "Is Default",
            "type": "boolean"
          },
          "is_domain_default": {
            "default": false,
            "title": "Is Domain Default",
            "type": "boolean"
          },
          "is_enabled": {
            "default": true,
            "title": "Is Enabled",
            "type": "boolean"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "org_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Org Id"
          },
          "sort_order": {
            "default": 0,
            "title": "Sort Order",
            "type": "integer"
          }
        },
        "required": [
          "key",
          "label",
          "category"
        ],
        "title": "WorkOrderStatusConfig",
        "type": "object"
      },
      "WorkOrderStatusInput": {
        "properties": {
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "key": {
            "title": "Key",
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "title": "WorkOrderStatusInput",
        "type": "object"
      },
      "WorkOrderUpdate": {
        "additionalProperties": false,
        "properties": {
          "branch_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Id"
          },
          "branch_reason": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Branch Reason"
          },
          "custom_fields": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/CustomFieldSubjectValueInput"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Fields"
          },
          "customer_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Notes"
          },
          "customer_po_number": {
            "anyOf": [
              {
                "maxLength": 160,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Po Number"
          },
          "customer_summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Customer Summary"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "dispatch_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Notes"
          },
          "dispatch_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dispatch Title"
          },
          "internal_notes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Internal Notes"
          },
          "location_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Location Id"
          },
          "primary_service_asset_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Primary Service Asset Id"
          },
          "priority": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Priority"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "related_service_asset_ids": {
            "anyOf": [
              {
                "items": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Related Service Asset Ids"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderStatusInput"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Status"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tags"
          },
          "work_order_number_display": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Work Order Number Display"
          }
        },
        "title": "WorkOrderUpdate",
        "type": "object"
      },
      "app__operations__work_orders__schemas__WorkOrderStatusUpdate": {
        "properties": {
          "expected_version": {
            "anyOf": [
              {
                "minimum": 1.0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Expected Version"
          },
          "idempotency_key": {
            "anyOf": [
              {
                "maxLength": 160,
                "minLength": 8,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Idempotency Key"
          },
          "reason": {
            "anyOf": [
              {
                "maxLength": 2000,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reason_code": {
            "anyOf": [
              {
                "enum": [
                  "created_in_error",
                  "duplicate",
                  "customer_request",
                  "scope_changed",
                  "pricing_or_terms_changed",
                  "scheduling_change",
                  "supplier_change",
                  "payment_error",
                  "administrative_correction",
                  "other"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason Code"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WorkOrderStatusInput"
              },
              {
                "type": "string"
              }
            ],
            "title": "Status"
          }
        },
        "required": [
          "status"
        ],
        "title": "WorkOrderStatusUpdate",
        "type": "object"
      }
    },
    "securitySchemes": {
      "api_key": {
        "description": "Organization API key (integration client) sent as a bearer token.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "Connected apps and agent teammates. Scopes narrow what the token may do; they never widen the principal's own permissions.",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://atownsolutions.com/oauth/authorize",
            "refreshUrl": "https://atownsolutions.com/oauth/token",
            "scopes": {
              "accounts:read": "Read customers, leads, contacts and addresses (11 permissions)",
              "accounts:write": "Add and change customers, leads, contacts and addresses (41 permissions)",
              "activity.org.view": "View organization activity feeds",
              "agreements.approvals.approve": "Approve agreements",
              "agreements.approvals.manage_policies": "Manage agreement approval policies",
              "agreements.approvals.reject": "Reject agreements",
              "agreements.approvals.request": "Request agreement approvals",
              "agreements.approvals.return_for_changes": "Return agreements for changes",
              "agreements.approvals.review": "Review agreement approvals",
              "agreements.audit.export": "Export agreement audit trails",
              "agreements.audit.view": "View agreement audit trails",
              "agreements.clauses.archive": "Archive agreement clauses",
              "agreements.clauses.create": "Create agreement clauses",
              "agreements.clauses.deprecate": "Deprecate agreement clauses",
              "agreements.clauses.publish": "Publish agreement clauses",
              "agreements.clauses.update": "Update agreement clauses",
              "agreements.clauses.view": "View agreement clauses",
              "agreements.create": "Create agreements",
              "agreements.documents.delete_draft_source": "Delete uploaded-PDF draft source documents",
              "agreements.documents.download_executed": "Download executed uploaded-PDF documents",
              "agreements.documents.download_original": "Download original uploaded-PDF source documents",
              "agreements.documents.issue_uploaded": "Issue uploaded-PDF agreements",
              "agreements.documents.upload": "Upload or replace uploaded-PDF source documents",
              "agreements.documents.view_source": "View uploaded-PDF source documents and previews",
              "agreements.expire": "Expire agreements",
              "agreements.export_evidence": "Export agreement evidence bundles",
              "agreements.export_pdf": "Export agreements as PDF",
              "agreements.fields.assign": "Assign uploaded-PDF fields to signers or roles",
              "agreements.fields.create": "Create uploaded-PDF fields",
              "agreements.fields.delete": "Delete uploaded-PDF fields",
              "agreements.fields.update": "Update uploaded-PDF fields",
              "agreements.fields.view": "View uploaded-PDF fields",
              "agreements.issue": "Send agreements for signing",
              "agreements.legal_hold.manage": "Manage agreement legal holds",
              "agreements.pdf_templates.manage": "Manage uploaded-PDF templates",
              "agreements.reissue": "Reissue agreements into replacement drafts",
              "agreements.reports.export": "Export agreement reports",
              "agreements.reports.view": "View agreement reports",
              "agreements.retention.manage": "Manage agreement retention policies",
              "agreements.send": "Send agreements",
              "agreements.settings.manage": "Manage agreement settings",
              "agreements.signers.manage": "Manage agreement signers",
              "agreements.signing.cancel": "Cancel agreement signing requests",
              "agreements.signing.resend": "Resend agreement signing requests",
              "agreements.signing.view": "View agreement signing activity",
              "agreements.supersede": "Create replacement agreement drafts",
              "agreements.templates.archive": "Archive agreement templates",
              "agreements.templates.create": "Create agreement templates",
              "agreements.templates.deprecate": "Deprecate agreement templates",
              "agreements.templates.manage_versions": "Manage agreement template versions",
              "agreements.templates.publish": "Publish agreement templates",
              "agreements.templates.update": "Update agreement templates",
              "agreements.templates.view": "View agreement templates",
              "agreements.update_draft": "Update draft agreements",
              "agreements.view": "View agreements",
              "agreements.void": "Cancel agreement signing",
              "assets.analytics.export": "Export asset analytics",
              "assets.analytics.read": "Read asset analytics",
              "assets.assignments.create": "Create asset assignments",
              "assets.assignments.read": "Read asset assignments",
              "assets.assignments.update": "Update asset assignments",
              "assets.checklists.approve": "Approve asset checklist runs",
              "assets.checklists.manage_templates": "Manage asset checklist templates",
              "assets.checklists.read": "Read asset checklist templates and runs",
              "assets.checklists.run": "Run and update asset checklists",
              "assets.checklists.templates.archive": "Archive asset checklist templates while retaining operational evidence",
              "assets.checklists.templates.create": "Create asset checklist templates",
              "assets.checklists.templates.restore": "Restore archived asset checklist templates to draft for review",
              "assets.checklists.templates.update": "Update asset checklist templates",
              "assets.checklists.void": "Void an incorrect asset checklist run while preserving its evidence and audit history",
              "assets.classes.create": "Create asset classes",
              "assets.classes.deactivate": "Deactivate asset classes",
              "assets.classes.publish": "Publish asset classes",
              "assets.classes.reactivate": "Reactivate asset classes",
              "assets.classes.read": "Read asset classes",
              "assets.classes.update": "Update asset classes",
              "assets.document_requirements.archive": "Archive asset document requirement definitions",
              "assets.document_requirements.create": "Create asset document requirement definitions",
              "assets.document_requirements.read": "Read asset document requirement definitions",
              "assets.document_requirements.restore": "Restore asset document requirement definitions",
              "assets.document_requirements.update": "Update asset document requirement definitions",
              "assets.documents.read": "Read asset documents",
              "assets.documents.update": "Update asset documents",
              "assets.documents.upload": "Upload asset documents",
              "assets.documents.verify": "Verify asset documents",
              "assets.documents.void": "Void incorrect asset document evidence while preserving the record and audit history",
              "assets.issues.close": "Close asset issues",
              "assets.issues.create": "Create asset issues",
              "assets.issues.read": "Read asset issues",
              "assets.issues.update": "Update asset issues",
              "assets.maintenance.close": "Close asset maintenance workflows",
              "assets.maintenance.create": "Create asset maintenance events",
              "assets.maintenance.manage_programs": "Manage asset maintenance programs",
              "assets.maintenance.programs.archive": "Archive asset maintenance programs while retaining operational history",
              "assets.maintenance.programs.create": "Create asset maintenance programs",
              "assets.maintenance.programs.restore": "Restore archived asset maintenance programs",
              "assets.maintenance.programs.update": "Update asset maintenance programs",
              "assets.maintenance.read": "Read asset maintenance programs and events",
              "assets.maintenance.update": "Update asset maintenance events",
              "assets.maintenance.void": "Void an incorrect asset maintenance event while preserving its evidence and audit history",
              "assets.meter_definitions.archive": "Archive asset meter definitions",
              "assets.meter_definitions.create": "Create asset meter definitions",
              "assets.meter_definitions.read": "Read asset meter definitions",
              "assets.meter_definitions.restore": "Restore asset meter definitions",
              "assets.meter_definitions.update": "Update asset meter definitions",
              "assets.meters.create": "Create asset meter readings",
              "assets.meters.read": "Read asset meter readings",
              "assets.meters.void": "Void incorrect asset meter readings while preserving provenance and audit history",
              "assets.readiness.override": "Override asset readiness actions",
              "assets.readiness.read": "Read asset readiness",
              "assets.reason_requirements.bypass_org_policy": "Bypass organization-added asset reason requirements",
              "assets.records.create": "Create asset records",
              "assets.records.read": "Read asset records",
              "assets.records.retire": "Retire asset records",
              "assets.records.return_to_service": "Return retired asset records to service after readiness checks",
              "assets.records.take_out_of_service": "Take asset records out of service while retaining operational history",
              "assets.records.update": "Update asset records",
              "assets.relationships.create": "Create asset relationships",
              "assets.relationships.delete": "Delete asset relationships",
              "assets.relationships.read": "Read asset relationships",
              "assets.relationships.update": "Update asset relationships",
              "assets.stocking.archive": "Archive asset stocking rules",
              "assets.stocking.create": "Create asset stocking rules",
              "assets.stocking.read": "Read asset stocking rules",
              "assets.stocking.restore": "Restore asset stocking rules",
              "assets.stocking.update": "Update asset stocking rules",
              "assets.telemetry.export": "Export asset telemetry datasets",
              "assets.telemetry.manage_links": "Manage asset telemetry device-to-asset links",
              "assets.telemetry.manage_sources": "Manage asset telemetry providers and sources",
              "assets.telemetry.read": "Read asset telemetry sources, devices, and summaries",
              "assets.telemetry.reconcile": "Manage asset telemetry reconciliation workflows",
              "assets.telemetry.replay": "Manage asset telemetry replay and sync controls",
              "audit.billing.view": "View billing audit events",
              "audit.entitlements.decisions.view": "View entitlement decision audit events",
              "audit.entitlements.view": "View entitlement audit events",
              "audit.export": "Export audit events",
              "audit.org.view": "View organization audit events",
              "audit.read": "Read audit events",
              "audit.security.view": "View security-related audit events",
              "audit.view_agents": "View agent and API token details in audit logs",
              "audit.view_denials": "View audit denial reason codes",
              "audit.view_impersonation": "View impersonation details in audit logs",
              "audit.view_sensitive_reads": "View sensitive audit payloads",
              "billing.account_profiles.accounting.read": "Read account billing accounting controls",
              "billing.account_profiles.accounting.update": "Update account billing accounting controls",
              "billing.account_profiles.compliance.read": "Read account billing compliance controls",
              "billing.account_profiles.compliance.update": "Update account billing compliance controls",
              "billing.account_profiles.payments.read": "Read account billing payment controls",
              "billing.account_profiles.payments.update": "Update account billing payment controls",
              "billing.account_profiles.read": "Read account billing profiles",
              "billing.account_profiles.receivables.read": "Read account billing receivables controls",
              "billing.account_profiles.receivables.update": "Update account billing receivables controls",
              "billing.account_profiles.update": "Update account billing profiles",
              "billing.customer_credits.apply": "Apply and unapply customer credits",
              "billing.customer_credits.create": "Create customer credits",
              "billing.customer_credits.read": "Read customer credits",
              "billing.deposits.apply": "Apply and unapply deposits and prepayments",
              "billing.deposits.create": "Create funded deposits and prepayments",
              "billing.deposits.read": "Read deposits and prepayments",
              "billing.document_templates.activate": "Activate billing document templates",
              "billing.document_templates.archive": "Archive billing document templates",
              "billing.document_templates.create": "Create billing document templates",
              "billing.document_templates.read": "Read billing document templates",
              "billing.document_templates.restore": "Restore billing document templates to draft",
              "billing.document_templates.update": "Update billing document templates",
              "billing.documents.artifacts.read": "Read immutable billing document artifacts",
              "billing.documents.print.audit.read": "Read billing document print and delivery audit evidence",
              "billing.documents.print.correct": "Correct a billing document printed attestation",
              "billing.documents.print.execute": "Generate, print, retry, and complete billing document print batches",
              "billing.documents.print.mail": "Record physical mailing and delivery evidence",
              "billing.documents.print.queue": "Queue billing documents for printing",
              "billing.documents.print.read": "Read the billing document print queue and batches",
              "billing.finance_ops.read": "Read billing finance operations consoles and reporting",
              "billing.fulfillment.backorders.manage": "Manage billing backorders",
              "billing.fulfillment.backorders.read": "Read billing backorders",
              "billing.fulfillment.override_negative_stock": "Override negative stock during billing fulfillment",
              "billing.fulfillment.read": "Read billing fulfillment availability, reservations, and line status",
              "billing.fulfillment.release": "Release inventory reservations for quotes and invoices",
              "billing.fulfillment.reports.read": "Read billing inventory allocation and fulfillment reports",
              "billing.fulfillment.reserve": "Reserve inventory for quotes and draft invoices",
              "billing.invoices.cancel": "Cancel draft billing invoices",
              "billing.invoices.create": "Create draft billing invoices",
              "billing.invoices.discard_draft": "Discard draft invoices",
              "billing.invoices.finalize": "Send and collect on draft invoices",
              "billing.invoices.notify_status": "Notify customers about voided or canceled invoice status",
              "billing.invoices.read": "Read billing invoices",
              "billing.invoices.reassign_account": "Move a billing invoice to a different customer",
              "billing.invoices.replace": "Create a new draft replacement without rewriting invoice history",
              "billing.invoices.restore_draft": "Restore recently discarded draft billing invoices",
              "billing.invoices.send": "Send billing invoices",
              "billing.invoices.update": "Update draft billing invoices",
              "billing.invoices.void": "Void frozen billing invoices",
              "billing.payment_method_definitions.create": "Create org payment method definitions",
              "billing.payment_method_definitions.read": "Read org payment method definitions",
              "billing.payment_method_definitions.update": "Update org payment method definitions",
              "billing.payment_requirements.waive": "Formally waive an unfunded payment requirement",
              "billing.payments.cancel": "Cancel unposted or pending billing payments",
              "billing.payments.create": "Record billing payments",
              "billing.payments.notices.send": "Send customer payment confirmations and receipts",
              "billing.payments.read": "Read billing payments and allocations",
              "billing.payments.reallocate": "Reallocate billing payments across invoices",
              "billing.payments.reverse": "Reverse erroneous manual or offline billing payments",
              "billing.payments.update": "Update billing payment metadata",
              "billing.quotes.convert": "Convert accepted quotes into invoices",
              "billing.quotes.create": "Create billing quotes",
              "billing.quotes.discard_draft": "Discard draft quotes",
              "billing.quotes.finalize": "Send draft quotes",
              "billing.quotes.notify_status": "Notify customers about withdrawn quote status",
              "billing.quotes.read": "Read billing quotes",
              "billing.quotes.reassign_account": "Move a quote to a different customer",
              "billing.quotes.respond": "Record quote acceptance and rejection",
              "billing.quotes.restore_draft": "Restore recently discarded draft billing quotes",
              "billing.quotes.revise": "Create a new draft revision without rewriting quote history",
              "billing.quotes.send": "Send and share billing quotes",
              "billing.quotes.update": "Update draft billing quotes",
              "billing.quotes.withdraw": "Withdraw customer-visible billing quotes while retaining history",
              "billing.reason_requirements.bypass_org_policy": "Bypass organization-added billing reason requirements",
              "billing.reporting.read": "Read billing invoice, payment, statement, and A/R reporting",
              "billing.sources.generate": "Generate draft billing documents from source domains",
              "billing.statement_schedules.cancel": "Permanently cancel statement automation schedules while retaining history",
              "billing.statement_schedules.create": "Create statement automation schedules",
              "billing.statement_schedules.pause": "Pause future runs of statement automation schedules",
              "billing.statement_schedules.read": "Read statement automation schedules and retained history",
              "billing.statement_schedules.resume": "Resume paused statement automation schedules",
              "billing.statement_schedules.update": "Update active or paused statement automation schedules",
              "billing.statements.adjustments.read": "Read statement adjustment-ready activity",
              "billing.statements.cancel": "Cancel draft customer receivables statements",
              "billing.statements.create": "Generate draft customer receivables statements",
              "billing.statements.download": "Download customer receivables statement artifacts",
              "billing.statements.finance_charges.read": "Read statement finance-charge-ready activity",
              "billing.statements.issue": "Issue customer receivables statements",
              "billing.statements.read": "Read customer receivables statements",
              "billing.statements.regenerate": "Regenerate versioned customer receivables statements",
              "billing.statements.send": "Send customer receivables statements",
              "billing.stripe.connect.manage": "Manage Nova Payments verification and payout account lifecycle",
              "billing.stripe.connect.read": "Read Nova Payments account status",
              "billing.stripe.customer_profiles.manage": "Manage payment customer billing profiles",
              "billing.stripe.customer_profiles.read": "Read payment customer billing profiles",
              "billing.stripe.disputes.manage": "Manage payment disputes and submit evidence",
              "billing.stripe.disputes.read": "Read payment dispute activity",
              "billing.stripe.documents.read": "Read sensitive Nova Payments tax and financial documents",
              "billing.stripe.one_time_payments.manage": "Collect card payments and send payment links",
              "billing.stripe.one_time_payments.read": "Read Nova Payments one-time payment sessions",
              "billing.stripe.operations.read": "Read Nova Payments operations dashboards",
              "billing.stripe.payment_methods.manage": "Manage saved payment methods",
              "billing.stripe.payment_methods.read": "Read saved payment methods",
              "billing.stripe.payment_settings.manage": "Manage Nova Payments settings",
              "billing.stripe.payment_settings.read": "Read Nova Payments settings",
              "billing.stripe.payouts.manage": "Manage payout accounts, schedules, and payouts",
              "billing.stripe.payouts.read": "Read payout activity",
              "billing.stripe.refunds.manage": "Manage card payment refunds",
              "billing.stripe.refunds.read": "Read card payment refund activity",
              "billing.stripe.refunds.reconcile": "Resolve an ambiguous Nova Payments refund after provider review",
              "billing.stripe.scheduled_payments.manage": "Manage scheduled card payments",
              "billing.stripe.scheduled_payments.read": "Read scheduled card payments",
              "billing.stripe.settlements.manage": "Reconcile Nova Payments payout settlements",
              "billing.stripe.settlements.read": "Read Nova Payments settlement reconciliation",
              "billing.stripe.subscriptions.manage": "Manage recurring card billing",
              "billing.stripe.subscriptions.read": "Read recurring card billing",
              "billing.stripe.terminal.collect": "Collect card payments in person by tapping a card on a phone",
              "billing.stripe.terminal.force_cancel": "Release a live in-person card authorization after explicit review",
              "billing.stripe.webhooks.read": "Read Nova Payments processing activity",
              "billing.stripe.webhooks.replay": "Retry Nova Payments event processing",
              "bookings:read": "Read bookings (7 permissions)",
              "bookings:write": "Create, update and cancel bookings (32 permissions)",
              "bookkeeping.accounts.manage": "Create, rename, and deactivate ledger accounts",
              "bookkeeping.accounts.read": "View the chart of accounts",
              "bookkeeping.bank_connections.create": "Create bank-feed connections",
              "bookkeeping.bank_connections.disconnect": "Disconnect bank feeds while retaining imported history",
              "bookkeeping.bank_connections.read": "View bank-feed connections and retained sync state",
              "bookkeeping.bank_connections.reconnect": "Reconnect retained bank feeds in pending state",
              "bookkeeping.bank_connections.update": "Edit bank-feed connection metadata",
              "bookkeeping.bank_rules.apply": "Apply bank auto-categorization rules to unreviewed transactions",
              "bookkeeping.bank_rules.create": "Create bank auto-categorization rules",
              "bookkeeping.bank_rules.deactivate": "Deactivate bank auto-categorization rules",
              "bookkeeping.bank_rules.reactivate": "Reactivate bank auto-categorization rules",
              "bookkeeping.bank_rules.read": "View bank auto-categorization rules",
              "bookkeeping.bank_rules.update": "Edit active bank auto-categorization rules",
              "bookkeeping.budgets.archive": "Archive budgets while retaining planning history",
              "bookkeeping.budgets.create": "Create budgets",
              "bookkeeping.budgets.read": "View retained budgets and budget-to-actual reporting",
              "bookkeeping.budgets.restore": "Restore archived budgets",
              "bookkeeping.budgets.update": "Edit active budgets",
              "bookkeeping.expenses.manage": "Create, pay, and void expenses and vendor bills",
              "bookkeeping.expenses.read": "View expenses and vendor bills",
              "bookkeeping.expenses.void": "Void posted expenses while retaining financial history",
              "bookkeeping.export.read": "Export the general ledger and accountant package",
              "bookkeeping.fx.manage": "Manage exchange rates and post FX revaluations",
              "bookkeeping.journal.post": "Post manual journal entries and run ledger backfill",
              "bookkeeping.journal.read": "View journal entries",
              "bookkeeping.opening_balances.manage": "Set opening balances for ledger accounts",
              "bookkeeping.periods.manage": "Close and reopen accounting periods and fiscal years",
              "bookkeeping.reason_requirements.bypass_org_policy": "Bypass organization-added bookkeeping reason requirements",
              "bookkeeping.receipts.manage": "Upload, OCR, and confirm receipts",
              "bookkeeping.receipts.read": "View captured receipts",
              "bookkeeping.reconciliation.manage": "Start, clear, and complete bank reconciliations",
              "bookkeeping.reconciliation.read": "View bank reconciliations",
              "bookkeeping.recurring_entries.create": "Create recurring journal schedules",
              "bookkeeping.recurring_entries.pause": "Pause future recurring journal postings",
              "bookkeeping.recurring_entries.read": "View recurring journal schedules and posting history",
              "bookkeeping.recurring_entries.resume": "Resume paused recurring journal postings",
              "bookkeeping.recurring_entries.run": "Materialize due recurring journal entries",
              "bookkeeping.recurring_entries.update": "Edit recurring journal schedules",
              "bookkeeping.reports.read": "View financial reports (P&L, balance sheet, trial balance, sales tax)",
              "bookkeeping.settings.manage": "Manage bookkeeping settings: tax profiles, FX rates, opening balances, period locks",
              "bookkeeping.tax.remit": "File sales-tax periods and post remittance entries",
              "bookkeeping.tax_profiles.create": "Create sales-tax profiles and rates",
              "bookkeeping.tax_profiles.deactivate": "Deactivate sales-tax profiles while retaining historical tax evidence",
              "bookkeeping.tax_profiles.manage": "Create and edit sales-tax profiles and their rates",
              "bookkeeping.tax_profiles.reactivate": "Reactivate retained sales-tax profiles",
              "bookkeeping.tax_profiles.read": "View sales-tax profiles and their rates",
              "bookkeeping.tax_profiles.update": "Edit sales-tax profiles and rates",
              "bookkeeping.transactions.categorize": "Categorize, match, transfer, or exclude transactions",
              "bookkeeping.transactions.manage": "Create/import and edit transactions",
              "bookkeeping.transactions.read": "View bank/cash transactions",
              "bookkeeping.transactions.void": "Void duplicate or erroneous bank transactions while retaining the source line",
              "bookkeeping.vendors.deactivate": "Deactivate vendors while retaining financial history",
              "bookkeeping.vendors.manage": "Create and edit vendors",
              "bookkeeping.vendors.reactivate": "Reactivate vendors",
              "bookkeeping.vendors.read": "View the vendor master",
              "branches.address_search_override.clear": "Clear branch address search override settings",
              "branches.address_search_override.read": "Read branch address search override settings",
              "branches.address_search_override.write": "Update branch address search override settings",
              "branches.archive": "Archive branches",
              "branches.avatar.clear": "Remove branch avatar",
              "branches.avatar.update": "Upload or replace branch avatar",
              "branches.communication_assets.update": "Manage branch communication asset assignments",
              "branches.contact_points.update": "Manage branch contact points",
              "branches.create": "Create branches",
              "branches.default.update": "Set default branch",
              "branches.memberships.read": "Read branch user assignments",
              "branches.memberships.write": "Manage branch user assignments",
              "branches.read": "Read branches",
              "branches.restore": "Restore archived branches",
              "branches.update": "Update branches",
              "branches.warehouses.update": "Manage branch warehouse relationships",
              "branches.work.assign": "Choose which branch new work belongs to",
              "branches.work.reassign": "Move existing work to another branch",
              "branches.work.view_all": "See every branch's work at once (All branches)",
              "checklists.approve": "Approve shared checklists",
              "checklists.archive": "Archive shared checklists while retaining operational evidence",
              "checklists.complete": "Complete shared checklists",
              "checklists.manage_templates": "Manage shared checklist templates and policies",
              "checklists.read": "Read shared checklists",
              "checklists.run": "Run and update shared checklists",
              "checklists.waive": "Waive shared checklist requirements",
              "commerce.account_profiles.read": "Read commerce account profiles",
              "commerce.account_profiles.update": "Update commerce account profiles",
              "commerce.approval.approve": "Approve governed commercial exceptions",
              "commerce.approval.detail.read": "Read commercial approval item details",
              "commerce.approval.queue.read": "Read commercial approval queues",
              "commerce.approval.reject": "Reject governed commercial exceptions",
              "commerce.approval.review": "Review and comment on commercial approval items",
              "commerce.catalog.manage": "Manage commercial catalog configuration",
              "commerce.catalog.read": "Read commercial catalog configuration",
              "commerce.contract_pricing.manage": "Manage contract and agreement pricing",
              "commerce.contract_pricing.read": "Read contract and agreement pricing",
              "commerce.cost.manage": "Manage commercial cost configuration",
              "commerce.cost.read": "Read commercial cost configuration and cost traces",
              "commerce.cost_rules.create": "Create commercial cost rules",
              "commerce.cost_rules.deactivate": "Deactivate commercial cost rules",
              "commerce.cost_rules.manage": "Manage commercial cost rules",
              "commerce.cost_rules.reactivate": "Reactivate commercial cost rules",
              "commerce.cost_rules.read": "Read commercial cost rules",
              "commerce.cost_rules.update": "Update commercial cost rules",
              "commerce.discounts.activate": "Activate canonical commercial discount definitions",
              "commerce.discounts.codes.manage": "Manage canonical commercial discount codes",
              "commerce.discounts.codes.read": "Read canonical commercial discount codes",
              "commerce.discounts.create": "Create canonical commercial discount definitions",
              "commerce.discounts.deactivate": "Deactivate canonical commercial discount definitions",
              "commerce.discounts.manage": "Manage canonical commercial discount configuration",
              "commerce.discounts.manual.apply": "Apply governed manual discounts",
              "commerce.discounts.override.apply": "Apply governed discount overrides",
              "commerce.discounts.public_codes.manage": "Manage public and booking discount codes",
              "commerce.discounts.read": "Read canonical commercial discount configuration",
              "commerce.discounts.recurring.manage": "Manage recurring discount governance",
              "commerce.discounts.reporting.read": "Read canonical commercial discount reporting visibility",
              "commerce.discounts.update": "Update canonical commercial discount definitions",
              "commerce.document_deliveries.cancel": "Cancel document deliveries",
              "commerce.document_deliveries.create": "Create document deliveries",
              "commerce.document_deliveries.read": "Read document deliveries",
              "commerce.document_deliveries.update": "Update document deliveries",
              "commerce.document_sequences.create": "Create document sequences",
              "commerce.document_sequences.delete": "Delete document sequences",
              "commerce.document_sequences.read": "Read document sequences",
              "commerce.document_sequences.update": "Update document sequences",
              "commerce.financial_documents.create": "Create financial documents",
              "commerce.financial_documents.read": "Read financial documents",
              "commerce.financial_documents.update": "Update financial documents",
              "commerce.governance.manage": "Manage commercial governance policy configuration",
              "commerce.governance.outcomes.read": "Read commercial override and approval outcomes",
              "commerce.governance.read": "Read commercial governance policy configuration",
              "commerce.inventory_finance.create": "Create inventory finance",
              "commerce.inventory_finance.delete": "Delete inventory finance",
              "commerce.inventory_finance.read": "Read inventory finance",
              "commerce.inventory_finance.update": "Update inventory finance",
              "commerce.journal_entries.create": "Create journal entries",
              "commerce.journal_entries.discard_draft": "Discard draft journal entries",
              "commerce.journal_entries.read": "Read journal entries",
              "commerce.journal_entries.reverse": "Reverse journal entries",
              "commerce.journal_entries.update": "Update journal entries",
              "commerce.ledger_accounts.create": "Create ledger accounts",
              "commerce.ledger_accounts.deactivate": "Deactivate ledger accounts",
              "commerce.ledger_accounts.reactivate": "Reactivate ledger accounts",
              "commerce.ledger_accounts.read": "Read ledger accounts",
              "commerce.ledger_accounts.update": "Update ledger accounts",
              "commerce.margin.read": "Read commercial margin outputs",
              "commerce.override.apply": "Apply all governed commercial override types",
              "commerce.override.cost.apply": "Apply commercial cost overrides",
              "commerce.override.price.apply": "Apply commercial price overrides",
              "commerce.override.review": "Review governed commercial overrides and approval queues",
              "commerce.override.rule.apply": "Force or bypass commercial pricing rules",
              "commerce.override.tax.apply": "Apply commercial tax overrides",
              "commerce.payments.create": "Create payments",
              "commerce.payments.read": "Read payments",
              "commerce.payments.update": "Update payments",
              "commerce.preview.read": "Read internal commercial previews and explainers",
              "commerce.price_book_entries.create": "Create price book entries",
              "commerce.price_book_entries.deactivate": "Deactivate price book entries",
              "commerce.price_book_entries.reactivate": "Reactivate price book entries",
              "commerce.price_book_entries.update": "Update price book entries",
              "commerce.price_books.create": "Create price books",
              "commerce.price_books.deactivate": "Deactivate price books",
              "commerce.price_books.manage": "Manage commercial price books",
              "commerce.price_books.reactivate": "Reactivate price books",
              "commerce.price_books.read": "Read price books",
              "commerce.price_books.update": "Update price books",
              "commerce.pricing.manage": "Manage commercial pricing configuration",
              "commerce.pricing.read": "Read commercial pricing configuration and pricing traces",
              "commerce.profitability.read": "Read commercial profitability reporting and valuation outputs",
              "commerce.purchase_orders.approve": "Approve supplier purchase orders",
              "commerce.purchase_orders.cancel": "Cancel committed purchase orders while retaining purchasing history",
              "commerce.purchase_orders.create": "Create purchase orders",
              "commerce.purchase_orders.discard_draft": "Discard uncommitted draft purchase orders",
              "commerce.purchase_orders.read": "Read purchase orders",
              "commerce.purchase_orders.receive": "Receive supplier purchase orders",
              "commerce.purchase_orders.replace": "Create a replacement draft from a canceled purchase order",
              "commerce.purchase_orders.restore_draft": "Restore recently discarded draft purchase orders",
              "commerce.purchase_orders.send": "Commit and send supplier purchase orders",
              "commerce.purchase_orders.update": "Update purchase orders",
              "commerce.reason_requirements.bypass_org_policy": "Bypass organization-added commercial reason requirements",
              "commerce.rules.manage": "Manage commercial pricing and discount rules",
              "commerce.rules.read": "Read commercial pricing and discount rules",
              "commerce.settings.read": "Read commerce settings",
              "commerce.settings.write": "Update commerce settings",
              "commerce.tax_profile_rates.create": "Create tax profile rates",
              "commerce.tax_profile_rates.deactivate": "Deactivate tax profile rates",
              "commerce.tax_profile_rates.reactivate": "Reactivate tax profile rates",
              "commerce.tax_profile_rates.read": "Read tax profile rates",
              "commerce.tax_profile_rates.update": "Update tax profile rates",
              "commerce.tax_profiles.create": "Create tax profiles",
              "commerce.tax_profiles.deactivate": "Deactivate tax profiles",
              "commerce.tax_profiles.reactivate": "Reactivate tax profiles",
              "commerce.tax_profiles.read": "Read tax profiles",
              "commerce.tax_profiles.update": "Update tax profiles",
              "commerce.vendor_bills.create": "Create purchase-order vendor-bill drafts",
              "commerce.vendor_bills.discard_draft": "Discard unposted purchase-order vendor-bill drafts",
              "commerce.vendor_bills.override_match": "Post a vendor bill with an approved receiving-match exception",
              "commerce.vendor_bills.pay": "Record payments against posted vendor bills",
              "commerce.vendor_bills.post": "Post purchase-order vendor bills to accounts payable",
              "commerce.vendor_bills.read": "Read purchase-order vendor bills",
              "commerce.vendor_bills.restore_draft": "Restore recently discarded purchase-order vendor-bill drafts",
              "commerce.vendor_bills.update": "Update purchase-order vendor-bill drafts",
              "commerce.vendor_bills.void": "Void purchase-order vendor bills",
              "commerce.vendor_items.create": "Create vendor item mappings",
              "commerce.vendor_items.delete": "Delete vendor item mappings",
              "commerce.vendor_items.read": "Read vendor item mappings",
              "commerce.vendor_items.update": "Update vendor item mappings",
              "commerce.vendors.create": "Create commerce vendors",
              "commerce.vendors.deactivate": "Deactivate commerce vendors",
              "commerce.vendors.reactivate": "Reactivate commerce vendors",
              "commerce.vendors.read": "Read commerce vendors",
              "commerce.vendors.update": "Update commerce vendors",
              "communications.account_capture.apply": "Confirm account capture details",
              "communications.account_capture.duplicates.override": "Create a separate account or person after reviewing a duplicate",
              "communications.account_capture.read": "View account capture reviews",
              "communications.account_capture.use": "Read text details with AI",
              "communications.admin.debug": "View raw communications provider payloads",
              "communications.attention.alerts.read": "Read communications attention alert diagnostics",
              "communications.attention.assignments.read": "Read communications attention assignments",
              "communications.attention.assignments.write": "Manage communications attention assignments",
              "communications.attention.profiles.create": "Create communications attention profiles",
              "communications.attention.profiles.delete": "Delete communications attention profiles",
              "communications.attention.profiles.read": "Read communications attention profiles",
              "communications.attention.profiles.update": "Update communications attention profiles",
              "communications.attention.settings.read": "Read communications attention settings",
              "communications.attention.settings.write": "Manage communications attention settings",
              "communications.attention.sounds.delete": "Delete communications attention sound assets",
              "communications.attention.sounds.read": "Read communications attention sound assets",
              "communications.attention.sounds.upload": "Upload communications attention sound assets",
              "communications.call.audit.view": "View live communications call audit history",
              "communications.call.dial_through.audit.read": "Read cellular dial-through audit events",
              "communications.call.dial_through.main_line.enable": "Enable cellular dial-through on a customer-facing main phone line",
              "communications.call.dial_through.manage_org": "Manage cellular dial-through settings and credentials for the organization",
              "communications.call.dial_through.manage_self": "Manage own cellular dial-through access code and verified caller phone",
              "communications.call.dial_through.use": "Use cellular dial-through to place recorded calls through organization phone lines",
              "communications.call.live.analytics.export": "Export live communications call analytics and reporting views",
              "communications.call.live.analytics.read": "Read live communications call analytics",
              "communications.call.live.control.self": "Control your own live communications call participant state",
              "communications.call.live.provider_events.read": "Inspect captured provider callback events for live communications calls",
              "communications.call.live.provider_events.replay": "Replay captured provider callback events for live communications calls",
              "communications.call.live.read": "Read live communications call sessions",
              "communications.call.live.recovery.manage": "Repair and reconcile live communications call recovery state",
              "communications.call.live.recovery.read": "Inspect live communications call recovery state",
              "communications.call.live.scope.branch": "Read live communications calls within branch scope",
              "communications.call.live.scope.compliance": "Read live communications calls within compliance scope",
              "communications.call.live.scope.org": "Read live communications calls within organization scope",
              "communications.call.live.scope.queue": "Read live communications calls within queue scope",
              "communications.call.live.scope.self": "Read live communications calls within self scope",
              "communications.call.live.scope.team": "Read live communications calls within team scope",
              "communications.call.ownership.assign": "Assign live communications call ownership",
              "communications.call.ownership.override": "Override live communications call ownership",
              "communications.call.participant.add_internal": "Invite internal participants into live communications calls",
              "communications.call.place": "Place communications calls",
              "communications.call.read": "Read communications calls",
              "communications.call.supervisor.barge": "Join live communications calls as a supervisor participant",
              "communications.call.supervisor.monitor": "Silently monitor live communications calls",
              "communications.call.supervisor.whisper": "Coach a participant in live communications calls without joining the full conference",
              "communications.call.transfer.cancel": "Cancel live communications call transfers",
              "communications.call.transfer.complete": "Complete live communications call transfers",
              "communications.call.transfer.request": "Request live communications call transfers",
              "communications.call.transfer.respond": "Respond to live communications call transfer offers",
              "communications.call_intelligence.consent.manage": "Capture and update NovaAI consent snapshots",
              "communications.call_intelligence.delete.manage": "Execute NovaAI privacy delete requests",
              "communications.call_intelligence.execution.approve": "Approve NovaAI execution requests",
              "communications.call_intelligence.execution.execute": "Execute approved NovaAI actions",
              "communications.call_intelligence.execution.rollback": "Rollback previously executed NovaAI actions",
              "communications.call_intelligence.legal_hold.manage": "Apply and release NovaAI legal holds",
              "communications.call_intelligence.policy.read": "Read effective NovaAI policy and governance decisions",
              "communications.call_intelligence.policy.write": "Configure NovaAI policy assignments and overrides",
              "communications.call_intelligence.proposal.edit": "Edit NovaAI proposals before approval or execution",
              "communications.call_intelligence.read": "Read NovaAI sessions and derived artifacts",
              "communications.call_intelligence.retention.manage": "Materialize and manage NovaAI retention policy state",
              "communications.call_intelligence.review.decide": "Approve, reject, or request changes for NovaAI reviews",
              "communications.call_intelligence.review.read": "Read NovaAI review queues and review history",
              "communications.call_intelligence.review.request": "Request NovaAI human review",
              "communications.call_intelligence.run.reprocess": "Rerun or reprocess NovaAI analysis for a call",
              "communications.call_intelligence.support.replay": "Replay NovaAI lineage for support and debugging",
              "communications.call_intelligence.transcript.export": "Export NovaAI transcripts and evidence packages",
              "communications.call_intelligence.transcript.read": "Read NovaAI transcript evidence",
              "communications.call_intelligence.transcript.reveal_sensitive": "Reveal sensitive transcript spans in NovaAI evidence",
              "communications.conversation.draft.read": "Read active teammate conversation drafts",
              "communications.conversation.manage": "Manage communications conversations",
              "communications.conversation.read": "Read communications conversations",
              "communications.email.attachment.download": "Download email attachments",
              "communications.email.attachment.list": "List email attachments",
              "communications.email.attachment.purge_cache": "Purge email attachment cache",
              "communications.email.attachment.refetch": "Refetch email attachments",
              "communications.email.attachment.security_override": "Perform sensitive email attachment security overrides",
              "communications.email.attachment.sensitive_view": "View sensitive email attachment security metadata",
              "communications.email.folder.create": "Create email folders and labels",
              "communications.email.folder.delete": "Delete email folders and labels",
              "communications.email.folder.list": "List email folders and labels",
              "communications.email.folder.update": "Update email folders and labels",
              "communications.email.inbox.archive": "Archive email inboxes",
              "communications.email.inbox.archive.google": "Archive Google email inboxes",
              "communications.email.inbox.archive.imap_smtp": "Archive IMAP/SMTP email inboxes",
              "communications.email.inbox.archive.microsoft": "Archive Microsoft email inboxes",
              "communications.email.inbox.cutover.manage": "Manage inbox go-live and cutover controls",
              "communications.email.inbox.delete": "Delete email inboxes",
              "communications.email.inbox.delete.google": "Delete Google email inboxes",
              "communications.email.inbox.delete.imap_smtp": "Delete IMAP/SMTP email inboxes",
              "communications.email.inbox.delete.microsoft": "Delete Microsoft email inboxes",
              "communications.email.inbox.historical_import.manage": "Manage inbox historical import configuration",
              "communications.email.inbox.list": "List email inboxes",
              "communications.email.inbox.manage_memberships": "Manage email inbox memberships",
              "communications.email.inbox.manage_routing_rules": "Manage email inbox routing rules",
              "communications.email.inbox.manage_send_as": "Manage email inbox send-as settings",
              "communications.email.inbox.ticketing_settings.manage": "Manage inbox ticketing settings",
              "communications.email.inbox.ticketing_settings.view": "View inbox ticketing settings",
              "communications.email.inbox.update": "Update email inbox settings",
              "communications.email.inbox.use.all": "Use all email inboxes for operational send flows",
              "communications.email.inbox.use.assigned": "Use assigned email inboxes for operational send flows",
              "communications.email.inbox.view": "View email inbox details",
              "communications.email.inbox.view_health": "View email inbox health",
              "communications.email.message.apply_label": "Apply email labels",
              "communications.email.message.archive": "Archive email messages",
              "communications.email.message.delete": "Permanently delete email messages",
              "communications.email.message.export": "Export email messages",
              "communications.email.message.flag": "Star/flag email messages",
              "communications.email.message.forward": "Forward email messages",
              "communications.email.message.list": "List email messages",
              "communications.email.message.mark_read": "Mark email messages as read",
              "communications.email.message.mark_unread": "Mark email messages as unread",
              "communications.email.message.move": "Move email messages",
              "communications.email.message.remove_label": "Remove email labels",
              "communications.email.message.report_spam": "Report email messages as spam/junk",
              "communications.email.message.restore": "Restore email messages from trash/spam",
              "communications.email.message.search": "Search email messages",
              "communications.email.message.send": "Send email messages",
              "communications.email.message.snooze": "Snooze email messages",
              "communications.email.message.trash": "Trash email messages",
              "communications.email.message.view": "View email messages",
              "communications.email.message.view_body": "View email message body",
              "communications.email.ops.manage_webhooks": "Manage email webhooks",
              "communications.email.ops.rotate_tokens": "Rotate email provider tokens",
              "communications.email.ops.search.health": "View email search health",
              "communications.email.ops.search.reindex": "Reindex email search",
              "communications.email.ops.task_failures.replay": "Replay async email-ticketing task failures",
              "communications.email.ops.task_failures.resolve": "Resolve async email-ticketing task failures",
              "communications.email.ops.task_failures.view": "View async email-ticketing task failures",
              "communications.email.ops.view_provider_errors": "View email provider errors",
              "communications.email.ops.view_sync_state": "View email sync state",
              "communications.email.ops.view_webhook_health": "View email webhook health",
              "communications.email.provider_connection.manage": "Manage inbox provider connection onboarding and reconnect setup",
              "communications.email.provider_connection.override": "Run sensitive inbox provider operational overrides",
              "communications.email.provider_credentials.manage": "Manage inbox provider credentials and app configuration",
              "communications.email.routing_rules.manage": "Manage inbox routing rules",
              "communications.email.routing_rules.view": "View inbox routing rules",
              "communications.email.thread.list": "List email threads",
              "communications.email.thread.view": "View email threads",
              "communications.email.video.send": "Send provider-compatible video or Nova video links by email",
              "communications.inbox.manage": "Manage communications inbox numbers",
              "communications.inbox.read": "Read communications inbox numbers",
              "communications.line.use.all": "Use all communications phone lines for operational flows",
              "communications.line.use.assigned": "Use assigned communications phone lines for operational flows",
              "communications.message.delete": "Delete (hide) communications messages from the inbox",
              "communications.message.read": "Read communications messages",
              "communications.message.send": "Send communications messages",
              "communications.phone_numbers.purchase": "Purchase managed communications phone numbers",
              "communications.phone_transfers.cancel": "Cancel phone transfer requests",
              "communications.phone_transfers.comment": "Comment on phone transfer requests",
              "communications.phone_transfers.create": "Create phone transfer requests",
              "communications.phone_transfers.document.delete": "Delete phone transfer request documents",
              "communications.phone_transfers.document.download": "Download phone transfer request documents",
              "communications.phone_transfers.document.upload": "Upload phone transfer request documents",
              "communications.phone_transfers.read": "Read phone transfer requests",
              "communications.phone_transfers.update": "Update phone transfer request details",
              "communications.rcs.video.send": "Send provider-compatible video through RCS",
              "communications.recording.pause_resume": "Pause and resume live communications call recordings",
              "communications.recording.playback": "Playback communications recordings",
              "communications.sender_safety.assess": "Mark unknown communications senders as spam or not spam",
              "communications.sender_safety.audit.view": "View sender safety decision history",
              "communications.sender_safety.block_calls": "Block and unblock calls from shared sender safety records",
              "communications.sender_safety.block_sms": "Block and unblock text messages from shared sender safety records",
              "communications.sender_safety.manage": "Manage all shared sender safety classifications and channel blocks",
              "communications.sender_safety.read": "Read shared call and text sender safety records",
              "communications.sms.video.send": "Send provider-compatible video through MMS",
              "communications.social.video.send": "Send video in supported social inbox conversations",
              "communications.spam_protection.audit.view": "View spam protection decision and source audit history",
              "communications.spam_protection.manage": "Manage all spam protection policies, sources, and review decisions",
              "communications.spam_protection.policy.manage": "Manage organization spam protection handling policy",
              "communications.spam_protection.read": "Read organization spam protection policy, reputation, and review queues",
              "communications.spam_protection.review.manage": "Resolve spam protection review queue decisions",
              "communications.spam_protection.sources.manage": "Manage spam protection source subscriptions and source weights",
              "communications.team_messages.log.read_all": "See other teammates' message history",
              "communications.team_messages.manage": "Change what the team is sent and when",
              "communications.team_messages.read": "See team message settings",
              "communications.texting_number.manage": "Get, replace or release the organization's included texting number",
              "communications.ticket.assignment.capacity.manage": "Manage ticket agent capacity policies",
              "communications.ticket.assignment.capacity.view": "View ticket agent capacity policies",
              "communications.ticket.assignment.presence.manage": "Manage ticket agent presence states",
              "communications.ticket.assignment.presence.view": "View ticket agent presence states",
              "communications.ticket.assignment.skill.manage": "Manage ticket assignment skills",
              "communications.ticket.assignment.skill.view": "View ticket assignment skills",
              "communications.ticket.attachment.download": "Download ticket-linked email attachments",
              "communications.ticket.attachment.view": "View ticket-linked email attachments",
              "communications.ticket.audit.export": "Export ticket audit activity",
              "communications.ticket.audit.view": "View ticket audit activity",
              "communications.ticket.csat.view": "View ticket customer satisfaction analytics",
              "communications.ticket.draft.create": "Create ticket drafts",
              "communications.ticket.draft.delete": "Delete ticket drafts",
              "communications.ticket.draft.lock_override": "Override ticket draft compose locks",
              "communications.ticket.draft.update": "Update ticket drafts",
              "communications.ticket.draft.view": "View ticket drafts",
              "communications.ticket.note.create": "Create internal ticket notes",
              "communications.ticket.note.delete": "Delete internal ticket notes",
              "communications.ticket.note.update": "Edit internal ticket notes",
              "communications.ticket.portal_deflection.view": "View portal ticket deflection analytics",
              "communications.ticket.queue.list": "List ticket queues",
              "communications.ticket.queue.manage": "Manage ticket queues",
              "communications.ticket.queue.memberships.manage": "Manage ticket queue memberships",
              "communications.ticket.queue.sla.manage": "Manage ticket queue SLA policies",
              "communications.ticket.queue.view": "View ticket queues",
              "communications.ticket.request_type.manage": "Manage ticket request types",
              "communications.ticket.request_type.view": "View ticket request types",
              "communications.ticket.ticket.assign": "Assign tickets",
              "communications.ticket.ticket.bulk_edit": "Bulk edit tickets",
              "communications.ticket.ticket.change_priority": "Change ticket priority",
              "communications.ticket.ticket.change_queue": "Move tickets between queues",
              "communications.ticket.ticket.create": "Create tickets",
              "communications.ticket.ticket.email_artifact.relink": "Relink email messages or threads to tickets",
              "communications.ticket.ticket.export": "Export tickets",
              "communications.ticket.ticket.merge": "Merge tickets",
              "communications.ticket.ticket.reassign_others": "Reassign tickets owned by other users",
              "communications.ticket.ticket.recorrelate.override": "Override ticket correlation records manually",
              "communications.ticket.ticket.search.advanced": "Run advanced ticket searches",
              "communications.ticket.ticket.send_external_reply": "Send external ticket replies",
              "communications.ticket.ticket.split": "Split tickets",
              "communications.ticket.ticket.status.change": "Change ticket workflow status",
              "communications.ticket.ticket.status.close": "Close tickets",
              "communications.ticket.ticket.status.mark_spam": "Mark tickets as spam",
              "communications.ticket.ticket.status.reopen": "Reopen tickets",
              "communications.ticket.ticket.status.resolve": "Resolve tickets",
              "communications.ticket.ticket.status.restore_from_spam": "Restore tickets from spam",
              "communications.ticket.ticket.unassign": "Unassign tickets",
              "communications.ticket.ticket.update_metadata": "Update ticket metadata",
              "communications.ticket.ticket.view": "View tickets",
              "communications.ticket.ticket.watchers.manage": "Manage ticket watchers",
              "communications.voicemail.playback": "Playback communications voicemails",
              "critical_alerts.analytics.view": "View critical alert analytics and operational performance",
              "critical_alerts.audit.export": "Export critical alert audit trails",
              "critical_alerts.audit.view": "View critical alert audit and evidence trails",
              "critical_alerts.destinations.manage": "Manage critical alert destinations and escalation targets",
              "critical_alerts.incidents.operate": "Acknowledge, resolve, and trigger critical alerts",
              "critical_alerts.incidents.view": "View critical alert incidents and timelines",
              "critical_alerts.manage": "Manage critical alerts configuration and operations",
              "critical_alerts.recipes.manage": "Manage critical alert setup recipes",
              "critical_alerts.replay.operate": "Replay critical alert signals and retry delivery actions",
              "critical_alerts.rules.manage": "Manage critical alert matcher rules and routing policies",
              "critical_alerts.schedules.manage": "Manage critical alert on-call schedules and routing calendars",
              "critical_alerts.sources.manage": "Manage critical alert sources and public endpoints",
              "critical_alerts.suppressions.advanced_json.manage": "Edit advanced suppression scope and policy JSON",
              "critical_alerts.suppressions.archive": "Archive critical alert suppression windows while retaining audit history",
              "critical_alerts.suppressions.create": "Create scoped critical alert suppression windows",
              "critical_alerts.suppressions.global.manage": "Create and broaden global critical alert suppression windows",
              "critical_alerts.suppressions.manage": "Manage critical alert suppression windows and maintenance schedules",
              "critical_alerts.suppressions.operate": "End, disable, extend, and duplicate critical alert suppression windows",
              "critical_alerts.suppressions.update": "Update critical alert suppression names, reasons, timing, scope, and policy",
              "critical_alerts.suppressions.view": "View critical alert suppression windows, impact previews, and related incidents",
              "critical_alerts.templates.manage": "Manage critical alert templates and exact delivery content",
              "critical_alerts.view": "View critical alerts workspace",
              "crm.accounts.anonymize": "Anonymize an account through an approved privacy request",
              "crm.accounts.archive": "Archive accounts",
              "crm.accounts.contacts.create": "Create account contacts",
              "crm.accounts.contacts.delete": "Delete account contacts",
              "crm.accounts.contacts.read": "Read account contacts",
              "crm.accounts.contacts.update": "Update account contacts",
              "crm.accounts.create": "Create accounts",
              "crm.accounts.merge": "Merge accounts",
              "crm.accounts.read": "Read accounts",
              "crm.accounts.restore": "Restore accounts",
              "crm.accounts.update": "Update accounts",
              "crm.contact_methods.create": "Create contact methods",
              "crm.contact_methods.delete": "Delete contact methods",
              "crm.contact_methods.read": "Read contact methods",
              "crm.contact_methods.update": "Update contact methods",
              "crm.contacts.anonymize": "Anonymize a contact through an approved privacy request",
              "crm.contacts.archive": "Archive contacts",
              "crm.contacts.create": "Create contacts",
              "crm.contacts.merge": "Merge contacts",
              "crm.contacts.read": "Read contacts",
              "crm.contacts.restore": "Restore contacts",
              "crm.contacts.update": "Update contacts",
              "crm.locations.archive": "Archive locations",
              "crm.locations.contacts.create": "Create location contacts",
              "crm.locations.contacts.delete": "Delete location contacts",
              "crm.locations.contacts.read": "Read location contacts",
              "crm.locations.contacts.update": "Update location contacts",
              "crm.locations.create": "Create locations",
              "crm.locations.read": "Read locations",
              "crm.locations.restore": "Restore locations",
              "crm.locations.update": "Update locations",
              "crm.reason_requirements.bypass_org_policy": "Bypass organization-added CRM reason requirements",
              "crm.service_assets.activity.read": "Read service asset activity summaries",
              "crm.service_assets.admin.manage": "Manage service asset setup and governance",
              "crm.service_assets.archive": "Archive service assets",
              "crm.service_assets.create": "Create service assets",
              "crm.service_assets.export": "Export service assets",
              "crm.service_assets.history.read": "Read service asset history and audit trails",
              "crm.service_assets.identifiers.create": "Create service asset identifiers",
              "crm.service_assets.identifiers.delete": "Delete service asset identifiers",
              "crm.service_assets.identifiers.read": "Read service asset identifiers",
              "crm.service_assets.identifiers.set_primary": "Set or change the primary service asset identifier",
              "crm.service_assets.identifiers.update": "Update service asset identifiers",
              "crm.service_assets.read": "Read service assets",
              "crm.service_assets.relationships.create": "Create service asset relationships",
              "crm.service_assets.relationships.delete": "Delete service asset relationships",
              "crm.service_assets.relationships.read": "Read service asset relationships",
              "crm.service_assets.relationships.update": "Update service asset relationships",
              "crm.service_assets.restore": "Restore service assets",
              "crm.service_assets.update": "Update service assets",
              "customer_commitments.audit.export": "Export customer commitment audit trails",
              "customer_commitments.audit.view": "View customer commitment audit trails",
              "customer_commitments.cancel": "Cancel active customer commitment packages",
              "customer_commitments.create": "Request customer commitments from quotes",
              "customer_commitments.manage": "Manage customer commitment packages",
              "customer_commitments.remind": "Send customer commitment reminders",
              "customer_commitments.settings.manage": "Manage customer commitment settings",
              "customer_commitments.view": "View customer commitment packages",
              "customer_notifications.export": "Export customer notification metadata",
              "customer_notifications.operate": "Edit, cancel, release or retry an eligible customer notification",
              "customer_notifications.read": "See the customer notifications log: what was sent to customers and what is coming up",
              "customer_notifications.resend": "Send another copy of an eligible customer notification",
              "dashboard.read": "View dashboard",
              "data.export": "Export organization data",
              "data.import": "Import organization portability packages",
              "diagnostics.assets.view": "View asset and workforce diagnostics",
              "diagnostics.automation.view": "View automation diagnostics",
              "diagnostics.communications.view": "View communications diagnostics",
              "diagnostics.export": "Export diagnostics",
              "diagnostics.integrations.view": "View integration diagnostics",
              "diagnostics.org.view": "View organization diagnostics",
              "diagnostics.payments.view": "View payments and billing diagnostics",
              "diagnostics.public_surfaces.view": "View public surface diagnostics",
              "diagnostics.raw_payload.view": "View raw diagnostic payload references",
              "diagnostics.replay": "Replay diagnostic remediation actions",
              "diagnostics.technical.view": "View technical diagnostics",
              "emails.accounts.read": "Read email accounts",
              "emails.accounts.write": "Manage email accounts",
              "emails.read": "Read emails",
              "emails.send": "Send emails",
              "emails.send.unverified.override": "Send emails to unverified recipients with justification",
              "emails.verify.confirm": "Confirm email verification",
              "emails.verify.override": "Override email verification status",
              "emails.verify.send": "Send verification emails",
              "exports.create": "Create portability export jobs",
              "exports.create_full_tenant_backup": "Create full-tenant portability backup packages",
              "exports.download": "Download portability export artifacts",
              "exports.include_archival_history": "Include archival history in portability exports",
              "exports.include_assets": "Include packaged binary assets in portability exports",
              "exports.include_sensitive_communications": "Include sensitive communications history in portability exports",
              "exports.read_catalog": "Read portability export catalog and job metadata",
              "feedback.comments.create": "Create feedback comments",
              "feedback.comments.delete": "Delete feedback comments",
              "feedback.comments.update": "Update feedback comments",
              "feedback.create": "Create feedback items",
              "feedback.delete": "Delete feedback items",
              "feedback.read": "Read feedback board and items",
              "feedback.settings.read": "Read feedback settings",
              "feedback.update": "Update feedback items",
              "feedback.votes.create": "Vote on feedback items",
              "feedback.votes.delete": "Remove feedback votes",
              "files.accounts.delete": "Delete Account files",
              "files.accounts.download": "Download Account files",
              "files.accounts.download_full_res": "Download original Account files",
              "files.accounts.link": "Link files to Account",
              "files.accounts.move_folder": "Move Account files between folders",
              "files.accounts.pin": "Pin or unpin Account files",
              "files.accounts.read": "Read Account files",
              "files.accounts.restore": "Restore Account files",
              "files.accounts.share": "Share Account files externally",
              "files.accounts.unlink": "Unlink files from Account",
              "files.accounts.upload": "Upload Account files",
              "files.attention_sound_assets.delete": "Delete Attention sound asset files",
              "files.attention_sound_assets.download": "Download Attention sound asset files",
              "files.attention_sound_assets.download_full_res": "Download original Attention sound asset files",
              "files.attention_sound_assets.link": "Link files to Attention sound asset",
              "files.attention_sound_assets.move_folder": "Move Attention sound asset files between folders",
              "files.attention_sound_assets.pin": "Pin or unpin Attention sound asset files",
              "files.attention_sound_assets.read": "Read Attention sound asset files",
              "files.attention_sound_assets.restore": "Restore Attention sound asset files",
              "files.attention_sound_assets.share": "Share Attention sound asset files externally",
              "files.attention_sound_assets.unlink": "Unlink files from Attention sound asset",
              "files.attention_sound_assets.upload": "Upload Attention sound asset files",
              "files.call_recordings.delete": "Delete Call recording files",
              "files.call_recordings.download": "Download Call recording files",
              "files.call_recordings.download_full_res": "Download original Call recording files",
              "files.call_recordings.link": "Link files to Call recording",
              "files.call_recordings.move_folder": "Move Call recording files between folders",
              "files.call_recordings.pin": "Pin or unpin Call recording files",
              "files.call_recordings.read": "Read Call recording files",
              "files.call_recordings.restore": "Restore Call recording files",
              "files.call_recordings.share": "Share Call recording files externally",
              "files.call_recordings.unlink": "Unlink files from Call recording",
              "files.call_recordings.upload": "Upload Call recording files",
              "files.checklist_items.delete": "Delete Checklist item files",
              "files.checklist_items.download": "Download Checklist item files",
              "files.checklist_items.download_full_res": "Download original Checklist item files",
              "files.checklist_items.link": "Link files to Checklist item",
              "files.checklist_items.move_folder": "Move Checklist item files between folders",
              "files.checklist_items.pin": "Pin or unpin Checklist item files",
              "files.checklist_items.read": "Read Checklist item files",
              "files.checklist_items.restore": "Restore Checklist item files",
              "files.checklist_items.share": "Share Checklist item files externally",
              "files.checklist_items.unlink": "Unlink files from Checklist item",
              "files.checklist_items.upload": "Upload Checklist item files",
              "files.checklists.delete": "Delete Checklist files",
              "files.checklists.download": "Download Checklist files",
              "files.checklists.download_full_res": "Download original Checklist files",
              "files.checklists.link": "Link files to Checklist",
              "files.checklists.move_folder": "Move Checklist files between folders",
              "files.checklists.pin": "Pin or unpin Checklist files",
              "files.checklists.read": "Read Checklist files",
              "files.checklists.restore": "Restore Checklist files",
              "files.checklists.share": "Share Checklist files externally",
              "files.checklists.unlink": "Unlink files from Checklist",
              "files.checklists.upload": "Upload Checklist files",
              "files.contacts.delete": "Delete Contact files",
              "files.contacts.download": "Download Contact files",
              "files.contacts.download_full_res": "Download original Contact files",
              "files.contacts.link": "Link files to Contact",
              "files.contacts.move_folder": "Move Contact files between folders",
              "files.contacts.pin": "Pin or unpin Contact files",
              "files.contacts.read": "Read Contact files",
              "files.contacts.restore": "Restore Contact files",
              "files.contacts.share": "Share Contact files externally",
              "files.contacts.unlink": "Unlink files from Contact",
              "files.contacts.upload": "Upload Contact files",
              "files.delete": "Delete files (all entities)",
              "files.download": "Download files (all entities)",
              "files.download_full_res": "Download original files (all entities)",
              "files.emails.delete": "Delete Email files",
              "files.emails.download": "Download Email files",
              "files.emails.download_full_res": "Download original Email files",
              "files.emails.link": "Link files to Email",
              "files.emails.move_folder": "Move Email files between folders",
              "files.emails.pin": "Pin or unpin Email files",
              "files.emails.read": "Read Email files",
              "files.emails.restore": "Restore Email files",
              "files.emails.share": "Share Email files externally",
              "files.emails.unlink": "Unlink files from Email",
              "files.emails.upload": "Upload Email files",
              "files.feedback_comments.delete": "Delete Feedback comment files",
              "files.feedback_comments.download": "Download Feedback comment files",
              "files.feedback_comments.download_full_res": "Download original Feedback comment files",
              "files.feedback_comments.link": "Link files to Feedback comment",
              "files.feedback_comments.move_folder": "Move Feedback comment files between folders",
              "files.feedback_comments.pin": "Pin or unpin Feedback comment files",
              "files.feedback_comments.read": "Read Feedback comment files",
              "files.feedback_comments.restore": "Restore Feedback comment files",
              "files.feedback_comments.share": "Share Feedback comment files externally",
              "files.feedback_comments.unlink": "Unlink files from Feedback comment",
              "files.feedback_comments.upload": "Upload Feedback comment files",
              "files.feedback_items.delete": "Delete Feedback item files",
              "files.feedback_items.download": "Download Feedback item files",
              "files.feedback_items.download_full_res": "Download original Feedback item files",
              "files.feedback_items.link": "Link files to Feedback item",
              "files.feedback_items.move_folder": "Move Feedback item files between folders",
              "files.feedback_items.pin": "Pin or unpin Feedback item files",
              "files.feedback_items.read": "Read Feedback item files",
              "files.feedback_items.restore": "Restore Feedback item files",
              "files.feedback_items.share": "Share Feedback item files externally",
              "files.feedback_items.unlink": "Unlink files from Feedback item",
              "files.feedback_items.upload": "Upload Feedback item files",
              "files.folders.create": "Create file folders",
              "files.folders.delete": "Delete file folders",
              "files.folders.policy.read": "Read file folder object policies",
              "files.folders.policy.update": "Manage file folder object policies",
              "files.folders.read": "Read file folders",
              "files.folders.reorder": "Reorder file folders",
              "files.folders.update": "Update file folders",
              "files.inventory_items.delete": "Delete Inventory item files",
              "files.inventory_items.download": "Download Inventory item files",
              "files.inventory_items.download_full_res": "Download original Inventory item files",
              "files.inventory_items.link": "Link files to Inventory item",
              "files.inventory_items.move_folder": "Move Inventory item files between folders",
              "files.inventory_items.pin": "Pin or unpin Inventory item files",
              "files.inventory_items.read": "Read Inventory item files",
              "files.inventory_items.restore": "Restore Inventory item files",
              "files.inventory_items.share": "Share Inventory item files externally",
              "files.inventory_items.unlink": "Unlink files from Inventory item",
              "files.inventory_items.upload": "Upload Inventory item files",
              "files.knowledge_base_pages.delete": "Delete Knowledge Base page files",
              "files.knowledge_base_pages.download": "Download Knowledge Base page files",
              "files.knowledge_base_pages.download_full_res": "Download original Knowledge Base page files",
              "files.knowledge_base_pages.link": "Link files to Knowledge Base page",
              "files.knowledge_base_pages.move_folder": "Move Knowledge Base page files between folders",
              "files.knowledge_base_pages.pin": "Pin or unpin Knowledge Base page files",
              "files.knowledge_base_pages.read": "Read Knowledge Base page files",
              "files.knowledge_base_pages.restore": "Restore Knowledge Base page files",
              "files.knowledge_base_pages.share": "Share Knowledge Base page files externally",
              "files.knowledge_base_pages.unlink": "Unlink files from Knowledge Base page",
              "files.knowledge_base_pages.upload": "Upload Knowledge Base page files",
              "files.links.create": "Link files to entities (all entities)",
              "files.links.delete": "Unlink files from entities (all entities)",
              "files.links.move_folder": "Move file links between folders (all entities)",
              "files.links.pin": "Pin file links (all entities)",
              "files.links.policy.read": "Read file link object policies",
              "files.links.policy.update": "Manage file link object policies",
              "files.links.share": "Share file links externally (all entities)",
              "files.locations.delete": "Delete Location files",
              "files.locations.download": "Download Location files",
              "files.locations.download_full_res": "Download original Location files",
              "files.locations.link": "Link files to Location",
              "files.locations.move_folder": "Move Location files between folders",
              "files.locations.pin": "Pin or unpin Location files",
              "files.locations.read": "Read Location files",
              "files.locations.restore": "Restore Location files",
              "files.locations.share": "Share Location files externally",
              "files.locations.unlink": "Unlink files from Location",
              "files.locations.upload": "Upload Location files",
              "files.notes.delete": "Delete Note files",
              "files.notes.download": "Download Note files",
              "files.notes.download_full_res": "Download original Note files",
              "files.notes.link": "Link files to Note",
              "files.notes.move_folder": "Move Note files between folders",
              "files.notes.pin": "Pin or unpin Note files",
              "files.notes.read": "Read Note files",
              "files.notes.restore": "Restore Note files",
              "files.notes.share": "Share Note files externally",
              "files.notes.unlink": "Unlink files from Note",
              "files.notes.upload": "Upload Note files",
              "files.phone_line_hold_music.delete": "Delete Phone line hold music files",
              "files.phone_line_hold_music.download": "Download Phone line hold music files",
              "files.phone_line_hold_music.download_full_res": "Download original Phone line hold music files",
              "files.phone_line_hold_music.link": "Link files to Phone line hold music",
              "files.phone_line_hold_music.move_folder": "Move Phone line hold music files between folders",
              "files.phone_line_hold_music.pin": "Pin or unpin Phone line hold music files",
              "files.phone_line_hold_music.read": "Read Phone line hold music files",
              "files.phone_line_hold_music.restore": "Restore Phone line hold music files",
              "files.phone_line_hold_music.share": "Share Phone line hold music files externally",
              "files.phone_line_hold_music.unlink": "Unlink files from Phone line hold music",
              "files.phone_line_hold_music.upload": "Upload Phone line hold music files",
              "files.phone_line_voicemail_greetings.delete": "Delete Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.download": "Download Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.download_full_res": "Download original Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.link": "Link files to Phone line voicemail greeting",
              "files.phone_line_voicemail_greetings.move_folder": "Move Phone line voicemail greeting files between folders",
              "files.phone_line_voicemail_greetings.pin": "Pin or unpin Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.read": "Read Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.restore": "Restore Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.share": "Share Phone line voicemail greeting files externally",
              "files.phone_line_voicemail_greetings.unlink": "Unlink files from Phone line voicemail greeting",
              "files.phone_line_voicemail_greetings.upload": "Upload Phone line voicemail greeting files",
              "files.phone_transfer_documents.delete": "Delete Phone transfer document files",
              "files.phone_transfer_documents.download": "Download Phone transfer document files",
              "files.phone_transfer_documents.download_full_res": "Download original Phone transfer document files",
              "files.phone_transfer_documents.link": "Link files to Phone transfer document",
              "files.phone_transfer_documents.move_folder": "Move Phone transfer document files between folders",
              "files.phone_transfer_documents.pin": "Pin or unpin Phone transfer document files",
              "files.phone_transfer_documents.read": "Read Phone transfer document files",
              "files.phone_transfer_documents.restore": "Restore Phone transfer document files",
              "files.phone_transfer_documents.share": "Share Phone transfer document files externally",
              "files.phone_transfer_documents.unlink": "Unlink files from Phone transfer document",
              "files.phone_transfer_documents.upload": "Upload Phone transfer document files",
              "files.portfolios.delete": "Delete Portfolio files",
              "files.portfolios.download": "Download Portfolio files",
              "files.portfolios.download_full_res": "Download original Portfolio files",
              "files.portfolios.link": "Link files to Portfolio",
              "files.portfolios.move_folder": "Move Portfolio files between folders",
              "files.portfolios.pin": "Pin or unpin Portfolio files",
              "files.portfolios.read": "Read Portfolio files",
              "files.portfolios.restore": "Restore Portfolio files",
              "files.portfolios.share": "Share Portfolio files externally",
              "files.portfolios.unlink": "Unlink files from Portfolio",
              "files.portfolios.upload": "Upload Portfolio files",
              "files.processing.cancel": "Cancel file scanning or media processing jobs",
              "files.processing.read": "View file scanning and media-processing status",
              "files.processing.retry": "Retry failed file scanning or media processing",
              "files.projects.delete": "Delete Project files",
              "files.projects.download": "Download Project files",
              "files.projects.download_full_res": "Download original Project files",
              "files.projects.link": "Link files to Project",
              "files.projects.move_folder": "Move Project files between folders",
              "files.projects.pin": "Pin or unpin Project files",
              "files.projects.read": "Read Project files",
              "files.projects.restore": "Restore Project files",
              "files.projects.share": "Share Project files externally",
              "files.projects.unlink": "Unlink files from Project",
              "files.projects.upload": "Upload Project files",
              "files.purge": "Purge deleted files (all entities)",
              "files.read": "Read files (all entities)",
              "files.recycle_bin.read": "Read recycle bin files",
              "files.restore": "Restore files (all entities)",
              "files.schedule_offerings.delete": "Delete Schedule offering files",
              "files.schedule_offerings.download": "Download Schedule offering files",
              "files.schedule_offerings.download_full_res": "Download original Schedule offering files",
              "files.schedule_offerings.link": "Link files to Schedule offering",
              "files.schedule_offerings.move_folder": "Move Schedule offering files between folders",
              "files.schedule_offerings.pin": "Pin or unpin Schedule offering files",
              "files.schedule_offerings.read": "Read Schedule offering files",
              "files.schedule_offerings.restore": "Restore Schedule offering files",
              "files.schedule_offerings.share": "Share Schedule offering files externally",
              "files.schedule_offerings.unlink": "Unlink files from Schedule offering",
              "files.schedule_offerings.upload": "Upload Schedule offering files",
              "files.security.assessments.read": "View detailed NovaScan assessment history and evidence",
              "files.security.blocked.delete": "Delete a file blocked by NovaScan",
              "files.security.blocked.download": "Break glass to download a file blocked by NovaScan",
              "files.service_assets.delete": "Delete Service asset files",
              "files.service_assets.download": "Download Service asset files",
              "files.service_assets.download_full_res": "Download original Service asset files",
              "files.service_assets.link": "Link files to Service asset",
              "files.service_assets.move_folder": "Move Service asset files between folders",
              "files.service_assets.pin": "Pin or unpin Service asset files",
              "files.service_assets.read": "Read Service asset files",
              "files.service_assets.restore": "Restore Service asset files",
              "files.service_assets.share": "Share Service asset files externally",
              "files.service_assets.unlink": "Unlink files from Service asset",
              "files.service_assets.upload": "Upload Service asset files",
              "files.sms.delete": "Delete SMS files",
              "files.sms.download": "Download SMS files",
              "files.sms.download_full_res": "Download original SMS files",
              "files.sms.link": "Link files to SMS",
              "files.sms.move_folder": "Move SMS files between folders",
              "files.sms.pin": "Pin or unpin SMS files",
              "files.sms.read": "Read SMS files",
              "files.sms.restore": "Restore SMS files",
              "files.sms.share": "Share SMS files externally",
              "files.sms.unlink": "Unlink files from SMS",
              "files.sms.upload": "Upload SMS files",
              "files.tasks.delete": "Delete Task files",
              "files.tasks.download": "Download Task files",
              "files.tasks.download_full_res": "Download original Task files",
              "files.tasks.link": "Link files to Task",
              "files.tasks.move_folder": "Move Task files between folders",
              "files.tasks.pin": "Pin or unpin Task files",
              "files.tasks.read": "Read Task files",
              "files.tasks.restore": "Restore Task files",
              "files.tasks.share": "Share Task files externally",
              "files.tasks.unlink": "Unlink files from Task",
              "files.tasks.upload": "Upload Task files",
              "files.timesheets.delete": "Delete Timesheet files",
              "files.timesheets.download": "Download Timesheet files",
              "files.timesheets.download_full_res": "Download original Timesheet files",
              "files.timesheets.link": "Link files to Timesheet",
              "files.timesheets.move_folder": "Move Timesheet files between folders",
              "files.timesheets.pin": "Pin or unpin Timesheet files",
              "files.timesheets.read": "Read Timesheet files",
              "files.timesheets.restore": "Restore Timesheet files",
              "files.timesheets.share": "Share Timesheet files externally",
              "files.timesheets.unlink": "Unlink files from Timesheet",
              "files.timesheets.upload": "Upload Timesheet files",
              "files.upload": "Upload files (all entities)",
              "files.upload.session.read": "Read file upload sessions",
              "files.usage.read": "Read file storage usage",
              "files.video.download_original": "View or download preserved original video files",
              "files.video.share_external": "Share clean, processed videos outside the organization",
              "files.video.upload": "Upload cost-bearing video files through authorized Nova surfaces",
              "files.voicemails.delete": "Delete Voicemail files",
              "files.voicemails.download": "Download Voicemail files",
              "files.voicemails.download_full_res": "Download original Voicemail files",
              "files.voicemails.link": "Link files to Voicemail",
              "files.voicemails.move_folder": "Move Voicemail files between folders",
              "files.voicemails.pin": "Pin or unpin Voicemail files",
              "files.voicemails.read": "Read Voicemail files",
              "files.voicemails.restore": "Restore Voicemail files",
              "files.voicemails.share": "Share Voicemail files externally",
              "files.voicemails.unlink": "Unlink files from Voicemail",
              "files.voicemails.upload": "Upload Voicemail files",
              "files.work_orders.delete": "Delete Work order files",
              "files.work_orders.download": "Download Work order files",
              "files.work_orders.download_full_res": "Download original Work order files",
              "files.work_orders.link": "Link files to Work order",
              "files.work_orders.move_folder": "Move Work order files between folders",
              "files.work_orders.pin": "Pin or unpin Work order files",
              "files.work_orders.read": "Read Work order files",
              "files.work_orders.restore": "Restore Work order files",
              "files.work_orders.share": "Share Work order files externally",
              "files.work_orders.unlink": "Unlink files from Work order",
              "files.work_orders.upload": "Upload Work order files",
              "files:read": "List and download files attached to records (61 permissions)",
              "governance.reason_policy.manage": "Manage organization reason policy",
              "governance.reason_policy.read": "Read organization reason policy",
              "help.read": "Search and read Nova help articles",
              "help:read": "Search and read Nova help articles (1 permissions)",
              "identity.reason_requirements.bypass_org_policy": "Bypass organization-added identity reason requirements",
              "imports.audit.read": "Read portability import dry-run, audit, and mapping results",
              "imports.cancel": "Cancel portability import jobs",
              "imports.create": "Create portability import jobs",
              "imports.cross_tenant_migration": "Run portability imports across tenant boundaries",
              "imports.dry_run": "Run portability dry-run analysis",
              "imports.execute": "Execute portability imports into live tenant data",
              "imports.override_matching": "Override default portability matching behavior",
              "imports.resolve_conflicts": "Resolve portability import conflicts",
              "imports.restore_communications": "Restore archival communications history",
              "imports.restore_financials": "Restore financial and business-visible numbering records",
              "imports.restore_portal": "Restore customer-facing portal access records",
              "imports.restore_users": "Restore user-linked portability records",
              "imports.save_mappings": "Create and manage saved external import column mappings",
              "imports.upload_package": "Upload portability packages for import",
              "imports.validate": "Validate portability packages before execution",
              "intake.analytics.read": "Read Intake analytics",
              "intake.forms.manage": "Manage Intake forms",
              "intake.forms.read": "Read Intake forms",
              "intake.inbox.read": "Read Intake inbox views",
              "intake.publications.manage": "Manage Intake publication settings",
              "intake.publications.read": "Read Intake publication settings",
              "intake.routing.manage": "Manage Intake routing",
              "intake.submissions.assign": "Assign Intake submissions",
              "intake.submissions.convert": "Convert Intake submissions into downstream records",
              "intake.submissions.manage": "Manage Intake submissions",
              "intake.submissions.moderate": "Moderate Intake submissions",
              "intake.submissions.read": "Read Intake submissions",
              "intake.versions.manage": "Manage Intake versions",
              "intake.versions.publish": "Publish Intake versions",
              "intake.versions.read": "Read Intake versions",
              "integrations.accounting.create": "Create integrations accounting handoff",
              "integrations.accounting.delete": "Delete integrations accounting handoff",
              "integrations.accounting.read": "Read integrations accounting handoff",
              "integrations.accounting.update": "Update integrations accounting handoff",
              "integrations.ics.audit.read": "Read ICS export feed audit",
              "integrations.ics.create": "Create integrations ics feeds",
              "integrations.ics.delete": "Delete integrations ics feeds",
              "integrations.ics.read": "Read integrations ics feeds",
              "integrations.ics.secrets.reveal": "Reveal ICS export feed URLs",
              "integrations.ics.targets.manage": "Manage ICS export feed targets",
              "integrations.ics.update": "Update integrations ics feeds",
              "integrations.webhooks.create": "Create integrations webhooks",
              "integrations.webhooks.delete": "Delete integrations webhooks",
              "integrations.webhooks.read": "Read integrations webhooks",
              "integrations.webhooks.update": "Update integrations webhooks",
              "inventory.counts.create": "Create stock counts",
              "inventory.counts.read": "Read stock counts",
              "inventory.counts.update": "Update stock counts",
              "inventory.items.create": "Create products and parts",
              "inventory.items.deactivate": "Deactivate products and parts",
              "inventory.items.reactivate": "Reactivate products and parts",
              "inventory.items.read": "Read products and parts",
              "inventory.items.update": "Update products and parts",
              "inventory.locations.create": "Create storage locations",
              "inventory.locations.deactivate": "Deactivate storage locations",
              "inventory.locations.reactivate": "Reactivate storage locations",
              "inventory.locations.read": "Read storage locations",
              "inventory.locations.update": "Update storage locations",
              "inventory.media.delete": "Delete product photos",
              "inventory.media.manage": "Upload and edit product photos",
              "inventory.media.publish": "Publish product photos",
              "inventory.media.read": "Read product photos",
              "inventory.serialized.create": "Create serial-numbered stock",
              "inventory.serialized.read": "Read serial-numbered stock",
              "inventory.serialized.retire": "Retire serial-numbered stock",
              "inventory.serialized.return_to_service": "Return to service serial-numbered stock",
              "inventory.serialized.update": "Update serial-numbered stock",
              "inventory.transactions.create": "Create stock movements",
              "inventory.transactions.read": "Read stock movements",
              "inventory.transactions.update": "Update stock movements",
              "inventory.transfers.create": "Create stock transfers",
              "inventory.transfers.read": "Read stock transfers",
              "inventory.transfers.update": "Update stock transfers",
              "invoices:read": "Read invoices (5 permissions)",
              "invoices:write": "Create, update and finish invoices (20 permissions)",
              "knowledge_base.attachments.create": "Create Knowledge Base attachments",
              "knowledge_base.attachments.delete": "Delete Knowledge Base attachments",
              "knowledge_base.attachments.read": "Read Knowledge Base attachments",
              "knowledge_base.audit.read": "Read Knowledge Base audit logs",
              "knowledge_base.comments.create": "Create Knowledge Base comments",
              "knowledge_base.comments.delete": "Delete Knowledge Base comments",
              "knowledge_base.comments.read": "Read Knowledge Base comments",
              "knowledge_base.comments.update": "Update or resolve Knowledge Base comments",
              "knowledge_base.pages.archive": "Archive or restore Knowledge Base pages",
              "knowledge_base.pages.create": "Create Knowledge Base pages",
              "knowledge_base.pages.delete": "Delete Knowledge Base pages",
              "knowledge_base.pages.publish": "Publish Knowledge Base pages",
              "knowledge_base.pages.read": "Read Knowledge Base pages",
              "knowledge_base.pages.search": "Search Knowledge Base pages",
              "knowledge_base.pages.update": "Update Knowledge Base pages",
              "knowledge_base.permissions.manage": "Manage Knowledge Base page permissions and ACLs",
              "knowledge_base.tags.create": "Create Knowledge Base tags",
              "knowledge_base.tags.read": "Read Knowledge Base tags",
              "knowledge_base.versions.read": "Read Knowledge Base page versions",
              "knowledge_base.versions.restore": "Restore Knowledge Base page versions",
              "knowledge_base.watchers.read": "Read Knowledge Base watchers",
              "knowledge_base.watchers.update": "Manage Knowledge Base watchers",
              "lifecycle_automation.action_messages.manage": "Choose which customer messages go out when cancelling or completing a work order",
              "lifecycle_automation.ai.review": "Review lifecycle automation AI output",
              "lifecycle_automation.ai.use": "Use lifecycle automation AI assistance",
              "lifecycle_automation.analytics.view": "View lifecycle automation analytics",
              "lifecycle_automation.approvals.review": "Read lifecycle automation approval queues and approval history",
              "lifecycle_automation.content.manage": "Manage lifecycle automation content strategies and template bindings",
              "lifecycle_automation.customer_identity.manage": "Manage customer-facing staff names, photos and category presentation",
              "lifecycle_automation.customer_senders.manage": "Choose customer-message senders and reply destinations",
              "lifecycle_automation.customer_senders.override": "Set sender exceptions for individual customer messages",
              "lifecycle_automation.debug.view": "View lifecycle automation debug history and support timelines",
              "lifecycle_automation.decisioning.approve": "Approve lifecycle automation actions",
              "lifecycle_automation.decisioning.manage": "Manage lifecycle automation AI and decision settings",
              "lifecycle_automation.decisioning.view": "View lifecycle automation decision traces",
              "lifecycle_automation.definitions.delete": "Delete unused custom automation drafts",
              "lifecycle_automation.definitions.manage": "Create and edit lifecycle automation definitions and drafts",
              "lifecycle_automation.definitions.publish": "Publish, activate, pause, and archive lifecycle automations",
              "lifecycle_automation.executions.operate": "Operate lifecycle automation dry-runs and execution controls",
              "lifecycle_automation.manage": "Manage lifecycle automation configuration and journeys",
              "lifecycle_automation.view": "View lifecycle automation",
              "message_templates.activate": "Activate organization message templates",
              "message_templates.create": "Create organization message templates",
              "message_templates.delete": "Delete organization message templates",
              "message_templates.export": "Export organization message templates",
              "message_templates.import": "Import organization message templates",
              "message_templates.read": "Read organization message templates",
              "message_templates.reason_requirements.bypass_org_policy": "Bypass organization-added message-template reason requirements",
              "message_templates.test": "Send organization message template test dispatches",
              "message_templates.update": "Update organization message templates",
              "metadata.custom_field_values.delete": "Delete custom field values",
              "metadata.custom_field_values.read": "Read custom field values",
              "metadata.custom_field_values.update": "Update custom field values",
              "metadata.custom_fields.archive": "Archive custom fields",
              "metadata.custom_fields.create": "Create custom fields",
              "metadata.custom_fields.read": "Read custom fields",
              "metadata.custom_fields.restore": "Restore custom fields",
              "metadata.custom_fields.update": "Update custom fields",
              "metadata.entity_values.archive": "Archive entity values",
              "metadata.entity_values.create": "Create entity values",
              "metadata.entity_values.delete": "Delete entity values",
              "metadata.entity_values.read": "Read entity values",
              "metadata.entity_values.update": "Update entity values",
              "metadata.lifecycle_statuses.archive": "Archive lifecycle statuses",
              "metadata.lifecycle_statuses.create": "Create lifecycle statuses",
              "metadata.lifecycle_statuses.delete": "Delete lifecycle statuses",
              "metadata.lifecycle_statuses.read": "Read lifecycle statuses",
              "metadata.lifecycle_statuses.update": "Update lifecycle statuses",
              "metadata.location_types.archive": "Archive location types",
              "metadata.location_types.create": "Create location types",
              "metadata.location_types.delete": "Delete location types",
              "metadata.location_types.read": "Read location types",
              "metadata.location_types.update": "Update location types",
              "metadata.managed_statuses.archive": "Archive managed workflow statuses",
              "metadata.managed_statuses.create": "Create managed workflow statuses",
              "metadata.managed_statuses.read": "Read managed workflow statuses",
              "metadata.managed_statuses.update": "Update managed workflow statuses",
              "metadata.tags.archive": "Archive tags",
              "metadata.tags.assign": "Assign tags to entities",
              "metadata.tags.create": "Create tags",
              "metadata.tags.delete": "Delete tags",
              "metadata.tags.manage": "Manage all tag settings",
              "metadata.tags.read": "Read tags",
              "metadata.tags.subscribe": "Subscribe to tag notifications",
              "metadata.tags.update": "Update tags",
              "metadata.task_statuses.archive": "Archive task statuses",
              "metadata.task_statuses.create": "Create task statuses",
              "metadata.task_statuses.delete": "Delete task statuses",
              "metadata.task_statuses.read": "Read task statuses",
              "metadata.task_statuses.update": "Update task statuses",
              "metadata.work_order_statuses.archive": "Archive work order statuses",
              "metadata.work_order_statuses.create": "Create work order statuses",
              "metadata.work_order_statuses.delete": "Delete work order statuses",
              "metadata.work_order_statuses.read": "Read work order statuses",
              "metadata.work_order_statuses.update": "Update work order statuses",
              "notes.accounts.archive": "Archive Account notes",
              "notes.accounts.attach_file": "Attach file Account notes",
              "notes.accounts.create": "Create Account notes",
              "notes.accounts.delete": "Delete Account notes",
              "notes.accounts.lock_override": "Override lock Account notes",
              "notes.accounts.move_folder": "Move folder Account notes",
              "notes.accounts.pin": "Pin Account notes",
              "notes.accounts.purge": "Purge deleted Account notes",
              "notes.accounts.read": "Read Account notes",
              "notes.accounts.reorder": "Reorder Account notes",
              "notes.accounts.restore": "Restore Account notes",
              "notes.accounts.tag": "Tag Account notes",
              "notes.accounts.unarchive": "Unarchive Account notes",
              "notes.accounts.update": "Update Account notes",
              "notes.archive": "Archive notes (all entities)",
              "notes.attach_file": "Attach files to notes (all entities)",
              "notes.contacts.archive": "Archive Contact notes",
              "notes.contacts.attach_file": "Attach file Contact notes",
              "notes.contacts.create": "Create Contact notes",
              "notes.contacts.delete": "Delete Contact notes",
              "notes.contacts.lock_override": "Override lock Contact notes",
              "notes.contacts.move_folder": "Move folder Contact notes",
              "notes.contacts.pin": "Pin Contact notes",
              "notes.contacts.purge": "Purge deleted Contact notes",
              "notes.contacts.read": "Read Contact notes",
              "notes.contacts.reorder": "Reorder Contact notes",
              "notes.contacts.restore": "Restore Contact notes",
              "notes.contacts.tag": "Tag Contact notes",
              "notes.contacts.unarchive": "Unarchive Contact notes",
              "notes.contacts.update": "Update Contact notes",
              "notes.create": "Create notes (all entities)",
              "notes.delete": "Delete notes (all entities)",
              "notes.folders.create": "Create note folders",
              "notes.folders.delete": "Delete note folders",
              "notes.folders.policy.read": "Read note folder object policies",
              "notes.folders.policy.update": "Manage note folder object policies",
              "notes.folders.read": "Read note folders",
              "notes.folders.reorder": "Reorder note folders",
              "notes.folders.update": "Update note folders",
              "notes.locations.archive": "Archive Location notes",
              "notes.locations.attach_file": "Attach file Location notes",
              "notes.locations.create": "Create Location notes",
              "notes.locations.delete": "Delete Location notes",
              "notes.locations.lock_override": "Override lock Location notes",
              "notes.locations.move_folder": "Move folder Location notes",
              "notes.locations.pin": "Pin Location notes",
              "notes.locations.purge": "Purge deleted Location notes",
              "notes.locations.read": "Read Location notes",
              "notes.locations.reorder": "Reorder Location notes",
              "notes.locations.restore": "Restore Location notes",
              "notes.locations.tag": "Tag Location notes",
              "notes.locations.unarchive": "Unarchive Location notes",
              "notes.locations.update": "Update Location notes",
              "notes.lock_override": "Override note locks (all entities)",
              "notes.move_folder": "Move notes between folders (all entities)",
              "notes.pin": "Pin notes (all entities)",
              "notes.policy.read": "Read note object policies",
              "notes.policy.update": "Manage note object policies",
              "notes.portfolios.archive": "Archive Portfolio notes",
              "notes.portfolios.attach_file": "Attach file Portfolio notes",
              "notes.portfolios.create": "Create Portfolio notes",
              "notes.portfolios.delete": "Delete Portfolio notes",
              "notes.portfolios.lock_override": "Override lock Portfolio notes",
              "notes.portfolios.move_folder": "Move folder Portfolio notes",
              "notes.portfolios.pin": "Pin Portfolio notes",
              "notes.portfolios.purge": "Purge deleted Portfolio notes",
              "notes.portfolios.read": "Read Portfolio notes",
              "notes.portfolios.reorder": "Reorder Portfolio notes",
              "notes.portfolios.restore": "Restore Portfolio notes",
              "notes.portfolios.tag": "Tag Portfolio notes",
              "notes.portfolios.unarchive": "Unarchive Portfolio notes",
              "notes.portfolios.update": "Update Portfolio notes",
              "notes.projects.archive": "Archive Project notes",
              "notes.projects.attach_file": "Attach file Project notes",
              "notes.projects.create": "Create Project notes",
              "notes.projects.delete": "Delete Project notes",
              "notes.projects.lock_override": "Override lock Project notes",
              "notes.projects.move_folder": "Move folder Project notes",
              "notes.projects.pin": "Pin Project notes",
              "notes.projects.purge": "Purge deleted Project notes",
              "notes.projects.read": "Read Project notes",
              "notes.projects.reorder": "Reorder Project notes",
              "notes.projects.restore": "Restore Project notes",
              "notes.projects.tag": "Tag Project notes",
              "notes.projects.unarchive": "Unarchive Project notes",
              "notes.projects.update": "Update Project notes",
              "notes.purge": "Purge deleted notes (all entities)",
              "notes.read": "Read notes (all entities)",
              "notes.reason_requirements.bypass_org_policy": "Bypass organization-added note reason requirements",
              "notes.reorder": "Reorder notes (all entities)",
              "notes.restore": "Restore notes (all entities)",
              "notes.service_assets.archive": "Archive Service asset notes",
              "notes.service_assets.attach_file": "Attach file Service asset notes",
              "notes.service_assets.create": "Create Service asset notes",
              "notes.service_assets.delete": "Delete Service asset notes",
              "notes.service_assets.lock_override": "Override lock Service asset notes",
              "notes.service_assets.move_folder": "Move folder Service asset notes",
              "notes.service_assets.pin": "Pin Service asset notes",
              "notes.service_assets.purge": "Purge deleted Service asset notes",
              "notes.service_assets.read": "Read Service asset notes",
              "notes.service_assets.reorder": "Reorder Service asset notes",
              "notes.service_assets.restore": "Restore Service asset notes",
              "notes.service_assets.tag": "Tag Service asset notes",
              "notes.service_assets.unarchive": "Unarchive Service asset notes",
              "notes.service_assets.update": "Update Service asset notes",
              "notes.tag": "Manage note tags (all entities)",
              "notes.tasks.archive": "Archive Task notes",
              "notes.tasks.attach_file": "Attach file Task notes",
              "notes.tasks.create": "Create Task notes",
              "notes.tasks.delete": "Delete Task notes",
              "notes.tasks.lock_override": "Override lock Task notes",
              "notes.tasks.move_folder": "Move folder Task notes",
              "notes.tasks.pin": "Pin Task notes",
              "notes.tasks.purge": "Purge deleted Task notes",
              "notes.tasks.read": "Read Task notes",
              "notes.tasks.reorder": "Reorder Task notes",
              "notes.tasks.restore": "Restore Task notes",
              "notes.tasks.tag": "Tag Task notes",
              "notes.tasks.unarchive": "Unarchive Task notes",
              "notes.tasks.update": "Update Task notes",
              "notes.unarchive": "Unarchive notes (all entities)",
              "notes.update": "Update notes (all entities)",
              "notes.work_orders.archive": "Archive Work order notes",
              "notes.work_orders.attach_file": "Attach file Work order notes",
              "notes.work_orders.create": "Create Work order notes",
              "notes.work_orders.delete": "Delete Work order notes",
              "notes.work_orders.lock_override": "Override lock Work order notes",
              "notes.work_orders.move_folder": "Move folder Work order notes",
              "notes.work_orders.pin": "Pin Work order notes",
              "notes.work_orders.purge": "Purge deleted Work order notes",
              "notes.work_orders.read": "Read Work order notes",
              "notes.work_orders.reorder": "Reorder Work order notes",
              "notes.work_orders.restore": "Restore Work order notes",
              "notes.work_orders.tag": "Tag Work order notes",
              "notes.work_orders.unarchive": "Unarchive Work order notes",
              "notes.work_orders.update": "Update Work order notes",
              "notes:read": "Read notes on records (12 permissions)",
              "notes:write": "Add and edit notes on records (107 permissions)",
              "org.agent_approvals.decide": "Approve or decline actions agents are waiting on",
              "org.agent_approvals.read": "View actions agents are waiting on a person to approve",
              "org.agents.manage": "Create, pause, re-credential and remove AI agent teammates",
              "org.agents.read": "View the organization's AI agent teammates",
              "org.ai.accept_terms": "Accept organization AI policy terms",
              "org.ai.data.manage": "Manage organization AI generated data handling",
              "org.ai.disable": "Disable organization AI",
              "org.ai.enable": "Enable organization AI after policy acceptance",
              "org.ai.policy.read": "Read organization AI governance policy",
              "org.ai.policy.write": "Update organization AI governance policy",
              "org.api_clients.manage": "Create and revoke organization API keys",
              "org.api_clients.read": "View the organization's API keys",
              "org.api_clients.rotate": "Issue a replacement secret for an organization API key",
              "org.api_clients.update": "Change what an organization API key can do",
              "org.connected_apps.manage": "Disconnect any app connected to this organization",
              "org.connected_apps.read": "View apps people have connected to this organization",
              "org.contact_points.create": "Create organization contact points",
              "org.contact_points.delete": "Delete organization contact points",
              "org.contact_points.read": "Read organization contact points",
              "org.contact_points.update": "Update organization contact points",
              "org.demo_data.manage": "Manage organization demo and seed data",
              "org.notifications.acknowledge": "Acknowledge organization notifications",
              "org.notifications.archive": "Archive and restore organization notifications",
              "org.notifications.configure": "Configure organization notifications",
              "org.notifications.mark_read": "Mark organization notifications as read",
              "org.notifications.read": "Read organization notifications",
              "org.portal.activity.view": "View portal activity",
              "org.portal.links.create": "Create portal links",
              "org.portal.links.manual": "Create manual portal links without a contact",
              "org.portal.links.revoke": "Revoke portal links",
              "org.portal.links.view": "View portal links",
              "org.portal.users.create": "Create portal users",
              "org.portal.users.disable": "Disable portal users",
              "org.portal.users.invite": "Invite portal users",
              "org.portal.users.link_contact": "Link portal users to contacts",
              "org.portal.users.manage": "Manage portal users",
              "org.portal.users.reset_password": "Reset portal user passwords",
              "org.portal.users.sessions.revoke": "Revoke portal user sessions",
              "org.portal.users.sessions.view": "View portal user sessions",
              "org.portal.users.update": "Edit portal users",
              "org.portal.users.view": "View portal users",
              "org.settings.address_search.read": "Read organization address search settings",
              "org.settings.address_search.write": "Update organization address search settings",
              "org.settings.advanced.read": "Read organization advanced settings",
              "org.settings.advanced.write": "Update organization advanced settings",
              "org.settings.branding.presets.read": "Read organization branding presets",
              "org.settings.branding.presets.write": "Manage organization branding presets",
              "org.settings.branding.read": "Read organization branding settings",
              "org.settings.branding.write": "Update organization branding settings",
              "org.settings.content_organization.read": "Read content organization settings",
              "org.settings.content_organization.write": "Update content organization settings",
              "org.settings.email_branding.read": "Read organization email branding settings",
              "org.settings.email_branding.write": "Update organization email branding settings",
              "org.settings.experience.read": "Read organization experience mode settings",
              "org.settings.experience.write": "Update organization experience mode settings",
              "org.settings.general.read": "Read organization general settings",
              "org.settings.general.write": "Update organization general settings",
              "org.settings.legal.publish": "Publish organization legal and public policy pages",
              "org.settings.legal.read": "Read organization legal and public policy pages",
              "org.settings.legal.write": "Edit organization legal and public policy page drafts",
              "org.settings.limits.read": "Read organization limits settings",
              "org.settings.limits.write": "Update organization limits settings",
              "org.settings.navigation.external_links.write": "Manage external links in sidebar navigation",
              "org.settings.navigation.policy.read": "Read sidebar navigation visibility policies",
              "org.settings.navigation.policy.write": "Update sidebar navigation visibility policies",
              "org.settings.navigation.read": "Read organization sidebar navigation settings",
              "org.settings.navigation.write": "Update organization sidebar navigation settings",
              "org.settings.online_presence.manage": "Manage where the business exists online (Google, Facebook, Yelp and other places, review links, email footer links)",
              "org.settings.public_booking.analytics.read": "Read public booking analytics",
              "org.settings.public_booking.availability.read": "Read public booking availability settings",
              "org.settings.public_booking.availability.write": "Manage public booking availability settings",
              "org.settings.public_booking.diagnostics.read": "Read public booking diagnostics",
              "org.settings.public_booking.embeds.read": "Read public booking embed settings",
              "org.settings.public_booking.embeds.write": "Manage public booking embed settings",
              "org.settings.public_booking.flow.read": "Read public booking flow settings",
              "org.settings.public_booking.flow.write": "Manage public booking flow settings",
              "org.settings.public_booking.identity_policy.read": "Read public booking identity policy",
              "org.settings.public_booking.identity_policy.write": "Manage public booking identity policy",
              "org.settings.public_booking.identity_reviews.manage": "Manage public booking identity reviews",
              "org.settings.public_booking.notifications.read": "Read public booking notification settings",
              "org.settings.public_booking.notifications.write": "Manage public booking notification settings",
              "org.settings.public_booking.payments.read": "Read public booking payment settings",
              "org.settings.public_booking.payments.write": "Manage public booking payment settings",
              "org.settings.public_booking.pending_approvals.manage": "Manage public booking pending approvals",
              "org.settings.public_booking.pending_approvals.read": "Read public booking pending approvals",
              "org.settings.public_booking.read": "Read organization public booking settings",
              "org.settings.public_booking.service_area.read": "Read public booking service-area settings",
              "org.settings.public_booking.service_area.write": "Manage public booking service-area settings",
              "org.settings.public_booking.surfaces.read": "Read public booking surfaces",
              "org.settings.public_booking.surfaces.write": "Manage public booking surfaces",
              "org.settings.public_booking.waitlist.manage": "Manage public booking waitlist",
              "org.settings.public_booking.waitlist.read": "Read public booking waitlist",
              "org.settings.public_booking.write": "Update organization public booking settings",
              "org.settings.public_platform.read": "Read organization public platform settings",
              "org.settings.public_platform.scripts.read": "Read organization public platform protected vendor snippet settings",
              "org.settings.public_platform.scripts.write": "Manage organization public platform protected vendor snippet settings",
              "org.settings.public_platform.write": "Update organization public platform settings",
              "org.settings.radius.read": "Read organization radius settings",
              "org.settings.radius.write": "Update organization radius settings",
              "org.settings.read": "Read organization settings",
              "org.settings.record_numbering.read": "Read organization record ID settings",
              "org.settings.record_numbering.write": "Update organization record ID settings",
              "org.settings.work_order_updates.read": "Read organization work order customer update settings",
              "org.settings.work_order_updates.write": "Update organization work order customer update settings",
              "org.settings.write": "Update organization settings",
              "organization:read": "Read your organization and its branches (35 permissions)",
              "payments:read": "Read recorded payments (2 permissions)",
              "payments:write": "Record payments the customer already made (10 permissions)",
              "phones.verify.confirm": "Confirm phone verification",
              "phones.verify.override": "Override phone verification status",
              "phones.verify.send": "Send verification codes to phone numbers",
              "portability.admin": "Approve and administer high-risk portability operations",
              "portal.agreements.download": "Download portal agreement artifacts",
              "portal.agreements.read": "Read portal agreements",
              "portal.deposit_requests.download": "Download portal deposit requests",
              "portal.deposit_requests.pay": "Pay portal deposit requests",
              "portal.deposit_requests.read": "Read portal deposit requests",
              "portal.files.download": "Download portal files",
              "portal.files.read": "Read portal files",
              "portal.invoices.download": "Download portal invoices",
              "portal.invoices.pay": "Pay portal invoices",
              "portal.invoices.read": "Read portal invoices",
              "portal.notes.read": "Read portal notes",
              "portal.quotes.download": "Download portal quotes",
              "portal.quotes.read": "Read portal quotes",
              "portal.quotes.respond": "Respond to portal quotes",
              "portal.statements.download": "Download portal customer statements",
              "portal.statements.read": "Read portal customer statements",
              "portal.tickets.attachments.download": "Download portal ticket attachments",
              "portal.tickets.attachments.upload": "Upload portal ticket attachments",
              "portal.tickets.create": "Create portal tickets",
              "portal.tickets.csat.respond": "Respond to portal ticket satisfaction surveys",
              "portal.tickets.read": "Read portal tickets",
              "portal.tickets.reply": "Reply to portal tickets",
              "portal.work_order_photos.download": "Download portal work order photos",
              "portal.work_order_photos.read": "Read portal work order photos",
              "pos.cash.adjust": "Adjust POS cash",
              "pos.cash.count": "Count POS cash",
              "pos.cash.drop": "Drop POS cash",
              "pos.cash.paid_in": "Record POS cash paid-in movements",
              "pos.cash.paid_out": "Record POS cash paid-out movements",
              "pos.cash.read": "Read POS cash events",
              "pos.catalog.lookup": "Look up POS catalog items",
              "pos.catalog.manage": "Manage POS catalog merchandising and scan aliases",
              "pos.catalog.manual_item_entry": "Manually enter POS catalog items",
              "pos.discounts.apply": "Apply POS discounts",
              "pos.discounts.override_threshold": "Override POS discount thresholds",
              "pos.exchanges.complete": "Complete POS exchanges",
              "pos.exchanges.create": "Create POS exchanges",
              "pos.exchanges.read": "Read POS exchanges",
              "pos.inventory.lookup": "Look up POS inventory posture",
              "pos.inventory.override_out_of_stock": "Override POS out-of-stock controls",
              "pos.manager_approvals.grant": "Grant POS manager approvals",
              "pos.manager_approvals.policy.manage": "Manage POS manager approval policy",
              "pos.manager_approvals.policy.read": "Read POS manager approval policy",
              "pos.manager_approvals.read": "Read POS manager approvals",
              "pos.manager_approvals.reject": "Reject POS manager approvals",
              "pos.manager_approvals.request": "Request POS manager approvals",
              "pos.price.override": "Override POS prices",
              "pos.reason_codes.manage": "Manage POS reason codes",
              "pos.reason_codes.read": "Read POS reason codes",
              "pos.receipts.reprint": "Reprint POS receipts",
              "pos.receipts.resend": "Resend POS receipts",
              "pos.receipts.view": "View POS receipts",
              "pos.registers.blind_close": "Blind close POS registers",
              "pos.registers.close": "Close POS registers",
              "pos.registers.configure": "Configure POS registers",
              "pos.registers.no_sale": "Open the cash drawer without a sale",
              "pos.registers.open": "Open POS registers",
              "pos.registers.read": "Read POS registers and register sessions",
              "pos.returns.create": "Create POS returns",
              "pos.returns.issue_store_credit": "Issue store credit for POS returns",
              "pos.returns.no_receipt": "Create POS no-receipt returns",
              "pos.returns.read": "Read POS returns",
              "pos.returns.refund_original_tender": "Refund POS returns to the original tender",
              "pos.sales.attach_customer": "Attach customers to POS sales",
              "pos.sales.complete": "Complete POS sales",
              "pos.sales.create": "Create and maintain POS sale drafts",
              "pos.sales.detach_customer": "Detach customers from POS sales",
              "pos.sales.read": "Read POS sales",
              "pos.sales.reprice": "Reprice POS sales",
              "pos.sales.resume": "Resume POS sales",
              "pos.sales.suspend": "Suspend POS sales",
              "pos.sales.void": "Void POS sales",
              "pos.tenders.collect": "Collect POS tenders",
              "pos.tenders.read": "Read POS tenders",
              "pos.tenders.refund": "Refund POS tenders",
              "pos.tenders.split": "Split POS tenders across allocations",
              "pos.terminals.configure": "Configure POS terminals and devices",
              "pos.terminals.pair": "Pair POS terminals to registers and tills",
              "pos.terminals.read": "Read POS terminals and devices",
              "pos.terminals.register": "Register POS terminals and devices",
              "pos.terminals.unpair": "Unpair POS terminals from registers and tills",
              "pos.terminals.use": "Use POS terminals in checkout and tender flows",
              "privacy.legal_holds.apply": "Apply CRM privacy legal holds",
              "privacy.legal_holds.read": "View CRM privacy legal holds",
              "privacy.legal_holds.release": "Release CRM privacy legal holds",
              "privacy.requests.approve": "Approve verified CRM privacy requests",
              "privacy.requests.create": "Create CRM privacy requests",
              "privacy.requests.execute": "Execute approved CRM anonymization requests",
              "privacy.requests.read": "View CRM privacy requests",
              "privacy.requests.reject": "Reject CRM privacy requests",
              "privacy.requests.verify": "Record data-subject identity verification",
              "profile.branding.read": "Read personal organization branding",
              "profile.branding.write": "Manage personal organization branding",
              "profile.experience.read": "Read personal organization experience mode preferences",
              "profile.experience.write": "Manage personal organization experience mode preferences",
              "projects:read": "Read projects (2 permissions)",
              "projects:write": "Create and update projects (11 permissions)",
              "purchasing.reason_requirements.bypass_org_policy": "Bypass organization-added purchasing reason requirements",
              "quotes:read": "Read quotes (2 permissions)",
              "quotes:write": "Create, update and finish quotes (16 permissions)",
              "rbac.effective.read": "Read effective permissions",
              "rbac.manage": "Manage RBAC administration",
              "rbac.overrides.read": "Read user overrides",
              "rbac.overrides.write": "Manage user overrides",
              "rbac.permissions.create": "Create permission keys",
              "rbac.permissions.read": "Read permission catalog",
              "rbac.roles.create": "Create roles",
              "rbac.roles.delete": "Delete roles",
              "rbac.roles.read": "Read roles",
              "rbac.roles.update": "Update roles",
              "rbac.roles.write": "Manage roles",
              "rbac.users.roles.write": "Assign user roles",
              "releases.read": "Read release notes",
              "schedule.activities.cancel": "Cancel activity bookings",
              "schedule.activities.create": "Create activity bookings",
              "schedule.activities.discard_draft": "Discard draft activity bookings",
              "schedule.activities.read": "Read activity bookings",
              "schedule.activities.update": "Update activity bookings",
              "schedule.analytics.read": "Read schedule analytics",
              "schedule.appointments.cancel": "Cancel appointments",
              "schedule.appointments.create": "Create appointments",
              "schedule.appointments.discard_draft": "Discard draft appointments",
              "schedule.appointments.read": "Read appointments",
              "schedule.appointments.update": "Update appointments",
              "schedule.assign": "Assign scheduled work",
              "schedule.availability.analytics.read": "Read time-off and availability analytics",
              "schedule.availability.automation.run": "Run availability automation, accruals, and escalation jobs",
              "schedule.availability.calendar.read": "Read the time-off and availability calendar",
              "schedule.availability.closures.manage": "Manage availability closures and holiday shutdowns",
              "schedule.availability.closures.read": "Read availability closures and holiday shutdowns",
              "schedule.availability.create": "Create schedule availability",
              "schedule.availability.delete": "Delete schedule availability",
              "schedule.availability.diagnostics.read": "Read availability diagnostics and delivery health",
              "schedule.availability.exceptions.manage": "Manage manual availability exceptions",
              "schedule.availability.override": "Override scheduling availability",
              "schedule.availability.override_lock.manage": "Manage per-item availability override lock settings",
              "schedule.availability.override_lock.read": "Read per-item availability override lock settings",
              "schedule.availability.policy.manage": "Manage time-off policy, balances, and approval governance",
              "schedule.availability.policy.read": "Read time-off policy, balances, and approval governance",
              "schedule.availability.read": "Read schedule availability",
              "schedule.availability.recurring.manage": "Manage recurring availability exceptions",
              "schedule.availability.recurring.read": "Read recurring availability exceptions",
              "schedule.availability.requests.read": "Read time-off and availability requests",
              "schedule.availability.requests.review": "Review and act on time-off and availability requests",
              "schedule.availability.requests.submit": "Submit and edit time-off and availability requests",
              "schedule.availability.sync.manage": "Manage calendar sync connections for availability",
              "schedule.availability.sync.read": "Read calendar sync connections for availability",
              "schedule.availability.update": "Update schedule availability",
              "schedule.availability_requests.approve": "Approve and deny schedule availability requests",
              "schedule.availability_requests.create": "Create schedule availability requests",
              "schedule.availability_requests.delete": "Delete schedule availability requests",
              "schedule.availability_requests.read": "Read schedule availability requests",
              "schedule.availability_requests.self": "Manage your own schedule availability requests",
              "schedule.availability_requests.update": "Update schedule availability requests",
              "schedule.bookable_units.create": "Create bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.read": "Read bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.retire": "Retire bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.return_to_service": "Return to service bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.take_out_of_service": "Take out of service bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.update": "Update bookable units (rentals, rooms, equipment)",
              "schedule.bookings.cancel": "Cancel schedule bookings",
              "schedule.bookings.create": "Create schedule bookings",
              "schedule.bookings.discard_draft": "Discard draft schedule bookings",
              "schedule.bookings.read": "Read schedule bookings",
              "schedule.bookings.update": "Update schedule bookings",
              "schedule.calendar_overlays.audit.read": "Read inbound calendar overlay audit and diagnostics",
              "schedule.calendar_overlays.create": "Create inbound calendar overlay feeds",
              "schedule.calendar_overlays.delete": "Delete inbound calendar overlay feeds",
              "schedule.calendar_overlays.events.read": "Read inbound calendar overlay events",
              "schedule.calendar_overlays.org_wide.manage": "Manage organization-wide inbound calendar overlays",
              "schedule.calendar_overlays.personal.create": "Create personal inbound calendar overlays",
              "schedule.calendar_overlays.personal.delete": "Delete personal inbound calendar overlays",
              "schedule.calendar_overlays.personal.events.read": "Read personal inbound calendar overlay events",
              "schedule.calendar_overlays.personal.read": "Read personal inbound calendar overlay feeds",
              "schedule.calendar_overlays.personal.secrets.manage": "Manage personal inbound calendar overlay secrets",
              "schedule.calendar_overlays.personal.secrets.reveal": "Reveal personal inbound calendar overlay feed source URLs",
              "schedule.calendar_overlays.personal.sync.run": "Run personal inbound calendar overlay synchronization",
              "schedule.calendar_overlays.personal.update": "Update personal inbound calendar overlays",
              "schedule.calendar_overlays.read": "Read inbound calendar overlay feeds",
              "schedule.calendar_overlays.secrets.manage": "Manage inbound calendar overlay feed secrets",
              "schedule.calendar_overlays.secrets.reveal": "Reveal inbound calendar overlay feed source URLs",
              "schedule.calendar_overlays.sync.run": "Run inbound calendar overlay synchronization",
              "schedule.calendar_overlays.targets.manage": "Manage inbound calendar overlay targets",
              "schedule.calendar_overlays.update": "Update inbound calendar overlay feeds",
              "schedule.calendar_overlays.visibility.manage": "Manage inbound calendar overlay visibility",
              "schedule.capacity_pools.create": "Create schedule capacity pools",
              "schedule.capacity_pools.deactivate": "Deactivate schedule capacity pools",
              "schedule.capacity_pools.reactivate": "Reactivate schedule capacity pools",
              "schedule.capacity_pools.read": "Read schedule capacity pools",
              "schedule.capacity_pools.update": "Update schedule capacity pools",
              "schedule.catalog_categories.create": "Create schedule catalog categories",
              "schedule.catalog_categories.deactivate": "Deactivate schedule catalog categories",
              "schedule.catalog_categories.reactivate": "Reactivate schedule catalog categories",
              "schedule.catalog_categories.read": "Read schedule catalog categories",
              "schedule.catalog_categories.update": "Update schedule catalog categories",
              "schedule.crews.archive": "Archive schedule crews",
              "schedule.crews.create": "Create schedule crews",
              "schedule.crews.read": "Read schedule crews",
              "schedule.crews.restore": "Restore schedule crews",
              "schedule.crews.update": "Update schedule crews",
              "schedule.edit": "Create and edit schedule entries",
              "schedule.holidays.manage": "Manage holiday calendars for scheduling",
              "schedule.lodging.cancel": "Cancel lodging reservations",
              "schedule.lodging.create": "Create lodging reservations",
              "schedule.lodging.discard_draft": "Discard draft lodging reservations",
              "schedule.lodging.read": "Read lodging reservations",
              "schedule.lodging.update": "Update lodging reservations",
              "schedule.offerings.archive": "Archive schedule offerings",
              "schedule.offerings.create": "Create schedule offerings",
              "schedule.offerings.media.delete": "Delete schedule offering media",
              "schedule.offerings.media.manage": "Upload and edit schedule offering media",
              "schedule.offerings.media.publish": "Publish schedule offering media",
              "schedule.offerings.media.read": "Read schedule offering media",
              "schedule.offerings.read": "Read schedule offerings",
              "schedule.offerings.restore": "Restore schedule offerings",
              "schedule.offerings.update": "Update schedule offerings",
              "schedule.override": "Override schedule settings",
              "schedule.rentals.cancel": "Cancel rentals",
              "schedule.rentals.create": "Create rentals",
              "schedule.rentals.discard_draft": "Discard draft rentals",
              "schedule.rentals.read": "Read rentals",
              "schedule.rentals.update": "Update rentals",
              "schedule.resources.archive": "Archive schedule resources",
              "schedule.resources.create": "Create schedule resources",
              "schedule.resources.read": "Read schedule resources",
              "schedule.resources.restore": "Restore schedule resources",
              "schedule.resources.update": "Update schedule resources",
              "schedule.settings.read": "Read schedule settings",
              "schedule.settings.write": "Update schedule settings",
              "schedule.skills.create": "Create schedule skills",
              "schedule.skills.deactivate": "Deactivate schedule skills",
              "schedule.skills.reactivate": "Reactivate schedule skills",
              "schedule.skills.read": "Read schedule skills",
              "schedule.skills.update": "Update schedule skills",
              "schedule.territories.create": "Create schedule territories",
              "schedule.territories.deactivate": "Deactivate schedule territories",
              "schedule.territories.reactivate": "Reactivate schedule territories",
              "schedule.territories.read": "Read schedule territories",
              "schedule.territories.update": "Update schedule territories",
              "schedule.view": "View schedule and dispatch",
              "scheduling.reason_requirements.bypass_org_policy": "Bypass organization-added scheduling reason requirements",
              "social.accounts.manage": "Connect, reconnect, and disconnect social accounts",
              "social.accounts.read": "Read connected social accounts and provider availability",
              "social.admin.read": "Read social admin diagnostics and provider setup",
              "social.audit.read": "Read social account audit activity",
              "social.media.delete": "Delete social publishing media assets",
              "social.media.read": "Read social publishing media assets",
              "social.media.upload": "Upload social publishing media assets",
              "social.media.video.publish": "Publish video to external social networks",
              "social.media.video.upload": "Upload video for social publishing",
              "social.messaging.settings.manage": "Manage social inbox and messaging defaults",
              "social.messaging.settings.read": "Read social inbox and messaging defaults",
              "social.operations.reconcile": "Reconcile an unconfirmed external social provider result",
              "social.posts.approve": "Approve or reject social calendar posts",
              "social.posts.cancel": "Cancel pending or scheduled social posts while retaining history",
              "social.posts.create": "Create social calendar posts",
              "social.posts.discard_draft": "Discard unpublished draft social posts while retaining an audit tombstone",
              "social.posts.publish": "Publish social calendar posts to external networks",
              "social.posts.read": "Read social calendar posts",
              "social.posts.schedule": "Schedule or unschedule social calendar posts",
              "social.posts.update": "Edit social calendar posts",
              "social.reason_requirements.bypass_org_policy": "Bypass organization-added social post reason requirements",
              "tasks:read": "Read tasks and comments (3 permissions)",
              "tasks:write": "Create and update tasks and comments (20 permissions)",
              "templates.activate": "Activate organization templates",
              "templates.apply": "Apply organization templates",
              "templates.create": "Create organization templates",
              "templates.delete": "Delete organization templates",
              "templates.read": "Read organization templates",
              "templates.update": "Update organization templates",
              "tickets:read": "Read customer tickets (14 permissions)",
              "tickets:write": "Create and update customer tickets (38 permissions)",
              "ui.bookmarks.update": "Update organization bookmarks",
              "ui.views.defaults.manage": "Create and update shared default views",
              "ui.views.read": "Read saved views",
              "ui.views.share": "Share saved views",
              "ui.views.update": "Create and update saved views",
              "users.create": "Create organization users",
              "users.customer_photo.self.read": "View your own customer-facing photo",
              "users.customer_photo.self.update": "Change your own customer-facing photo",
              "users.customer_profile.update": "Edit team members' customer-facing names and photos",
              "users.manage": "Manage organization users",
              "users.memberships.revoke": "Revoke organization membership",
              "users.password.reset": "Reset user passwords",
              "users.read": "Read organization users",
              "users.update": "Update organization users",
              "users.write": "Create or update organization users",
              "vault.accounts.create": "Create Account vault items",
              "vault.accounts.delete": "Delete Account vault items",
              "vault.accounts.move_folder": "Move Account vault items between folders",
              "vault.accounts.pin": "Pin or unpin Account vault items",
              "vault.accounts.read_metadata": "Read Account vault item metadata",
              "vault.accounts.reveal": "Reveal Account vault item secrets",
              "vault.accounts.rotate": "Rotate Account vault item secrets",
              "vault.accounts.tag": "Manage tags on Account vault items",
              "vault.accounts.update": "Update Account vault items",
              "vault.contacts.create": "Create Contact vault items",
              "vault.contacts.delete": "Delete Contact vault items",
              "vault.contacts.move_folder": "Move Contact vault items between folders",
              "vault.contacts.pin": "Pin or unpin Contact vault items",
              "vault.contacts.read_metadata": "Read Contact vault item metadata",
              "vault.contacts.reveal": "Reveal Contact vault item secrets",
              "vault.contacts.rotate": "Rotate Contact vault item secrets",
              "vault.contacts.tag": "Manage tags on Contact vault items",
              "vault.contacts.update": "Update Contact vault items",
              "vault.folders.create": "Create vault folders",
              "vault.folders.delete": "Delete vault folders",
              "vault.folders.policy.read": "Read vault folder object policies",
              "vault.folders.policy.update": "Manage vault folder object policies",
              "vault.folders.read": "Read vault folders",
              "vault.folders.reorder": "Reorder vault folders",
              "vault.folders.update": "Update vault folders",
              "vault.item.create": "Create vault items (all owners)",
              "vault.item.delete": "Delete vault items (all owners)",
              "vault.item.move_folder": "Move vault items between folders (all owners)",
              "vault.item.pin": "Pin vault items (all owners)",
              "vault.item.policy.read": "Read vault item object policies",
              "vault.item.policy.update": "Manage vault item object policies",
              "vault.item.read_metadata": "Read vault item metadata (all owners)",
              "vault.item.reveal": "Reveal vault item secrets (all owners)",
              "vault.item.rotate": "Rotate vault item secrets (all owners)",
              "vault.item.tag": "Manage vault item tags (all owners)",
              "vault.item.update": "Update vault items (all owners)",
              "vault.locations.create": "Create Location vault items",
              "vault.locations.delete": "Delete Location vault items",
              "vault.locations.move_folder": "Move Location vault items between folders",
              "vault.locations.pin": "Pin or unpin Location vault items",
              "vault.locations.read_metadata": "Read Location vault item metadata",
              "vault.locations.reveal": "Reveal Location vault item secrets",
              "vault.locations.rotate": "Rotate Location vault item secrets",
              "vault.locations.tag": "Manage tags on Location vault items",
              "vault.locations.update": "Update Location vault items",
              "vault.projects.create": "Create Project vault items",
              "vault.projects.delete": "Delete Project vault items",
              "vault.projects.move_folder": "Move Project vault items between folders",
              "vault.projects.pin": "Pin or unpin Project vault items",
              "vault.projects.read_metadata": "Read Project vault item metadata",
              "vault.projects.reveal": "Reveal Project vault item secrets",
              "vault.projects.rotate": "Rotate Project vault item secrets",
              "vault.projects.tag": "Manage tags on Project vault items",
              "vault.projects.update": "Update Project vault items",
              "vault.tasks.create": "Create Task vault items",
              "vault.tasks.delete": "Delete Task vault items",
              "vault.tasks.move_folder": "Move Task vault items between folders",
              "vault.tasks.pin": "Pin or unpin Task vault items",
              "vault.tasks.read_metadata": "Read Task vault item metadata",
              "vault.tasks.reveal": "Reveal Task vault item secrets",
              "vault.tasks.rotate": "Rotate Task vault item secrets",
              "vault.tasks.tag": "Manage tags on Task vault items",
              "vault.tasks.update": "Update Task vault items",
              "vault.work_orders.create": "Create Work order vault items",
              "vault.work_orders.delete": "Delete Work order vault items",
              "vault.work_orders.move_folder": "Move Work order vault items between folders",
              "vault.work_orders.pin": "Pin or unpin Work order vault items",
              "vault.work_orders.read_metadata": "Read Work order vault item metadata",
              "vault.work_orders.reveal": "Reveal Work order vault item secrets",
              "vault.work_orders.rotate": "Rotate Work order vault item secrets",
              "vault.work_orders.tag": "Manage tags on Work order vault items",
              "vault.work_orders.update": "Update Work order vault items",
              "work.mileage.create": "Create mileage trips",
              "work.mileage.discard_draft": "Discard draft mileage trips",
              "work.mileage.manage": "Manage mileage trips for other users",
              "work.mileage.read": "Read mileage trips",
              "work.mileage.update": "Update mileage trips",
              "work.mileage.void": "Void mileage trips",
              "work.portfolio_templates.apply": "Apply portfolio templates",
              "work.portfolio_templates.approve": "Approve portfolio templates (extended actions)",
              "work.portfolio_templates.archive": "Archive portfolio templates",
              "work.portfolio_templates.create": "Create portfolio templates",
              "work.portfolio_templates.delete": "Delete portfolio templates",
              "work.portfolio_templates.export": "Export portfolio templates (extended actions)",
              "work.portfolio_templates.import": "Import portfolio templates (extended actions)",
              "work.portfolio_templates.publish": "Publish portfolio templates (extended actions)",
              "work.portfolio_templates.read": "Read portfolio templates",
              "work.portfolio_templates.submit": "Submit portfolio templates (extended actions)",
              "work.portfolio_templates.taxonomy.manage": "Taxonomy.Manage portfolio templates (extended actions)",
              "work.portfolio_templates.update": "Update portfolio templates",
              "work.portfolios.archive": "Archive portfolios",
              "work.portfolios.create": "Create portfolios",
              "work.portfolios.read": "Read portfolios",
              "work.portfolios.restore": "Restore portfolios",
              "work.portfolios.update": "Update portfolios",
              "work.project_templates.apply": "Apply project templates (extended actions)",
              "work.project_templates.approve": "Approve project templates (extended actions)",
              "work.project_templates.archive": "Archive project templates (extended actions)",
              "work.project_templates.create": "Create project templates",
              "work.project_templates.delete": "Delete project templates",
              "work.project_templates.export": "Export project templates (extended actions)",
              "work.project_templates.import": "Import project templates (extended actions)",
              "work.project_templates.publish": "Publish project templates (extended actions)",
              "work.project_templates.read": "Read project templates",
              "work.project_templates.submit": "Submit project templates (extended actions)",
              "work.project_templates.taxonomy.manage": "Taxonomy.Manage project templates (extended actions)",
              "work.project_templates.update": "Update project templates",
              "work.projects.archive": "Archive projects",
              "work.projects.bypass_reminder_quiet_hours": "Bypass quiet hours for project reminders",
              "work.projects.create": "Create projects",
              "work.projects.force_reminder_channels": "Force project reminder channels outside recipient channel preferences",
              "work.projects.manage_reminder_channels": "Manage project reminder delivery channels",
              "work.projects.manage_reminders": "Manage project reminders",
              "work.projects.manage_sms_reminders": "Manage project SMS reminders",
              "work.projects.manage_voice_reminders": "Manage project voice reminders",
              "work.projects.read": "Read projects",
              "work.projects.restore": "Restore projects",
              "work.projects.update": "Update projects",
              "work.reason_requirements.bypass_org_policy": "Bypass organization-added project, task and time reason requirements",
              "work.task_groups.create": "Create task groups",
              "work.task_groups.delete": "Delete task groups",
              "work.task_groups.read": "Read task groups",
              "work.task_groups.update": "Update task groups",
              "work.task_templates.apply": "Apply task templates (extended actions)",
              "work.task_templates.approve": "Approve task templates (extended actions)",
              "work.task_templates.archive": "Archive task templates (extended actions)",
              "work.task_templates.create": "Create task templates",
              "work.task_templates.delete": "Delete task templates",
              "work.task_templates.export": "Export task templates (extended actions)",
              "work.task_templates.import": "Import task templates (extended actions)",
              "work.task_templates.publish": "Publish task templates (extended actions)",
              "work.task_templates.read": "Read task templates",
              "work.task_templates.submit": "Submit task templates (extended actions)",
              "work.task_templates.taxonomy.manage": "Taxonomy.Manage task templates (extended actions)",
              "work.task_templates.update": "Update task templates",
              "work.tasks.archive": "Archive tasks",
              "work.tasks.assign_owner": "Assign task owners",
              "work.tasks.bypass_reminder_quiet_hours": "Bypass quiet hours for task reminders",
              "work.tasks.clock_time": "Clock task-linked time entries",
              "work.tasks.comment": "Create and manage task comments",
              "work.tasks.create": "Create tasks",
              "work.tasks.force_reminder_channels": "Force task reminder channels outside recipient channel preferences",
              "work.tasks.log_time": "Create task-linked time entries and timers",
              "work.tasks.manage_collaborators": "Manage task collaborators",
              "work.tasks.manage_dependencies": "Manage task dependencies",
              "work.tasks.manage_followers": "Manage task followers",
              "work.tasks.manage_recurrence": "Manage task recurrence",
              "work.tasks.manage_reminder_channels": "Manage task reminder delivery channels",
              "work.tasks.manage_reminders": "Manage task reminders",
              "work.tasks.manage_sms_reminders": "Manage task SMS reminders",
              "work.tasks.manage_subtasks": "Manage task subtasks",
              "work.tasks.manage_visibility": "Manage task visibility and ACL",
              "work.tasks.manage_voice_reminders": "Manage task voice reminders",
              "work.tasks.read": "Read tasks",
              "work.tasks.read_time": "Read task-linked time summaries",
              "work.tasks.restore": "Restore tasks",
              "work.tasks.update": "Update tasks",
              "work.template_apply_jobs.cancel": "Cancel template apply jobs",
              "work.template_apply_jobs.read": "Read template apply jobs",
              "work.template_apply_jobs.retry": "Retry template apply jobs",
              "work.time_entries.approve": "Approve time entries",
              "work.time_entries.backdate_timer": "Start or stop a timer at an earlier time (up to 12 hours back)",
              "work.time_entries.clock": "Clock in/out time entries",
              "work.time_entries.create": "Create time entries",
              "work.time_entries.discard_after_stop": "Discard stopped draft time entries before submission",
              "work.time_entries.discard_draft": "Discard draft time entries",
              "work.time_entries.edit_target": "Edit time entry account/project/work-order/task",
              "work.time_entries.edit_target_after_stop": "Edit time entry account/project/work-order/task after stopping a timer",
              "work.time_entries.edit_time": "Edit time entry start/end times",
              "work.time_entries.lock": "Lock time entries",
              "work.time_entries.manage": "Manage time entries for other users",
              "work.time_entries.read": "Read time entries",
              "work.time_entries.reverse": "Reverse time entries",
              "work.time_entries.submit": "Submit time entries",
              "work.time_entries.update": "Update time entries",
              "work.time_policies.assignment.read": "Read time policy assignments",
              "work.time_policies.assignment.write": "Manage time policy assignments",
              "work.time_policies.bulk": "Reserved for bulk time policy operations",
              "work.time_policies.delete": "Archive time policies",
              "work.time_policies.preview": "Preview effective time policy outcomes",
              "work.time_policies.read": "Read time policies",
              "work.time_policies.write": "Create or update time policies",
              "work.timesheets.approve": "Approve time sheets",
              "work.timesheets.create": "Create time sheets",
              "work.timesheets.lock": "Lock time sheets",
              "work.timesheets.read": "Read time sheets",
              "work.timesheets.submit": "Submit time sheets",
              "work_orders.cancel": "Cancel work orders while retaining operational history",
              "work_orders.create": "Create work orders",
              "work_orders.create_follow_up": "Create replacement or follow-up work orders from terminal work",
              "work_orders.customer_updates.compose_custom": "Compose custom work order customer update messages",
              "work_orders.customer_updates.override_template": "Override work order customer update templates",
              "work_orders.customer_updates.send": "Send work order customer updates",
              "work_orders.dispatch.read": "View the schedule",
              "work_orders.read": "Read work orders",
              "work_orders.reason_requirements.bypass_org_policy": "Bypass organization-added work-order reason requirements",
              "work_orders.review_requests.read": "See which customers were asked for a review, when, and where the review went",
              "work_orders.review_requests.send": "Ask a customer for a review after a job",
              "work_orders.status.update": "Update work order status",
              "work_orders.update": "Update work orders",
              "work_orders:read": "Read work orders and the schedule (37 permissions)",
              "work_orders:write": "Create, update and schedule work orders (116 permissions)",
              "workspaces.dashboard_settings.update": "Customize the dashboard tabs of one customer or record (order, hidden tabs, default tab)",
              "workspaces.folder_settings.update": "Turn folders on or off for one customer or record (notes, files and access)"
            },
            "tokenUrl": "https://atownsolutions.com/oauth/token"
          },
          "clientCredentials": {
            "scopes": {
              "accounts:read": "Read customers, leads, contacts and addresses (11 permissions)",
              "accounts:write": "Add and change customers, leads, contacts and addresses (41 permissions)",
              "activity.org.view": "View organization activity feeds",
              "agreements.approvals.approve": "Approve agreements",
              "agreements.approvals.manage_policies": "Manage agreement approval policies",
              "agreements.approvals.reject": "Reject agreements",
              "agreements.approvals.request": "Request agreement approvals",
              "agreements.approvals.return_for_changes": "Return agreements for changes",
              "agreements.approvals.review": "Review agreement approvals",
              "agreements.audit.export": "Export agreement audit trails",
              "agreements.audit.view": "View agreement audit trails",
              "agreements.clauses.archive": "Archive agreement clauses",
              "agreements.clauses.create": "Create agreement clauses",
              "agreements.clauses.deprecate": "Deprecate agreement clauses",
              "agreements.clauses.publish": "Publish agreement clauses",
              "agreements.clauses.update": "Update agreement clauses",
              "agreements.clauses.view": "View agreement clauses",
              "agreements.create": "Create agreements",
              "agreements.documents.delete_draft_source": "Delete uploaded-PDF draft source documents",
              "agreements.documents.download_executed": "Download executed uploaded-PDF documents",
              "agreements.documents.download_original": "Download original uploaded-PDF source documents",
              "agreements.documents.issue_uploaded": "Issue uploaded-PDF agreements",
              "agreements.documents.upload": "Upload or replace uploaded-PDF source documents",
              "agreements.documents.view_source": "View uploaded-PDF source documents and previews",
              "agreements.expire": "Expire agreements",
              "agreements.export_evidence": "Export agreement evidence bundles",
              "agreements.export_pdf": "Export agreements as PDF",
              "agreements.fields.assign": "Assign uploaded-PDF fields to signers or roles",
              "agreements.fields.create": "Create uploaded-PDF fields",
              "agreements.fields.delete": "Delete uploaded-PDF fields",
              "agreements.fields.update": "Update uploaded-PDF fields",
              "agreements.fields.view": "View uploaded-PDF fields",
              "agreements.issue": "Send agreements for signing",
              "agreements.legal_hold.manage": "Manage agreement legal holds",
              "agreements.pdf_templates.manage": "Manage uploaded-PDF templates",
              "agreements.reissue": "Reissue agreements into replacement drafts",
              "agreements.reports.export": "Export agreement reports",
              "agreements.reports.view": "View agreement reports",
              "agreements.retention.manage": "Manage agreement retention policies",
              "agreements.send": "Send agreements",
              "agreements.settings.manage": "Manage agreement settings",
              "agreements.signers.manage": "Manage agreement signers",
              "agreements.signing.cancel": "Cancel agreement signing requests",
              "agreements.signing.resend": "Resend agreement signing requests",
              "agreements.signing.view": "View agreement signing activity",
              "agreements.supersede": "Create replacement agreement drafts",
              "agreements.templates.archive": "Archive agreement templates",
              "agreements.templates.create": "Create agreement templates",
              "agreements.templates.deprecate": "Deprecate agreement templates",
              "agreements.templates.manage_versions": "Manage agreement template versions",
              "agreements.templates.publish": "Publish agreement templates",
              "agreements.templates.update": "Update agreement templates",
              "agreements.templates.view": "View agreement templates",
              "agreements.update_draft": "Update draft agreements",
              "agreements.view": "View agreements",
              "agreements.void": "Cancel agreement signing",
              "assets.analytics.export": "Export asset analytics",
              "assets.analytics.read": "Read asset analytics",
              "assets.assignments.create": "Create asset assignments",
              "assets.assignments.read": "Read asset assignments",
              "assets.assignments.update": "Update asset assignments",
              "assets.checklists.approve": "Approve asset checklist runs",
              "assets.checklists.manage_templates": "Manage asset checklist templates",
              "assets.checklists.read": "Read asset checklist templates and runs",
              "assets.checklists.run": "Run and update asset checklists",
              "assets.checklists.templates.archive": "Archive asset checklist templates while retaining operational evidence",
              "assets.checklists.templates.create": "Create asset checklist templates",
              "assets.checklists.templates.restore": "Restore archived asset checklist templates to draft for review",
              "assets.checklists.templates.update": "Update asset checklist templates",
              "assets.checklists.void": "Void an incorrect asset checklist run while preserving its evidence and audit history",
              "assets.classes.create": "Create asset classes",
              "assets.classes.deactivate": "Deactivate asset classes",
              "assets.classes.publish": "Publish asset classes",
              "assets.classes.reactivate": "Reactivate asset classes",
              "assets.classes.read": "Read asset classes",
              "assets.classes.update": "Update asset classes",
              "assets.document_requirements.archive": "Archive asset document requirement definitions",
              "assets.document_requirements.create": "Create asset document requirement definitions",
              "assets.document_requirements.read": "Read asset document requirement definitions",
              "assets.document_requirements.restore": "Restore asset document requirement definitions",
              "assets.document_requirements.update": "Update asset document requirement definitions",
              "assets.documents.read": "Read asset documents",
              "assets.documents.update": "Update asset documents",
              "assets.documents.upload": "Upload asset documents",
              "assets.documents.verify": "Verify asset documents",
              "assets.documents.void": "Void incorrect asset document evidence while preserving the record and audit history",
              "assets.issues.close": "Close asset issues",
              "assets.issues.create": "Create asset issues",
              "assets.issues.read": "Read asset issues",
              "assets.issues.update": "Update asset issues",
              "assets.maintenance.close": "Close asset maintenance workflows",
              "assets.maintenance.create": "Create asset maintenance events",
              "assets.maintenance.manage_programs": "Manage asset maintenance programs",
              "assets.maintenance.programs.archive": "Archive asset maintenance programs while retaining operational history",
              "assets.maintenance.programs.create": "Create asset maintenance programs",
              "assets.maintenance.programs.restore": "Restore archived asset maintenance programs",
              "assets.maintenance.programs.update": "Update asset maintenance programs",
              "assets.maintenance.read": "Read asset maintenance programs and events",
              "assets.maintenance.update": "Update asset maintenance events",
              "assets.maintenance.void": "Void an incorrect asset maintenance event while preserving its evidence and audit history",
              "assets.meter_definitions.archive": "Archive asset meter definitions",
              "assets.meter_definitions.create": "Create asset meter definitions",
              "assets.meter_definitions.read": "Read asset meter definitions",
              "assets.meter_definitions.restore": "Restore asset meter definitions",
              "assets.meter_definitions.update": "Update asset meter definitions",
              "assets.meters.create": "Create asset meter readings",
              "assets.meters.read": "Read asset meter readings",
              "assets.meters.void": "Void incorrect asset meter readings while preserving provenance and audit history",
              "assets.readiness.override": "Override asset readiness actions",
              "assets.readiness.read": "Read asset readiness",
              "assets.reason_requirements.bypass_org_policy": "Bypass organization-added asset reason requirements",
              "assets.records.create": "Create asset records",
              "assets.records.read": "Read asset records",
              "assets.records.retire": "Retire asset records",
              "assets.records.return_to_service": "Return retired asset records to service after readiness checks",
              "assets.records.take_out_of_service": "Take asset records out of service while retaining operational history",
              "assets.records.update": "Update asset records",
              "assets.relationships.create": "Create asset relationships",
              "assets.relationships.delete": "Delete asset relationships",
              "assets.relationships.read": "Read asset relationships",
              "assets.relationships.update": "Update asset relationships",
              "assets.stocking.archive": "Archive asset stocking rules",
              "assets.stocking.create": "Create asset stocking rules",
              "assets.stocking.read": "Read asset stocking rules",
              "assets.stocking.restore": "Restore asset stocking rules",
              "assets.stocking.update": "Update asset stocking rules",
              "assets.telemetry.export": "Export asset telemetry datasets",
              "assets.telemetry.manage_links": "Manage asset telemetry device-to-asset links",
              "assets.telemetry.manage_sources": "Manage asset telemetry providers and sources",
              "assets.telemetry.read": "Read asset telemetry sources, devices, and summaries",
              "assets.telemetry.reconcile": "Manage asset telemetry reconciliation workflows",
              "assets.telemetry.replay": "Manage asset telemetry replay and sync controls",
              "audit.billing.view": "View billing audit events",
              "audit.entitlements.decisions.view": "View entitlement decision audit events",
              "audit.entitlements.view": "View entitlement audit events",
              "audit.export": "Export audit events",
              "audit.org.view": "View organization audit events",
              "audit.read": "Read audit events",
              "audit.security.view": "View security-related audit events",
              "audit.view_agents": "View agent and API token details in audit logs",
              "audit.view_denials": "View audit denial reason codes",
              "audit.view_impersonation": "View impersonation details in audit logs",
              "audit.view_sensitive_reads": "View sensitive audit payloads",
              "billing.account_profiles.accounting.read": "Read account billing accounting controls",
              "billing.account_profiles.accounting.update": "Update account billing accounting controls",
              "billing.account_profiles.compliance.read": "Read account billing compliance controls",
              "billing.account_profiles.compliance.update": "Update account billing compliance controls",
              "billing.account_profiles.payments.read": "Read account billing payment controls",
              "billing.account_profiles.payments.update": "Update account billing payment controls",
              "billing.account_profiles.read": "Read account billing profiles",
              "billing.account_profiles.receivables.read": "Read account billing receivables controls",
              "billing.account_profiles.receivables.update": "Update account billing receivables controls",
              "billing.account_profiles.update": "Update account billing profiles",
              "billing.customer_credits.apply": "Apply and unapply customer credits",
              "billing.customer_credits.create": "Create customer credits",
              "billing.customer_credits.read": "Read customer credits",
              "billing.deposits.apply": "Apply and unapply deposits and prepayments",
              "billing.deposits.create": "Create funded deposits and prepayments",
              "billing.deposits.read": "Read deposits and prepayments",
              "billing.document_templates.activate": "Activate billing document templates",
              "billing.document_templates.archive": "Archive billing document templates",
              "billing.document_templates.create": "Create billing document templates",
              "billing.document_templates.read": "Read billing document templates",
              "billing.document_templates.restore": "Restore billing document templates to draft",
              "billing.document_templates.update": "Update billing document templates",
              "billing.documents.artifacts.read": "Read immutable billing document artifacts",
              "billing.documents.print.audit.read": "Read billing document print and delivery audit evidence",
              "billing.documents.print.correct": "Correct a billing document printed attestation",
              "billing.documents.print.execute": "Generate, print, retry, and complete billing document print batches",
              "billing.documents.print.mail": "Record physical mailing and delivery evidence",
              "billing.documents.print.queue": "Queue billing documents for printing",
              "billing.documents.print.read": "Read the billing document print queue and batches",
              "billing.finance_ops.read": "Read billing finance operations consoles and reporting",
              "billing.fulfillment.backorders.manage": "Manage billing backorders",
              "billing.fulfillment.backorders.read": "Read billing backorders",
              "billing.fulfillment.override_negative_stock": "Override negative stock during billing fulfillment",
              "billing.fulfillment.read": "Read billing fulfillment availability, reservations, and line status",
              "billing.fulfillment.release": "Release inventory reservations for quotes and invoices",
              "billing.fulfillment.reports.read": "Read billing inventory allocation and fulfillment reports",
              "billing.fulfillment.reserve": "Reserve inventory for quotes and draft invoices",
              "billing.invoices.cancel": "Cancel draft billing invoices",
              "billing.invoices.create": "Create draft billing invoices",
              "billing.invoices.discard_draft": "Discard draft invoices",
              "billing.invoices.finalize": "Send and collect on draft invoices",
              "billing.invoices.notify_status": "Notify customers about voided or canceled invoice status",
              "billing.invoices.read": "Read billing invoices",
              "billing.invoices.reassign_account": "Move a billing invoice to a different customer",
              "billing.invoices.replace": "Create a new draft replacement without rewriting invoice history",
              "billing.invoices.restore_draft": "Restore recently discarded draft billing invoices",
              "billing.invoices.send": "Send billing invoices",
              "billing.invoices.update": "Update draft billing invoices",
              "billing.invoices.void": "Void frozen billing invoices",
              "billing.payment_method_definitions.create": "Create org payment method definitions",
              "billing.payment_method_definitions.read": "Read org payment method definitions",
              "billing.payment_method_definitions.update": "Update org payment method definitions",
              "billing.payment_requirements.waive": "Formally waive an unfunded payment requirement",
              "billing.payments.cancel": "Cancel unposted or pending billing payments",
              "billing.payments.create": "Record billing payments",
              "billing.payments.notices.send": "Send customer payment confirmations and receipts",
              "billing.payments.read": "Read billing payments and allocations",
              "billing.payments.reallocate": "Reallocate billing payments across invoices",
              "billing.payments.reverse": "Reverse erroneous manual or offline billing payments",
              "billing.payments.update": "Update billing payment metadata",
              "billing.quotes.convert": "Convert accepted quotes into invoices",
              "billing.quotes.create": "Create billing quotes",
              "billing.quotes.discard_draft": "Discard draft quotes",
              "billing.quotes.finalize": "Send draft quotes",
              "billing.quotes.notify_status": "Notify customers about withdrawn quote status",
              "billing.quotes.read": "Read billing quotes",
              "billing.quotes.reassign_account": "Move a quote to a different customer",
              "billing.quotes.respond": "Record quote acceptance and rejection",
              "billing.quotes.restore_draft": "Restore recently discarded draft billing quotes",
              "billing.quotes.revise": "Create a new draft revision without rewriting quote history",
              "billing.quotes.send": "Send and share billing quotes",
              "billing.quotes.update": "Update draft billing quotes",
              "billing.quotes.withdraw": "Withdraw customer-visible billing quotes while retaining history",
              "billing.reason_requirements.bypass_org_policy": "Bypass organization-added billing reason requirements",
              "billing.reporting.read": "Read billing invoice, payment, statement, and A/R reporting",
              "billing.sources.generate": "Generate draft billing documents from source domains",
              "billing.statement_schedules.cancel": "Permanently cancel statement automation schedules while retaining history",
              "billing.statement_schedules.create": "Create statement automation schedules",
              "billing.statement_schedules.pause": "Pause future runs of statement automation schedules",
              "billing.statement_schedules.read": "Read statement automation schedules and retained history",
              "billing.statement_schedules.resume": "Resume paused statement automation schedules",
              "billing.statement_schedules.update": "Update active or paused statement automation schedules",
              "billing.statements.adjustments.read": "Read statement adjustment-ready activity",
              "billing.statements.cancel": "Cancel draft customer receivables statements",
              "billing.statements.create": "Generate draft customer receivables statements",
              "billing.statements.download": "Download customer receivables statement artifacts",
              "billing.statements.finance_charges.read": "Read statement finance-charge-ready activity",
              "billing.statements.issue": "Issue customer receivables statements",
              "billing.statements.read": "Read customer receivables statements",
              "billing.statements.regenerate": "Regenerate versioned customer receivables statements",
              "billing.statements.send": "Send customer receivables statements",
              "billing.stripe.connect.manage": "Manage Nova Payments verification and payout account lifecycle",
              "billing.stripe.connect.read": "Read Nova Payments account status",
              "billing.stripe.customer_profiles.manage": "Manage payment customer billing profiles",
              "billing.stripe.customer_profiles.read": "Read payment customer billing profiles",
              "billing.stripe.disputes.manage": "Manage payment disputes and submit evidence",
              "billing.stripe.disputes.read": "Read payment dispute activity",
              "billing.stripe.documents.read": "Read sensitive Nova Payments tax and financial documents",
              "billing.stripe.one_time_payments.manage": "Collect card payments and send payment links",
              "billing.stripe.one_time_payments.read": "Read Nova Payments one-time payment sessions",
              "billing.stripe.operations.read": "Read Nova Payments operations dashboards",
              "billing.stripe.payment_methods.manage": "Manage saved payment methods",
              "billing.stripe.payment_methods.read": "Read saved payment methods",
              "billing.stripe.payment_settings.manage": "Manage Nova Payments settings",
              "billing.stripe.payment_settings.read": "Read Nova Payments settings",
              "billing.stripe.payouts.manage": "Manage payout accounts, schedules, and payouts",
              "billing.stripe.payouts.read": "Read payout activity",
              "billing.stripe.refunds.manage": "Manage card payment refunds",
              "billing.stripe.refunds.read": "Read card payment refund activity",
              "billing.stripe.refunds.reconcile": "Resolve an ambiguous Nova Payments refund after provider review",
              "billing.stripe.scheduled_payments.manage": "Manage scheduled card payments",
              "billing.stripe.scheduled_payments.read": "Read scheduled card payments",
              "billing.stripe.settlements.manage": "Reconcile Nova Payments payout settlements",
              "billing.stripe.settlements.read": "Read Nova Payments settlement reconciliation",
              "billing.stripe.subscriptions.manage": "Manage recurring card billing",
              "billing.stripe.subscriptions.read": "Read recurring card billing",
              "billing.stripe.terminal.collect": "Collect card payments in person by tapping a card on a phone",
              "billing.stripe.terminal.force_cancel": "Release a live in-person card authorization after explicit review",
              "billing.stripe.webhooks.read": "Read Nova Payments processing activity",
              "billing.stripe.webhooks.replay": "Retry Nova Payments event processing",
              "bookings:read": "Read bookings (7 permissions)",
              "bookings:write": "Create, update and cancel bookings (32 permissions)",
              "bookkeeping.accounts.manage": "Create, rename, and deactivate ledger accounts",
              "bookkeeping.accounts.read": "View the chart of accounts",
              "bookkeeping.bank_connections.create": "Create bank-feed connections",
              "bookkeeping.bank_connections.disconnect": "Disconnect bank feeds while retaining imported history",
              "bookkeeping.bank_connections.read": "View bank-feed connections and retained sync state",
              "bookkeeping.bank_connections.reconnect": "Reconnect retained bank feeds in pending state",
              "bookkeeping.bank_connections.update": "Edit bank-feed connection metadata",
              "bookkeeping.bank_rules.apply": "Apply bank auto-categorization rules to unreviewed transactions",
              "bookkeeping.bank_rules.create": "Create bank auto-categorization rules",
              "bookkeeping.bank_rules.deactivate": "Deactivate bank auto-categorization rules",
              "bookkeeping.bank_rules.reactivate": "Reactivate bank auto-categorization rules",
              "bookkeeping.bank_rules.read": "View bank auto-categorization rules",
              "bookkeeping.bank_rules.update": "Edit active bank auto-categorization rules",
              "bookkeeping.budgets.archive": "Archive budgets while retaining planning history",
              "bookkeeping.budgets.create": "Create budgets",
              "bookkeeping.budgets.read": "View retained budgets and budget-to-actual reporting",
              "bookkeeping.budgets.restore": "Restore archived budgets",
              "bookkeeping.budgets.update": "Edit active budgets",
              "bookkeeping.expenses.manage": "Create, pay, and void expenses and vendor bills",
              "bookkeeping.expenses.read": "View expenses and vendor bills",
              "bookkeeping.expenses.void": "Void posted expenses while retaining financial history",
              "bookkeeping.export.read": "Export the general ledger and accountant package",
              "bookkeeping.fx.manage": "Manage exchange rates and post FX revaluations",
              "bookkeeping.journal.post": "Post manual journal entries and run ledger backfill",
              "bookkeeping.journal.read": "View journal entries",
              "bookkeeping.opening_balances.manage": "Set opening balances for ledger accounts",
              "bookkeeping.periods.manage": "Close and reopen accounting periods and fiscal years",
              "bookkeeping.reason_requirements.bypass_org_policy": "Bypass organization-added bookkeeping reason requirements",
              "bookkeeping.receipts.manage": "Upload, OCR, and confirm receipts",
              "bookkeeping.receipts.read": "View captured receipts",
              "bookkeeping.reconciliation.manage": "Start, clear, and complete bank reconciliations",
              "bookkeeping.reconciliation.read": "View bank reconciliations",
              "bookkeeping.recurring_entries.create": "Create recurring journal schedules",
              "bookkeeping.recurring_entries.pause": "Pause future recurring journal postings",
              "bookkeeping.recurring_entries.read": "View recurring journal schedules and posting history",
              "bookkeeping.recurring_entries.resume": "Resume paused recurring journal postings",
              "bookkeeping.recurring_entries.run": "Materialize due recurring journal entries",
              "bookkeeping.recurring_entries.update": "Edit recurring journal schedules",
              "bookkeeping.reports.read": "View financial reports (P&L, balance sheet, trial balance, sales tax)",
              "bookkeeping.settings.manage": "Manage bookkeeping settings: tax profiles, FX rates, opening balances, period locks",
              "bookkeeping.tax.remit": "File sales-tax periods and post remittance entries",
              "bookkeeping.tax_profiles.create": "Create sales-tax profiles and rates",
              "bookkeeping.tax_profiles.deactivate": "Deactivate sales-tax profiles while retaining historical tax evidence",
              "bookkeeping.tax_profiles.manage": "Create and edit sales-tax profiles and their rates",
              "bookkeeping.tax_profiles.reactivate": "Reactivate retained sales-tax profiles",
              "bookkeeping.tax_profiles.read": "View sales-tax profiles and their rates",
              "bookkeeping.tax_profiles.update": "Edit sales-tax profiles and rates",
              "bookkeeping.transactions.categorize": "Categorize, match, transfer, or exclude transactions",
              "bookkeeping.transactions.manage": "Create/import and edit transactions",
              "bookkeeping.transactions.read": "View bank/cash transactions",
              "bookkeeping.transactions.void": "Void duplicate or erroneous bank transactions while retaining the source line",
              "bookkeeping.vendors.deactivate": "Deactivate vendors while retaining financial history",
              "bookkeeping.vendors.manage": "Create and edit vendors",
              "bookkeeping.vendors.reactivate": "Reactivate vendors",
              "bookkeeping.vendors.read": "View the vendor master",
              "branches.address_search_override.clear": "Clear branch address search override settings",
              "branches.address_search_override.read": "Read branch address search override settings",
              "branches.address_search_override.write": "Update branch address search override settings",
              "branches.archive": "Archive branches",
              "branches.avatar.clear": "Remove branch avatar",
              "branches.avatar.update": "Upload or replace branch avatar",
              "branches.communication_assets.update": "Manage branch communication asset assignments",
              "branches.contact_points.update": "Manage branch contact points",
              "branches.create": "Create branches",
              "branches.default.update": "Set default branch",
              "branches.memberships.read": "Read branch user assignments",
              "branches.memberships.write": "Manage branch user assignments",
              "branches.read": "Read branches",
              "branches.restore": "Restore archived branches",
              "branches.update": "Update branches",
              "branches.warehouses.update": "Manage branch warehouse relationships",
              "branches.work.assign": "Choose which branch new work belongs to",
              "branches.work.reassign": "Move existing work to another branch",
              "branches.work.view_all": "See every branch's work at once (All branches)",
              "checklists.approve": "Approve shared checklists",
              "checklists.archive": "Archive shared checklists while retaining operational evidence",
              "checklists.complete": "Complete shared checklists",
              "checklists.manage_templates": "Manage shared checklist templates and policies",
              "checklists.read": "Read shared checklists",
              "checklists.run": "Run and update shared checklists",
              "checklists.waive": "Waive shared checklist requirements",
              "commerce.account_profiles.read": "Read commerce account profiles",
              "commerce.account_profiles.update": "Update commerce account profiles",
              "commerce.approval.approve": "Approve governed commercial exceptions",
              "commerce.approval.detail.read": "Read commercial approval item details",
              "commerce.approval.queue.read": "Read commercial approval queues",
              "commerce.approval.reject": "Reject governed commercial exceptions",
              "commerce.approval.review": "Review and comment on commercial approval items",
              "commerce.catalog.manage": "Manage commercial catalog configuration",
              "commerce.catalog.read": "Read commercial catalog configuration",
              "commerce.contract_pricing.manage": "Manage contract and agreement pricing",
              "commerce.contract_pricing.read": "Read contract and agreement pricing",
              "commerce.cost.manage": "Manage commercial cost configuration",
              "commerce.cost.read": "Read commercial cost configuration and cost traces",
              "commerce.cost_rules.create": "Create commercial cost rules",
              "commerce.cost_rules.deactivate": "Deactivate commercial cost rules",
              "commerce.cost_rules.manage": "Manage commercial cost rules",
              "commerce.cost_rules.reactivate": "Reactivate commercial cost rules",
              "commerce.cost_rules.read": "Read commercial cost rules",
              "commerce.cost_rules.update": "Update commercial cost rules",
              "commerce.discounts.activate": "Activate canonical commercial discount definitions",
              "commerce.discounts.codes.manage": "Manage canonical commercial discount codes",
              "commerce.discounts.codes.read": "Read canonical commercial discount codes",
              "commerce.discounts.create": "Create canonical commercial discount definitions",
              "commerce.discounts.deactivate": "Deactivate canonical commercial discount definitions",
              "commerce.discounts.manage": "Manage canonical commercial discount configuration",
              "commerce.discounts.manual.apply": "Apply governed manual discounts",
              "commerce.discounts.override.apply": "Apply governed discount overrides",
              "commerce.discounts.public_codes.manage": "Manage public and booking discount codes",
              "commerce.discounts.read": "Read canonical commercial discount configuration",
              "commerce.discounts.recurring.manage": "Manage recurring discount governance",
              "commerce.discounts.reporting.read": "Read canonical commercial discount reporting visibility",
              "commerce.discounts.update": "Update canonical commercial discount definitions",
              "commerce.document_deliveries.cancel": "Cancel document deliveries",
              "commerce.document_deliveries.create": "Create document deliveries",
              "commerce.document_deliveries.read": "Read document deliveries",
              "commerce.document_deliveries.update": "Update document deliveries",
              "commerce.document_sequences.create": "Create document sequences",
              "commerce.document_sequences.delete": "Delete document sequences",
              "commerce.document_sequences.read": "Read document sequences",
              "commerce.document_sequences.update": "Update document sequences",
              "commerce.financial_documents.create": "Create financial documents",
              "commerce.financial_documents.read": "Read financial documents",
              "commerce.financial_documents.update": "Update financial documents",
              "commerce.governance.manage": "Manage commercial governance policy configuration",
              "commerce.governance.outcomes.read": "Read commercial override and approval outcomes",
              "commerce.governance.read": "Read commercial governance policy configuration",
              "commerce.inventory_finance.create": "Create inventory finance",
              "commerce.inventory_finance.delete": "Delete inventory finance",
              "commerce.inventory_finance.read": "Read inventory finance",
              "commerce.inventory_finance.update": "Update inventory finance",
              "commerce.journal_entries.create": "Create journal entries",
              "commerce.journal_entries.discard_draft": "Discard draft journal entries",
              "commerce.journal_entries.read": "Read journal entries",
              "commerce.journal_entries.reverse": "Reverse journal entries",
              "commerce.journal_entries.update": "Update journal entries",
              "commerce.ledger_accounts.create": "Create ledger accounts",
              "commerce.ledger_accounts.deactivate": "Deactivate ledger accounts",
              "commerce.ledger_accounts.reactivate": "Reactivate ledger accounts",
              "commerce.ledger_accounts.read": "Read ledger accounts",
              "commerce.ledger_accounts.update": "Update ledger accounts",
              "commerce.margin.read": "Read commercial margin outputs",
              "commerce.override.apply": "Apply all governed commercial override types",
              "commerce.override.cost.apply": "Apply commercial cost overrides",
              "commerce.override.price.apply": "Apply commercial price overrides",
              "commerce.override.review": "Review governed commercial overrides and approval queues",
              "commerce.override.rule.apply": "Force or bypass commercial pricing rules",
              "commerce.override.tax.apply": "Apply commercial tax overrides",
              "commerce.payments.create": "Create payments",
              "commerce.payments.read": "Read payments",
              "commerce.payments.update": "Update payments",
              "commerce.preview.read": "Read internal commercial previews and explainers",
              "commerce.price_book_entries.create": "Create price book entries",
              "commerce.price_book_entries.deactivate": "Deactivate price book entries",
              "commerce.price_book_entries.reactivate": "Reactivate price book entries",
              "commerce.price_book_entries.update": "Update price book entries",
              "commerce.price_books.create": "Create price books",
              "commerce.price_books.deactivate": "Deactivate price books",
              "commerce.price_books.manage": "Manage commercial price books",
              "commerce.price_books.reactivate": "Reactivate price books",
              "commerce.price_books.read": "Read price books",
              "commerce.price_books.update": "Update price books",
              "commerce.pricing.manage": "Manage commercial pricing configuration",
              "commerce.pricing.read": "Read commercial pricing configuration and pricing traces",
              "commerce.profitability.read": "Read commercial profitability reporting and valuation outputs",
              "commerce.purchase_orders.approve": "Approve supplier purchase orders",
              "commerce.purchase_orders.cancel": "Cancel committed purchase orders while retaining purchasing history",
              "commerce.purchase_orders.create": "Create purchase orders",
              "commerce.purchase_orders.discard_draft": "Discard uncommitted draft purchase orders",
              "commerce.purchase_orders.read": "Read purchase orders",
              "commerce.purchase_orders.receive": "Receive supplier purchase orders",
              "commerce.purchase_orders.replace": "Create a replacement draft from a canceled purchase order",
              "commerce.purchase_orders.restore_draft": "Restore recently discarded draft purchase orders",
              "commerce.purchase_orders.send": "Commit and send supplier purchase orders",
              "commerce.purchase_orders.update": "Update purchase orders",
              "commerce.reason_requirements.bypass_org_policy": "Bypass organization-added commercial reason requirements",
              "commerce.rules.manage": "Manage commercial pricing and discount rules",
              "commerce.rules.read": "Read commercial pricing and discount rules",
              "commerce.settings.read": "Read commerce settings",
              "commerce.settings.write": "Update commerce settings",
              "commerce.tax_profile_rates.create": "Create tax profile rates",
              "commerce.tax_profile_rates.deactivate": "Deactivate tax profile rates",
              "commerce.tax_profile_rates.reactivate": "Reactivate tax profile rates",
              "commerce.tax_profile_rates.read": "Read tax profile rates",
              "commerce.tax_profile_rates.update": "Update tax profile rates",
              "commerce.tax_profiles.create": "Create tax profiles",
              "commerce.tax_profiles.deactivate": "Deactivate tax profiles",
              "commerce.tax_profiles.reactivate": "Reactivate tax profiles",
              "commerce.tax_profiles.read": "Read tax profiles",
              "commerce.tax_profiles.update": "Update tax profiles",
              "commerce.vendor_bills.create": "Create purchase-order vendor-bill drafts",
              "commerce.vendor_bills.discard_draft": "Discard unposted purchase-order vendor-bill drafts",
              "commerce.vendor_bills.override_match": "Post a vendor bill with an approved receiving-match exception",
              "commerce.vendor_bills.pay": "Record payments against posted vendor bills",
              "commerce.vendor_bills.post": "Post purchase-order vendor bills to accounts payable",
              "commerce.vendor_bills.read": "Read purchase-order vendor bills",
              "commerce.vendor_bills.restore_draft": "Restore recently discarded purchase-order vendor-bill drafts",
              "commerce.vendor_bills.update": "Update purchase-order vendor-bill drafts",
              "commerce.vendor_bills.void": "Void purchase-order vendor bills",
              "commerce.vendor_items.create": "Create vendor item mappings",
              "commerce.vendor_items.delete": "Delete vendor item mappings",
              "commerce.vendor_items.read": "Read vendor item mappings",
              "commerce.vendor_items.update": "Update vendor item mappings",
              "commerce.vendors.create": "Create commerce vendors",
              "commerce.vendors.deactivate": "Deactivate commerce vendors",
              "commerce.vendors.reactivate": "Reactivate commerce vendors",
              "commerce.vendors.read": "Read commerce vendors",
              "commerce.vendors.update": "Update commerce vendors",
              "communications.account_capture.apply": "Confirm account capture details",
              "communications.account_capture.duplicates.override": "Create a separate account or person after reviewing a duplicate",
              "communications.account_capture.read": "View account capture reviews",
              "communications.account_capture.use": "Read text details with AI",
              "communications.admin.debug": "View raw communications provider payloads",
              "communications.attention.alerts.read": "Read communications attention alert diagnostics",
              "communications.attention.assignments.read": "Read communications attention assignments",
              "communications.attention.assignments.write": "Manage communications attention assignments",
              "communications.attention.profiles.create": "Create communications attention profiles",
              "communications.attention.profiles.delete": "Delete communications attention profiles",
              "communications.attention.profiles.read": "Read communications attention profiles",
              "communications.attention.profiles.update": "Update communications attention profiles",
              "communications.attention.settings.read": "Read communications attention settings",
              "communications.attention.settings.write": "Manage communications attention settings",
              "communications.attention.sounds.delete": "Delete communications attention sound assets",
              "communications.attention.sounds.read": "Read communications attention sound assets",
              "communications.attention.sounds.upload": "Upload communications attention sound assets",
              "communications.call.audit.view": "View live communications call audit history",
              "communications.call.dial_through.audit.read": "Read cellular dial-through audit events",
              "communications.call.dial_through.main_line.enable": "Enable cellular dial-through on a customer-facing main phone line",
              "communications.call.dial_through.manage_org": "Manage cellular dial-through settings and credentials for the organization",
              "communications.call.dial_through.manage_self": "Manage own cellular dial-through access code and verified caller phone",
              "communications.call.dial_through.use": "Use cellular dial-through to place recorded calls through organization phone lines",
              "communications.call.live.analytics.export": "Export live communications call analytics and reporting views",
              "communications.call.live.analytics.read": "Read live communications call analytics",
              "communications.call.live.control.self": "Control your own live communications call participant state",
              "communications.call.live.provider_events.read": "Inspect captured provider callback events for live communications calls",
              "communications.call.live.provider_events.replay": "Replay captured provider callback events for live communications calls",
              "communications.call.live.read": "Read live communications call sessions",
              "communications.call.live.recovery.manage": "Repair and reconcile live communications call recovery state",
              "communications.call.live.recovery.read": "Inspect live communications call recovery state",
              "communications.call.live.scope.branch": "Read live communications calls within branch scope",
              "communications.call.live.scope.compliance": "Read live communications calls within compliance scope",
              "communications.call.live.scope.org": "Read live communications calls within organization scope",
              "communications.call.live.scope.queue": "Read live communications calls within queue scope",
              "communications.call.live.scope.self": "Read live communications calls within self scope",
              "communications.call.live.scope.team": "Read live communications calls within team scope",
              "communications.call.ownership.assign": "Assign live communications call ownership",
              "communications.call.ownership.override": "Override live communications call ownership",
              "communications.call.participant.add_internal": "Invite internal participants into live communications calls",
              "communications.call.place": "Place communications calls",
              "communications.call.read": "Read communications calls",
              "communications.call.supervisor.barge": "Join live communications calls as a supervisor participant",
              "communications.call.supervisor.monitor": "Silently monitor live communications calls",
              "communications.call.supervisor.whisper": "Coach a participant in live communications calls without joining the full conference",
              "communications.call.transfer.cancel": "Cancel live communications call transfers",
              "communications.call.transfer.complete": "Complete live communications call transfers",
              "communications.call.transfer.request": "Request live communications call transfers",
              "communications.call.transfer.respond": "Respond to live communications call transfer offers",
              "communications.call_intelligence.consent.manage": "Capture and update NovaAI consent snapshots",
              "communications.call_intelligence.delete.manage": "Execute NovaAI privacy delete requests",
              "communications.call_intelligence.execution.approve": "Approve NovaAI execution requests",
              "communications.call_intelligence.execution.execute": "Execute approved NovaAI actions",
              "communications.call_intelligence.execution.rollback": "Rollback previously executed NovaAI actions",
              "communications.call_intelligence.legal_hold.manage": "Apply and release NovaAI legal holds",
              "communications.call_intelligence.policy.read": "Read effective NovaAI policy and governance decisions",
              "communications.call_intelligence.policy.write": "Configure NovaAI policy assignments and overrides",
              "communications.call_intelligence.proposal.edit": "Edit NovaAI proposals before approval or execution",
              "communications.call_intelligence.read": "Read NovaAI sessions and derived artifacts",
              "communications.call_intelligence.retention.manage": "Materialize and manage NovaAI retention policy state",
              "communications.call_intelligence.review.decide": "Approve, reject, or request changes for NovaAI reviews",
              "communications.call_intelligence.review.read": "Read NovaAI review queues and review history",
              "communications.call_intelligence.review.request": "Request NovaAI human review",
              "communications.call_intelligence.run.reprocess": "Rerun or reprocess NovaAI analysis for a call",
              "communications.call_intelligence.support.replay": "Replay NovaAI lineage for support and debugging",
              "communications.call_intelligence.transcript.export": "Export NovaAI transcripts and evidence packages",
              "communications.call_intelligence.transcript.read": "Read NovaAI transcript evidence",
              "communications.call_intelligence.transcript.reveal_sensitive": "Reveal sensitive transcript spans in NovaAI evidence",
              "communications.conversation.draft.read": "Read active teammate conversation drafts",
              "communications.conversation.manage": "Manage communications conversations",
              "communications.conversation.read": "Read communications conversations",
              "communications.email.attachment.download": "Download email attachments",
              "communications.email.attachment.list": "List email attachments",
              "communications.email.attachment.purge_cache": "Purge email attachment cache",
              "communications.email.attachment.refetch": "Refetch email attachments",
              "communications.email.attachment.security_override": "Perform sensitive email attachment security overrides",
              "communications.email.attachment.sensitive_view": "View sensitive email attachment security metadata",
              "communications.email.folder.create": "Create email folders and labels",
              "communications.email.folder.delete": "Delete email folders and labels",
              "communications.email.folder.list": "List email folders and labels",
              "communications.email.folder.update": "Update email folders and labels",
              "communications.email.inbox.archive": "Archive email inboxes",
              "communications.email.inbox.archive.google": "Archive Google email inboxes",
              "communications.email.inbox.archive.imap_smtp": "Archive IMAP/SMTP email inboxes",
              "communications.email.inbox.archive.microsoft": "Archive Microsoft email inboxes",
              "communications.email.inbox.cutover.manage": "Manage inbox go-live and cutover controls",
              "communications.email.inbox.delete": "Delete email inboxes",
              "communications.email.inbox.delete.google": "Delete Google email inboxes",
              "communications.email.inbox.delete.imap_smtp": "Delete IMAP/SMTP email inboxes",
              "communications.email.inbox.delete.microsoft": "Delete Microsoft email inboxes",
              "communications.email.inbox.historical_import.manage": "Manage inbox historical import configuration",
              "communications.email.inbox.list": "List email inboxes",
              "communications.email.inbox.manage_memberships": "Manage email inbox memberships",
              "communications.email.inbox.manage_routing_rules": "Manage email inbox routing rules",
              "communications.email.inbox.manage_send_as": "Manage email inbox send-as settings",
              "communications.email.inbox.ticketing_settings.manage": "Manage inbox ticketing settings",
              "communications.email.inbox.ticketing_settings.view": "View inbox ticketing settings",
              "communications.email.inbox.update": "Update email inbox settings",
              "communications.email.inbox.use.all": "Use all email inboxes for operational send flows",
              "communications.email.inbox.use.assigned": "Use assigned email inboxes for operational send flows",
              "communications.email.inbox.view": "View email inbox details",
              "communications.email.inbox.view_health": "View email inbox health",
              "communications.email.message.apply_label": "Apply email labels",
              "communications.email.message.archive": "Archive email messages",
              "communications.email.message.delete": "Permanently delete email messages",
              "communications.email.message.export": "Export email messages",
              "communications.email.message.flag": "Star/flag email messages",
              "communications.email.message.forward": "Forward email messages",
              "communications.email.message.list": "List email messages",
              "communications.email.message.mark_read": "Mark email messages as read",
              "communications.email.message.mark_unread": "Mark email messages as unread",
              "communications.email.message.move": "Move email messages",
              "communications.email.message.remove_label": "Remove email labels",
              "communications.email.message.report_spam": "Report email messages as spam/junk",
              "communications.email.message.restore": "Restore email messages from trash/spam",
              "communications.email.message.search": "Search email messages",
              "communications.email.message.send": "Send email messages",
              "communications.email.message.snooze": "Snooze email messages",
              "communications.email.message.trash": "Trash email messages",
              "communications.email.message.view": "View email messages",
              "communications.email.message.view_body": "View email message body",
              "communications.email.ops.manage_webhooks": "Manage email webhooks",
              "communications.email.ops.rotate_tokens": "Rotate email provider tokens",
              "communications.email.ops.search.health": "View email search health",
              "communications.email.ops.search.reindex": "Reindex email search",
              "communications.email.ops.task_failures.replay": "Replay async email-ticketing task failures",
              "communications.email.ops.task_failures.resolve": "Resolve async email-ticketing task failures",
              "communications.email.ops.task_failures.view": "View async email-ticketing task failures",
              "communications.email.ops.view_provider_errors": "View email provider errors",
              "communications.email.ops.view_sync_state": "View email sync state",
              "communications.email.ops.view_webhook_health": "View email webhook health",
              "communications.email.provider_connection.manage": "Manage inbox provider connection onboarding and reconnect setup",
              "communications.email.provider_connection.override": "Run sensitive inbox provider operational overrides",
              "communications.email.provider_credentials.manage": "Manage inbox provider credentials and app configuration",
              "communications.email.routing_rules.manage": "Manage inbox routing rules",
              "communications.email.routing_rules.view": "View inbox routing rules",
              "communications.email.thread.list": "List email threads",
              "communications.email.thread.view": "View email threads",
              "communications.email.video.send": "Send provider-compatible video or Nova video links by email",
              "communications.inbox.manage": "Manage communications inbox numbers",
              "communications.inbox.read": "Read communications inbox numbers",
              "communications.line.use.all": "Use all communications phone lines for operational flows",
              "communications.line.use.assigned": "Use assigned communications phone lines for operational flows",
              "communications.message.delete": "Delete (hide) communications messages from the inbox",
              "communications.message.read": "Read communications messages",
              "communications.message.send": "Send communications messages",
              "communications.phone_numbers.purchase": "Purchase managed communications phone numbers",
              "communications.phone_transfers.cancel": "Cancel phone transfer requests",
              "communications.phone_transfers.comment": "Comment on phone transfer requests",
              "communications.phone_transfers.create": "Create phone transfer requests",
              "communications.phone_transfers.document.delete": "Delete phone transfer request documents",
              "communications.phone_transfers.document.download": "Download phone transfer request documents",
              "communications.phone_transfers.document.upload": "Upload phone transfer request documents",
              "communications.phone_transfers.read": "Read phone transfer requests",
              "communications.phone_transfers.update": "Update phone transfer request details",
              "communications.rcs.video.send": "Send provider-compatible video through RCS",
              "communications.recording.pause_resume": "Pause and resume live communications call recordings",
              "communications.recording.playback": "Playback communications recordings",
              "communications.sender_safety.assess": "Mark unknown communications senders as spam or not spam",
              "communications.sender_safety.audit.view": "View sender safety decision history",
              "communications.sender_safety.block_calls": "Block and unblock calls from shared sender safety records",
              "communications.sender_safety.block_sms": "Block and unblock text messages from shared sender safety records",
              "communications.sender_safety.manage": "Manage all shared sender safety classifications and channel blocks",
              "communications.sender_safety.read": "Read shared call and text sender safety records",
              "communications.sms.video.send": "Send provider-compatible video through MMS",
              "communications.social.video.send": "Send video in supported social inbox conversations",
              "communications.spam_protection.audit.view": "View spam protection decision and source audit history",
              "communications.spam_protection.manage": "Manage all spam protection policies, sources, and review decisions",
              "communications.spam_protection.policy.manage": "Manage organization spam protection handling policy",
              "communications.spam_protection.read": "Read organization spam protection policy, reputation, and review queues",
              "communications.spam_protection.review.manage": "Resolve spam protection review queue decisions",
              "communications.spam_protection.sources.manage": "Manage spam protection source subscriptions and source weights",
              "communications.team_messages.log.read_all": "See other teammates' message history",
              "communications.team_messages.manage": "Change what the team is sent and when",
              "communications.team_messages.read": "See team message settings",
              "communications.texting_number.manage": "Get, replace or release the organization's included texting number",
              "communications.ticket.assignment.capacity.manage": "Manage ticket agent capacity policies",
              "communications.ticket.assignment.capacity.view": "View ticket agent capacity policies",
              "communications.ticket.assignment.presence.manage": "Manage ticket agent presence states",
              "communications.ticket.assignment.presence.view": "View ticket agent presence states",
              "communications.ticket.assignment.skill.manage": "Manage ticket assignment skills",
              "communications.ticket.assignment.skill.view": "View ticket assignment skills",
              "communications.ticket.attachment.download": "Download ticket-linked email attachments",
              "communications.ticket.attachment.view": "View ticket-linked email attachments",
              "communications.ticket.audit.export": "Export ticket audit activity",
              "communications.ticket.audit.view": "View ticket audit activity",
              "communications.ticket.csat.view": "View ticket customer satisfaction analytics",
              "communications.ticket.draft.create": "Create ticket drafts",
              "communications.ticket.draft.delete": "Delete ticket drafts",
              "communications.ticket.draft.lock_override": "Override ticket draft compose locks",
              "communications.ticket.draft.update": "Update ticket drafts",
              "communications.ticket.draft.view": "View ticket drafts",
              "communications.ticket.note.create": "Create internal ticket notes",
              "communications.ticket.note.delete": "Delete internal ticket notes",
              "communications.ticket.note.update": "Edit internal ticket notes",
              "communications.ticket.portal_deflection.view": "View portal ticket deflection analytics",
              "communications.ticket.queue.list": "List ticket queues",
              "communications.ticket.queue.manage": "Manage ticket queues",
              "communications.ticket.queue.memberships.manage": "Manage ticket queue memberships",
              "communications.ticket.queue.sla.manage": "Manage ticket queue SLA policies",
              "communications.ticket.queue.view": "View ticket queues",
              "communications.ticket.request_type.manage": "Manage ticket request types",
              "communications.ticket.request_type.view": "View ticket request types",
              "communications.ticket.ticket.assign": "Assign tickets",
              "communications.ticket.ticket.bulk_edit": "Bulk edit tickets",
              "communications.ticket.ticket.change_priority": "Change ticket priority",
              "communications.ticket.ticket.change_queue": "Move tickets between queues",
              "communications.ticket.ticket.create": "Create tickets",
              "communications.ticket.ticket.email_artifact.relink": "Relink email messages or threads to tickets",
              "communications.ticket.ticket.export": "Export tickets",
              "communications.ticket.ticket.merge": "Merge tickets",
              "communications.ticket.ticket.reassign_others": "Reassign tickets owned by other users",
              "communications.ticket.ticket.recorrelate.override": "Override ticket correlation records manually",
              "communications.ticket.ticket.search.advanced": "Run advanced ticket searches",
              "communications.ticket.ticket.send_external_reply": "Send external ticket replies",
              "communications.ticket.ticket.split": "Split tickets",
              "communications.ticket.ticket.status.change": "Change ticket workflow status",
              "communications.ticket.ticket.status.close": "Close tickets",
              "communications.ticket.ticket.status.mark_spam": "Mark tickets as spam",
              "communications.ticket.ticket.status.reopen": "Reopen tickets",
              "communications.ticket.ticket.status.resolve": "Resolve tickets",
              "communications.ticket.ticket.status.restore_from_spam": "Restore tickets from spam",
              "communications.ticket.ticket.unassign": "Unassign tickets",
              "communications.ticket.ticket.update_metadata": "Update ticket metadata",
              "communications.ticket.ticket.view": "View tickets",
              "communications.ticket.ticket.watchers.manage": "Manage ticket watchers",
              "communications.voicemail.playback": "Playback communications voicemails",
              "critical_alerts.analytics.view": "View critical alert analytics and operational performance",
              "critical_alerts.audit.export": "Export critical alert audit trails",
              "critical_alerts.audit.view": "View critical alert audit and evidence trails",
              "critical_alerts.destinations.manage": "Manage critical alert destinations and escalation targets",
              "critical_alerts.incidents.operate": "Acknowledge, resolve, and trigger critical alerts",
              "critical_alerts.incidents.view": "View critical alert incidents and timelines",
              "critical_alerts.manage": "Manage critical alerts configuration and operations",
              "critical_alerts.recipes.manage": "Manage critical alert setup recipes",
              "critical_alerts.replay.operate": "Replay critical alert signals and retry delivery actions",
              "critical_alerts.rules.manage": "Manage critical alert matcher rules and routing policies",
              "critical_alerts.schedules.manage": "Manage critical alert on-call schedules and routing calendars",
              "critical_alerts.sources.manage": "Manage critical alert sources and public endpoints",
              "critical_alerts.suppressions.advanced_json.manage": "Edit advanced suppression scope and policy JSON",
              "critical_alerts.suppressions.archive": "Archive critical alert suppression windows while retaining audit history",
              "critical_alerts.suppressions.create": "Create scoped critical alert suppression windows",
              "critical_alerts.suppressions.global.manage": "Create and broaden global critical alert suppression windows",
              "critical_alerts.suppressions.manage": "Manage critical alert suppression windows and maintenance schedules",
              "critical_alerts.suppressions.operate": "End, disable, extend, and duplicate critical alert suppression windows",
              "critical_alerts.suppressions.update": "Update critical alert suppression names, reasons, timing, scope, and policy",
              "critical_alerts.suppressions.view": "View critical alert suppression windows, impact previews, and related incidents",
              "critical_alerts.templates.manage": "Manage critical alert templates and exact delivery content",
              "critical_alerts.view": "View critical alerts workspace",
              "crm.accounts.anonymize": "Anonymize an account through an approved privacy request",
              "crm.accounts.archive": "Archive accounts",
              "crm.accounts.contacts.create": "Create account contacts",
              "crm.accounts.contacts.delete": "Delete account contacts",
              "crm.accounts.contacts.read": "Read account contacts",
              "crm.accounts.contacts.update": "Update account contacts",
              "crm.accounts.create": "Create accounts",
              "crm.accounts.merge": "Merge accounts",
              "crm.accounts.read": "Read accounts",
              "crm.accounts.restore": "Restore accounts",
              "crm.accounts.update": "Update accounts",
              "crm.contact_methods.create": "Create contact methods",
              "crm.contact_methods.delete": "Delete contact methods",
              "crm.contact_methods.read": "Read contact methods",
              "crm.contact_methods.update": "Update contact methods",
              "crm.contacts.anonymize": "Anonymize a contact through an approved privacy request",
              "crm.contacts.archive": "Archive contacts",
              "crm.contacts.create": "Create contacts",
              "crm.contacts.merge": "Merge contacts",
              "crm.contacts.read": "Read contacts",
              "crm.contacts.restore": "Restore contacts",
              "crm.contacts.update": "Update contacts",
              "crm.locations.archive": "Archive locations",
              "crm.locations.contacts.create": "Create location contacts",
              "crm.locations.contacts.delete": "Delete location contacts",
              "crm.locations.contacts.read": "Read location contacts",
              "crm.locations.contacts.update": "Update location contacts",
              "crm.locations.create": "Create locations",
              "crm.locations.read": "Read locations",
              "crm.locations.restore": "Restore locations",
              "crm.locations.update": "Update locations",
              "crm.reason_requirements.bypass_org_policy": "Bypass organization-added CRM reason requirements",
              "crm.service_assets.activity.read": "Read service asset activity summaries",
              "crm.service_assets.admin.manage": "Manage service asset setup and governance",
              "crm.service_assets.archive": "Archive service assets",
              "crm.service_assets.create": "Create service assets",
              "crm.service_assets.export": "Export service assets",
              "crm.service_assets.history.read": "Read service asset history and audit trails",
              "crm.service_assets.identifiers.create": "Create service asset identifiers",
              "crm.service_assets.identifiers.delete": "Delete service asset identifiers",
              "crm.service_assets.identifiers.read": "Read service asset identifiers",
              "crm.service_assets.identifiers.set_primary": "Set or change the primary service asset identifier",
              "crm.service_assets.identifiers.update": "Update service asset identifiers",
              "crm.service_assets.read": "Read service assets",
              "crm.service_assets.relationships.create": "Create service asset relationships",
              "crm.service_assets.relationships.delete": "Delete service asset relationships",
              "crm.service_assets.relationships.read": "Read service asset relationships",
              "crm.service_assets.relationships.update": "Update service asset relationships",
              "crm.service_assets.restore": "Restore service assets",
              "crm.service_assets.update": "Update service assets",
              "customer_commitments.audit.export": "Export customer commitment audit trails",
              "customer_commitments.audit.view": "View customer commitment audit trails",
              "customer_commitments.cancel": "Cancel active customer commitment packages",
              "customer_commitments.create": "Request customer commitments from quotes",
              "customer_commitments.manage": "Manage customer commitment packages",
              "customer_commitments.remind": "Send customer commitment reminders",
              "customer_commitments.settings.manage": "Manage customer commitment settings",
              "customer_commitments.view": "View customer commitment packages",
              "customer_notifications.export": "Export customer notification metadata",
              "customer_notifications.operate": "Edit, cancel, release or retry an eligible customer notification",
              "customer_notifications.read": "See the customer notifications log: what was sent to customers and what is coming up",
              "customer_notifications.resend": "Send another copy of an eligible customer notification",
              "dashboard.read": "View dashboard",
              "data.export": "Export organization data",
              "data.import": "Import organization portability packages",
              "diagnostics.assets.view": "View asset and workforce diagnostics",
              "diagnostics.automation.view": "View automation diagnostics",
              "diagnostics.communications.view": "View communications diagnostics",
              "diagnostics.export": "Export diagnostics",
              "diagnostics.integrations.view": "View integration diagnostics",
              "diagnostics.org.view": "View organization diagnostics",
              "diagnostics.payments.view": "View payments and billing diagnostics",
              "diagnostics.public_surfaces.view": "View public surface diagnostics",
              "diagnostics.raw_payload.view": "View raw diagnostic payload references",
              "diagnostics.replay": "Replay diagnostic remediation actions",
              "diagnostics.technical.view": "View technical diagnostics",
              "emails.accounts.read": "Read email accounts",
              "emails.accounts.write": "Manage email accounts",
              "emails.read": "Read emails",
              "emails.send": "Send emails",
              "emails.send.unverified.override": "Send emails to unverified recipients with justification",
              "emails.verify.confirm": "Confirm email verification",
              "emails.verify.override": "Override email verification status",
              "emails.verify.send": "Send verification emails",
              "exports.create": "Create portability export jobs",
              "exports.create_full_tenant_backup": "Create full-tenant portability backup packages",
              "exports.download": "Download portability export artifacts",
              "exports.include_archival_history": "Include archival history in portability exports",
              "exports.include_assets": "Include packaged binary assets in portability exports",
              "exports.include_sensitive_communications": "Include sensitive communications history in portability exports",
              "exports.read_catalog": "Read portability export catalog and job metadata",
              "feedback.comments.create": "Create feedback comments",
              "feedback.comments.delete": "Delete feedback comments",
              "feedback.comments.update": "Update feedback comments",
              "feedback.create": "Create feedback items",
              "feedback.delete": "Delete feedback items",
              "feedback.read": "Read feedback board and items",
              "feedback.settings.read": "Read feedback settings",
              "feedback.update": "Update feedback items",
              "feedback.votes.create": "Vote on feedback items",
              "feedback.votes.delete": "Remove feedback votes",
              "files.accounts.delete": "Delete Account files",
              "files.accounts.download": "Download Account files",
              "files.accounts.download_full_res": "Download original Account files",
              "files.accounts.link": "Link files to Account",
              "files.accounts.move_folder": "Move Account files between folders",
              "files.accounts.pin": "Pin or unpin Account files",
              "files.accounts.read": "Read Account files",
              "files.accounts.restore": "Restore Account files",
              "files.accounts.share": "Share Account files externally",
              "files.accounts.unlink": "Unlink files from Account",
              "files.accounts.upload": "Upload Account files",
              "files.attention_sound_assets.delete": "Delete Attention sound asset files",
              "files.attention_sound_assets.download": "Download Attention sound asset files",
              "files.attention_sound_assets.download_full_res": "Download original Attention sound asset files",
              "files.attention_sound_assets.link": "Link files to Attention sound asset",
              "files.attention_sound_assets.move_folder": "Move Attention sound asset files between folders",
              "files.attention_sound_assets.pin": "Pin or unpin Attention sound asset files",
              "files.attention_sound_assets.read": "Read Attention sound asset files",
              "files.attention_sound_assets.restore": "Restore Attention sound asset files",
              "files.attention_sound_assets.share": "Share Attention sound asset files externally",
              "files.attention_sound_assets.unlink": "Unlink files from Attention sound asset",
              "files.attention_sound_assets.upload": "Upload Attention sound asset files",
              "files.call_recordings.delete": "Delete Call recording files",
              "files.call_recordings.download": "Download Call recording files",
              "files.call_recordings.download_full_res": "Download original Call recording files",
              "files.call_recordings.link": "Link files to Call recording",
              "files.call_recordings.move_folder": "Move Call recording files between folders",
              "files.call_recordings.pin": "Pin or unpin Call recording files",
              "files.call_recordings.read": "Read Call recording files",
              "files.call_recordings.restore": "Restore Call recording files",
              "files.call_recordings.share": "Share Call recording files externally",
              "files.call_recordings.unlink": "Unlink files from Call recording",
              "files.call_recordings.upload": "Upload Call recording files",
              "files.checklist_items.delete": "Delete Checklist item files",
              "files.checklist_items.download": "Download Checklist item files",
              "files.checklist_items.download_full_res": "Download original Checklist item files",
              "files.checklist_items.link": "Link files to Checklist item",
              "files.checklist_items.move_folder": "Move Checklist item files between folders",
              "files.checklist_items.pin": "Pin or unpin Checklist item files",
              "files.checklist_items.read": "Read Checklist item files",
              "files.checklist_items.restore": "Restore Checklist item files",
              "files.checklist_items.share": "Share Checklist item files externally",
              "files.checklist_items.unlink": "Unlink files from Checklist item",
              "files.checklist_items.upload": "Upload Checklist item files",
              "files.checklists.delete": "Delete Checklist files",
              "files.checklists.download": "Download Checklist files",
              "files.checklists.download_full_res": "Download original Checklist files",
              "files.checklists.link": "Link files to Checklist",
              "files.checklists.move_folder": "Move Checklist files between folders",
              "files.checklists.pin": "Pin or unpin Checklist files",
              "files.checklists.read": "Read Checklist files",
              "files.checklists.restore": "Restore Checklist files",
              "files.checklists.share": "Share Checklist files externally",
              "files.checklists.unlink": "Unlink files from Checklist",
              "files.checklists.upload": "Upload Checklist files",
              "files.contacts.delete": "Delete Contact files",
              "files.contacts.download": "Download Contact files",
              "files.contacts.download_full_res": "Download original Contact files",
              "files.contacts.link": "Link files to Contact",
              "files.contacts.move_folder": "Move Contact files between folders",
              "files.contacts.pin": "Pin or unpin Contact files",
              "files.contacts.read": "Read Contact files",
              "files.contacts.restore": "Restore Contact files",
              "files.contacts.share": "Share Contact files externally",
              "files.contacts.unlink": "Unlink files from Contact",
              "files.contacts.upload": "Upload Contact files",
              "files.delete": "Delete files (all entities)",
              "files.download": "Download files (all entities)",
              "files.download_full_res": "Download original files (all entities)",
              "files.emails.delete": "Delete Email files",
              "files.emails.download": "Download Email files",
              "files.emails.download_full_res": "Download original Email files",
              "files.emails.link": "Link files to Email",
              "files.emails.move_folder": "Move Email files between folders",
              "files.emails.pin": "Pin or unpin Email files",
              "files.emails.read": "Read Email files",
              "files.emails.restore": "Restore Email files",
              "files.emails.share": "Share Email files externally",
              "files.emails.unlink": "Unlink files from Email",
              "files.emails.upload": "Upload Email files",
              "files.feedback_comments.delete": "Delete Feedback comment files",
              "files.feedback_comments.download": "Download Feedback comment files",
              "files.feedback_comments.download_full_res": "Download original Feedback comment files",
              "files.feedback_comments.link": "Link files to Feedback comment",
              "files.feedback_comments.move_folder": "Move Feedback comment files between folders",
              "files.feedback_comments.pin": "Pin or unpin Feedback comment files",
              "files.feedback_comments.read": "Read Feedback comment files",
              "files.feedback_comments.restore": "Restore Feedback comment files",
              "files.feedback_comments.share": "Share Feedback comment files externally",
              "files.feedback_comments.unlink": "Unlink files from Feedback comment",
              "files.feedback_comments.upload": "Upload Feedback comment files",
              "files.feedback_items.delete": "Delete Feedback item files",
              "files.feedback_items.download": "Download Feedback item files",
              "files.feedback_items.download_full_res": "Download original Feedback item files",
              "files.feedback_items.link": "Link files to Feedback item",
              "files.feedback_items.move_folder": "Move Feedback item files between folders",
              "files.feedback_items.pin": "Pin or unpin Feedback item files",
              "files.feedback_items.read": "Read Feedback item files",
              "files.feedback_items.restore": "Restore Feedback item files",
              "files.feedback_items.share": "Share Feedback item files externally",
              "files.feedback_items.unlink": "Unlink files from Feedback item",
              "files.feedback_items.upload": "Upload Feedback item files",
              "files.folders.create": "Create file folders",
              "files.folders.delete": "Delete file folders",
              "files.folders.policy.read": "Read file folder object policies",
              "files.folders.policy.update": "Manage file folder object policies",
              "files.folders.read": "Read file folders",
              "files.folders.reorder": "Reorder file folders",
              "files.folders.update": "Update file folders",
              "files.inventory_items.delete": "Delete Inventory item files",
              "files.inventory_items.download": "Download Inventory item files",
              "files.inventory_items.download_full_res": "Download original Inventory item files",
              "files.inventory_items.link": "Link files to Inventory item",
              "files.inventory_items.move_folder": "Move Inventory item files between folders",
              "files.inventory_items.pin": "Pin or unpin Inventory item files",
              "files.inventory_items.read": "Read Inventory item files",
              "files.inventory_items.restore": "Restore Inventory item files",
              "files.inventory_items.share": "Share Inventory item files externally",
              "files.inventory_items.unlink": "Unlink files from Inventory item",
              "files.inventory_items.upload": "Upload Inventory item files",
              "files.knowledge_base_pages.delete": "Delete Knowledge Base page files",
              "files.knowledge_base_pages.download": "Download Knowledge Base page files",
              "files.knowledge_base_pages.download_full_res": "Download original Knowledge Base page files",
              "files.knowledge_base_pages.link": "Link files to Knowledge Base page",
              "files.knowledge_base_pages.move_folder": "Move Knowledge Base page files between folders",
              "files.knowledge_base_pages.pin": "Pin or unpin Knowledge Base page files",
              "files.knowledge_base_pages.read": "Read Knowledge Base page files",
              "files.knowledge_base_pages.restore": "Restore Knowledge Base page files",
              "files.knowledge_base_pages.share": "Share Knowledge Base page files externally",
              "files.knowledge_base_pages.unlink": "Unlink files from Knowledge Base page",
              "files.knowledge_base_pages.upload": "Upload Knowledge Base page files",
              "files.links.create": "Link files to entities (all entities)",
              "files.links.delete": "Unlink files from entities (all entities)",
              "files.links.move_folder": "Move file links between folders (all entities)",
              "files.links.pin": "Pin file links (all entities)",
              "files.links.policy.read": "Read file link object policies",
              "files.links.policy.update": "Manage file link object policies",
              "files.links.share": "Share file links externally (all entities)",
              "files.locations.delete": "Delete Location files",
              "files.locations.download": "Download Location files",
              "files.locations.download_full_res": "Download original Location files",
              "files.locations.link": "Link files to Location",
              "files.locations.move_folder": "Move Location files between folders",
              "files.locations.pin": "Pin or unpin Location files",
              "files.locations.read": "Read Location files",
              "files.locations.restore": "Restore Location files",
              "files.locations.share": "Share Location files externally",
              "files.locations.unlink": "Unlink files from Location",
              "files.locations.upload": "Upload Location files",
              "files.notes.delete": "Delete Note files",
              "files.notes.download": "Download Note files",
              "files.notes.download_full_res": "Download original Note files",
              "files.notes.link": "Link files to Note",
              "files.notes.move_folder": "Move Note files between folders",
              "files.notes.pin": "Pin or unpin Note files",
              "files.notes.read": "Read Note files",
              "files.notes.restore": "Restore Note files",
              "files.notes.share": "Share Note files externally",
              "files.notes.unlink": "Unlink files from Note",
              "files.notes.upload": "Upload Note files",
              "files.phone_line_hold_music.delete": "Delete Phone line hold music files",
              "files.phone_line_hold_music.download": "Download Phone line hold music files",
              "files.phone_line_hold_music.download_full_res": "Download original Phone line hold music files",
              "files.phone_line_hold_music.link": "Link files to Phone line hold music",
              "files.phone_line_hold_music.move_folder": "Move Phone line hold music files between folders",
              "files.phone_line_hold_music.pin": "Pin or unpin Phone line hold music files",
              "files.phone_line_hold_music.read": "Read Phone line hold music files",
              "files.phone_line_hold_music.restore": "Restore Phone line hold music files",
              "files.phone_line_hold_music.share": "Share Phone line hold music files externally",
              "files.phone_line_hold_music.unlink": "Unlink files from Phone line hold music",
              "files.phone_line_hold_music.upload": "Upload Phone line hold music files",
              "files.phone_line_voicemail_greetings.delete": "Delete Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.download": "Download Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.download_full_res": "Download original Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.link": "Link files to Phone line voicemail greeting",
              "files.phone_line_voicemail_greetings.move_folder": "Move Phone line voicemail greeting files between folders",
              "files.phone_line_voicemail_greetings.pin": "Pin or unpin Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.read": "Read Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.restore": "Restore Phone line voicemail greeting files",
              "files.phone_line_voicemail_greetings.share": "Share Phone line voicemail greeting files externally",
              "files.phone_line_voicemail_greetings.unlink": "Unlink files from Phone line voicemail greeting",
              "files.phone_line_voicemail_greetings.upload": "Upload Phone line voicemail greeting files",
              "files.phone_transfer_documents.delete": "Delete Phone transfer document files",
              "files.phone_transfer_documents.download": "Download Phone transfer document files",
              "files.phone_transfer_documents.download_full_res": "Download original Phone transfer document files",
              "files.phone_transfer_documents.link": "Link files to Phone transfer document",
              "files.phone_transfer_documents.move_folder": "Move Phone transfer document files between folders",
              "files.phone_transfer_documents.pin": "Pin or unpin Phone transfer document files",
              "files.phone_transfer_documents.read": "Read Phone transfer document files",
              "files.phone_transfer_documents.restore": "Restore Phone transfer document files",
              "files.phone_transfer_documents.share": "Share Phone transfer document files externally",
              "files.phone_transfer_documents.unlink": "Unlink files from Phone transfer document",
              "files.phone_transfer_documents.upload": "Upload Phone transfer document files",
              "files.portfolios.delete": "Delete Portfolio files",
              "files.portfolios.download": "Download Portfolio files",
              "files.portfolios.download_full_res": "Download original Portfolio files",
              "files.portfolios.link": "Link files to Portfolio",
              "files.portfolios.move_folder": "Move Portfolio files between folders",
              "files.portfolios.pin": "Pin or unpin Portfolio files",
              "files.portfolios.read": "Read Portfolio files",
              "files.portfolios.restore": "Restore Portfolio files",
              "files.portfolios.share": "Share Portfolio files externally",
              "files.portfolios.unlink": "Unlink files from Portfolio",
              "files.portfolios.upload": "Upload Portfolio files",
              "files.processing.cancel": "Cancel file scanning or media processing jobs",
              "files.processing.read": "View file scanning and media-processing status",
              "files.processing.retry": "Retry failed file scanning or media processing",
              "files.projects.delete": "Delete Project files",
              "files.projects.download": "Download Project files",
              "files.projects.download_full_res": "Download original Project files",
              "files.projects.link": "Link files to Project",
              "files.projects.move_folder": "Move Project files between folders",
              "files.projects.pin": "Pin or unpin Project files",
              "files.projects.read": "Read Project files",
              "files.projects.restore": "Restore Project files",
              "files.projects.share": "Share Project files externally",
              "files.projects.unlink": "Unlink files from Project",
              "files.projects.upload": "Upload Project files",
              "files.purge": "Purge deleted files (all entities)",
              "files.read": "Read files (all entities)",
              "files.recycle_bin.read": "Read recycle bin files",
              "files.restore": "Restore files (all entities)",
              "files.schedule_offerings.delete": "Delete Schedule offering files",
              "files.schedule_offerings.download": "Download Schedule offering files",
              "files.schedule_offerings.download_full_res": "Download original Schedule offering files",
              "files.schedule_offerings.link": "Link files to Schedule offering",
              "files.schedule_offerings.move_folder": "Move Schedule offering files between folders",
              "files.schedule_offerings.pin": "Pin or unpin Schedule offering files",
              "files.schedule_offerings.read": "Read Schedule offering files",
              "files.schedule_offerings.restore": "Restore Schedule offering files",
              "files.schedule_offerings.share": "Share Schedule offering files externally",
              "files.schedule_offerings.unlink": "Unlink files from Schedule offering",
              "files.schedule_offerings.upload": "Upload Schedule offering files",
              "files.security.assessments.read": "View detailed NovaScan assessment history and evidence",
              "files.security.blocked.delete": "Delete a file blocked by NovaScan",
              "files.security.blocked.download": "Break glass to download a file blocked by NovaScan",
              "files.service_assets.delete": "Delete Service asset files",
              "files.service_assets.download": "Download Service asset files",
              "files.service_assets.download_full_res": "Download original Service asset files",
              "files.service_assets.link": "Link files to Service asset",
              "files.service_assets.move_folder": "Move Service asset files between folders",
              "files.service_assets.pin": "Pin or unpin Service asset files",
              "files.service_assets.read": "Read Service asset files",
              "files.service_assets.restore": "Restore Service asset files",
              "files.service_assets.share": "Share Service asset files externally",
              "files.service_assets.unlink": "Unlink files from Service asset",
              "files.service_assets.upload": "Upload Service asset files",
              "files.sms.delete": "Delete SMS files",
              "files.sms.download": "Download SMS files",
              "files.sms.download_full_res": "Download original SMS files",
              "files.sms.link": "Link files to SMS",
              "files.sms.move_folder": "Move SMS files between folders",
              "files.sms.pin": "Pin or unpin SMS files",
              "files.sms.read": "Read SMS files",
              "files.sms.restore": "Restore SMS files",
              "files.sms.share": "Share SMS files externally",
              "files.sms.unlink": "Unlink files from SMS",
              "files.sms.upload": "Upload SMS files",
              "files.tasks.delete": "Delete Task files",
              "files.tasks.download": "Download Task files",
              "files.tasks.download_full_res": "Download original Task files",
              "files.tasks.link": "Link files to Task",
              "files.tasks.move_folder": "Move Task files between folders",
              "files.tasks.pin": "Pin or unpin Task files",
              "files.tasks.read": "Read Task files",
              "files.tasks.restore": "Restore Task files",
              "files.tasks.share": "Share Task files externally",
              "files.tasks.unlink": "Unlink files from Task",
              "files.tasks.upload": "Upload Task files",
              "files.timesheets.delete": "Delete Timesheet files",
              "files.timesheets.download": "Download Timesheet files",
              "files.timesheets.download_full_res": "Download original Timesheet files",
              "files.timesheets.link": "Link files to Timesheet",
              "files.timesheets.move_folder": "Move Timesheet files between folders",
              "files.timesheets.pin": "Pin or unpin Timesheet files",
              "files.timesheets.read": "Read Timesheet files",
              "files.timesheets.restore": "Restore Timesheet files",
              "files.timesheets.share": "Share Timesheet files externally",
              "files.timesheets.unlink": "Unlink files from Timesheet",
              "files.timesheets.upload": "Upload Timesheet files",
              "files.upload": "Upload files (all entities)",
              "files.upload.session.read": "Read file upload sessions",
              "files.usage.read": "Read file storage usage",
              "files.video.download_original": "View or download preserved original video files",
              "files.video.share_external": "Share clean, processed videos outside the organization",
              "files.video.upload": "Upload cost-bearing video files through authorized Nova surfaces",
              "files.voicemails.delete": "Delete Voicemail files",
              "files.voicemails.download": "Download Voicemail files",
              "files.voicemails.download_full_res": "Download original Voicemail files",
              "files.voicemails.link": "Link files to Voicemail",
              "files.voicemails.move_folder": "Move Voicemail files between folders",
              "files.voicemails.pin": "Pin or unpin Voicemail files",
              "files.voicemails.read": "Read Voicemail files",
              "files.voicemails.restore": "Restore Voicemail files",
              "files.voicemails.share": "Share Voicemail files externally",
              "files.voicemails.unlink": "Unlink files from Voicemail",
              "files.voicemails.upload": "Upload Voicemail files",
              "files.work_orders.delete": "Delete Work order files",
              "files.work_orders.download": "Download Work order files",
              "files.work_orders.download_full_res": "Download original Work order files",
              "files.work_orders.link": "Link files to Work order",
              "files.work_orders.move_folder": "Move Work order files between folders",
              "files.work_orders.pin": "Pin or unpin Work order files",
              "files.work_orders.read": "Read Work order files",
              "files.work_orders.restore": "Restore Work order files",
              "files.work_orders.share": "Share Work order files externally",
              "files.work_orders.unlink": "Unlink files from Work order",
              "files.work_orders.upload": "Upload Work order files",
              "files:read": "List and download files attached to records (61 permissions)",
              "governance.reason_policy.manage": "Manage organization reason policy",
              "governance.reason_policy.read": "Read organization reason policy",
              "help.read": "Search and read Nova help articles",
              "help:read": "Search and read Nova help articles (1 permissions)",
              "identity.reason_requirements.bypass_org_policy": "Bypass organization-added identity reason requirements",
              "imports.audit.read": "Read portability import dry-run, audit, and mapping results",
              "imports.cancel": "Cancel portability import jobs",
              "imports.create": "Create portability import jobs",
              "imports.cross_tenant_migration": "Run portability imports across tenant boundaries",
              "imports.dry_run": "Run portability dry-run analysis",
              "imports.execute": "Execute portability imports into live tenant data",
              "imports.override_matching": "Override default portability matching behavior",
              "imports.resolve_conflicts": "Resolve portability import conflicts",
              "imports.restore_communications": "Restore archival communications history",
              "imports.restore_financials": "Restore financial and business-visible numbering records",
              "imports.restore_portal": "Restore customer-facing portal access records",
              "imports.restore_users": "Restore user-linked portability records",
              "imports.save_mappings": "Create and manage saved external import column mappings",
              "imports.upload_package": "Upload portability packages for import",
              "imports.validate": "Validate portability packages before execution",
              "intake.analytics.read": "Read Intake analytics",
              "intake.forms.manage": "Manage Intake forms",
              "intake.forms.read": "Read Intake forms",
              "intake.inbox.read": "Read Intake inbox views",
              "intake.publications.manage": "Manage Intake publication settings",
              "intake.publications.read": "Read Intake publication settings",
              "intake.routing.manage": "Manage Intake routing",
              "intake.submissions.assign": "Assign Intake submissions",
              "intake.submissions.convert": "Convert Intake submissions into downstream records",
              "intake.submissions.manage": "Manage Intake submissions",
              "intake.submissions.moderate": "Moderate Intake submissions",
              "intake.submissions.read": "Read Intake submissions",
              "intake.versions.manage": "Manage Intake versions",
              "intake.versions.publish": "Publish Intake versions",
              "intake.versions.read": "Read Intake versions",
              "integrations.accounting.create": "Create integrations accounting handoff",
              "integrations.accounting.delete": "Delete integrations accounting handoff",
              "integrations.accounting.read": "Read integrations accounting handoff",
              "integrations.accounting.update": "Update integrations accounting handoff",
              "integrations.ics.audit.read": "Read ICS export feed audit",
              "integrations.ics.create": "Create integrations ics feeds",
              "integrations.ics.delete": "Delete integrations ics feeds",
              "integrations.ics.read": "Read integrations ics feeds",
              "integrations.ics.secrets.reveal": "Reveal ICS export feed URLs",
              "integrations.ics.targets.manage": "Manage ICS export feed targets",
              "integrations.ics.update": "Update integrations ics feeds",
              "integrations.webhooks.create": "Create integrations webhooks",
              "integrations.webhooks.delete": "Delete integrations webhooks",
              "integrations.webhooks.read": "Read integrations webhooks",
              "integrations.webhooks.update": "Update integrations webhooks",
              "inventory.counts.create": "Create stock counts",
              "inventory.counts.read": "Read stock counts",
              "inventory.counts.update": "Update stock counts",
              "inventory.items.create": "Create products and parts",
              "inventory.items.deactivate": "Deactivate products and parts",
              "inventory.items.reactivate": "Reactivate products and parts",
              "inventory.items.read": "Read products and parts",
              "inventory.items.update": "Update products and parts",
              "inventory.locations.create": "Create storage locations",
              "inventory.locations.deactivate": "Deactivate storage locations",
              "inventory.locations.reactivate": "Reactivate storage locations",
              "inventory.locations.read": "Read storage locations",
              "inventory.locations.update": "Update storage locations",
              "inventory.media.delete": "Delete product photos",
              "inventory.media.manage": "Upload and edit product photos",
              "inventory.media.publish": "Publish product photos",
              "inventory.media.read": "Read product photos",
              "inventory.serialized.create": "Create serial-numbered stock",
              "inventory.serialized.read": "Read serial-numbered stock",
              "inventory.serialized.retire": "Retire serial-numbered stock",
              "inventory.serialized.return_to_service": "Return to service serial-numbered stock",
              "inventory.serialized.update": "Update serial-numbered stock",
              "inventory.transactions.create": "Create stock movements",
              "inventory.transactions.read": "Read stock movements",
              "inventory.transactions.update": "Update stock movements",
              "inventory.transfers.create": "Create stock transfers",
              "inventory.transfers.read": "Read stock transfers",
              "inventory.transfers.update": "Update stock transfers",
              "invoices:read": "Read invoices (5 permissions)",
              "invoices:write": "Create, update and finish invoices (20 permissions)",
              "knowledge_base.attachments.create": "Create Knowledge Base attachments",
              "knowledge_base.attachments.delete": "Delete Knowledge Base attachments",
              "knowledge_base.attachments.read": "Read Knowledge Base attachments",
              "knowledge_base.audit.read": "Read Knowledge Base audit logs",
              "knowledge_base.comments.create": "Create Knowledge Base comments",
              "knowledge_base.comments.delete": "Delete Knowledge Base comments",
              "knowledge_base.comments.read": "Read Knowledge Base comments",
              "knowledge_base.comments.update": "Update or resolve Knowledge Base comments",
              "knowledge_base.pages.archive": "Archive or restore Knowledge Base pages",
              "knowledge_base.pages.create": "Create Knowledge Base pages",
              "knowledge_base.pages.delete": "Delete Knowledge Base pages",
              "knowledge_base.pages.publish": "Publish Knowledge Base pages",
              "knowledge_base.pages.read": "Read Knowledge Base pages",
              "knowledge_base.pages.search": "Search Knowledge Base pages",
              "knowledge_base.pages.update": "Update Knowledge Base pages",
              "knowledge_base.permissions.manage": "Manage Knowledge Base page permissions and ACLs",
              "knowledge_base.tags.create": "Create Knowledge Base tags",
              "knowledge_base.tags.read": "Read Knowledge Base tags",
              "knowledge_base.versions.read": "Read Knowledge Base page versions",
              "knowledge_base.versions.restore": "Restore Knowledge Base page versions",
              "knowledge_base.watchers.read": "Read Knowledge Base watchers",
              "knowledge_base.watchers.update": "Manage Knowledge Base watchers",
              "lifecycle_automation.action_messages.manage": "Choose which customer messages go out when cancelling or completing a work order",
              "lifecycle_automation.ai.review": "Review lifecycle automation AI output",
              "lifecycle_automation.ai.use": "Use lifecycle automation AI assistance",
              "lifecycle_automation.analytics.view": "View lifecycle automation analytics",
              "lifecycle_automation.approvals.review": "Read lifecycle automation approval queues and approval history",
              "lifecycle_automation.content.manage": "Manage lifecycle automation content strategies and template bindings",
              "lifecycle_automation.customer_identity.manage": "Manage customer-facing staff names, photos and category presentation",
              "lifecycle_automation.customer_senders.manage": "Choose customer-message senders and reply destinations",
              "lifecycle_automation.customer_senders.override": "Set sender exceptions for individual customer messages",
              "lifecycle_automation.debug.view": "View lifecycle automation debug history and support timelines",
              "lifecycle_automation.decisioning.approve": "Approve lifecycle automation actions",
              "lifecycle_automation.decisioning.manage": "Manage lifecycle automation AI and decision settings",
              "lifecycle_automation.decisioning.view": "View lifecycle automation decision traces",
              "lifecycle_automation.definitions.delete": "Delete unused custom automation drafts",
              "lifecycle_automation.definitions.manage": "Create and edit lifecycle automation definitions and drafts",
              "lifecycle_automation.definitions.publish": "Publish, activate, pause, and archive lifecycle automations",
              "lifecycle_automation.executions.operate": "Operate lifecycle automation dry-runs and execution controls",
              "lifecycle_automation.manage": "Manage lifecycle automation configuration and journeys",
              "lifecycle_automation.view": "View lifecycle automation",
              "message_templates.activate": "Activate organization message templates",
              "message_templates.create": "Create organization message templates",
              "message_templates.delete": "Delete organization message templates",
              "message_templates.export": "Export organization message templates",
              "message_templates.import": "Import organization message templates",
              "message_templates.read": "Read organization message templates",
              "message_templates.reason_requirements.bypass_org_policy": "Bypass organization-added message-template reason requirements",
              "message_templates.test": "Send organization message template test dispatches",
              "message_templates.update": "Update organization message templates",
              "metadata.custom_field_values.delete": "Delete custom field values",
              "metadata.custom_field_values.read": "Read custom field values",
              "metadata.custom_field_values.update": "Update custom field values",
              "metadata.custom_fields.archive": "Archive custom fields",
              "metadata.custom_fields.create": "Create custom fields",
              "metadata.custom_fields.read": "Read custom fields",
              "metadata.custom_fields.restore": "Restore custom fields",
              "metadata.custom_fields.update": "Update custom fields",
              "metadata.entity_values.archive": "Archive entity values",
              "metadata.entity_values.create": "Create entity values",
              "metadata.entity_values.delete": "Delete entity values",
              "metadata.entity_values.read": "Read entity values",
              "metadata.entity_values.update": "Update entity values",
              "metadata.lifecycle_statuses.archive": "Archive lifecycle statuses",
              "metadata.lifecycle_statuses.create": "Create lifecycle statuses",
              "metadata.lifecycle_statuses.delete": "Delete lifecycle statuses",
              "metadata.lifecycle_statuses.read": "Read lifecycle statuses",
              "metadata.lifecycle_statuses.update": "Update lifecycle statuses",
              "metadata.location_types.archive": "Archive location types",
              "metadata.location_types.create": "Create location types",
              "metadata.location_types.delete": "Delete location types",
              "metadata.location_types.read": "Read location types",
              "metadata.location_types.update": "Update location types",
              "metadata.managed_statuses.archive": "Archive managed workflow statuses",
              "metadata.managed_statuses.create": "Create managed workflow statuses",
              "metadata.managed_statuses.read": "Read managed workflow statuses",
              "metadata.managed_statuses.update": "Update managed workflow statuses",
              "metadata.tags.archive": "Archive tags",
              "metadata.tags.assign": "Assign tags to entities",
              "metadata.tags.create": "Create tags",
              "metadata.tags.delete": "Delete tags",
              "metadata.tags.manage": "Manage all tag settings",
              "metadata.tags.read": "Read tags",
              "metadata.tags.subscribe": "Subscribe to tag notifications",
              "metadata.tags.update": "Update tags",
              "metadata.task_statuses.archive": "Archive task statuses",
              "metadata.task_statuses.create": "Create task statuses",
              "metadata.task_statuses.delete": "Delete task statuses",
              "metadata.task_statuses.read": "Read task statuses",
              "metadata.task_statuses.update": "Update task statuses",
              "metadata.work_order_statuses.archive": "Archive work order statuses",
              "metadata.work_order_statuses.create": "Create work order statuses",
              "metadata.work_order_statuses.delete": "Delete work order statuses",
              "metadata.work_order_statuses.read": "Read work order statuses",
              "metadata.work_order_statuses.update": "Update work order statuses",
              "notes.accounts.archive": "Archive Account notes",
              "notes.accounts.attach_file": "Attach file Account notes",
              "notes.accounts.create": "Create Account notes",
              "notes.accounts.delete": "Delete Account notes",
              "notes.accounts.lock_override": "Override lock Account notes",
              "notes.accounts.move_folder": "Move folder Account notes",
              "notes.accounts.pin": "Pin Account notes",
              "notes.accounts.purge": "Purge deleted Account notes",
              "notes.accounts.read": "Read Account notes",
              "notes.accounts.reorder": "Reorder Account notes",
              "notes.accounts.restore": "Restore Account notes",
              "notes.accounts.tag": "Tag Account notes",
              "notes.accounts.unarchive": "Unarchive Account notes",
              "notes.accounts.update": "Update Account notes",
              "notes.archive": "Archive notes (all entities)",
              "notes.attach_file": "Attach files to notes (all entities)",
              "notes.contacts.archive": "Archive Contact notes",
              "notes.contacts.attach_file": "Attach file Contact notes",
              "notes.contacts.create": "Create Contact notes",
              "notes.contacts.delete": "Delete Contact notes",
              "notes.contacts.lock_override": "Override lock Contact notes",
              "notes.contacts.move_folder": "Move folder Contact notes",
              "notes.contacts.pin": "Pin Contact notes",
              "notes.contacts.purge": "Purge deleted Contact notes",
              "notes.contacts.read": "Read Contact notes",
              "notes.contacts.reorder": "Reorder Contact notes",
              "notes.contacts.restore": "Restore Contact notes",
              "notes.contacts.tag": "Tag Contact notes",
              "notes.contacts.unarchive": "Unarchive Contact notes",
              "notes.contacts.update": "Update Contact notes",
              "notes.create": "Create notes (all entities)",
              "notes.delete": "Delete notes (all entities)",
              "notes.folders.create": "Create note folders",
              "notes.folders.delete": "Delete note folders",
              "notes.folders.policy.read": "Read note folder object policies",
              "notes.folders.policy.update": "Manage note folder object policies",
              "notes.folders.read": "Read note folders",
              "notes.folders.reorder": "Reorder note folders",
              "notes.folders.update": "Update note folders",
              "notes.locations.archive": "Archive Location notes",
              "notes.locations.attach_file": "Attach file Location notes",
              "notes.locations.create": "Create Location notes",
              "notes.locations.delete": "Delete Location notes",
              "notes.locations.lock_override": "Override lock Location notes",
              "notes.locations.move_folder": "Move folder Location notes",
              "notes.locations.pin": "Pin Location notes",
              "notes.locations.purge": "Purge deleted Location notes",
              "notes.locations.read": "Read Location notes",
              "notes.locations.reorder": "Reorder Location notes",
              "notes.locations.restore": "Restore Location notes",
              "notes.locations.tag": "Tag Location notes",
              "notes.locations.unarchive": "Unarchive Location notes",
              "notes.locations.update": "Update Location notes",
              "notes.lock_override": "Override note locks (all entities)",
              "notes.move_folder": "Move notes between folders (all entities)",
              "notes.pin": "Pin notes (all entities)",
              "notes.policy.read": "Read note object policies",
              "notes.policy.update": "Manage note object policies",
              "notes.portfolios.archive": "Archive Portfolio notes",
              "notes.portfolios.attach_file": "Attach file Portfolio notes",
              "notes.portfolios.create": "Create Portfolio notes",
              "notes.portfolios.delete": "Delete Portfolio notes",
              "notes.portfolios.lock_override": "Override lock Portfolio notes",
              "notes.portfolios.move_folder": "Move folder Portfolio notes",
              "notes.portfolios.pin": "Pin Portfolio notes",
              "notes.portfolios.purge": "Purge deleted Portfolio notes",
              "notes.portfolios.read": "Read Portfolio notes",
              "notes.portfolios.reorder": "Reorder Portfolio notes",
              "notes.portfolios.restore": "Restore Portfolio notes",
              "notes.portfolios.tag": "Tag Portfolio notes",
              "notes.portfolios.unarchive": "Unarchive Portfolio notes",
              "notes.portfolios.update": "Update Portfolio notes",
              "notes.projects.archive": "Archive Project notes",
              "notes.projects.attach_file": "Attach file Project notes",
              "notes.projects.create": "Create Project notes",
              "notes.projects.delete": "Delete Project notes",
              "notes.projects.lock_override": "Override lock Project notes",
              "notes.projects.move_folder": "Move folder Project notes",
              "notes.projects.pin": "Pin Project notes",
              "notes.projects.purge": "Purge deleted Project notes",
              "notes.projects.read": "Read Project notes",
              "notes.projects.reorder": "Reorder Project notes",
              "notes.projects.restore": "Restore Project notes",
              "notes.projects.tag": "Tag Project notes",
              "notes.projects.unarchive": "Unarchive Project notes",
              "notes.projects.update": "Update Project notes",
              "notes.purge": "Purge deleted notes (all entities)",
              "notes.read": "Read notes (all entities)",
              "notes.reason_requirements.bypass_org_policy": "Bypass organization-added note reason requirements",
              "notes.reorder": "Reorder notes (all entities)",
              "notes.restore": "Restore notes (all entities)",
              "notes.service_assets.archive": "Archive Service asset notes",
              "notes.service_assets.attach_file": "Attach file Service asset notes",
              "notes.service_assets.create": "Create Service asset notes",
              "notes.service_assets.delete": "Delete Service asset notes",
              "notes.service_assets.lock_override": "Override lock Service asset notes",
              "notes.service_assets.move_folder": "Move folder Service asset notes",
              "notes.service_assets.pin": "Pin Service asset notes",
              "notes.service_assets.purge": "Purge deleted Service asset notes",
              "notes.service_assets.read": "Read Service asset notes",
              "notes.service_assets.reorder": "Reorder Service asset notes",
              "notes.service_assets.restore": "Restore Service asset notes",
              "notes.service_assets.tag": "Tag Service asset notes",
              "notes.service_assets.unarchive": "Unarchive Service asset notes",
              "notes.service_assets.update": "Update Service asset notes",
              "notes.tag": "Manage note tags (all entities)",
              "notes.tasks.archive": "Archive Task notes",
              "notes.tasks.attach_file": "Attach file Task notes",
              "notes.tasks.create": "Create Task notes",
              "notes.tasks.delete": "Delete Task notes",
              "notes.tasks.lock_override": "Override lock Task notes",
              "notes.tasks.move_folder": "Move folder Task notes",
              "notes.tasks.pin": "Pin Task notes",
              "notes.tasks.purge": "Purge deleted Task notes",
              "notes.tasks.read": "Read Task notes",
              "notes.tasks.reorder": "Reorder Task notes",
              "notes.tasks.restore": "Restore Task notes",
              "notes.tasks.tag": "Tag Task notes",
              "notes.tasks.unarchive": "Unarchive Task notes",
              "notes.tasks.update": "Update Task notes",
              "notes.unarchive": "Unarchive notes (all entities)",
              "notes.update": "Update notes (all entities)",
              "notes.work_orders.archive": "Archive Work order notes",
              "notes.work_orders.attach_file": "Attach file Work order notes",
              "notes.work_orders.create": "Create Work order notes",
              "notes.work_orders.delete": "Delete Work order notes",
              "notes.work_orders.lock_override": "Override lock Work order notes",
              "notes.work_orders.move_folder": "Move folder Work order notes",
              "notes.work_orders.pin": "Pin Work order notes",
              "notes.work_orders.purge": "Purge deleted Work order notes",
              "notes.work_orders.read": "Read Work order notes",
              "notes.work_orders.reorder": "Reorder Work order notes",
              "notes.work_orders.restore": "Restore Work order notes",
              "notes.work_orders.tag": "Tag Work order notes",
              "notes.work_orders.unarchive": "Unarchive Work order notes",
              "notes.work_orders.update": "Update Work order notes",
              "notes:read": "Read notes on records (12 permissions)",
              "notes:write": "Add and edit notes on records (107 permissions)",
              "org.agent_approvals.decide": "Approve or decline actions agents are waiting on",
              "org.agent_approvals.read": "View actions agents are waiting on a person to approve",
              "org.agents.manage": "Create, pause, re-credential and remove AI agent teammates",
              "org.agents.read": "View the organization's AI agent teammates",
              "org.ai.accept_terms": "Accept organization AI policy terms",
              "org.ai.data.manage": "Manage organization AI generated data handling",
              "org.ai.disable": "Disable organization AI",
              "org.ai.enable": "Enable organization AI after policy acceptance",
              "org.ai.policy.read": "Read organization AI governance policy",
              "org.ai.policy.write": "Update organization AI governance policy",
              "org.api_clients.manage": "Create and revoke organization API keys",
              "org.api_clients.read": "View the organization's API keys",
              "org.api_clients.rotate": "Issue a replacement secret for an organization API key",
              "org.api_clients.update": "Change what an organization API key can do",
              "org.connected_apps.manage": "Disconnect any app connected to this organization",
              "org.connected_apps.read": "View apps people have connected to this organization",
              "org.contact_points.create": "Create organization contact points",
              "org.contact_points.delete": "Delete organization contact points",
              "org.contact_points.read": "Read organization contact points",
              "org.contact_points.update": "Update organization contact points",
              "org.demo_data.manage": "Manage organization demo and seed data",
              "org.notifications.acknowledge": "Acknowledge organization notifications",
              "org.notifications.archive": "Archive and restore organization notifications",
              "org.notifications.configure": "Configure organization notifications",
              "org.notifications.mark_read": "Mark organization notifications as read",
              "org.notifications.read": "Read organization notifications",
              "org.portal.activity.view": "View portal activity",
              "org.portal.links.create": "Create portal links",
              "org.portal.links.manual": "Create manual portal links without a contact",
              "org.portal.links.revoke": "Revoke portal links",
              "org.portal.links.view": "View portal links",
              "org.portal.users.create": "Create portal users",
              "org.portal.users.disable": "Disable portal users",
              "org.portal.users.invite": "Invite portal users",
              "org.portal.users.link_contact": "Link portal users to contacts",
              "org.portal.users.manage": "Manage portal users",
              "org.portal.users.reset_password": "Reset portal user passwords",
              "org.portal.users.sessions.revoke": "Revoke portal user sessions",
              "org.portal.users.sessions.view": "View portal user sessions",
              "org.portal.users.update": "Edit portal users",
              "org.portal.users.view": "View portal users",
              "org.settings.address_search.read": "Read organization address search settings",
              "org.settings.address_search.write": "Update organization address search settings",
              "org.settings.advanced.read": "Read organization advanced settings",
              "org.settings.advanced.write": "Update organization advanced settings",
              "org.settings.branding.presets.read": "Read organization branding presets",
              "org.settings.branding.presets.write": "Manage organization branding presets",
              "org.settings.branding.read": "Read organization branding settings",
              "org.settings.branding.write": "Update organization branding settings",
              "org.settings.content_organization.read": "Read content organization settings",
              "org.settings.content_organization.write": "Update content organization settings",
              "org.settings.email_branding.read": "Read organization email branding settings",
              "org.settings.email_branding.write": "Update organization email branding settings",
              "org.settings.experience.read": "Read organization experience mode settings",
              "org.settings.experience.write": "Update organization experience mode settings",
              "org.settings.general.read": "Read organization general settings",
              "org.settings.general.write": "Update organization general settings",
              "org.settings.legal.publish": "Publish organization legal and public policy pages",
              "org.settings.legal.read": "Read organization legal and public policy pages",
              "org.settings.legal.write": "Edit organization legal and public policy page drafts",
              "org.settings.limits.read": "Read organization limits settings",
              "org.settings.limits.write": "Update organization limits settings",
              "org.settings.navigation.external_links.write": "Manage external links in sidebar navigation",
              "org.settings.navigation.policy.read": "Read sidebar navigation visibility policies",
              "org.settings.navigation.policy.write": "Update sidebar navigation visibility policies",
              "org.settings.navigation.read": "Read organization sidebar navigation settings",
              "org.settings.navigation.write": "Update organization sidebar navigation settings",
              "org.settings.online_presence.manage": "Manage where the business exists online (Google, Facebook, Yelp and other places, review links, email footer links)",
              "org.settings.public_booking.analytics.read": "Read public booking analytics",
              "org.settings.public_booking.availability.read": "Read public booking availability settings",
              "org.settings.public_booking.availability.write": "Manage public booking availability settings",
              "org.settings.public_booking.diagnostics.read": "Read public booking diagnostics",
              "org.settings.public_booking.embeds.read": "Read public booking embed settings",
              "org.settings.public_booking.embeds.write": "Manage public booking embed settings",
              "org.settings.public_booking.flow.read": "Read public booking flow settings",
              "org.settings.public_booking.flow.write": "Manage public booking flow settings",
              "org.settings.public_booking.identity_policy.read": "Read public booking identity policy",
              "org.settings.public_booking.identity_policy.write": "Manage public booking identity policy",
              "org.settings.public_booking.identity_reviews.manage": "Manage public booking identity reviews",
              "org.settings.public_booking.notifications.read": "Read public booking notification settings",
              "org.settings.public_booking.notifications.write": "Manage public booking notification settings",
              "org.settings.public_booking.payments.read": "Read public booking payment settings",
              "org.settings.public_booking.payments.write": "Manage public booking payment settings",
              "org.settings.public_booking.pending_approvals.manage": "Manage public booking pending approvals",
              "org.settings.public_booking.pending_approvals.read": "Read public booking pending approvals",
              "org.settings.public_booking.read": "Read organization public booking settings",
              "org.settings.public_booking.service_area.read": "Read public booking service-area settings",
              "org.settings.public_booking.service_area.write": "Manage public booking service-area settings",
              "org.settings.public_booking.surfaces.read": "Read public booking surfaces",
              "org.settings.public_booking.surfaces.write": "Manage public booking surfaces",
              "org.settings.public_booking.waitlist.manage": "Manage public booking waitlist",
              "org.settings.public_booking.waitlist.read": "Read public booking waitlist",
              "org.settings.public_booking.write": "Update organization public booking settings",
              "org.settings.public_platform.read": "Read organization public platform settings",
              "org.settings.public_platform.scripts.read": "Read organization public platform protected vendor snippet settings",
              "org.settings.public_platform.scripts.write": "Manage organization public platform protected vendor snippet settings",
              "org.settings.public_platform.write": "Update organization public platform settings",
              "org.settings.radius.read": "Read organization radius settings",
              "org.settings.radius.write": "Update organization radius settings",
              "org.settings.read": "Read organization settings",
              "org.settings.record_numbering.read": "Read organization record ID settings",
              "org.settings.record_numbering.write": "Update organization record ID settings",
              "org.settings.work_order_updates.read": "Read organization work order customer update settings",
              "org.settings.work_order_updates.write": "Update organization work order customer update settings",
              "org.settings.write": "Update organization settings",
              "organization:read": "Read your organization and its branches (35 permissions)",
              "payments:read": "Read recorded payments (2 permissions)",
              "payments:write": "Record payments the customer already made (10 permissions)",
              "phones.verify.confirm": "Confirm phone verification",
              "phones.verify.override": "Override phone verification status",
              "phones.verify.send": "Send verification codes to phone numbers",
              "portability.admin": "Approve and administer high-risk portability operations",
              "portal.agreements.download": "Download portal agreement artifacts",
              "portal.agreements.read": "Read portal agreements",
              "portal.deposit_requests.download": "Download portal deposit requests",
              "portal.deposit_requests.pay": "Pay portal deposit requests",
              "portal.deposit_requests.read": "Read portal deposit requests",
              "portal.files.download": "Download portal files",
              "portal.files.read": "Read portal files",
              "portal.invoices.download": "Download portal invoices",
              "portal.invoices.pay": "Pay portal invoices",
              "portal.invoices.read": "Read portal invoices",
              "portal.notes.read": "Read portal notes",
              "portal.quotes.download": "Download portal quotes",
              "portal.quotes.read": "Read portal quotes",
              "portal.quotes.respond": "Respond to portal quotes",
              "portal.statements.download": "Download portal customer statements",
              "portal.statements.read": "Read portal customer statements",
              "portal.tickets.attachments.download": "Download portal ticket attachments",
              "portal.tickets.attachments.upload": "Upload portal ticket attachments",
              "portal.tickets.create": "Create portal tickets",
              "portal.tickets.csat.respond": "Respond to portal ticket satisfaction surveys",
              "portal.tickets.read": "Read portal tickets",
              "portal.tickets.reply": "Reply to portal tickets",
              "portal.work_order_photos.download": "Download portal work order photos",
              "portal.work_order_photos.read": "Read portal work order photos",
              "pos.cash.adjust": "Adjust POS cash",
              "pos.cash.count": "Count POS cash",
              "pos.cash.drop": "Drop POS cash",
              "pos.cash.paid_in": "Record POS cash paid-in movements",
              "pos.cash.paid_out": "Record POS cash paid-out movements",
              "pos.cash.read": "Read POS cash events",
              "pos.catalog.lookup": "Look up POS catalog items",
              "pos.catalog.manage": "Manage POS catalog merchandising and scan aliases",
              "pos.catalog.manual_item_entry": "Manually enter POS catalog items",
              "pos.discounts.apply": "Apply POS discounts",
              "pos.discounts.override_threshold": "Override POS discount thresholds",
              "pos.exchanges.complete": "Complete POS exchanges",
              "pos.exchanges.create": "Create POS exchanges",
              "pos.exchanges.read": "Read POS exchanges",
              "pos.inventory.lookup": "Look up POS inventory posture",
              "pos.inventory.override_out_of_stock": "Override POS out-of-stock controls",
              "pos.manager_approvals.grant": "Grant POS manager approvals",
              "pos.manager_approvals.policy.manage": "Manage POS manager approval policy",
              "pos.manager_approvals.policy.read": "Read POS manager approval policy",
              "pos.manager_approvals.read": "Read POS manager approvals",
              "pos.manager_approvals.reject": "Reject POS manager approvals",
              "pos.manager_approvals.request": "Request POS manager approvals",
              "pos.price.override": "Override POS prices",
              "pos.reason_codes.manage": "Manage POS reason codes",
              "pos.reason_codes.read": "Read POS reason codes",
              "pos.receipts.reprint": "Reprint POS receipts",
              "pos.receipts.resend": "Resend POS receipts",
              "pos.receipts.view": "View POS receipts",
              "pos.registers.blind_close": "Blind close POS registers",
              "pos.registers.close": "Close POS registers",
              "pos.registers.configure": "Configure POS registers",
              "pos.registers.no_sale": "Open the cash drawer without a sale",
              "pos.registers.open": "Open POS registers",
              "pos.registers.read": "Read POS registers and register sessions",
              "pos.returns.create": "Create POS returns",
              "pos.returns.issue_store_credit": "Issue store credit for POS returns",
              "pos.returns.no_receipt": "Create POS no-receipt returns",
              "pos.returns.read": "Read POS returns",
              "pos.returns.refund_original_tender": "Refund POS returns to the original tender",
              "pos.sales.attach_customer": "Attach customers to POS sales",
              "pos.sales.complete": "Complete POS sales",
              "pos.sales.create": "Create and maintain POS sale drafts",
              "pos.sales.detach_customer": "Detach customers from POS sales",
              "pos.sales.read": "Read POS sales",
              "pos.sales.reprice": "Reprice POS sales",
              "pos.sales.resume": "Resume POS sales",
              "pos.sales.suspend": "Suspend POS sales",
              "pos.sales.void": "Void POS sales",
              "pos.tenders.collect": "Collect POS tenders",
              "pos.tenders.read": "Read POS tenders",
              "pos.tenders.refund": "Refund POS tenders",
              "pos.tenders.split": "Split POS tenders across allocations",
              "pos.terminals.configure": "Configure POS terminals and devices",
              "pos.terminals.pair": "Pair POS terminals to registers and tills",
              "pos.terminals.read": "Read POS terminals and devices",
              "pos.terminals.register": "Register POS terminals and devices",
              "pos.terminals.unpair": "Unpair POS terminals from registers and tills",
              "pos.terminals.use": "Use POS terminals in checkout and tender flows",
              "privacy.legal_holds.apply": "Apply CRM privacy legal holds",
              "privacy.legal_holds.read": "View CRM privacy legal holds",
              "privacy.legal_holds.release": "Release CRM privacy legal holds",
              "privacy.requests.approve": "Approve verified CRM privacy requests",
              "privacy.requests.create": "Create CRM privacy requests",
              "privacy.requests.execute": "Execute approved CRM anonymization requests",
              "privacy.requests.read": "View CRM privacy requests",
              "privacy.requests.reject": "Reject CRM privacy requests",
              "privacy.requests.verify": "Record data-subject identity verification",
              "profile.branding.read": "Read personal organization branding",
              "profile.branding.write": "Manage personal organization branding",
              "profile.experience.read": "Read personal organization experience mode preferences",
              "profile.experience.write": "Manage personal organization experience mode preferences",
              "projects:read": "Read projects (2 permissions)",
              "projects:write": "Create and update projects (11 permissions)",
              "purchasing.reason_requirements.bypass_org_policy": "Bypass organization-added purchasing reason requirements",
              "quotes:read": "Read quotes (2 permissions)",
              "quotes:write": "Create, update and finish quotes (16 permissions)",
              "rbac.effective.read": "Read effective permissions",
              "rbac.manage": "Manage RBAC administration",
              "rbac.overrides.read": "Read user overrides",
              "rbac.overrides.write": "Manage user overrides",
              "rbac.permissions.create": "Create permission keys",
              "rbac.permissions.read": "Read permission catalog",
              "rbac.roles.create": "Create roles",
              "rbac.roles.delete": "Delete roles",
              "rbac.roles.read": "Read roles",
              "rbac.roles.update": "Update roles",
              "rbac.roles.write": "Manage roles",
              "rbac.users.roles.write": "Assign user roles",
              "releases.read": "Read release notes",
              "schedule.activities.cancel": "Cancel activity bookings",
              "schedule.activities.create": "Create activity bookings",
              "schedule.activities.discard_draft": "Discard draft activity bookings",
              "schedule.activities.read": "Read activity bookings",
              "schedule.activities.update": "Update activity bookings",
              "schedule.analytics.read": "Read schedule analytics",
              "schedule.appointments.cancel": "Cancel appointments",
              "schedule.appointments.create": "Create appointments",
              "schedule.appointments.discard_draft": "Discard draft appointments",
              "schedule.appointments.read": "Read appointments",
              "schedule.appointments.update": "Update appointments",
              "schedule.assign": "Assign scheduled work",
              "schedule.availability.analytics.read": "Read time-off and availability analytics",
              "schedule.availability.automation.run": "Run availability automation, accruals, and escalation jobs",
              "schedule.availability.calendar.read": "Read the time-off and availability calendar",
              "schedule.availability.closures.manage": "Manage availability closures and holiday shutdowns",
              "schedule.availability.closures.read": "Read availability closures and holiday shutdowns",
              "schedule.availability.create": "Create schedule availability",
              "schedule.availability.delete": "Delete schedule availability",
              "schedule.availability.diagnostics.read": "Read availability diagnostics and delivery health",
              "schedule.availability.exceptions.manage": "Manage manual availability exceptions",
              "schedule.availability.override": "Override scheduling availability",
              "schedule.availability.override_lock.manage": "Manage per-item availability override lock settings",
              "schedule.availability.override_lock.read": "Read per-item availability override lock settings",
              "schedule.availability.policy.manage": "Manage time-off policy, balances, and approval governance",
              "schedule.availability.policy.read": "Read time-off policy, balances, and approval governance",
              "schedule.availability.read": "Read schedule availability",
              "schedule.availability.recurring.manage": "Manage recurring availability exceptions",
              "schedule.availability.recurring.read": "Read recurring availability exceptions",
              "schedule.availability.requests.read": "Read time-off and availability requests",
              "schedule.availability.requests.review": "Review and act on time-off and availability requests",
              "schedule.availability.requests.submit": "Submit and edit time-off and availability requests",
              "schedule.availability.sync.manage": "Manage calendar sync connections for availability",
              "schedule.availability.sync.read": "Read calendar sync connections for availability",
              "schedule.availability.update": "Update schedule availability",
              "schedule.availability_requests.approve": "Approve and deny schedule availability requests",
              "schedule.availability_requests.create": "Create schedule availability requests",
              "schedule.availability_requests.delete": "Delete schedule availability requests",
              "schedule.availability_requests.read": "Read schedule availability requests",
              "schedule.availability_requests.self": "Manage your own schedule availability requests",
              "schedule.availability_requests.update": "Update schedule availability requests",
              "schedule.bookable_units.create": "Create bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.read": "Read bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.retire": "Retire bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.return_to_service": "Return to service bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.take_out_of_service": "Take out of service bookable units (rentals, rooms, equipment)",
              "schedule.bookable_units.update": "Update bookable units (rentals, rooms, equipment)",
              "schedule.bookings.cancel": "Cancel schedule bookings",
              "schedule.bookings.create": "Create schedule bookings",
              "schedule.bookings.discard_draft": "Discard draft schedule bookings",
              "schedule.bookings.read": "Read schedule bookings",
              "schedule.bookings.update": "Update schedule bookings",
              "schedule.calendar_overlays.audit.read": "Read inbound calendar overlay audit and diagnostics",
              "schedule.calendar_overlays.create": "Create inbound calendar overlay feeds",
              "schedule.calendar_overlays.delete": "Delete inbound calendar overlay feeds",
              "schedule.calendar_overlays.events.read": "Read inbound calendar overlay events",
              "schedule.calendar_overlays.org_wide.manage": "Manage organization-wide inbound calendar overlays",
              "schedule.calendar_overlays.personal.create": "Create personal inbound calendar overlays",
              "schedule.calendar_overlays.personal.delete": "Delete personal inbound calendar overlays",
              "schedule.calendar_overlays.personal.events.read": "Read personal inbound calendar overlay events",
              "schedule.calendar_overlays.personal.read": "Read personal inbound calendar overlay feeds",
              "schedule.calendar_overlays.personal.secrets.manage": "Manage personal inbound calendar overlay secrets",
              "schedule.calendar_overlays.personal.secrets.reveal": "Reveal personal inbound calendar overlay feed source URLs",
              "schedule.calendar_overlays.personal.sync.run": "Run personal inbound calendar overlay synchronization",
              "schedule.calendar_overlays.personal.update": "Update personal inbound calendar overlays",
              "schedule.calendar_overlays.read": "Read inbound calendar overlay feeds",
              "schedule.calendar_overlays.secrets.manage": "Manage inbound calendar overlay feed secrets",
              "schedule.calendar_overlays.secrets.reveal": "Reveal inbound calendar overlay feed source URLs",
              "schedule.calendar_overlays.sync.run": "Run inbound calendar overlay synchronization",
              "schedule.calendar_overlays.targets.manage": "Manage inbound calendar overlay targets",
              "schedule.calendar_overlays.update": "Update inbound calendar overlay feeds",
              "schedule.calendar_overlays.visibility.manage": "Manage inbound calendar overlay visibility",
              "schedule.capacity_pools.create": "Create schedule capacity pools",
              "schedule.capacity_pools.deactivate": "Deactivate schedule capacity pools",
              "schedule.capacity_pools.reactivate": "Reactivate schedule capacity pools",
              "schedule.capacity_pools.read": "Read schedule capacity pools",
              "schedule.capacity_pools.update": "Update schedule capacity pools",
              "schedule.catalog_categories.create": "Create schedule catalog categories",
              "schedule.catalog_categories.deactivate": "Deactivate schedule catalog categories",
              "schedule.catalog_categories.reactivate": "Reactivate schedule catalog categories",
              "schedule.catalog_categories.read": "Read schedule catalog categories",
              "schedule.catalog_categories.update": "Update schedule catalog categories",
              "schedule.crews.archive": "Archive schedule crews",
              "schedule.crews.create": "Create schedule crews",
              "schedule.crews.read": "Read schedule crews",
              "schedule.crews.restore": "Restore schedule crews",
              "schedule.crews.update": "Update schedule crews",
              "schedule.edit": "Create and edit schedule entries",
              "schedule.holidays.manage": "Manage holiday calendars for scheduling",
              "schedule.lodging.cancel": "Cancel lodging reservations",
              "schedule.lodging.create": "Create lodging reservations",
              "schedule.lodging.discard_draft": "Discard draft lodging reservations",
              "schedule.lodging.read": "Read lodging reservations",
              "schedule.lodging.update": "Update lodging reservations",
              "schedule.offerings.archive": "Archive schedule offerings",
              "schedule.offerings.create": "Create schedule offerings",
              "schedule.offerings.media.delete": "Delete schedule offering media",
              "schedule.offerings.media.manage": "Upload and edit schedule offering media",
              "schedule.offerings.media.publish": "Publish schedule offering media",
              "schedule.offerings.media.read": "Read schedule offering media",
              "schedule.offerings.read": "Read schedule offerings",
              "schedule.offerings.restore": "Restore schedule offerings",
              "schedule.offerings.update": "Update schedule offerings",
              "schedule.override": "Override schedule settings",
              "schedule.rentals.cancel": "Cancel rentals",
              "schedule.rentals.create": "Create rentals",
              "schedule.rentals.discard_draft": "Discard draft rentals",
              "schedule.rentals.read": "Read rentals",
              "schedule.rentals.update": "Update rentals",
              "schedule.resources.archive": "Archive schedule resources",
              "schedule.resources.create": "Create schedule resources",
              "schedule.resources.read": "Read schedule resources",
              "schedule.resources.restore": "Restore schedule resources",
              "schedule.resources.update": "Update schedule resources",
              "schedule.settings.read": "Read schedule settings",
              "schedule.settings.write": "Update schedule settings",
              "schedule.skills.create": "Create schedule skills",
              "schedule.skills.deactivate": "Deactivate schedule skills",
              "schedule.skills.reactivate": "Reactivate schedule skills",
              "schedule.skills.read": "Read schedule skills",
              "schedule.skills.update": "Update schedule skills",
              "schedule.territories.create": "Create schedule territories",
              "schedule.territories.deactivate": "Deactivate schedule territories",
              "schedule.territories.reactivate": "Reactivate schedule territories",
              "schedule.territories.read": "Read schedule territories",
              "schedule.territories.update": "Update schedule territories",
              "schedule.view": "View schedule and dispatch",
              "scheduling.reason_requirements.bypass_org_policy": "Bypass organization-added scheduling reason requirements",
              "social.accounts.manage": "Connect, reconnect, and disconnect social accounts",
              "social.accounts.read": "Read connected social accounts and provider availability",
              "social.admin.read": "Read social admin diagnostics and provider setup",
              "social.audit.read": "Read social account audit activity",
              "social.media.delete": "Delete social publishing media assets",
              "social.media.read": "Read social publishing media assets",
              "social.media.upload": "Upload social publishing media assets",
              "social.media.video.publish": "Publish video to external social networks",
              "social.media.video.upload": "Upload video for social publishing",
              "social.messaging.settings.manage": "Manage social inbox and messaging defaults",
              "social.messaging.settings.read": "Read social inbox and messaging defaults",
              "social.operations.reconcile": "Reconcile an unconfirmed external social provider result",
              "social.posts.approve": "Approve or reject social calendar posts",
              "social.posts.cancel": "Cancel pending or scheduled social posts while retaining history",
              "social.posts.create": "Create social calendar posts",
              "social.posts.discard_draft": "Discard unpublished draft social posts while retaining an audit tombstone",
              "social.posts.publish": "Publish social calendar posts to external networks",
              "social.posts.read": "Read social calendar posts",
              "social.posts.schedule": "Schedule or unschedule social calendar posts",
              "social.posts.update": "Edit social calendar posts",
              "social.reason_requirements.bypass_org_policy": "Bypass organization-added social post reason requirements",
              "tasks:read": "Read tasks and comments (3 permissions)",
              "tasks:write": "Create and update tasks and comments (20 permissions)",
              "templates.activate": "Activate organization templates",
              "templates.apply": "Apply organization templates",
              "templates.create": "Create organization templates",
              "templates.delete": "Delete organization templates",
              "templates.read": "Read organization templates",
              "templates.update": "Update organization templates",
              "tickets:read": "Read customer tickets (14 permissions)",
              "tickets:write": "Create and update customer tickets (38 permissions)",
              "ui.bookmarks.update": "Update organization bookmarks",
              "ui.views.defaults.manage": "Create and update shared default views",
              "ui.views.read": "Read saved views",
              "ui.views.share": "Share saved views",
              "ui.views.update": "Create and update saved views",
              "users.create": "Create organization users",
              "users.customer_photo.self.read": "View your own customer-facing photo",
              "users.customer_photo.self.update": "Change your own customer-facing photo",
              "users.customer_profile.update": "Edit team members' customer-facing names and photos",
              "users.manage": "Manage organization users",
              "users.memberships.revoke": "Revoke organization membership",
              "users.password.reset": "Reset user passwords",
              "users.read": "Read organization users",
              "users.update": "Update organization users",
              "users.write": "Create or update organization users",
              "vault.accounts.create": "Create Account vault items",
              "vault.accounts.delete": "Delete Account vault items",
              "vault.accounts.move_folder": "Move Account vault items between folders",
              "vault.accounts.pin": "Pin or unpin Account vault items",
              "vault.accounts.read_metadata": "Read Account vault item metadata",
              "vault.accounts.reveal": "Reveal Account vault item secrets",
              "vault.accounts.rotate": "Rotate Account vault item secrets",
              "vault.accounts.tag": "Manage tags on Account vault items",
              "vault.accounts.update": "Update Account vault items",
              "vault.contacts.create": "Create Contact vault items",
              "vault.contacts.delete": "Delete Contact vault items",
              "vault.contacts.move_folder": "Move Contact vault items between folders",
              "vault.contacts.pin": "Pin or unpin Contact vault items",
              "vault.contacts.read_metadata": "Read Contact vault item metadata",
              "vault.contacts.reveal": "Reveal Contact vault item secrets",
              "vault.contacts.rotate": "Rotate Contact vault item secrets",
              "vault.contacts.tag": "Manage tags on Contact vault items",
              "vault.contacts.update": "Update Contact vault items",
              "vault.folders.create": "Create vault folders",
              "vault.folders.delete": "Delete vault folders",
              "vault.folders.policy.read": "Read vault folder object policies",
              "vault.folders.policy.update": "Manage vault folder object policies",
              "vault.folders.read": "Read vault folders",
              "vault.folders.reorder": "Reorder vault folders",
              "vault.folders.update": "Update vault folders",
              "vault.item.create": "Create vault items (all owners)",
              "vault.item.delete": "Delete vault items (all owners)",
              "vault.item.move_folder": "Move vault items between folders (all owners)",
              "vault.item.pin": "Pin vault items (all owners)",
              "vault.item.policy.read": "Read vault item object policies",
              "vault.item.policy.update": "Manage vault item object policies",
              "vault.item.read_metadata": "Read vault item metadata (all owners)",
              "vault.item.reveal": "Reveal vault item secrets (all owners)",
              "vault.item.rotate": "Rotate vault item secrets (all owners)",
              "vault.item.tag": "Manage vault item tags (all owners)",
              "vault.item.update": "Update vault items (all owners)",
              "vault.locations.create": "Create Location vault items",
              "vault.locations.delete": "Delete Location vault items",
              "vault.locations.move_folder": "Move Location vault items between folders",
              "vault.locations.pin": "Pin or unpin Location vault items",
              "vault.locations.read_metadata": "Read Location vault item metadata",
              "vault.locations.reveal": "Reveal Location vault item secrets",
              "vault.locations.rotate": "Rotate Location vault item secrets",
              "vault.locations.tag": "Manage tags on Location vault items",
              "vault.locations.update": "Update Location vault items",
              "vault.projects.create": "Create Project vault items",
              "vault.projects.delete": "Delete Project vault items",
              "vault.projects.move_folder": "Move Project vault items between folders",
              "vault.projects.pin": "Pin or unpin Project vault items",
              "vault.projects.read_metadata": "Read Project vault item metadata",
              "vault.projects.reveal": "Reveal Project vault item secrets",
              "vault.projects.rotate": "Rotate Project vault item secrets",
              "vault.projects.tag": "Manage tags on Project vault items",
              "vault.projects.update": "Update Project vault items",
              "vault.tasks.create": "Create Task vault items",
              "vault.tasks.delete": "Delete Task vault items",
              "vault.tasks.move_folder": "Move Task vault items between folders",
              "vault.tasks.pin": "Pin or unpin Task vault items",
              "vault.tasks.read_metadata": "Read Task vault item metadata",
              "vault.tasks.reveal": "Reveal Task vault item secrets",
              "vault.tasks.rotate": "Rotate Task vault item secrets",
              "vault.tasks.tag": "Manage tags on Task vault items",
              "vault.tasks.update": "Update Task vault items",
              "vault.work_orders.create": "Create Work order vault items",
              "vault.work_orders.delete": "Delete Work order vault items",
              "vault.work_orders.move_folder": "Move Work order vault items between folders",
              "vault.work_orders.pin": "Pin or unpin Work order vault items",
              "vault.work_orders.read_metadata": "Read Work order vault item metadata",
              "vault.work_orders.reveal": "Reveal Work order vault item secrets",
              "vault.work_orders.rotate": "Rotate Work order vault item secrets",
              "vault.work_orders.tag": "Manage tags on Work order vault items",
              "vault.work_orders.update": "Update Work order vault items",
              "work.mileage.create": "Create mileage trips",
              "work.mileage.discard_draft": "Discard draft mileage trips",
              "work.mileage.manage": "Manage mileage trips for other users",
              "work.mileage.read": "Read mileage trips",
              "work.mileage.update": "Update mileage trips",
              "work.mileage.void": "Void mileage trips",
              "work.portfolio_templates.apply": "Apply portfolio templates",
              "work.portfolio_templates.approve": "Approve portfolio templates (extended actions)",
              "work.portfolio_templates.archive": "Archive portfolio templates",
              "work.portfolio_templates.create": "Create portfolio templates",
              "work.portfolio_templates.delete": "Delete portfolio templates",
              "work.portfolio_templates.export": "Export portfolio templates (extended actions)",
              "work.portfolio_templates.import": "Import portfolio templates (extended actions)",
              "work.portfolio_templates.publish": "Publish portfolio templates (extended actions)",
              "work.portfolio_templates.read": "Read portfolio templates",
              "work.portfolio_templates.submit": "Submit portfolio templates (extended actions)",
              "work.portfolio_templates.taxonomy.manage": "Taxonomy.Manage portfolio templates (extended actions)",
              "work.portfolio_templates.update": "Update portfolio templates",
              "work.portfolios.archive": "Archive portfolios",
              "work.portfolios.create": "Create portfolios",
              "work.portfolios.read": "Read portfolios",
              "work.portfolios.restore": "Restore portfolios",
              "work.portfolios.update": "Update portfolios",
              "work.project_templates.apply": "Apply project templates (extended actions)",
              "work.project_templates.approve": "Approve project templates (extended actions)",
              "work.project_templates.archive": "Archive project templates (extended actions)",
              "work.project_templates.create": "Create project templates",
              "work.project_templates.delete": "Delete project templates",
              "work.project_templates.export": "Export project templates (extended actions)",
              "work.project_templates.import": "Import project templates (extended actions)",
              "work.project_templates.publish": "Publish project templates (extended actions)",
              "work.project_templates.read": "Read project templates",
              "work.project_templates.submit": "Submit project templates (extended actions)",
              "work.project_templates.taxonomy.manage": "Taxonomy.Manage project templates (extended actions)",
              "work.project_templates.update": "Update project templates",
              "work.projects.archive": "Archive projects",
              "work.projects.bypass_reminder_quiet_hours": "Bypass quiet hours for project reminders",
              "work.projects.create": "Create projects",
              "work.projects.force_reminder_channels": "Force project reminder channels outside recipient channel preferences",
              "work.projects.manage_reminder_channels": "Manage project reminder delivery channels",
              "work.projects.manage_reminders": "Manage project reminders",
              "work.projects.manage_sms_reminders": "Manage project SMS reminders",
              "work.projects.manage_voice_reminders": "Manage project voice reminders",
              "work.projects.read": "Read projects",
              "work.projects.restore": "Restore projects",
              "work.projects.update": "Update projects",
              "work.reason_requirements.bypass_org_policy": "Bypass organization-added project, task and time reason requirements",
              "work.task_groups.create": "Create task groups",
              "work.task_groups.delete": "Delete task groups",
              "work.task_groups.read": "Read task groups",
              "work.task_groups.update": "Update task groups",
              "work.task_templates.apply": "Apply task templates (extended actions)",
              "work.task_templates.approve": "Approve task templates (extended actions)",
              "work.task_templates.archive": "Archive task templates (extended actions)",
              "work.task_templates.create": "Create task templates",
              "work.task_templates.delete": "Delete task templates",
              "work.task_templates.export": "Export task templates (extended actions)",
              "work.task_templates.import": "Import task templates (extended actions)",
              "work.task_templates.publish": "Publish task templates (extended actions)",
              "work.task_templates.read": "Read task templates",
              "work.task_templates.submit": "Submit task templates (extended actions)",
              "work.task_templates.taxonomy.manage": "Taxonomy.Manage task templates (extended actions)",
              "work.task_templates.update": "Update task templates",
              "work.tasks.archive": "Archive tasks",
              "work.tasks.assign_owner": "Assign task owners",
              "work.tasks.bypass_reminder_quiet_hours": "Bypass quiet hours for task reminders",
              "work.tasks.clock_time": "Clock task-linked time entries",
              "work.tasks.comment": "Create and manage task comments",
              "work.tasks.create": "Create tasks",
              "work.tasks.force_reminder_channels": "Force task reminder channels outside recipient channel preferences",
              "work.tasks.log_time": "Create task-linked time entries and timers",
              "work.tasks.manage_collaborators": "Manage task collaborators",
              "work.tasks.manage_dependencies": "Manage task dependencies",
              "work.tasks.manage_followers": "Manage task followers",
              "work.tasks.manage_recurrence": "Manage task recurrence",
              "work.tasks.manage_reminder_channels": "Manage task reminder delivery channels",
              "work.tasks.manage_reminders": "Manage task reminders",
              "work.tasks.manage_sms_reminders": "Manage task SMS reminders",
              "work.tasks.manage_subtasks": "Manage task subtasks",
              "work.tasks.manage_visibility": "Manage task visibility and ACL",
              "work.tasks.manage_voice_reminders": "Manage task voice reminders",
              "work.tasks.read": "Read tasks",
              "work.tasks.read_time": "Read task-linked time summaries",
              "work.tasks.restore": "Restore tasks",
              "work.tasks.update": "Update tasks",
              "work.template_apply_jobs.cancel": "Cancel template apply jobs",
              "work.template_apply_jobs.read": "Read template apply jobs",
              "work.template_apply_jobs.retry": "Retry template apply jobs",
              "work.time_entries.approve": "Approve time entries",
              "work.time_entries.backdate_timer": "Start or stop a timer at an earlier time (up to 12 hours back)",
              "work.time_entries.clock": "Clock in/out time entries",
              "work.time_entries.create": "Create time entries",
              "work.time_entries.discard_after_stop": "Discard stopped draft time entries before submission",
              "work.time_entries.discard_draft": "Discard draft time entries",
              "work.time_entries.edit_target": "Edit time entry account/project/work-order/task",
              "work.time_entries.edit_target_after_stop": "Edit time entry account/project/work-order/task after stopping a timer",
              "work.time_entries.edit_time": "Edit time entry start/end times",
              "work.time_entries.lock": "Lock time entries",
              "work.time_entries.manage": "Manage time entries for other users",
              "work.time_entries.read": "Read time entries",
              "work.time_entries.reverse": "Reverse time entries",
              "work.time_entries.submit": "Submit time entries",
              "work.time_entries.update": "Update time entries",
              "work.time_policies.assignment.read": "Read time policy assignments",
              "work.time_policies.assignment.write": "Manage time policy assignments",
              "work.time_policies.bulk": "Reserved for bulk time policy operations",
              "work.time_policies.delete": "Archive time policies",
              "work.time_policies.preview": "Preview effective time policy outcomes",
              "work.time_policies.read": "Read time policies",
              "work.time_policies.write": "Create or update time policies",
              "work.timesheets.approve": "Approve time sheets",
              "work.timesheets.create": "Create time sheets",
              "work.timesheets.lock": "Lock time sheets",
              "work.timesheets.read": "Read time sheets",
              "work.timesheets.submit": "Submit time sheets",
              "work_orders.cancel": "Cancel work orders while retaining operational history",
              "work_orders.create": "Create work orders",
              "work_orders.create_follow_up": "Create replacement or follow-up work orders from terminal work",
              "work_orders.customer_updates.compose_custom": "Compose custom work order customer update messages",
              "work_orders.customer_updates.override_template": "Override work order customer update templates",
              "work_orders.customer_updates.send": "Send work order customer updates",
              "work_orders.dispatch.read": "View the schedule",
              "work_orders.read": "Read work orders",
              "work_orders.reason_requirements.bypass_org_policy": "Bypass organization-added work-order reason requirements",
              "work_orders.review_requests.read": "See which customers were asked for a review, when, and where the review went",
              "work_orders.review_requests.send": "Ask a customer for a review after a job",
              "work_orders.status.update": "Update work order status",
              "work_orders.update": "Update work orders",
              "work_orders:read": "Read work orders and the schedule (37 permissions)",
              "work_orders:write": "Create, update and schedule work orders (116 permissions)",
              "workspaces.dashboard_settings.update": "Customize the dashboard tabs of one customer or record (order, hidden tabs, default tab)",
              "workspaces.folder_settings.update": "Turn folders on or off for one customer or record (notes, files and access)"
            },
            "tokenUrl": "https://atownsolutions.com/oauth/token"
          }
        },
        "type": "oauth2"
      }
    }
  },
  "info": {
    "description": "The operations Nova supports for integrations and AI agents. Authenticate with an OAuth 2.1 token from a connected app or agent, or with an organization API key. Guides: https://atownsolutions.com/help/api/ . Every record is addressed by its opaque `uid`; integer ids never appear on the wire.",
    "title": "Nova Public API",
    "version": "0.0.1",
    "x-nova-release": "0.0.1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/bookings": {
      "get": {
        "description": "Lists bookings with paging and filters for status, offering and date range.",
        "operationId": "list_bookings",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 200,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "list_view",
            "required": false,
            "schema": {
              "default": "all",
              "title": "List View",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "date_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date From"
            }
          },
          {
            "in": "query",
            "name": "date_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Date To"
            }
          },
          {
            "in": "query",
            "name": "statuses",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Statuses"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "offering_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Offering Id"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "service_asset_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Service Asset Id"
            }
          },
          {
            "in": "query",
            "name": "booking_kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Booking Kind"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "updated_at",
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "custom_field_filters",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Custom Field Filters"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleBookingListResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.activities.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List bookings",
        "tags": [
          "Bookings"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "schedule.activities.read",
          "schedule.appointments.read",
          "schedule.lodging.read",
          "schedule.rentals.read",
          "work_orders.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "schedule.activities.read"
        ],
        "x-nova-scope": "bookings:read"
      },
      "post": {
        "description": "Books an offering for an account at a time the schedule allows. Conflicts are reported in the response.",
        "operationId": "create_booking",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleBookingCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleBookingResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.bookings.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a booking",
        "tags": [
          "Bookings"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "schedule.bookings.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "schedule.bookings.create"
        ],
        "x-nova-scope": "bookings:write"
      }
    },
    "/v1/bookings/{booking_uid}": {
      "get": {
        "description": "Returns one booking by uid with its offering, time, resources and status.",
        "operationId": "get_booking",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleBookingResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.bookings.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a booking",
        "tags": [
          "Bookings"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "schedule.bookings.read",
          "work_orders.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "schedule.bookings.read"
        ],
        "x-nova-scope": "bookings:read"
      },
      "patch": {
        "description": "Changes a booking's time, resources or notes.",
        "operationId": "update_booking",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleBookingUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleBookingResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.bookings.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a booking",
        "tags": [
          "Bookings"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "schedule.bookings.update",
          "work_orders.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "schedule.bookings.update"
        ],
        "x-nova-scope": "bookings:write"
      }
    },
    "/v1/bookings/{booking_uid}/cancel": {
      "post": {
        "description": "Cancels a booking and frees its time. The customer is notified according to the organization's settings.",
        "operationId": "cancel_booking",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScheduleBookingLifecycleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleBookingResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.bookings.cancel"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Cancel a booking",
        "tags": [
          "Bookings"
        ],
        "x-nova-destructive": true,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "schedule.bookings.cancel",
          "work_orders.cancel"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "schedule.bookings.cancel"
        ],
        "x-nova-scope": "bookings:write"
      }
    },
    "/v1/commerce/invoices": {
      "get": {
        "description": "Lists invoices with paging and filters for status, account and due date.",
        "operationId": "list_invoices",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^acct_[0-9a-f]{12,32}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "linked_target_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Linked Target Type"
            }
          },
          {
            "in": "query",
            "name": "linked_target_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Linked Target Id"
            }
          },
          {
            "description": "1-based page number. Omit page and page_size for the legacy unpaginated list.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "1-based page number. Omit page and page_size for the legacy unpaginated list.",
              "title": "Page"
            }
          },
          {
            "description": "Rows per page (max 200). Defaults to 50 when only `page` is supplied.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 200,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Rows per page (max 200). Defaults to 50 when only `page` is supplied.",
              "title": "Page Size"
            }
          },
          {
            "description": "Include nested line items on each invoice. Defaults to false for paginated requests and true for legacy unpaginated requests. Line items are always returned by the invoice detail route.",
            "in": "query",
            "name": "include_lines",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Include nested line items on each invoice. Defaults to false for paginated requests and true for legacy unpaginated requests. Line items are always returned by the invoice detail route.",
              "title": "Include Lines"
            }
          },
          {
            "in": "query",
            "name": "business_view",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Business View"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "default": "",
              "maxLength": 300,
              "title": "Search",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "business_status",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Business Status",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sending",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Sending",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "aging",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Aging",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "balance",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Balance",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "decision",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Decision",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 8,
              "title": "Currency",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "archive",
            "required": false,
            "schema": {
              "default": "active",
              "pattern": "^(active|archived|all)$",
              "title": "Archive",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "deadline_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Deadline From"
            }
          },
          {
            "in": "query",
            "name": "deadline_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Deadline To"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "updated",
              "pattern": "^(updated|document|account|total|balance_due|due_at|expires_at)$",
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "pattern": "^(asc|desc)$",
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "description": "Only this branch's documents (scoping integer).",
            "in": "query",
            "name": "branch_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only this branch's documents (scoping integer).",
              "title": "Branch Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceInvoiceListResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List invoices",
        "tags": [
          "Invoices"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.invoices.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "billing.invoices.read"
        ],
        "x-nova-scope": "invoices:read"
      },
      "post": {
        "description": "Creates a draft invoice for an account with line items, terms and a due date.",
        "operationId": "create_invoice",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceInvoiceCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create an invoice",
        "tags": [
          "Invoices"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.invoices.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.invoices.create"
        ],
        "x-nova-scope": "invoices:write"
      }
    },
    "/v1/commerce/invoices/{invoice_uid}": {
      "get": {
        "description": "Returns one invoice by uid with line items, totals, balance, payments applied and delivery history.",
        "operationId": "get_invoice",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get an invoice",
        "tags": [
          "Invoices"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.invoices.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "billing.invoices.read"
        ],
        "x-nova-scope": "invoices:read"
      },
      "patch": {
        "description": "Updates an invoice's line items, dates or notes while it is unpaid. A paid invoice is corrected with a credit or a replacement.",
        "operationId": "update_invoice",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceInvoiceUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update an invoice",
        "tags": [
          "Invoices"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.invoices.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.invoices.update"
        ],
        "x-nova-scope": "invoices:write"
      }
    },
    "/v1/commerce/invoices/{invoice_uid}/issue": {
      "post": {
        "description": "Moves a draft invoice to its open, unpaid state without sending it, for example when it is handed over in person. Sending it or recording a payment does this on its own. The number is assigned at creation and the invoice stays editable while unpaid.",
        "operationId": "issue_invoice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/CommerceInvoiceFulfillmentResolutionRequest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Payload"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.finalize"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Take an invoice out of draft",
        "tags": [
          "Invoices"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.invoices.finalize"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.invoices.finalize"
        ],
        "x-nova-scope": "invoices:write"
      }
    },
    "/v1/commerce/invoices/{invoice_uid}/send": {
      "post": {
        "description": "Sends the invoice by email or text with the organization's template and records the delivery. A draft leaves draft as it is sent. Pass channel \"manual\" to mark an invoice as sent when it was handed over outside Nova.",
        "operationId": "send_invoice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceInvoiceSendRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.send"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Send an invoice to the customer",
        "tags": [
          "Invoices"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.invoices.send"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.invoices.send"
        ],
        "x-nova-scope": "invoices:write"
      }
    },
    "/v1/commerce/payments": {
      "get": {
        "description": "Lists recorded payments with paging and filters for account, invoice and date.",
        "operationId": "list_payments",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^acct_[0-9a-f]{12,32}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "vendor_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Vendor Id"
            }
          },
          {
            "in": "query",
            "name": "payment_direction",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Payment Direction"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommercePaymentListResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.payments.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List payments",
        "tags": [
          "Payments"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.payments.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "billing.payments.read"
        ],
        "x-nova-scope": "payments:read"
      },
      "post": {
        "description": "Records a payment the customer already made outside Nova (cash, cheque, e-transfer, bank transfer) and applies it to invoices. This never charges a card.",
        "operationId": "record_payment",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommercePaymentCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommercePaymentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.payments.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Record an external payment",
        "tags": [
          "Payments"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.payments.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.payments.create"
        ],
        "x-nova-scope": "payments:write"
      }
    },
    "/v1/commerce/quotes": {
      "get": {
        "description": "Lists quotes with paging, status filters and account filters.",
        "operationId": "list_quotes",
        "parameters": [
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^acct_[0-9a-f]{12,32}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "linked_target_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Linked Target Type"
            }
          },
          {
            "in": "query",
            "name": "linked_target_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Linked Target Id"
            }
          },
          {
            "description": "1-based page number. Omit page and page_size for the legacy unpaginated list.",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "1-based page number. Omit page and page_size for the legacy unpaginated list.",
              "title": "Page"
            }
          },
          {
            "description": "Rows per page (max 200). Defaults to 50 when only `page` is supplied.",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maximum": 200,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Rows per page (max 200). Defaults to 50 when only `page` is supplied.",
              "title": "Page Size"
            }
          },
          {
            "description": "Include nested line items on each quote. Defaults to false for paginated requests and true for legacy unpaginated requests. Line items are always returned by the quote detail route.",
            "in": "query",
            "name": "include_lines",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Include nested line items on each quote. Defaults to false for paginated requests and true for legacy unpaginated requests. Line items are always returned by the quote detail route.",
              "title": "Include Lines"
            }
          },
          {
            "in": "query",
            "name": "business_view",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 40,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Business View"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "default": "",
              "maxLength": 300,
              "title": "Search",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "business_status",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Business Status",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sending",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Sending",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "aging",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Aging",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "balance",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Balance",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "decision",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 40,
              "title": "Decision",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "currency",
            "required": false,
            "schema": {
              "default": "all",
              "maxLength": 8,
              "title": "Currency",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "archive",
            "required": false,
            "schema": {
              "default": "active",
              "pattern": "^(active|archived|all)$",
              "title": "Archive",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "deadline_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Deadline From"
            }
          },
          {
            "in": "query",
            "name": "deadline_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Deadline To"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "updated",
              "pattern": "^(updated|document|account|total|balance_due|due_at|expires_at)$",
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "pattern": "^(asc|desc)$",
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "description": "Only this branch's documents (scoping integer).",
            "in": "query",
            "name": "branch_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only this branch's documents (scoping integer).",
              "title": "Branch Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteListResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List quotes",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "billing.quotes.read"
        ],
        "x-nova-scope": "quotes:read"
      },
      "post": {
        "description": "Creates a draft quote for an account with line items. Amounts are in the organization's currency; taxes apply from the account's tax profile.",
        "operationId": "create_quote",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceQuoteCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a quote",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.quotes.create"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/commerce/quotes/{quote_uid}": {
      "get": {
        "description": "Returns one quote by uid with its line items, totals, status and delivery history.",
        "operationId": "get_quote",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a quote",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "billing.quotes.read"
        ],
        "x-nova-scope": "quotes:read"
      },
      "patch": {
        "description": "Updates a quote's line items, dates or notes. A quote the customer has already approved needs a revision instead.",
        "operationId": "update_quote",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceQuoteUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a quote",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.quotes.update"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/commerce/quotes/{quote_uid}/accept": {
      "post": {
        "description": "Records the customer's approval of a quote on their behalf, for example after a verbal approval.",
        "operationId": "accept_quote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceQuoteDecisionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.respond"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Mark a quote accepted",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.respond"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.quotes.respond"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/commerce/quotes/{quote_uid}/archive": {
      "post": {
        "description": "Archives a quote so it leaves the working lists. It can be restored from the app.",
        "operationId": "archive_quote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentManagementRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Archive a quote",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.quotes.update"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/commerce/quotes/{quote_uid}/convert-to-invoice": {
      "post": {
        "description": "Creates an invoice from an accepted quote and links the two. The response carries the new invoice's uid. Needs both the quotes:write and invoices:write scopes.",
        "operationId": "convert_quote_to_invoice",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceQuoteToInvoiceConversionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceFinancialDocumentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.invoices.create",
              "billing.invoices.read",
              "billing.quotes.convert"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Convert an accepted quote to an invoice",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-extra-scopes": [
          "invoices:write"
        ],
        "x-nova-permissions": [
          "billing.invoices.read",
          "billing.invoices.create",
          "billing.quotes.convert"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.invoices.create",
          "billing.invoices.read",
          "billing.quotes.convert"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/commerce/quotes/{quote_uid}/issue": {
      "post": {
        "description": "Moves a draft quote to its open state without sending it, for example when it is handed over in person. Sending a draft does this on its own. The number is assigned at creation and the quote stays editable.",
        "operationId": "issue_quote",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.finalize"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Take a quote out of draft",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.finalize"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.quotes.finalize"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/commerce/quotes/{quote_uid}/send": {
      "post": {
        "description": "Sends the quote to the customer by email or text using the organization's templates and records the delivery. A draft leaves draft as it is sent. Pass channel \"manual\" to mark a quote as sent when it was handed over outside Nova.",
        "operationId": "send_quote",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CommerceQuoteSendRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommerceQuoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "billing.quotes.send"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Send a quote to the customer",
        "tags": [
          "Quotes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "billing.quotes.send"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "billing.quotes.send"
        ],
        "x-nova-scope": "quotes:write"
      }
    },
    "/v1/crm/accounts/": {
      "get": {
        "description": "Lists customer and lead accounts with paging and search. Use `q` to find an account by name, email or phone before creating a new one.",
        "operationId": "list_accounts",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "display_name",
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "asc",
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "custom_field_filters",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Custom Field Filters"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AccountStatus"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "lifecycle_category",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LifecycleCategory"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Lifecycle Category"
            }
          },
          {
            "in": "query",
            "name": "account_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AccountType"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Type"
            }
          },
          {
            "in": "query",
            "name": "is_internal",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is Internal"
            }
          },
          {
            "in": "query",
            "name": "parent_account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Parent Account Id"
            }
          },
          {
            "in": "query",
            "name": "tag",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Tag"
            }
          },
          {
            "in": "query",
            "name": "lead_source",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Lead Source"
            }
          },
          {
            "in": "query",
            "name": "created_via",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Created Via"
            }
          },
          {
            "in": "query",
            "name": "location_city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Location City"
            }
          },
          {
            "in": "query",
            "name": "location_postal_code",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Location Postal Code"
            }
          },
          {
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Email"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Phone"
            }
          },
          {
            "in": "query",
            "name": "include_deleted",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Deleted",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "deleted_only",
            "required": false,
            "schema": {
              "default": false,
              "title": "Deleted Only",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedAccountResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List accounts",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.accounts.read"
        ],
        "x-nova-scope": "accounts:read"
      },
      "post": {
        "description": "Creates a customer or lead account. Check for duplicates with list_accounts first; the response carries the new account's uid and record number.",
        "operationId": "create_account",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create an account",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.accounts.create"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/accounts/{account_uid}/": {
      "get": {
        "description": "Returns one account by uid with its lifecycle status, primary contact, billing profile summary and counts of related records.",
        "operationId": "get_account",
        "parameters": [
          {
            "in": "query",
            "name": "include_contacts",
            "required": false,
            "schema": {
              "default": true,
              "title": "Include Contacts",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "include_locations",
            "required": false,
            "schema": {
              "default": true,
              "title": "Include Locations",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get an account",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.accounts.read"
        ],
        "x-nova-scope": "accounts:read"
      },
      "put": {
        "description": "Updates an account's details. Send only the fields you are changing; unknown fields are rejected.",
        "operationId": "update_account",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update an account",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.accounts.update"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/accounts/{account_uid}/archive/": {
      "post": {
        "description": "Archives an account so it no longer appears in lists. Nothing is deleted; restore_account brings it back.",
        "operationId": "archive_account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleReasonRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.archive"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Archive an account",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.archive"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.accounts.archive"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/accounts/{account_uid}/contacts": {
      "get": {
        "description": "Lists the people attached to an account, with their roles and contact methods.",
        "operationId": "list_account_contacts",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AccountContactResponse"
                  },
                  "title": "Response List Account Contacts Route V1 Crm Accounts  Account Uid  Contacts Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.contacts.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List an account's contacts",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.contacts.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.accounts.contacts.read"
        ],
        "x-nova-scope": "accounts:read"
      }
    },
    "/v1/crm/accounts/{account_uid}/restore/": {
      "post": {
        "description": "Restores an archived account to active use.",
        "operationId": "restore_account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleReasonRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.restore"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Restore an archived account",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.restore"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.accounts.restore"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/accounts/{account_uid}/timeline": {
      "get": {
        "description": "Returns the account's recent activity: quotes, invoices, work orders, notes and messages in one ordered feed.",
        "operationId": "get_account_timeline",
        "parameters": [
          {
            "description": "Restrict the feed to one or more channels. Repeatable (?channel=texts&channel=money). Omit for everything.",
            "in": "query",
            "name": "channel",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "enum": [
                      "texts",
                      "email",
                      "calls",
                      "jobs",
                      "money"
                    ],
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Restrict the feed to one or more channels. Repeatable (?channel=texts&channel=money). Omit for everything.",
              "title": "Channel"
            }
          },
          {
            "description": "Opaque keyset cursor from the previous page's next_cursor.",
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque keyset cursor from the previous page's next_cursor.",
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountTimelineResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.accounts.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get an account's timeline",
        "tags": [
          "Accounts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.accounts.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.accounts.read"
        ],
        "x-nova-scope": "accounts:read"
      }
    },
    "/v1/crm/contacts/": {
      "get": {
        "description": "Lists contacts across accounts with paging and search by name, email or phone.",
        "operationId": "list_contacts",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "created_at",
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "custom_field_filters",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Custom Field Filters"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is Archived"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "occupation_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Occupation Id"
            }
          },
          {
            "in": "query",
            "name": "marital_status_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Marital Status Id"
            }
          },
          {
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Email"
            }
          },
          {
            "in": "query",
            "name": "phone",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Phone"
            }
          },
          {
            "in": "query",
            "name": "method_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ContactMethodType"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Method Type"
            }
          },
          {
            "in": "query",
            "name": "method_value",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Method Value"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedContactResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.contacts.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List contacts",
        "tags": [
          "Contacts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.contacts.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.contacts.read"
        ],
        "x-nova-scope": "accounts:read"
      },
      "post": {
        "description": "Creates a contact and attaches it to an account by the account's uid.",
        "operationId": "create_contact",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.contacts.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a contact",
        "tags": [
          "Contacts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.contacts.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.contacts.create"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/contacts/{contact_uid}/": {
      "get": {
        "description": "Returns one contact by uid with its contact methods and account links.",
        "operationId": "get_contact",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.contacts.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a contact",
        "tags": [
          "Contacts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.contacts.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.contacts.read"
        ],
        "x-nova-scope": "accounts:read"
      },
      "put": {
        "description": "Updates a contact's name, role or details. Contact methods are managed on the contact record.",
        "operationId": "update_contact",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.contacts.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a contact",
        "tags": [
          "Contacts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.contacts.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.contacts.update"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/contacts/{contact_uid}/archive/": {
      "post": {
        "description": "Archives a contact so it no longer appears in pickers. Restore from the app or with restore_contact.",
        "operationId": "archive_contact",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleReasonRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.contacts.archive"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Archive a contact",
        "tags": [
          "Contacts"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.contacts.archive"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.contacts.archive"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/locations/": {
      "get": {
        "description": "Lists service locations (addresses where work happens) with paging, optionally filtered by account.",
        "operationId": "list_locations",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 100,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "created_at",
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "custom_field_filters",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Custom Field Filters"
            }
          },
          {
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Query"
            }
          },
          {
            "in": "query",
            "name": "is_archived",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Is Archived"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^acct_[0-9a-f]{12,32}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "location_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Location Type"
            }
          },
          {
            "in": "query",
            "name": "city",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "City"
            }
          },
          {
            "in": "query",
            "name": "postal_code",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Postal Code"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedLocationResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.locations.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List locations",
        "tags": [
          "Locations"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.locations.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.locations.read"
        ],
        "x-nova-scope": "accounts:read"
      },
      "post": {
        "description": "Creates a service location under an account. Provide the address; Nova geocodes it when address search is enabled.",
        "operationId": "create_location",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.locations.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a location",
        "tags": [
          "Locations"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.locations.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.locations.create"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/crm/locations/{location_uid}/": {
      "get": {
        "description": "Returns one location by uid with its address, type and account.",
        "operationId": "get_location",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.locations.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a location",
        "tags": [
          "Locations"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.locations.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "crm.locations.read"
        ],
        "x-nova-scope": "accounts:read"
      },
      "put": {
        "description": "Updates a location's address, name or type.",
        "operationId": "update_location",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LocationUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LocationResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "crm.locations.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a location",
        "tags": [
          "Locations"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "crm.locations.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "crm.locations.update"
        ],
        "x-nova-scope": "accounts:write"
      }
    },
    "/v1/files": {
      "get": {
        "description": "Lists files the organization stores, optionally filtered by the record they are attached to.",
        "operationId": "list_files",
        "parameters": [
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Type"
            }
          },
          {
            "in": "query",
            "name": "entity_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Id"
            }
          },
          {
            "in": "query",
            "name": "file_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 96,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "File Id"
            }
          },
          {
            "in": "query",
            "name": "file_link_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 96,
                  "minLength": 1,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "File Link Id"
            }
          },
          {
            "in": "query",
            "name": "relation_scope",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Relation Scope"
            }
          },
          {
            "in": "query",
            "name": "folder_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Folder Id"
            }
          },
          {
            "in": "query",
            "name": "system_category",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "System Category"
            }
          },
          {
            "in": "query",
            "name": "visibility",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FileVisibility"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Visibility"
            }
          },
          {
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Category"
            }
          },
          {
            "in": "query",
            "name": "semantic_kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Semantic Kind"
            }
          },
          {
            "in": "query",
            "name": "routing_status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Routing Status"
            }
          },
          {
            "in": "query",
            "name": "include_deleted",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Deleted",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "tag_filter",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Tag Filter"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntityFilesResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "assets.documents.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List files",
        "tags": [
          "Files"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "assets.documents.read",
          "bookkeeping.journal.read",
          "commerce.purchase_orders.read",
          "communications.message.read",
          "files.accounts.read",
          "files.attention_sound_assets.read",
          "files.call_recordings.read",
          "files.checklist_items.read",
          "files.checklists.read",
          "files.contacts.read",
          "files.emails.read",
          "files.feedback_comments.read",
          "files.feedback_items.read",
          "files.inventory_items.read",
          "files.knowledge_base_pages.read",
          "files.locations.read",
          "files.notes.read",
          "files.phone_line_hold_music.read",
          "files.phone_line_voicemail_greetings.read",
          "files.phone_transfer_documents.read",
          "files.portfolios.read",
          "files.projects.read",
          "files.read",
          "files.schedule_offerings.read",
          "files.service_assets.read",
          "files.sms.read",
          "files.tasks.read",
          "files.timesheets.read",
          "files.voicemails.read",
          "files.work_orders.read",
          "intake.submissions.read",
          "schedule.bookings.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "assets.documents.read"
        ],
        "x-nova-scope": "files:read"
      }
    },
    "/v1/files/accounts/{account_uid}": {
      "get": {
        "description": "Lists the files attached to an account and its related records.",
        "operationId": "list_account_files",
        "parameters": [
          {
            "in": "query",
            "name": "folder_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Folder Id"
            }
          },
          {
            "in": "query",
            "name": "system_category",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "System Category"
            }
          },
          {
            "in": "query",
            "name": "visibility",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FileVisibility"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Visibility"
            }
          },
          {
            "in": "query",
            "name": "category",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Category"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "tag_filter",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Tag Filter"
            }
          },
          {
            "in": "query",
            "name": "include_deleted",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Deleted",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntityFilesResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "assets.documents.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List an account's files",
        "tags": [
          "Files"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "assets.documents.read",
          "bookkeeping.journal.read",
          "commerce.purchase_orders.read",
          "communications.message.read",
          "files.accounts.read",
          "files.attention_sound_assets.read",
          "files.call_recordings.read",
          "files.checklist_items.read",
          "files.checklists.read",
          "files.contacts.read",
          "files.emails.read",
          "files.feedback_comments.read",
          "files.feedback_items.read",
          "files.inventory_items.read",
          "files.knowledge_base_pages.read",
          "files.locations.read",
          "files.notes.read",
          "files.phone_line_hold_music.read",
          "files.phone_line_voicemail_greetings.read",
          "files.phone_transfer_documents.read",
          "files.portfolios.read",
          "files.projects.read",
          "files.read",
          "files.schedule_offerings.read",
          "files.service_assets.read",
          "files.sms.read",
          "files.tasks.read",
          "files.timesheets.read",
          "files.voicemails.read",
          "files.work_orders.read",
          "intake.submissions.read",
          "schedule.bookings.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "assets.documents.read"
        ],
        "x-nova-scope": "files:read"
      }
    },
    "/v1/files/{file_uid}/download": {
      "get": {
        "description": "Returns the file's content, or a short-lived signed link to it, subject to the organization's file safety policy.",
        "operationId": "download_file",
        "parameters": [
          {
            "description": "Variant key (e.g., 'full_res', 'thumb', 'small', 'medium', 'large', 'xlarge').",
            "in": "query",
            "name": "variant",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Variant key (e.g., 'full_res', 'thumb', 'small', 'medium', 'large', 'xlarge').",
              "title": "Variant"
            }
          },
          {
            "description": "Serve the file inline when supported instead of forcing attachment.",
            "in": "query",
            "name": "inline",
            "required": false,
            "schema": {
              "default": false,
              "description": "Serve the file inline when supported instead of forcing attachment.",
              "title": "Inline",
              "type": "boolean"
            }
          },
          {
            "description": "Opaque client cache tag derived from the rendition generation. Only affects Cache-Control; never part of authorization.",
            "in": "query",
            "name": "v",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 64,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Opaque client cache tag derived from the rendition generation. Only affects Cache-Control; never part of authorization.",
              "title": "V"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "assets.documents.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Download a file",
        "tags": [
          "Files"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "assets.documents.read",
          "bookkeeping.journal.read",
          "commerce.purchase_orders.read",
          "communications.message.read",
          "files.accounts.download",
          "files.attention_sound_assets.download",
          "files.call_recordings.download",
          "files.checklist_items.download",
          "files.checklists.download",
          "files.contacts.download",
          "files.download",
          "files.emails.download",
          "files.feedback_comments.download",
          "files.feedback_items.download",
          "files.inventory_items.download",
          "files.knowledge_base_pages.download",
          "files.locations.download",
          "files.notes.download",
          "files.phone_line_hold_music.download",
          "files.phone_line_voicemail_greetings.download",
          "files.phone_transfer_documents.download",
          "files.portfolios.download",
          "files.projects.download",
          "files.schedule_offerings.download",
          "files.service_assets.download",
          "files.sms.download",
          "files.tasks.download",
          "files.timesheets.download",
          "files.voicemails.download",
          "files.work_orders.download",
          "intake.submissions.read",
          "schedule.bookings.read",
          "users.customer_photo.self.read",
          "users.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "assets.documents.read"
        ],
        "x-nova-scope": "files:read"
      }
    },
    "/v1/notes": {
      "get": {
        "description": "Lists notes for a record. Pass the owner type and the owner's uid; results are newest first.",
        "operationId": "list_notes",
        "parameters": [
          {
            "in": "query",
            "name": "entity_type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Type"
            }
          },
          {
            "in": "query",
            "name": "entity_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Entity Id"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 50,
              "maximum": 200,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 200,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          },
          {
            "in": "query",
            "name": "folder_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Folder Id"
            }
          },
          {
            "in": "query",
            "name": "tag",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Tag"
            }
          },
          {
            "in": "query",
            "name": "pinned_only",
            "required": false,
            "schema": {
              "default": false,
              "title": "Pinned Only",
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "semantic_kind",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NoteSemanticKind"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Semantic Kind"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteListResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "intake.inbox.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List notes on a record",
        "tags": [
          "Notes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "intake.inbox.read",
          "intake.submissions.assign",
          "intake.submissions.convert",
          "intake.submissions.manage",
          "intake.submissions.moderate",
          "intake.submissions.read",
          "notes.accounts.read",
          "notes.contacts.read",
          "notes.locations.read",
          "notes.portfolios.read",
          "notes.projects.read",
          "notes.read",
          "notes.service_assets.read",
          "notes.tasks.read",
          "notes.work_orders.read",
          "schedule.bookings.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "intake.inbox.read"
        ],
        "x-nova-scope": "notes:read"
      },
      "post": {
        "description": "Adds a note to an account, contact, location, work order, task or project. Notes are plain text or simple rich text and are visible to the team.",
        "operationId": "create_note",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "intake.submissions.manage"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Add a note to a record",
        "tags": [
          "Notes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "intake.submissions.manage",
          "notes.accounts.create",
          "notes.contacts.create",
          "notes.create",
          "notes.locations.create",
          "notes.portfolios.create",
          "notes.projects.create",
          "notes.service_assets.create",
          "notes.tasks.create",
          "notes.work_orders.create",
          "schedule.bookings.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "intake.submissions.manage"
        ],
        "x-nova-scope": "notes:write"
      }
    },
    "/v1/notes/{note_uid}": {
      "get": {
        "description": "Returns one note by uid with its text, author, timestamps and the record it belongs to.",
        "operationId": "get_note",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "intake.inbox.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a note",
        "tags": [
          "Notes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "intake.inbox.read",
          "intake.submissions.assign",
          "intake.submissions.convert",
          "intake.submissions.manage",
          "intake.submissions.moderate",
          "intake.submissions.read",
          "notes.accounts.read",
          "notes.contacts.read",
          "notes.locations.read",
          "notes.portfolios.read",
          "notes.projects.read",
          "notes.read",
          "notes.service_assets.read",
          "notes.tasks.read",
          "notes.work_orders.read",
          "schedule.bookings.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "intake.inbox.read"
        ],
        "x-nova-scope": "notes:read"
      },
      "patch": {
        "description": "Updates a note's text. Send the note's current version to avoid overwriting a concurrent edit.",
        "operationId": "update_note",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NoteResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "intake.submissions.manage"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a note",
        "tags": [
          "Notes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "intake.submissions.manage",
          "notes.accounts.move_folder",
          "notes.accounts.pin",
          "notes.accounts.tag",
          "notes.accounts.update",
          "notes.contacts.move_folder",
          "notes.contacts.pin",
          "notes.contacts.tag",
          "notes.contacts.update",
          "notes.locations.move_folder",
          "notes.locations.pin",
          "notes.locations.tag",
          "notes.locations.update",
          "notes.move_folder",
          "notes.pin",
          "notes.portfolios.move_folder",
          "notes.portfolios.pin",
          "notes.portfolios.tag",
          "notes.portfolios.update",
          "notes.projects.move_folder",
          "notes.projects.pin",
          "notes.projects.tag",
          "notes.projects.update",
          "notes.service_assets.move_folder",
          "notes.service_assets.pin",
          "notes.service_assets.tag",
          "notes.service_assets.update",
          "notes.tag",
          "notes.tasks.move_folder",
          "notes.tasks.pin",
          "notes.tasks.tag",
          "notes.tasks.update",
          "notes.update",
          "notes.work_orders.move_folder",
          "notes.work_orders.pin",
          "notes.work_orders.tag",
          "notes.work_orders.update",
          "schedule.bookings.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "intake.submissions.manage"
        ],
        "x-nova-scope": "notes:write"
      }
    },
    "/v1/notes/{note_uid}/archive": {
      "post": {
        "description": "Archives a note. It stays in the record's archive and can be restored from the app.",
        "operationId": "archive_note",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteMutationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "intake.submissions.manage"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Archive a note",
        "tags": [
          "Notes"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "intake.submissions.manage",
          "notes.accounts.archive",
          "notes.archive",
          "notes.contacts.archive",
          "notes.locations.archive",
          "notes.portfolios.archive",
          "notes.projects.archive",
          "notes.service_assets.archive",
          "notes.tasks.archive",
          "notes.work_orders.archive"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "intake.submissions.manage"
        ],
        "x-nova-scope": "notes:write"
      }
    },
    "/v1/organizations/me/": {
      "get": {
        "description": "Returns the organization the token is bound to: name, uid, settings summary and defaults. Call this first to confirm which workspace you are acting in.",
        "operationId": "get_current_organization",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationSettingsResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "org.settings.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get the current organization",
        "tags": [
          "Organization"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "org.settings.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "org.settings.read"
        ],
        "x-nova-scope": "organization:read"
      }
    },
    "/v1/organizations/me/branches/": {
      "get": {
        "description": "Lists the organization's branches. Work records carry a branch; pass a branch uid when creating work for a specific location of the company.",
        "operationId": "list_branches",
        "parameters": [
          {
            "in": "query",
            "name": "include_inactive",
            "required": false,
            "schema": {
              "default": false,
              "title": "Include Inactive",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BranchResponse"
                  },
                  "title": "Response List Branches Route V1 Organizations Me Branches  Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "branches.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List branches",
        "tags": [
          "Organization"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "branches.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "branches.read"
        ],
        "x-nova-scope": "organization:read"
      }
    },
    "/v1/orgs/{org_uid}/tickets": {
      "post": {
        "description": "Creates a customer ticket in a queue with a subject, description and optional account and request type.",
        "operationId": "create_ticket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketCreateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketWorkspaceResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "communications.ticket.ticket.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a ticket",
        "tags": [
          "Tickets"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "communications.ticket.ticket.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "communications.ticket.ticket.create"
        ],
        "x-nova-scope": "tickets:write"
      }
    },
    "/v1/orgs/{org_uid}/tickets/search": {
      "post": {
        "description": "Searches customer tickets with paging and filters for status, queue, assignee and account. A POST because the filters are a document, but it reads only. `org_uid` is your organization's uid.",
        "operationId": "search_tickets",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketSearchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketSearchResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "communications.ticket.ticket.view"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Search tickets",
        "tags": [
          "Tickets"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "communications.ticket.ticket.view"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "communications.ticket.ticket.view"
        ],
        "x-nova-scope": "tickets:read"
      }
    },
    "/v1/orgs/{org_uid}/tickets/{ticket_uid}": {
      "patch": {
        "description": "Updates a ticket's status, assignee, queue, priority or subject.",
        "operationId": "update_ticket",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketUpdateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketWorkspaceResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "communications.ticket.ticket.update_metadata"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a ticket",
        "tags": [
          "Tickets"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "communications.ticket.ticket.update_metadata"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "communications.ticket.ticket.update_metadata"
        ],
        "x-nova-scope": "tickets:write"
      }
    },
    "/v1/orgs/{org_uid}/tickets/{ticket_uid}/notes": {
      "post": {
        "description": "Adds a team-only note to a ticket. Customers never see internal notes.",
        "operationId": "add_ticket_note",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TicketInternalNoteRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "communications.ticket.note.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Add an internal note to a ticket",
        "tags": [
          "Tickets"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "communications.ticket.note.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "communications.ticket.note.create"
        ],
        "x-nova-scope": "tickets:write"
      }
    },
    "/v1/orgs/{org_uid}/tickets/{ticket_uid}/workspace": {
      "get": {
        "description": "Returns a ticket with its messages, notes, related records and status history.",
        "operationId": "get_ticket_workspace",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketWorkspaceResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "communications.ticket.ticket.view"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a ticket with its conversation",
        "tags": [
          "Tickets"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "communications.ticket.ticket.view"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "communications.ticket.ticket.view"
        ],
        "x-nova-scope": "tickets:read"
      }
    },
    "/v1/projects": {
      "get": {
        "description": "Lists projects with paging and filters for status and account.",
        "operationId": "list_projects",
        "parameters": [
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "portfolio_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Portfolio Id"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "branch_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Branch Id"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Search"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 200,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedProjectResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.projects.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List projects",
        "tags": [
          "Projects"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.projects.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work.projects.read"
        ],
        "x-nova-scope": "projects:read"
      },
      "post": {
        "description": "Creates a project for an account with a name, dates and optional template.",
        "operationId": "create_project",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.projects.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a project",
        "tags": [
          "Projects"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.projects.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work.projects.create"
        ],
        "x-nova-scope": "projects:write"
      }
    },
    "/v1/projects/{project_uid}": {
      "get": {
        "description": "Returns one project by uid with its status, dates, tasks summary and financial summary.",
        "operationId": "get_project",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.projects.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a project",
        "tags": [
          "Projects"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.projects.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work.projects.read"
        ],
        "x-nova-scope": "projects:read"
      },
      "patch": {
        "description": "Updates a project's name, status, dates or description.",
        "operationId": "update_project",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.projects.manage_reminders"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a project",
        "tags": [
          "Projects"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "work.projects.manage_reminders",
          "work.projects.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work.projects.manage_reminders"
        ],
        "x-nova-scope": "projects:write"
      }
    },
    "/v1/public/help/articles/{article_key}": {
      "get": {
        "description": "Returns one help article by key, including its steps and the Nova pages it covers. Send `Accept: text/markdown` for the markdown form.",
        "operationId": "get_help_article",
        "parameters": [
          {
            "in": "path",
            "name": "article_key",
            "required": true,
            "schema": {
              "title": "Article Key",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HelpArticleResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [],
        "summary": "Read a help article",
        "tags": [
          "Help"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [],
        "x-nova-scope": "help:read"
      }
    },
    "/v1/public/help/search": {
      "get": {
        "description": "Searches the help articles for a task, page or button name. Call this before acting when unsure how a feature works; results link to the full article.",
        "operationId": "search_help",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "required": true,
            "schema": {
              "maxLength": 200,
              "minLength": 1,
              "title": "Q",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "audience",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 16,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Audience"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "maximum": 50,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "source",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "maxLength": 16,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Source"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HelpSearchResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [],
        "summary": "Search Nova help articles",
        "tags": [
          "Help"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [],
        "x-nova-scope": "help:read"
      }
    },
    "/v1/tasks": {
      "get": {
        "description": "Lists tasks with paging and filters for status, assignee, project and due date.",
        "operationId": "list_tasks",
        "parameters": [
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "pattern": "^acct_[0-9a-f]{12,32}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "project_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Project Id"
            }
          },
          {
            "in": "query",
            "name": "work_order_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Work Order Id"
            }
          },
          {
            "in": "query",
            "name": "task_group_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Task Group Id"
            }
          },
          {
            "in": "query",
            "name": "parent_task_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Parent Task Id"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "lifecycle_state",
            "required": false,
            "schema": {
              "default": "active",
              "enum": [
                "active",
                "archived",
                "all"
              ],
              "title": "Lifecycle State",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "assignee_user_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Assignee User Id"
            }
          },
          {
            "in": "query",
            "name": "collaborator_user_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Collaborator User Id"
            }
          },
          {
            "in": "query",
            "name": "follower_user_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Follower User Id"
            }
          },
          {
            "in": "query",
            "name": "involved_user_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Involved User Id"
            }
          },
          {
            "in": "query",
            "name": "branch_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Branch Id"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Search"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sort By"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sort Order"
            }
          },
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 200,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedTaskResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List tasks",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work.tasks.read"
        ],
        "x-nova-scope": "tasks:read"
      },
      "post": {
        "description": "Creates a task, optionally under a project or attached to an account, with an assignee and due date.",
        "operationId": "create_task",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a task",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work.tasks.create"
        ],
        "x-nova-scope": "tasks:write"
      }
    },
    "/v1/tasks/statuses": {
      "get": {
        "description": "Lists the organization's task statuses so a status update can name a valid target.",
        "operationId": "list_task_statuses",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/TaskStatusConfig"
                  },
                  "title": "Response Fetch Task Statuses V1 Tasks Statuses Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List task statuses",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work.tasks.read"
        ],
        "x-nova-scope": "tasks:read"
      }
    },
    "/v1/tasks/{task_uid}": {
      "get": {
        "description": "Returns one task by uid with its status, assignees, schedule, checklist and comments count.",
        "operationId": "get_task",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a task",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work.tasks.read"
        ],
        "x-nova-scope": "tasks:read"
      },
      "patch": {
        "description": "Updates a task's title, status, assignees, dates or description.",
        "operationId": "update_task",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.assign_owner"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a task",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [],
        "x-nova-permissions-any": [
          "work.tasks.assign_owner",
          "work.tasks.manage_collaborators",
          "work.tasks.manage_dependencies",
          "work.tasks.manage_followers",
          "work.tasks.manage_recurrence",
          "work.tasks.manage_reminders",
          "work.tasks.manage_subtasks",
          "work.tasks.manage_visibility",
          "work.tasks.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work.tasks.assign_owner"
        ],
        "x-nova-scope": "tasks:write"
      }
    },
    "/v1/tasks/{task_uid}/archive": {
      "post": {
        "description": "Archives a completed or abandoned task. It can be restored from the app.",
        "operationId": "archive_task",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleReasonRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {}
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.archive"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Archive a task",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.archive"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work.tasks.archive"
        ],
        "x-nova-scope": "tasks:write"
      }
    },
    "/v1/tasks/{task_uid}/comments": {
      "get": {
        "description": "Lists the comments on a task, oldest first.",
        "operationId": "list_task_comments",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskCommentListResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List a task's comments",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work.tasks.read"
        ],
        "x-nova-scope": "tasks:read"
      },
      "post": {
        "description": "Adds a comment to a task. Mentioned team members are notified.",
        "operationId": "create_task_comment",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TaskCommentCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TaskCommentResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work.tasks.comment"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Comment on a task",
        "tags": [
          "Tasks"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work.tasks.comment"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work.tasks.comment"
        ],
        "x-nova-scope": "tasks:write"
      }
    },
    "/v1/work-orders": {
      "get": {
        "description": "Lists work orders with paging and filters for status, account, assignee and date range.",
        "operationId": "list_work_orders",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "minimum": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "maximum": 200,
              "minimum": 1,
              "title": "Page Size",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Q"
            }
          },
          {
            "in": "query",
            "name": "status_key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status Key"
            }
          },
          {
            "in": "query",
            "name": "scheduled_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scheduled From"
            }
          },
          {
            "in": "query",
            "name": "scheduled_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scheduled To"
            }
          },
          {
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Assignee Id"
            }
          },
          {
            "in": "query",
            "name": "account_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Account Id"
            }
          },
          {
            "in": "query",
            "name": "project_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Project Id"
            }
          },
          {
            "in": "query",
            "name": "project_id_is_null",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Project Id Is Null"
            }
          },
          {
            "in": "query",
            "name": "branch_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Branch Id"
            }
          },
          {
            "in": "query",
            "name": "service_asset_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Service Asset Id"
            }
          },
          {
            "in": "query",
            "name": "custom_field_filters",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Custom Field Filters"
            }
          },
          {
            "in": "query",
            "name": "sort",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sort"
            }
          },
          {
            "in": "query",
            "name": "scheduled",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scheduled"
            }
          },
          {
            "in": "query",
            "name": "queue_state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Queue State"
            }
          },
          {
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Search"
            }
          },
          {
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Status"
            }
          },
          {
            "in": "query",
            "name": "scheduled_start_from",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scheduled Start From"
            }
          },
          {
            "in": "query",
            "name": "scheduled_start_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scheduled Start To"
            }
          },
          {
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sort By"
            }
          },
          {
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Sort Order"
            }
          },
          {
            "in": "query",
            "name": "scope",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Scope"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedWorkOrderResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List work orders",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work_orders.read"
        ],
        "x-nova-scope": "work_orders:read"
      },
      "post": {
        "description": "Creates a work order for an account and location. Set the branch when the organization has more than one.",
        "operationId": "create_work_order",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.create"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Create a work order",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.create"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work_orders.create"
        ],
        "x-nova-scope": "work_orders:write"
      }
    },
    "/v1/work-orders/dispatch": {
      "get": {
        "description": "Returns the work orders in a date range the way the Schedule shows them, including unassigned work.",
        "operationId": "list_dispatch_work_orders",
        "parameters": [
          {
            "in": "query",
            "name": "date",
            "required": true,
            "schema": {
              "format": "date",
              "title": "Date",
              "type": "string"
            }
          },
          {
            "description": "Inclusive end of a date range. With it, one request answers a whole week or month grid and returns only scheduled work; without it, the single-day day-view contract (that day's work plus the unscheduled backlog) is unchanged.",
            "in": "query",
            "name": "date_to",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Inclusive end of a date range. With it, one request answers a whole week or month grid and returns only scheduled work; without it, the single-day day-view contract (that day's work plus the unscheduled backlog) is unchanged.",
              "title": "Date To"
            }
          },
          {
            "in": "query",
            "name": "assignee_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Assignee Id"
            }
          },
          {
            "in": "query",
            "name": "branch_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Branch Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderDispatchResponse"
                  },
                  "title": "Response Fetch Dispatch Work Orders V1 Work Orders Dispatch Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.dispatch.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List work orders on the schedule",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.dispatch.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work_orders.dispatch.read"
        ],
        "x-nova-scope": "work_orders:read"
      }
    },
    "/v1/work-orders/statuses": {
      "get": {
        "description": "Lists the organization's work order statuses and their order, so a status change can name a valid target.",
        "operationId": "list_work_order_statuses",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/WorkOrderStatusConfig"
                  },
                  "title": "Response Fetch Work Order Statuses V1 Work Orders Statuses Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List work order statuses",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work_orders.read"
        ],
        "x-nova-scope": "work_orders:read"
      }
    },
    "/v1/work-orders/{work_order_uid}": {
      "get": {
        "description": "Returns one work order by uid with its status, schedule, assignees, visits and line items.",
        "operationId": "get_work_order",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.read"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Get a work order",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.read"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "work_orders.read"
        ],
        "x-nova-scope": "work_orders:read"
      },
      "patch": {
        "description": "Updates a work order's details. Use update_work_order_status for status changes and schedule_work_order for the schedule.",
        "operationId": "update_work_order",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Update a work order",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work_orders.update"
        ],
        "x-nova-scope": "work_orders:write"
      }
    },
    "/v1/work-orders/{work_order_uid}/schedule": {
      "post": {
        "description": "Sets the work order's date, time window and assignees. Conflicts with availability are reported, not silently overridden.",
        "operationId": "schedule_work_order",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderScheduleUpsert"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleEntryDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.edit"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Schedule a work order",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "schedule.edit"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "schedule.edit"
        ],
        "x-nova-scope": "work_orders:write"
      }
    },
    "/v1/work-orders/{work_order_uid}/status": {
      "patch": {
        "description": "Moves a work order to another status in the organization's workflow, recording who changed it and why.",
        "operationId": "update_work_order_status",
        "parameters": [
          {
            "in": "header",
            "name": "Idempotency-Key",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "title": "Idempotency-Key"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/app__operations__work_orders__schemas__WorkOrderStatusUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkOrderResponse"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "work_orders.status.update"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Change a work order's status",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "work_orders.status.update"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "work_orders.status.update"
        ],
        "x-nova-scope": "work_orders:write"
      }
    },
    "/v1/work-orders/{work_order_uid}/visits": {
      "get": {
        "description": "Lists the scheduled visits on a work order.",
        "operationId": "list_work_order_visits",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ScheduleEntrySummary"
                  },
                  "title": "Response List Work Order Schedule Visits V1 Work Orders  Work Order Uid  Visits Get",
                  "type": "array"
                }
              }
            },
            "description": "Successful Response"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.view"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "List a work order's visits",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "schedule.view"
        ],
        "x-nova-read-only": true,
        "x-nova-required-permissions": [
          "schedule.view"
        ],
        "x-nova-scope": "work_orders:read"
      },
      "post": {
        "description": "Adds another scheduled visit to a work order that needs more than one trip.",
        "operationId": "create_work_order_visit",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkOrderScheduleVisitCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScheduleEntryDetail"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "oauth2": [
              "schedule.edit"
            ]
          },
          {
            "api_key": []
          }
        ],
        "summary": "Add a visit to a work order",
        "tags": [
          "Work orders"
        ],
        "x-nova-destructive": false,
        "x-nova-permissions": [
          "schedule.edit"
        ],
        "x-nova-read-only": false,
        "x-nova-required-permissions": [
          "schedule.edit"
        ],
        "x-nova-scope": "work_orders:write"
      }
    }
  },
  "servers": [
    {
      "url": "https://atownsolutions.com"
    }
  ],
  "tags": [
    {
      "name": "Accounts"
    },
    {
      "name": "Bookings"
    },
    {
      "name": "Contacts"
    },
    {
      "name": "Files"
    },
    {
      "name": "Help"
    },
    {
      "name": "Invoices"
    },
    {
      "name": "Locations"
    },
    {
      "name": "Notes"
    },
    {
      "name": "Organization"
    },
    {
      "name": "Payments"
    },
    {
      "name": "Projects"
    },
    {
      "name": "Quotes"
    },
    {
      "name": "Tasks"
    },
    {
      "name": "Tickets"
    },
    {
      "name": "Work orders"
    }
  ],
  "x-nova-sources": {
    "nova-backend/app/api_docs/registry.py": "8dd6ec1d9b7946fec19cc3eb05aef349d979ed681e7de561343296e7ad1a4f27",
    "nova-backend/app/communications/tickets/routes.py": "3f19eb46b791185498186fdee348963f269b144551a113ae8b983aaed27bea29",
    "nova-backend/app/crm/accounts/routes/accounts.py": "906300b9bc8b373cecd0c96d3622e5001366e7e19645c2b17084c88abc160c61",
    "nova-backend/app/crm/contacts/routes/contacts.py": "3f814604bbf012394a229bb206bf2257f4b4a56101caca7d47e007b27b8fd102",
    "nova-backend/app/crm/locations/routes/locations.py": "d84769c6d9f95e6e3b3cd9c4921c487286165070e7af4a0ef53c0dcbf4b2343b",
    "nova-backend/app/files/routes/download.py": "7f6b166a4ee519ea44aba7dcf46f38d5eb54ef58c56907e17623564f18c71b51",
    "nova-backend/app/files/routes/files.py": "f597344bb28544d225219d1fd34372fc43e81a63a0aa1cc8980665572af1236f",
    "nova-backend/app/files/routes/links.py": "cdbe064158e6408aaff6284d7cbdce10b523ec19e28cb8046b9cc7cf3752828f",
    "nova-backend/app/help/routes.py": "9490fff04028130518fd3aa5de407324bc8609c730336041e1e3b6d34b2a303f",
    "nova-backend/app/identity/branches/routes.py": "6f8392779e235e9d11ed2be509f993c7f0929853d6b71fe466d453499a8aa677",
    "nova-backend/app/identity/organizations/routes.py": "5d7e371305fd14d3899f79c7418b587c2b5bb20727eb887799346222f945a392",
    "nova-backend/app/notes/routes.py": "b129b002fe23ef7816a3538e5d1c6119584da3a8563c07b6f28d82a08071b4d1",
    "nova-backend/app/operations/booking/routes.py": "ab1266acfde5cfc41589d28bbe7b14534e1a7f9360b0914bc9261ab4e749a361",
    "nova-backend/app/operations/commerce/routes.py": "fa63cea34e90b91985e5938a8389f006337dadaaba5d3bfeee88cccc277467f5",
    "nova-backend/app/operations/work/projects/routes.py": "63258b885c9ea622e4f066d9d8c5fe12ffd460f56c3dd49b71757b68eb25097b",
    "nova-backend/app/operations/work/tasks/routes.py": "2493b14af86f17c450d97aaa8c5506c606cb64c1b34a12e6f0e40bd598524d47",
    "nova-backend/app/operations/work_orders/routes.py": "3dfb29b4072c9e0892581699a1ce38b5eb0864490df8ed15d52e3dc4769f27b1",
    "nova-backend/app/operations/work_orders/schedule_routes.py": "c6ba4b6bfda3c04df444094d277ace4cdaff1521e8904d6275a01ad477dfedf8"
  }
}
