gettenants
GetTenantsResponse Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"tenants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"format": "^[a-z\\-]+$"
},
"name": {
"type": "string"
},
"address": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"streetNumber": {
"type": "string"
},
"zipCode": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"street",
"streetNumber",
"zipCode",
"city",
"country"
]
},
"invoiceAddress": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"streetNumber": {
"type": "string"
},
"zipCode": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"street",
"streetNumber",
"zipCode",
"city",
"country"
]
},
"contact": {
"type": "object",
"properties": {
"name": {
"type": "string",
"format": "email"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"name",
"email",
"phone"
]
},
"isActivated": {
"type": "boolean"
},
"registeredOn": {
"type": "object",
"format": "date-time"
},
"activatedOn": {
"type": "object",
"format": "date-time"
}
},
"required": [
"key",
"name",
"address",
"invoiceAddress",
"contact",
"isActivated",
"registeredOn",
"activatedOn"
]
}
}
},
"required": [
"tenants"
]
}
TenantResponseInfo Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"key": {
"type": "string",
"format": "^[a-z\\-]+$"
},
"name": {
"type": "string"
},
"address": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"streetNumber": {
"type": "string"
},
"zipCode": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"street",
"streetNumber",
"zipCode",
"city",
"country"
]
},
"invoiceAddress": {
"type": "object",
"properties": {
"street": {
"type": "string"
},
"streetNumber": {
"type": "string"
},
"zipCode": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"street",
"streetNumber",
"zipCode",
"city",
"country"
]
},
"contact": {
"type": "object",
"properties": {
"name": {
"type": "string",
"format": "email"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"name",
"email",
"phone"
]
},
"isActivated": {
"type": "boolean"
},
"registeredOn": {
"type": "object",
"format": "date-time"
},
"activatedOn": {
"type": "object",
"format": "date-time"
}
},
"required": [
"key",
"name",
"address",
"invoiceAddress",
"contact",
"isActivated",
"registeredOn",
"activatedOn"
]
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string",
"format": "email"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"name",
"email",
"phone"
]
}
AddressResponseInfo Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"street": {
"type": "string"
},
"streetNumber": {
"type": "string"
},
"zipCode": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
}
},
"required": [
"street",
"streetNumber",
"zipCode",
"city",
"country"
]
}