json/v1.0/recurring.json in sk_api_schema-0.3.0 vs json/v1.0/recurring.json in sk_api_schema-0.3.1
- old
+ new
@@ -38,11 +38,11 @@
"enum":["yearly", "monthly", "weekly", "quarterly", "biweekly", "sixmonthly"],
"type":"string",
"required":true
},
"payment_method":{
- "description": "How the invoce is beeing payed. Used in new payments.",
+ "description": "How the document is beeing payed. Used in new payments.",
"enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque", "moneybookers", "premium_sms"],
"type":"string"
},
"external_ref":{
"description": "Some external reference, whatever this may be.",
@@ -153,26 +153,30 @@
"type":"string"
},
"filter[from]":{
"title" : "From date",
"description": "Objects with a date after the date",
- "type" : "date"
+ "format" : "date",
+ "type" : "string"
},
"filter[to]":{
"title" : "To date",
"description": "Objects with date before the date",
- "type" : "date"
+ "format" : "date",
+ "type" : "string"
},
"filter[created_at_from]":{
"title" : "From date",
"description": "Objects with a creation date after the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
- "type" : "date-time"
+ "format" : "date-time",
+ "type" : "string"
},
"filter[created_at_to]":{
"title" : "To date",
"description": "Objects with a creation date before the date, including given datetime. ISO 8601 format YYY-MM-DDThh:mm:ss+z",
- "type" : "date-time"
+ "format" : "date-time",
+ "type" : "string"
},
"filter[languages]":{
"title" : "Languages",
"description": "A list of language codes, comma separated",
"type" : "string"
@@ -228,10 +232,10 @@
}
}
},
{ "rel": "attachments",
"href": "recurrings/{id}/attachments"
- },
+ },
{ "rel": "comments",
"href": "recurrings/{id}/comments"
}
]
}