MetadataSearchResult data annotations

This commit is contained in:
2025-10-14 13:29:33 +02:00
parent 81b299ad9d
commit 352c4a4401
2 changed files with 52 additions and 6 deletions

View File

@@ -3679,27 +3679,39 @@
"additionalProperties": false
},
"MetadataSearchResult": {
"required": [
"coverUrl",
"description",
"identifier",
"name",
"url"
],
"type": "object",
"properties": {
"identifier": {
"minLength": 1,
"type": "string",
"nullable": true
"description": "Identifier specific to the MetadataFetcher"
},
"name": {
"minLength": 1,
"type": "string",
"nullable": true
"description": "Name of the Manga"
},
"url": {
"minLength": 1,
"type": "string",
"nullable": true
"description": "Url to the result"
},
"description": {
"minLength": 1,
"type": "string",
"nullable": true
"description": "Description of the Manga"
},
"coverUrl": {
"minLength": 1,
"type": "string",
"nullable": true
"description": "Url to the cover if available"
}
},
"additionalProperties": false