Final commit

This commit is contained in:
Giovanni 2025-08-02 13:28:10 +02:00
parent 91fffb3294
commit c35e0716af
372 changed files with 16591 additions and 1 deletions

View file

@ -0,0 +1,30 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"songs": {
"items": {
"additionalProperties": false,
"properties": {
"artist": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"artist",
"title"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"songs"
],
"type": "object"
}

View file

@ -0,0 +1,56 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"anyOf": [
{
"additionalProperties": false,
"properties": {
"songs": {
"items": {
"additionalProperties": false,
"properties": {
"artist": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"artist",
"title"
],
"type": "object"
},
"type": "array"
},
"type": {
"const": "success",
"type": "string"
}
},
"required": [
"songs",
"type"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"error": {
"type": "string"
},
"type": {
"const": "error",
"type": "string"
}
},
"required": [
"error",
"type"
],
"type": "object"
}
]
}