
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
            additionalProperties: false

        HsBookingProjectInsert:
            type: object
            properties:
                debitor.uuid:
                    type: string
                    format: uuid
                    nullable: false
                caption:
                    type: string
                    minLength: 3
                    maxLength: 80
                    nullable: false
            required:
                - debitor.uuid
                - caption
            additionalProperties: false
