chore: Add new schemas (no-changelog) (#13215)

This commit is contained in:
Jon
2025-02-13 09:40:35 +00:00
committed by GitHub
parent f001edb2a2
commit 0c6eb6eaef
38 changed files with 3095 additions and 0 deletions

View File

@@ -0,0 +1,135 @@
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"clientId": {
"type": "string"
},
"workspaceId": {
"type": "string"
},
"billable": {
"type": "boolean"
},
"memberships": {
"type": "array",
"items": {
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"costRate": {
"type": "null"
},
"targetId": {
"type": "string"
},
"membershipType": {
"type": "string"
},
"membershipStatus": {
"type": "string"
}
},
"required": [
"userId",
"hourlyRate",
"costRate",
"targetId",
"membershipType",
"membershipStatus"
]
}
},
"color": {
"type": "string"
},
"estimate": {
"type": "object",
"properties": {
"estimate": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"estimate",
"type"
]
},
"archived": {
"type": "boolean"
},
"duration": {
"type": "string"
},
"clientName": {
"type": "string"
},
"note": {
"type": "string"
},
"costRate": {
"type": "null"
},
"timeEstimate": {
"type": "object",
"properties": {
"estimate": {
"type": "string"
},
"type": {
"type": "string"
},
"active": {
"type": "boolean"
},
"includeNonBillable": {
"type": "boolean"
}
},
"required": [
"estimate",
"type",
"resetOption",
"active",
"includeNonBillable"
]
},
"template": {
"type": "boolean"
},
"public": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"hourlyRate",
"clientId",
"workspaceId",
"billable",
"memberships",
"color",
"estimate",
"archived",
"duration",
"clientName",
"note",
"costRate",
"timeEstimate",
"budgetEstimate",
"estimateReset",
"template",
"public"
]
}