63 lines
1.2 KiB
YAML
63 lines
1.2 KiB
YAML
type: object
|
|
required:
|
|
- id
|
|
- title_names
|
|
- tags
|
|
properties:
|
|
id:
|
|
type: integer
|
|
format: int64
|
|
description: Unique title ID (primary key)
|
|
example: 1
|
|
title_names:
|
|
type: object
|
|
description: Localized titles. Key = language (ISO 639-1), value = list of names
|
|
additionalProperties:
|
|
type: array
|
|
items:
|
|
type: string
|
|
example: Attack on Titan
|
|
minItems: 1
|
|
example:
|
|
- Attack on Titan
|
|
- AoT
|
|
example:
|
|
en:
|
|
- Attack on Titan
|
|
- AoT
|
|
ru:
|
|
- Атака титанов
|
|
- Титаны
|
|
ja:
|
|
- 進撃の巨人
|
|
studio:
|
|
$ref: ./Studio.yaml
|
|
tags:
|
|
$ref: ./Tags.yaml
|
|
poster:
|
|
$ref: ./Image.yaml
|
|
title_status:
|
|
$ref: ./enums/TitleStatus.yaml
|
|
rating:
|
|
type: number
|
|
format: double
|
|
rating_count:
|
|
type: integer
|
|
format: int32
|
|
release_year:
|
|
type: integer
|
|
format: int32
|
|
release_season:
|
|
$ref: ./enums/ReleaseSeason.yaml
|
|
episodes_aired:
|
|
type: integer
|
|
format: int32
|
|
episodes_all:
|
|
type: integer
|
|
format: int32
|
|
episodes_len:
|
|
type: object
|
|
additionalProperties:
|
|
type: number
|
|
format: double
|
|
additionalProperties: true
|