Add: ebook file spec

This commit is contained in:
Nicholas Wallace 2024-05-12 04:35:05 +00:00
parent 242afb3d1a
commit f92f5c31bc
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,17 @@
components:
schemas:
ebookFile:
type: object
properties:
ino:
$ref: '../../schemas.yaml#/components/schemas/inode'
metadata:
$ref: '../metadata/FileMetadata.yaml#/components/schemas/fileMetadata'
ebookFormat:
description: The ebook format of the ebook file.
type: string
example: epub
addedAt:
$ref: '../../schemas.yaml#/components/schemas/addedAt'
updatedAt:
$ref: '../../schemas.yaml#/components/schemas/updatedAt'