diff --git a/src/api/parole/content-types/parole/schema.json b/src/api/parole/content-types/parole/schema.json index 8735212..0e3b919 100644 --- a/src/api/parole/content-types/parole/schema.json +++ b/src/api/parole/content-types/parole/schema.json @@ -96,6 +96,28 @@ }, "musicBrainzUrl": { "type": "string" + }, + "creativeCommons": { + "type": "enumeration", + "enum": [ + "BY", + "BY-SA", + "BY-ND", + "BY-NC", + "BY-NC-SA", + "BY-NC-ND" + ] + }, + "download": { + "type": "media", + "multiple": true, + "required": false, + "allowedTypes": [ + "audios", + "images", + "videos", + "files" + ] } } } diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index fabadfa..5cf8687 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -505,6 +505,10 @@ export interface ApiParoleParole extends Schema.CollectionType { difference: Attribute.Component<'difference.paroles-diff', true>; gadeEmbed: Attribute.String; musicBrainzUrl: Attribute.String; + creativeCommons: Attribute.Enumeration< + ['BY', 'BY-SA', 'BY-ND', 'BY-NC', 'BY-NC-SA', 'BY-NC-ND'] + >; + download: Attribute.Media; createdAt: Attribute.DateTime; updatedAt: Attribute.DateTime; publishedAt: Attribute.DateTime;