Updated podcast episode schema

This commit is contained in:
James Purser 2024-03-31 18:15:51 +11:00
parent 385631bf32
commit 997e7042e5
2 changed files with 455 additions and 16 deletions

View file

@ -20,9 +20,6 @@
"type": "richtext",
"required": true
},
"Transcript": {
"type": "richtext"
},
"Audio_MP3": {
"type": "media",
"multiple": false,
@ -48,6 +45,20 @@
"allowedTypes": [
"audios"
]
},
"Transcript": {
"type": "customField",
"options": {
"preset": "custom"
},
"customField": "plugin::ckeditor5.CKEditor"
},
"Subtitles": {
"allowedTypes": [
"files"
],
"type": "media",
"multiple": false
}
}
}

View file

@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2023-08-27T05:30:45.435Z"
"x-generation-date": "2024-03-31T01:56:01.090Z"
},
"x-strapi-config": {
"path": "/documentation",
@ -4011,9 +4011,6 @@
"Description": {
"type": "string"
},
"Transcript": {
"type": "string"
},
"Audio_MP3": {
"oneOf": [
{
@ -4049,6 +4046,20 @@
}
],
"example": "string or id"
},
"Transcript": {
"type": "string"
},
"Subtitles": {
"oneOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"example": "string or id"
}
}
}
@ -4114,9 +4125,6 @@
"Description": {
"type": "string"
},
"Transcript": {
"type": "string"
},
"Audio_MP3": {
"type": "object",
"properties": {
@ -4915,9 +4923,6 @@
"Description": {
"type": "string"
},
"Transcript": {
"type": "string"
},
"Audio_MP3": {
"type": "object",
"properties": {
@ -5216,6 +5221,148 @@
}
}
},
"Transcript": {
"type": "string"
},
"Subtitles": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number",
"format": "float"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {},
"related": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"folder": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
},
"folderPath": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
},
"updatedBy": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
}
}
}
}
}
}
},
"createdAt": {
"type": "string",
"format": "date-time"
@ -5491,6 +5638,148 @@
}
}
},
"Transcript": {
"type": "string"
},
"Subtitles": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number",
"format": "float"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {},
"related": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"folder": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
},
"folderPath": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
},
"updatedBy": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
}
}
}
}
}
}
},
"createdAt": {
"type": "string",
"format": "date-time"
@ -6343,9 +6632,6 @@
"Description": {
"type": "string"
},
"Transcript": {
"type": "string"
},
"Audio_MP3": {
"type": "object",
"properties": {
@ -6884,6 +7170,148 @@
}
}
},
"Transcript": {
"type": "string"
},
"Subtitles": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"alternativeText": {
"type": "string"
},
"caption": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"formats": {},
"hash": {
"type": "string"
},
"ext": {
"type": "string"
},
"mime": {
"type": "string"
},
"size": {
"type": "number",
"format": "float"
},
"url": {
"type": "string"
},
"previewUrl": {
"type": "string"
},
"provider": {
"type": "string"
},
"provider_metadata": {},
"related": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"folder": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
},
"folderPath": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
},
"updatedBy": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"attributes": {
"type": "object",
"properties": {}
}
}
}
}
}
}
}
}
}
}
},
"createdAt": {
"type": "string",
"format": "date-time"