added api docs
This commit is contained in:
32
interface/models/organization/organization.yaml
Normal file
32
interface/models/organization/organization.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
components:
|
||||
schemas:
|
||||
OrganizationBase:
|
||||
allOf:
|
||||
- $ref: ../permission_bound.yaml#/components/schemas/PermissionBound
|
||||
- $ref: ../common/describable.yaml#/components/schemas/Describable
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- tenantRef
|
||||
- timeZone
|
||||
properties:
|
||||
tenantRef:
|
||||
$ref: ../objectid.yaml#/components/schemas/ObjectId
|
||||
timeZone:
|
||||
type: string
|
||||
logoUrl:
|
||||
type: string
|
||||
nullable: true
|
||||
|
||||
Organization:
|
||||
allOf:
|
||||
- $ref: ./organization.yaml#/components/schemas/OrganizationBase
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- members
|
||||
properties:
|
||||
members:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../objectid.yaml#/components/schemas/ObjectId
|
||||
Reference in New Issue
Block a user