{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/servicetitan/main/json-schema/servicetitan-service-schema.json", "title": "ServiceTitan Pricebook Service", "description": "Flat-rate service line item from the ServiceTitan Pricebook.", "type": "object", "required": ["id", "code", "displayName", "price"], "properties": { "id": { "type": "integer", "format": "int64" }, "code": { "type": "string" }, "displayName": { "type": "string" }, "description": { "type": "string" }, "price": { "type": "number" }, "memberPrice": { "type": ["number", "null"] }, "addOnPrice": { "type": ["number", "null"] }, "addOnMemberPrice": { "type": ["number", "null"] }, "taxable": { "type": "boolean" }, "account": { "type": ["string", "null"] }, "hours": { "type": "number" }, "isLabor": { "type": "boolean" }, "categories": { "type": "array", "items": { "type": "integer" } }, "warranty": { "type": "object", "properties": { "duration": { "type": "integer", "description": "Months" }, "description": { "type": "string" } } }, "recommendations": { "type": "array", "items": { "type": "integer" } }, "upgrades": { "type": "array", "items": { "type": "integer" } }, "commissionBonus": { "type": "object", "properties": { "type": { "type": "string" }, "amount": { "type": "number" } } }, "paysCommission": { "type": "boolean" }, "active": { "type": "boolean" }, "modifiedOn": { "type": "string", "format": "date-time" } } }