Co-authored-by: Michael Hoennig <michael@hoennig.de> Reviewed-on: #57 Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
41 lines
986 B
YAML
41 lines
986 B
YAML
|
|
components:
|
|
|
|
schemas:
|
|
|
|
HsBookingProject:
|
|
type: object
|
|
properties:
|
|
uuid:
|
|
type: string
|
|
format: uuid
|
|
caption:
|
|
type: string
|
|
required:
|
|
- uuid
|
|
- caption
|
|
|
|
HsBookingProjectPatch:
|
|
type: object
|
|
properties:
|
|
caption:
|
|
type: string
|
|
nullable: true
|
|
|
|
HsBookingProjectInsert:
|
|
type: object
|
|
properties:
|
|
debitorUuid:
|
|
type: string
|
|
format: uuid
|
|
nullable: false
|
|
caption:
|
|
type: string
|
|
minLength: 3
|
|
maxLength: 80
|
|
nullable: false
|
|
required:
|
|
- debitorUuid
|
|
- caption
|
|
additionalProperties: false
|