json/v1.0/estimate.json in sk_api_schema-0.2.3 vs json/v1.0/estimate.json in sk_api_schema-0.2.4

- old
+ new

@@ -29,13 +29,13 @@ "description": "Auto-calculated from date + due days if empty and the estimate is opened.", "format":"date", "type":"string" }, "status":{ - "description": "Defaults to draft for new documents, if empty. For new documents with status 'open', the following fields are set if empty: number(next in number schema), date(today), due date(today unless due_days given). Only drafts can be deleted.", + "description": "Defaults to draft for new documents, unless otherwise stated. For new documents with status 'open' or 'closed' or doc where the status changes away from draft, following fields are set if empty: number(next in number schema), date(today), due date(due_days must be given). Only draft documents can be deleted.", "default":"draft", - "enum":["draft","open","closed"], + "enum":["draft","open","closed","rejected","billed" ], "type":"string" }, "external_ref":{ "description": "Some external reference, whatever this may be.", "type":"string" @@ -152,9 +152,14 @@ "type":"number" }, "filter[q]":{ "title" : "Search", "description": "Search in title, number, addressfield", + "type":"string" + }, + "filter[number]":{ + "title" : "Number", + "description": "Find by exact number", "type":"string" }, "filter[tags]":{ "title" : "Tags", "description": "Filter by a space delimited list of tags",