Raw schema
{
"type": "object",
"properties": {
"description": {
"description": "Job/estimate description (max 500 characters).",
"type": "string",
"maxLength": 500
},
"tech_notes": {
"description": "Notes for the technician.",
"type": "string",
"maxLength": 5000
},
"duration": {
"description": "Duration in seconds, 0-86400 (3600 = 1 hour).",
"type": "integer",
"minimum": 0,
"maximum": 86400
},
"time_frame_promised_start": {
"description": "Promised arrival window start, HH:MM.",
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"time_frame_promised_end": {
"description": "Promised arrival window end, HH:MM.",
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"start_date": {
"description": "Start date, yyyy-mm-dd.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"customer_name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Customer name exactly as in Service Fusion (see servicefusion_list_customers); an unknown name is created as a new customer."
},
"status": {
"description": "Status name (see servicefusion_list_job_statuses).",
"type": "string",
"maxLength": 100
},
"contact_first_name": {
"type": "string",
"maxLength": 100
},
"contact_last_name": {
"type": "string",
"maxLength": 100
},
"street_1": {
"type": "string",
"maxLength": 200
},
"street_2": {
"type": "string",
"maxLength": 200
},
"city": {
"type": "string",
"maxLength": 100
},
"state_prov": {
"type": "string",
"maxLength": 100
},
"postal_code": {
"type": "string",
"maxLength": 20
},
"location_name": {
"type": "string",
"maxLength": 200
},
"is_gated": {
"type": "boolean"
},
"gate_instructions": {
"type": "string",
"maxLength": 1000
},
"category": {
"description": "Job category name (see servicefusion_list_job_categories).",
"type": "string",
"maxLength": 200
},
"source": {
"description": "Lead source name (see servicefusion_list_sources).",
"type": "string",
"maxLength": 200
},
"project": {
"type": "string",
"maxLength": 200
},
"phase": {
"type": "string",
"maxLength": 200
},
"po_number": {
"type": "string",
"maxLength": 100
},
"contract": {
"type": "string",
"maxLength": 200
},
"note_to_customer": {
"type": "string",
"maxLength": 2000
},
"custom_fields": {
"description": "Custom fields: [{name, value}] with names as configured in Service Fusion.",
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"required": [
"name",
"value"
]
}
},
"techs_assigned": {
"description": "Technicians to assign: [{id}] or [{first_name, last_name}].",
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"first_name": {
"type": "string",
"maxLength": 100
},
"last_name": {
"type": "string",
"maxLength": 100
}
}
}
},
"tasks": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"is_completed": {
"type": "boolean"
}
},
"required": [
"description"
]
}
},
"notes": {
"description": "Internal notes: [{notes}].",
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"notes": {
"type": "string",
"minLength": 1,
"maxLength": 5000
}
},
"required": [
"notes"
]
}
},
"products": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"product": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The product name as in your Service Fusion price list."
},
"name": {
"type": "string",
"maxLength": 200
},
"description": {
"type": "string",
"maxLength": 2000
},
"multiplier": {
"description": "Quantity.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000
},
"rate": {
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"cost": {
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"is_show_rate_items": {
"type": "boolean"
},
"tax": {
"type": "string",
"maxLength": 100
}
},
"required": [
"product"
]
}
},
"services": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"service": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The service name as in your Service Fusion price list."
},
"name": {
"type": "string",
"maxLength": 200
},
"description": {
"type": "string",
"maxLength": 2000
},
"multiplier": {
"description": "Quantity.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000
},
"rate": {
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"cost": {
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"is_show_rate_items": {
"type": "boolean"
},
"tax": {
"type": "string",
"maxLength": 100
}
},
"required": [
"service"
]
}
},
"other_charges": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"other_charge": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"name": {
"type": "string",
"maxLength": 200
},
"rate": {
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"is_percentage": {
"type": "boolean"
}
},
"required": [
"other_charge"
]
}
},
"check_number": {
"type": "string",
"maxLength": 100
},
"priority": {
"type": "string",
"enum": [
"Low",
"Normal",
"High"
]
},
"completion_notes": {
"type": "string",
"maxLength": 5000
},
"end_date": {
"description": "End date, yyyy-mm-dd.",
"type": "string",
"pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$"
},
"payment_type": {
"type": "string",
"maxLength": 100
},
"customer_payment_terms": {
"type": "string",
"maxLength": 100
},
"called_in_by": {
"type": "string",
"maxLength": 200
},
"is_requires_follow_up": {
"type": "boolean"
}
},
"required": [
"customer_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}