95 lines
1.6 KiB
JSON
95 lines
1.6 KiB
JSON
{
|
|
"name": "Tenant",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Organization Name"
|
|
},
|
|
"slug": {
|
|
"type": "string",
|
|
"title": "Slug"
|
|
},
|
|
"status": {
|
|
"type": "string",
|
|
"enum": [
|
|
"active",
|
|
"suspended",
|
|
"trial",
|
|
"cancelled"
|
|
],
|
|
"title": "Status"
|
|
},
|
|
"plan": {
|
|
"type": "string",
|
|
"enum": [
|
|
"starter",
|
|
"professional",
|
|
"enterprise",
|
|
"custom"
|
|
],
|
|
"title": "Plan"
|
|
},
|
|
"owner_email": {
|
|
"type": "string",
|
|
"title": "Owner Email"
|
|
},
|
|
"member_emails": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"title": "Member Emails"
|
|
},
|
|
"vm_limit": {
|
|
"type": "number",
|
|
"title": "VM Limit"
|
|
},
|
|
"cpu_limit": {
|
|
"type": "number",
|
|
"title": "CPU Limit"
|
|
},
|
|
"ram_limit_mb": {
|
|
"type": "number",
|
|
"title": "RAM Limit (MB)"
|
|
},
|
|
"disk_limit_gb": {
|
|
"type": "number",
|
|
"title": "Disk Limit (GB)"
|
|
},
|
|
"balance": {
|
|
"type": "number",
|
|
"title": "Balance"
|
|
},
|
|
"currency": {
|
|
"type": "string",
|
|
"enum": [
|
|
"NGN",
|
|
"USD",
|
|
"GHS",
|
|
"KES",
|
|
"ZAR"
|
|
],
|
|
"title": "Currency"
|
|
},
|
|
"payment_provider": {
|
|
"type": "string",
|
|
"enum": [
|
|
"paystack",
|
|
"flutterwave",
|
|
"manual"
|
|
],
|
|
"title": "Payment Provider"
|
|
},
|
|
"metadata": {
|
|
"type": "string",
|
|
"title": "Metadata JSON"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"status",
|
|
"plan",
|
|
"owner_email"
|
|
]
|
|
} |