json/v1.0/client.json in sk_api_schema-0.0.11 vs json/v1.0/client.json in sk_api_schema-0.0.12
- old
+ new
@@ -10,11 +10,11 @@
"number": {
"description": "Unique number, auto-created by SK for new client without number.",
"type":"string"
},
"organisation": {
- "description": "Name of a company. At least this or the lastname field must be filled for new records",
+ "description": "Name of a company. This or lastname must be present",
"required" : true,
"type":"string"
},
"last_name": {
"description": "Last name of a person. At least this or the organisation field must be filled for new records",
@@ -56,11 +56,11 @@
"birthday": {
"format":"date",
"type":"string"
},
"tag_list": {
- "description": "Space seperated list of tags.",
+ "description": "Space separated list of tags.",
"type":"string"
},
"created_at": {
"description": "Date the record was created in SK. Never changes afterwards.",
"format":"date-time",
@@ -77,15 +77,19 @@
"description": "Default payment method for used for new documemts",
"enum":["cash","bank_transfer","credit_card","paypal","direct_debit","cheque"],
"type":"string"
},
"bank_name": {
- "description": "Name of the bank.",
+ "description": "Bank name",
"type":"string"
},
+ "bank_number": {
+ "description": "Bank number",
+ "type":"string"
+ },
"bank_account_number": {
- "description": "Number of the bank account.",
+ "description": "Bank account number.",
"type":"string"
},
"bank_iban": {
"description": "IBAN Number of the bank account. Is validated",
"type":"string"
@@ -93,11 +97,11 @@
"bank_swift": {
"description": "SWIFT BIC- Bank Identifier Code",
"type":"string"
},
"bank_owner": {
- "description": "Owner of the bank account.",
+ "description": "Bank account owner",
"type":"string"
},
"phone_fax": {
"description": "Fax number",
"type":"string"
@@ -105,10 +109,10 @@
"phone_office": {
"description": "Office phone number",
"type":"string"
},
"phone_home": {
- "description": "Private phone number.",
+ "description": "Private phone number",
"type":"string"
},
"phone_mobile": {
"description": "Mobile phone number",
"type":"string"
\ No newline at end of file