141 lines
3.8 KiB
JSON
141 lines
3.8 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"status": {
|
|
"type": ["string", "null"],
|
|
"enum": ["ACTIVE", "OUT_OF_BUSINESS"]
|
|
},
|
|
"is_main": {
|
|
"type": ["boolean", "null"]
|
|
},
|
|
"valid_from": {
|
|
"type": ["string", "null"],
|
|
"format": "date"
|
|
},
|
|
"assigned_employees": {
|
|
"type": "object",
|
|
"properties": {
|
|
"active": {
|
|
"type": "integer"
|
|
},
|
|
"total": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"country": {
|
|
"type": ["string", "null"],
|
|
"pattern": "^[A-Z]{2}$"
|
|
},
|
|
"name": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"type": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"registration_number": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"industry_sector": {
|
|
"type": ["string", "null"],
|
|
"enum": ["ACCOUNTING_AND_AUDITING_SERVICES", "ADVERTISING_AND_PR_SERVICES", "AEROSPACE", "AGRICULTURE", "ARCHITECTURAL", "AUTOMOTIVE", "AUTOMOTIVE_PARTS", "BANKING", "BIOTECHNOLOGY", "BROADCASTING", "BUSINESS_SERVICES", "CHEMICALS", "CLOTHING", "COMPUTER_HARDWARE", "COMPUTER_SERVICES", "COMPUTER_SOFTWARE", "CONSTRUCTION", "CONSTRUCTION_RESIDENTIAL", "EDUCATION", "ELECTRONICS", "ENERGY", "ENGINEERING_SERVICES", "ENTERTAINMENT_VENUES", "FINANCIAL_SERVICES", "FOOD_AND_BEVERAGE", "GOVERNMENT", "HEALTHCARE_SERVICES", "HOTELS", "INSURANCE", "INTERNET", "LEGAL_SERVICES", "MANAGEMENT", "MANUFACTURING", "MARINE_MFG", "MEDICAL_DEVICES", "METALS", "NONPROFIT", "OTHER", "PERFORMING", "PERSONAL", "PERSONAL_CARE", "PRINTING", "REAL_ESTATE", "RENTAL_SERVICES", "RESTAURANT", "RETAIL", "SECURITY", "SPORTS", "STAFFING", "TELECOMMUNICATIONS", "TRADE_EXPORT", "TRANSPORT", "TRAVEL", "WASTE_MANAGEMENT"]
|
|
},
|
|
"email": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"phone": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"address": {
|
|
"type": "object",
|
|
"properties": {
|
|
"street_name": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"house_number": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"postal_code": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"city": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"state": {
|
|
"type": ["string", "null"]
|
|
}
|
|
}
|
|
},
|
|
"contact_person": {
|
|
"type": "object",
|
|
"properties": {
|
|
"salutation": {
|
|
"type": ["string", "null"],
|
|
"enum": ["MR", "MRS", "MS", "DR", "PROF"]
|
|
},
|
|
"full_name": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"email": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"phone": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"fax": {
|
|
"type": ["string", "null"]
|
|
}
|
|
}
|
|
},
|
|
"bank_details": {
|
|
"type": "object",
|
|
"properties": {
|
|
"iban": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"bic": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"account_holder": {
|
|
"type": ["string", "null"]
|
|
}
|
|
}
|
|
},
|
|
"mailing_address": {
|
|
"type": "object",
|
|
"properties": {
|
|
"street_name": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"house_number": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"postal_code": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"city": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"name": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"additional_info": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"address_type": {
|
|
"type": ["string", "null"],
|
|
"enum": ["REGULAR_ADDRESS", "PO_BOX", "EPOST", "FOREIGN_ADDRESS"]
|
|
},
|
|
"country": {
|
|
"type": ["string", "null"]
|
|
},
|
|
"po_box_number": {
|
|
"type": ["string", "null"]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |