v5 migration + remove i18n

This commit is contained in:
nico 2024-12-29 12:33:22 +01:00
parent b7ce5b7f20
commit b2b6887fdf
Signed by: Nicolas
SSH key fingerprint: SHA256:ELi8eDeNLl5PTn64G+o2Kx5+XVDfHF5um2tZigfwWkM
84 changed files with 1258 additions and 1354 deletions

View file

@ -0,0 +1,61 @@
{
"$ref": "#/definitions/articles",
"definitions": {
"articles": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"subtitle": {
"type": "string"
},
"lang": {
"type": "string",
"enum": [
"fr",
"en"
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"type": "string"
},
"permalink": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"code": {
"type": "boolean"
},
"draft": {
"type": "boolean"
},
"$schema": {
"type": "string"
}
},
"required": [
"title",
"subtitle",
"lang",
"tags",
"type",
"permalink",
"createdAt"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}