addedInput schema / properties / attachments
Added value: +{
+ "description": "Photos or plans of the job: JPEG, PNG, WebP or PDF, at most six of 10 MB each. Inline up to 4 MB each (8 MB a call), else by https address or upload_id. HEIC photos: send them as JPEG. Images are cleaned of where they were taken; a PDF is kept as sent.",
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "upload_id": {
+ "description": "What POST /v1/uploads answered, within its hour.",
+ "pattern": "^upl_[A-Za-z0-9_-]{16,48}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "upload_id"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "data_base64": {
+ "description": "The file's bytes in base64: JPEG, PNG, WebP or PDF, up to 4 MB (8 MB in one call).",
+ "maxLength": 5592412,
+ "minLength": 4,
+ "type": "string"
+ },
+ "name": {
+ "description": "The file's name, for the business to recognise it.",
+ "maxLength": 200,
+ "type": "string"
+ }
+ },
+ "required": [
+ "data_base64"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "url": {
+ "description": "An https address the file can be fetched from, up to 10 MB.",
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 6,
+ "type": "array"
+}
addedInput schema / properties / payload / properties / deposit
Added value: +{
+ "properties": {
+ "amount": {
+ "properties": {
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "value": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "value",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "dueBy": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "refundable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "amount",
+ "refundable"
+ ],
+ "type": "object"
+}
addedInput schema / properties / payload / properties / policy
Added value: +{
+ "properties": {
+ "after": {
+ "description": "The fee after the last step, until the start.",
+ "properties": {
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "value": {
+ "description": "Minor units of the currency's own ISO 4217 exponent (minorUnits): 4500 is CA$45.00 or ₹45.00, ¥4,500 in JPY, 4.500 in KWD.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "value",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "noShow": {
+ "properties": {
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "value": {
+ "description": "Minor units of the currency's own ISO 4217 exponent (minorUnits): 4500 is CA$45.00 or ₹45.00, ¥4,500 in JPY, 4.500 in KWD.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "value",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "steps": {
+ "description": "Cancelling before `until` costs `fee`; the steps are in order.",
+ "items": {
+ "properties": {
+ "fee": {
+ "properties": {
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "value": {
+ "description": "Minor units of the currency's own ISO 4217 exponent (minorUnits): 4500 is CA$45.00 or ₹45.00, ¥4,500 in JPY, 4.500 in KWD.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "value",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "until": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "until",
+ "fee"
+ ],
+ "type": "object"
+ },
+ "maxItems": 6,
+ "type": "array"
+ },
+ "zone": {
+ "description": "The IANA zone the steps were dated in: the business's.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "steps",
+ "after",
+ "noShow",
+ "zone"
+ ],
+ "type": "object"
+}
addedInput schema / properties / visit_for
Added value: +{
+ "description": "Book this as the site visit for a request for a price you made: its item_id (and access_token).",
+ "properties": {
+ "access_token": {
+ "description": "Capability secret returned when the item was created without an account.",
+ "maxLength": 200,
+ "minLength": 16,
+ "type": "string"
+ },
+ "item_id": {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "item_id"
+ ],
+ "type": "object"
+}