From 5c365cf6e7e85e25078dfb47fc89a69af3531296 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Fri, 25 Oct 2024 13:42:42 +0200 Subject: [PATCH 01/72] Added feed sources list --- .../feed-sources/feed-sources-list.jsx | 145 ++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/components/feed-sources/feed-sources-list.jsx diff --git a/src/components/feed-sources/feed-sources-list.jsx b/src/components/feed-sources/feed-sources-list.jsx new file mode 100644 index 00000000..29ccf355 --- /dev/null +++ b/src/components/feed-sources/feed-sources-list.jsx @@ -0,0 +1,145 @@ +import { React, useState, useEffect, useContext } from "react"; +import { useTranslation } from "react-i18next"; +import ContentHeader from "../util/content-header/content-header"; +import { useGetV2FeedSourcesQuery } from "../../redux/api/api.generated.ts"; +import ListContext from "../../context/list-context.jsx"; +import ContentBody from "../util/content-body/content-body.jsx"; +import List from "../util/list/list.jsx"; +import getFeedSourcesColumns from "../feed-sources/feed-sources-columns.jsx"; +import { + displayError, + displaySuccess, +} from "../util/list/toast-component/display-toast.jsx"; +import idFromUrl from "../util/helpers/id-from-url.jsx"; +import UserContext from "../../context/user-context.jsx"; +import useModal from "../../context/modal-context/modal-context-hook.jsx"; + +/** + * The feed sources list component. + * + * @returns {object} The Feed sources list + */ +function FeedSourcesList() { + const { t } = useTranslation("common", { keyPrefix: "feed-sources-list" }); + const context = useContext(UserContext); + const { selected, setSelected } = useModal(); + + const [listData, setListData] = useState(); + const [isDeleting, setIsDeleting] = useState(false); + const [loadingMessage, setLoadingMessage] = useState( + t("loading-messages.loading-feed-sources") + ); + + // Delete call + const [ + DeleteV2FeedSources, + { isSuccess: isDeleteSuccess, error: isDeleteError }, + ] = "test"; // Insert feed source delete api; + + const { + searchText: { get: searchText }, + page: { get: page }, + createdBy: { get: createdBy }, + } = useContext(ListContext); + const { + data, + error: feedSourcesGetError, + isLoading, + refetch, + } = useGetV2FeedSourcesQuery({ + page, + order: { createdAt: "desc" }, + title: searchText, + createdBy, + }); + + /** Deletes multiple feed sources. */ + useEffect(() => { + if (isDeleting && selected.length > 0) { + if (isDeleteSuccess) { + displaySuccess(t("success-messages.feed-source-delete")); + } + const feedSourceToDelete = selected[0]; + setSelected(selected.slice(1)); + const feedSourceToDeleteId = idFromUrl(feedSourceToDelete.id); + DeleteV2FeedSources({ id: feedSourceToDeleteId }); + } + }, [isDeleting, isDeleteSuccess]); + + // Display success messages + useEffect(() => { + if (isDeleteSuccess && selected.length === 0) { + displaySuccess(t("success-messages.feed-source-delete")); + refetch(); + setIsDeleting(false); + } + }, [isDeleteSuccess]); + + // If the tenant is changed, data should be refetched + useEffect(() => { + if (context.selectedTenant.get) { + refetch(); + } + }, [context.selectedTenant.get]); + + useEffect(() => { + refetch(); + }, [searchText, page, createdBy]); + + // Display error on unsuccessful deletion + useEffect(() => { + if (isDeleteError) { + setIsDeleting(false); + displayError(t("error-messages.feed-source-delete-error"), isDeleteError); + } + }, [isDeleteError]); + const handleDelete = () => { + setIsDeleting(true); + setLoadingMessage(t("loading-messages.deleting-feed-source")); + }; + const columns = getFeedSourcesColumns({ + handleDelete, + disableCheckbox: ({ onNumberOfSlides }) => onNumberOfSlides > 0, + disableDelete: ({ onNumberOfSlides }) => onNumberOfSlides > 0, + }); + + useEffect(() => { + if (data) { + setListData(data); + } + }, [data]); + + // Error with retrieving list of feed sources + useEffect(() => { + if (feedSourcesGetError) { + displayError(t("error-messages.feed-sources-load-error"), feedSourcesGetError); + } + }, [feedSourcesGetError]); + + return ( + <> + + {data && data["hydra:member"] && ( + + <> + {listData && ( + + )} + + + )} + + ); +} + +export default FeedSourcesList; From a82090d6aa04e672156ee5a7b77a96dafe9c2a21 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Fri, 25 Oct 2024 13:43:00 +0200 Subject: [PATCH 02/72] Added feed sources columns base --- .../feed-sources/feed-sources-columns.jsx | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/components/feed-sources/feed-sources-columns.jsx diff --git a/src/components/feed-sources/feed-sources-columns.jsx b/src/components/feed-sources/feed-sources-columns.jsx new file mode 100644 index 00000000..05018b1e --- /dev/null +++ b/src/components/feed-sources/feed-sources-columns.jsx @@ -0,0 +1,25 @@ +import { React } from "react"; +import { useTranslation } from "react-i18next"; +import ColumnHoc from "../util/column-hoc"; + +/** + * Columns for themes lists. + * + * @returns {object} The columns for the themes lists. + */ +function getFeedSourcesColumns() { + const { t } = useTranslation("common", { keyPrefix: "feed-sources-list" }); + + const columns = [ + { + key: "slides", + // eslint-disable-next-line react/prop-types + content: ({ onNumberOfSlides }) => <>{onNumberOfSlides}, + label: t("columns.number-of-slides"), + }, + ]; + + return columns; +} + +export default ColumnHoc(getFeedSourcesColumns); From fbd00b68c8699e48cebb23e37007d00b668bc28f Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Fri, 25 Oct 2024 13:43:19 +0200 Subject: [PATCH 03/72] Added feed sources route --- src/app.jsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/app.jsx b/src/app.jsx index 2a417fb4..062299bb 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -42,6 +42,7 @@ import ActivationCodeActivate from "./components/activation-code/activation-code import ConfigLoader from "./config-loader"; import "react-toastify/dist/ReactToastify.css"; import "./app.scss"; +import FeedSourcesList from "./components/feed-sources/feed-sources-list"; /** * App component. @@ -407,6 +408,18 @@ function App() { } /> + + + + + } + /> + } /> Date: Fri, 25 Oct 2024 13:43:32 +0200 Subject: [PATCH 04/72] Added feed sources nav item --- src/components/navigation/nav-items/nav-items.jsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/navigation/nav-items/nav-items.jsx b/src/components/navigation/nav-items/nav-items.jsx index 6e7bb6de..13155f01 100644 --- a/src/components/navigation/nav-items/nav-items.jsx +++ b/src/components/navigation/nav-items/nav-items.jsx @@ -196,7 +196,6 @@ function NavItems() { className={({ isActive }) => `nav-link ${isActive ? "disabled" : ""}` } - to="/themes/list" > {t("configuration")} @@ -214,6 +213,16 @@ function NavItems() { {t("configuration-themes")} + + + `nav-link ${isActive ? "disabled" : ""}` + } + to="/feed-sources/list" + > + {t("configuration-feedsources")} + + )} From 2ad1094e789dae2fec4d8dfbaa2b85d25991258e Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Fri, 25 Oct 2024 13:43:42 +0200 Subject: [PATCH 05/72] Added some danish translations --- src/translations/da/common.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/translations/da/common.json b/src/translations/da/common.json index 686dc784..c597d445 100644 --- a/src/translations/da/common.json +++ b/src/translations/da/common.json @@ -226,6 +226,14 @@ "header": "Temaer", "create-new-theme": "Opret nyt tema" }, + "feed-sources-list": { + "header": "Feed sources", + "create-new-feed-source": "Opret ny feed source", + "loading-messages": { + "deleting-feed-source": "Sletter feed source(s)", + "loading-feed-sources": "Henter feed sources" + } + }, "media-list": { "checkbox-label-sort-desc": "Vis nyeste først", "delete-button": "Slet", @@ -729,7 +737,8 @@ "configuration": "Indstillinger", "configuration-themes": "Temaer", "configuration-users": "Brugere", - "activation-codes": "Aktiveringskoder" + "activation-codes": "Aktiveringskoder", + "configuration-feedsources": "Feed sources" }, "topbar": { "brand": "OS2Display", From 1cf443e9bbc1e27d4e88d1c80f2b284b8db15b64 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Fri, 25 Oct 2024 14:26:59 +0200 Subject: [PATCH 06/72] Added feed source creation and list routes to app.jsx --- src/app.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app.jsx b/src/app.jsx index 062299bb..214328e7 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -43,6 +43,7 @@ import ConfigLoader from "./config-loader"; import "react-toastify/dist/ReactToastify.css"; import "./app.scss"; import FeedSourcesList from "./components/feed-sources/feed-sources-list"; +import FeedSourceCreate from "./components/feed-sources/feed-source-create"; /** * App component. @@ -419,6 +420,16 @@ function App() { } /> + + + + } + /> } /> Date: Fri, 25 Oct 2024 14:26:59 +0200 Subject: [PATCH 07/72] Added new Component files for Feed Source creation --- .../feed-sources/feed-source-create.jsx | 23 ++ .../feed-sources/feed-source-form.jsx | 121 +++++++++ .../feed-sources/feed-source-manager.jsx | 233 ++++++++++++++++++ 3 files changed, 377 insertions(+) create mode 100644 src/components/feed-sources/feed-source-create.jsx create mode 100644 src/components/feed-sources/feed-source-form.jsx create mode 100644 src/components/feed-sources/feed-source-manager.jsx diff --git a/src/components/feed-sources/feed-source-create.jsx b/src/components/feed-sources/feed-source-create.jsx new file mode 100644 index 00000000..50bf437e --- /dev/null +++ b/src/components/feed-sources/feed-source-create.jsx @@ -0,0 +1,23 @@ +import { React } from "react"; +import FeedSourceManager from "./feed-source-manager"; + +/** + * The themes create component. + * + * @returns {object} The themes create page. + */ +function FeedSourceCreate() { + // Initialize to empty feed source object. + const data = { + title: "", + description: "", + modifiedBy: "", + createdBy: "", + cssStyles: "", + media: [], + }; + + return ; +} + +export default FeedSourceCreate; diff --git a/src/components/feed-sources/feed-source-form.jsx b/src/components/feed-sources/feed-source-form.jsx new file mode 100644 index 00000000..085370ff --- /dev/null +++ b/src/components/feed-sources/feed-source-form.jsx @@ -0,0 +1,121 @@ +import { React } from "react"; +import { Button, FormLabel } from "react-bootstrap"; +import { useTranslation } from "react-i18next"; +import { useNavigate } from "react-router-dom"; +import PropTypes from "prop-types"; +import Form from "react-bootstrap/Form"; +import LoadingComponent from "../util/loading-component/loading-component"; +import FormInputArea from "../util/forms/form-input-area"; +import ContentBody from "../util/content-body/content-body"; +import ContentFooter from "../util/content-footer/content-footer"; +import FormInput from "../util/forms/form-input"; +import ImageUploader from "../util/image-uploader/image-uploader"; + +/** + * The feed-source form component. + * + * @param {object} props - The props. + * @param {object} props.feed-source The feed-source object to modify in the form. + * @param {Function} props.handleInput Handles form input. + * @param {Function} props.handleSubmit Handles form submit. + * @param {string} props.headerText Headline text. + * @param {boolean} props.isLoading Indicator of whether the form is loading + * @param {string} props.loadingMessage The loading message for the spinner + * @returns {object} The feed-source form. + */ +function FeedSourceForm({ + handleInput, + handleSubmit, + headerText, + isLoading = false, + loadingMessage = "", + feedSource = null, +}) { + const { t } = useTranslation("common", { keyPrefix: "feed-source-form" }); + const navigate = useNavigate(); + + return ( + <> +
+ +

{headerText}

+ + + + + +

{t("css-header")}

+ + + {t("logo-title")} + + +
+ + + + + + + ); +} + +FeedSourceForm.propTypes = { + feedSource: PropTypes.shape({ + cssStyles: PropTypes.string, + logo: PropTypes.shape({}), + description: PropTypes.string, + title: PropTypes.string, + }), + handleInput: PropTypes.func.isRequired, + handleSubmit: PropTypes.func.isRequired, + headerText: PropTypes.string.isRequired, + isLoading: PropTypes.bool, + loadingMessage: PropTypes.string, +}; + +export default FeedSourceForm; diff --git a/src/components/feed-sources/feed-source-manager.jsx b/src/components/feed-sources/feed-source-manager.jsx new file mode 100644 index 00000000..a5704620 --- /dev/null +++ b/src/components/feed-sources/feed-source-manager.jsx @@ -0,0 +1,233 @@ +import { React, useEffect, useState } from "react"; +import { useTranslation } from "react-i18next"; +import PropTypes from "prop-types"; +import { useNavigate } from "react-router-dom"; +import FeedSourceForm from "./feed-source-form"; +import { + usePostV2ThemesMutation, + usePutV2ThemesByIdMutation, + usePostMediaCollectionMutation, +} from "../../redux/api/api.generated.ts"; +import { + displaySuccess, + displayError, +} from "../util/list/toast-component/display-toast"; + +/** + * The theme manager component. + * + * @param {object} props The props. + * @param {object} props.initialState Initial theme state. + * @param {string} props.saveMethod POST or PUT. + * @param {string | null} props.id Theme id. + * @param {boolean} props.isLoading Is the theme state loading? + * @param {object} props.loadingError Loading error. + * @returns {object} The theme form. + */ +function FeedSourceManager({ + saveMethod, + id = null, + isLoading = false, + loadingError = null, + initialState = null, +}) { + // Hooks + const { t } = useTranslation("common", { keyPrefix: "feed-source-manager" }); + const navigate = useNavigate(); + + // State + const [headerText] = useState( + saveMethod === "PUT" ? t("edit-feed-source") : t("create-new-feed-source") + ); + + const [loadingMessage, setLoadingMessage] = useState( + t("loading-messages.loading-feed-source") + ); + + const [submitting, setSubmitting] = useState(false); + const [formStateObject, setFormStateObject] = useState({ + title: "", + description: "", + modifiedBy: "", + createdBy: "", + css: "", + }); + + const [postV2Themes, { error: saveErrorPost, isSuccess: isSaveSuccessPost }] = + usePostV2ThemesMutation(); + + const [ + PutV2ThemesById, + { error: saveErrorPut, isSuccess: isSaveSuccessPut }, + ] = usePutV2ThemesByIdMutation(); + + const [ + PostV2MediaCollection, + { + data: savedMediaData, + isSuccess: isSaveMediaSuccess, + error: saveMediaError, + }, + ] = usePostMediaCollectionMutation(); + + /** Set loaded data into form state. */ + useEffect(() => { + setFormStateObject(initialState); + }, [initialState]); + + /** + * Get logo for savedata + * + * @returns {object} The logo. + */ + function getLogo() { + if (savedMediaData) { + return savedMediaData["@id"]; + } + if ( + Array.isArray(formStateObject.logo) && + formStateObject.logo.length > 0 + ) { + return formStateObject.logo[0]["@id"]; + } + if (formStateObject.logo) { + return formStateObject.logo["@id"]; + } + return null; + } + + /** Save theme. */ + function saveTheme() { + setLoadingMessage(t("loading-messages.saving-feed-source")); + const logo = getLogo(); + const saveData = { + title: formStateObject.title, + description: formStateObject.description, + modifiedBy: formStateObject.modifiedBy, + createdBy: formStateObject.createdBy, + css: formStateObject.cssStyles, + }; + if (logo) { + saveData.logo = logo; + } + if (saveMethod === "POST") { + postV2Themes({ themeThemeInput: JSON.stringify(saveData) }); + } else if (saveMethod === "PUT") { + PutV2ThemesById({ themeThemeInput: JSON.stringify(saveData), id }); + } + } + + /** + * Set state on change in input field + * + * @param {object} props - The props. + * @param {object} props.target - Event target. + */ + const handleInput = ({ target }) => { + const localFormStateObject = { ...formStateObject }; + localFormStateObject[target.id] = target.value; + setFormStateObject(localFormStateObject); + }; + + /** If the theme is not loaded, display the error message */ + useEffect(() => { + if (loadingError) { + displayError( + t("error-messages.load-feed-source-error", { id }), + loadingError + ); + } + }, [loadingError]); + + // Media are not saved successfully, display a message + useEffect(() => { + if (saveMediaError) { + setSubmitting(false); + displayError(t("error-messages.save-media-error"), saveMediaError); + } + }, [saveMediaError]); + + // Media is saved successfully, display a message + useEffect(() => { + if (isSaveMediaSuccess && savedMediaData) { + setSubmitting(false); + displaySuccess(t("success-messages.saved-media")); + saveTheme(); + } + }, [isSaveMediaSuccess]); + + /** @param {object} media The media object to save */ + function saveMedia(media) { + // Submit media. + const formData = new FormData(); + formData.append("file", media.file); + formData.append("title", media.title); + formData.append("description", media.description); + formData.append("license", media.license); + // @TODO: Should these be optional in the API? + formData.append("modifiedBy", ""); + formData.append("createdBy", ""); + + PostV2MediaCollection({ body: formData }); + } + + /** When the media is saved, the theme will be saved. */ + useEffect(() => { + if (isSaveSuccessPost || isSaveSuccessPut) { + setSubmitting(false); + displaySuccess(t("success-messages.saved-feed-source")); + navigate("/feed-sources/list"); + } + }, [isSaveSuccessPut, isSaveSuccessPost]); + + /** Handles submit. */ + const handleSubmit = () => { + setSubmitting(true); + if (formStateObject.logo?.length > 0 && formStateObject.logo[0].url) { + setLoadingMessage(t("loading-messages.saving-media")); + saveMedia(formStateObject.logo[0]); + } else { + saveTheme(); + } + }; + + /** If the theme is saved with error, display the error message */ + useEffect(() => { + if (saveErrorPut || saveErrorPost) { + const saveError = saveErrorPut || saveErrorPost; + setSubmitting(false); + displayError(t("error-messages.save-feed-source-error"), saveError); + } + }, [saveErrorPut, saveErrorPost]); + + return ( + <> + {formStateObject && ( + + )} + + ); +} + +FeedSourceManager.propTypes = { + initialState: PropTypes.shape({ + logo: PropTypes.shape({}), + }), + saveMethod: PropTypes.string.isRequired, + id: PropTypes.string, + isLoading: PropTypes.bool, + loadingError: PropTypes.shape({ + data: PropTypes.shape({ + status: PropTypes.number, + }), + }), +}; + +export default FeedSourceManager; From 05fc16d5d32a629ba52db80908484aa1c35a8fc5 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Fri, 25 Oct 2024 14:26:59 +0200 Subject: [PATCH 08/72] Updated Danish translations for Feed Source functionality --- src/translations/da/common.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/translations/da/common.json b/src/translations/da/common.json index c597d445..32643e1a 100644 --- a/src/translations/da/common.json +++ b/src/translations/da/common.json @@ -234,6 +234,33 @@ "loading-feed-sources": "Henter feed sources" } }, + "feed-source-manager": { + "edit-feed-source": "Rediger følgende feed source", + "create-new-feed-source": "Opret ny feed source", + "loading-messages": { + "loading-feed-source": "Henter feed source", + "saving-feed-source": "Gemmer feed source", + "saving-media": "Mediet bliver gemt" + }, + "success-messages": { + "saved-media": "Mediet er gemt", + "saved-feed-source": "Feed source er gemt" + }, + "error-messages": { + "save-media-error": "Der skete en fejl da mediet skulle gemmes:", + "save-feed-source-error": "Der skete en fejl da feed source skulle gemmes:", + "load-feed-source-error": "Der skete en fejl da feed source med følgende id: {{id}} skulle hentes:" + } + }, + "feed-source-form": { + "logo-title": "Tilføj logo til feed source", + "feed-source-name-label": "Feed source navn", + "feed-source-description-label": "Feed source beskrivelse", + "css-header": "Feed source CSS", + "feed-source-css-label": "Feed source CSS", + "save-button": "Gem feed source", + "cancel-button": "Annuller" + }, "media-list": { "checkbox-label-sort-desc": "Vis nyeste først", "delete-button": "Slet", From 79f61c836949b147e7a82e524e6e48f6ad835862 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 14:44:07 +0100 Subject: [PATCH 09/72] Added new FeedSourceEdit component --- .../feed-sources/feed-source-edit.jsx | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/components/feed-sources/feed-source-edit.jsx diff --git a/src/components/feed-sources/feed-source-edit.jsx b/src/components/feed-sources/feed-source-edit.jsx new file mode 100644 index 00000000..7107dcfe --- /dev/null +++ b/src/components/feed-sources/feed-source-edit.jsx @@ -0,0 +1,31 @@ +import { React } from "react"; +import { useParams } from "react-router-dom"; +import { useGetV2FeedSourcesByIdQuery } from "../../redux/api/api.generated.ts"; +import FeedSourceManager from "./feed-source-manager"; + +/** + * The feed source edit component. + * + * @returns {object} The feed sources edit page. + */ +function FeedSourceEdit() { + const { id } = useParams(); + + const { + data, + error: loadingError, + isLoading, + } = useGetV2FeedSourcesByIdQuery({ id }); + + return ( + + ); +} + +export default FeedSourceEdit; From d8fb7aa4bb1ee413620177907833b743241e11f3 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 14:44:07 +0100 Subject: [PATCH 10/72] Cleaned up FeedSourceForm component --- .../feed-sources/feed-source-form.jsx | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/src/components/feed-sources/feed-source-form.jsx b/src/components/feed-sources/feed-source-form.jsx index 085370ff..9b3a0768 100644 --- a/src/components/feed-sources/feed-source-form.jsx +++ b/src/components/feed-sources/feed-source-form.jsx @@ -1,5 +1,5 @@ import { React } from "react"; -import { Button, FormLabel } from "react-bootstrap"; +import { Button } from "react-bootstrap"; import { useTranslation } from "react-i18next"; import { useNavigate } from "react-router-dom"; import PropTypes from "prop-types"; @@ -9,7 +9,6 @@ import FormInputArea from "../util/forms/form-input-area"; import ContentBody from "../util/content-body/content-body"; import ContentFooter from "../util/content-footer/content-footer"; import FormInput from "../util/forms/form-input"; -import ImageUploader from "../util/image-uploader/image-uploader"; /** * The feed-source form component. @@ -57,25 +56,19 @@ function FeedSourceForm({ value={feedSource.description} onChange={handleInput} /> - - -

{t("css-header")}

- - {t("logo-title")} - -
From a60373a7d48adf394a259f1e3aba984e6278f912 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 14:44:07 +0100 Subject: [PATCH 11/72] Cleaned up and updated relevant methods --- .../feed-sources/feed-source-manager.jsx | 99 +++---------------- 1 file changed, 13 insertions(+), 86 deletions(-) diff --git a/src/components/feed-sources/feed-source-manager.jsx b/src/components/feed-sources/feed-source-manager.jsx index a5704620..4e8a8637 100644 --- a/src/components/feed-sources/feed-source-manager.jsx +++ b/src/components/feed-sources/feed-source-manager.jsx @@ -4,9 +4,8 @@ import PropTypes from "prop-types"; import { useNavigate } from "react-router-dom"; import FeedSourceForm from "./feed-source-form"; import { - usePostV2ThemesMutation, - usePutV2ThemesByIdMutation, - usePostMediaCollectionMutation, + usePostV2FeedSourcesMutation, + usePutV2FeedSourcesByIdMutation } from "../../redux/api/api.generated.ts"; import { displaySuccess, @@ -53,67 +52,32 @@ function FeedSourceManager({ css: "", }); - const [postV2Themes, { error: saveErrorPost, isSuccess: isSaveSuccessPost }] = - usePostV2ThemesMutation(); + const [postV2FeedSources, { error: saveErrorPost, isSuccess: isSaveSuccessPost }] = usePostV2FeedSourcesMutation(); const [ - PutV2ThemesById, + PutV2FeedSourcesById, { error: saveErrorPut, isSuccess: isSaveSuccessPut }, - ] = usePutV2ThemesByIdMutation(); - - const [ - PostV2MediaCollection, - { - data: savedMediaData, - isSuccess: isSaveMediaSuccess, - error: saveMediaError, - }, - ] = usePostMediaCollectionMutation(); + ] = usePutV2FeedSourcesByIdMutation(); /** Set loaded data into form state. */ useEffect(() => { setFormStateObject(initialState); }, [initialState]); - /** - * Get logo for savedata - * - * @returns {object} The logo. - */ - function getLogo() { - if (savedMediaData) { - return savedMediaData["@id"]; - } - if ( - Array.isArray(formStateObject.logo) && - formStateObject.logo.length > 0 - ) { - return formStateObject.logo[0]["@id"]; - } - if (formStateObject.logo) { - return formStateObject.logo["@id"]; - } - return null; - } - /** Save theme. */ - function saveTheme() { + /** Save feed source. */ + function saveFeedSource() { setLoadingMessage(t("loading-messages.saving-feed-source")); - const logo = getLogo(); const saveData = { title: formStateObject.title, description: formStateObject.description, - modifiedBy: formStateObject.modifiedBy, - createdBy: formStateObject.createdBy, - css: formStateObject.cssStyles, + feedType: formStateObject.feedType, + supportedFeedOutputType: formStateObject.supportedFeedOutputType, }; - if (logo) { - saveData.logo = logo; - } if (saveMethod === "POST") { - postV2Themes({ themeThemeInput: JSON.stringify(saveData) }); + postV2FeedSources({ feedSourceFeedSourceInput: JSON.stringify(saveData) }); } else if (saveMethod === "PUT") { - PutV2ThemesById({ themeThemeInput: JSON.stringify(saveData), id }); + PutV2FeedSourcesById({ feedSourceFeedSourceInput: JSON.stringify(saveData), id }); } } @@ -129,7 +93,7 @@ function FeedSourceManager({ setFormStateObject(localFormStateObject); }; - /** If the theme is not loaded, display the error message */ + /** If the feed source is not loaded, display the error message */ useEffect(() => { if (loadingError) { displayError( @@ -139,38 +103,6 @@ function FeedSourceManager({ } }, [loadingError]); - // Media are not saved successfully, display a message - useEffect(() => { - if (saveMediaError) { - setSubmitting(false); - displayError(t("error-messages.save-media-error"), saveMediaError); - } - }, [saveMediaError]); - - // Media is saved successfully, display a message - useEffect(() => { - if (isSaveMediaSuccess && savedMediaData) { - setSubmitting(false); - displaySuccess(t("success-messages.saved-media")); - saveTheme(); - } - }, [isSaveMediaSuccess]); - - /** @param {object} media The media object to save */ - function saveMedia(media) { - // Submit media. - const formData = new FormData(); - formData.append("file", media.file); - formData.append("title", media.title); - formData.append("description", media.description); - formData.append("license", media.license); - // @TODO: Should these be optional in the API? - formData.append("modifiedBy", ""); - formData.append("createdBy", ""); - - PostV2MediaCollection({ body: formData }); - } - /** When the media is saved, the theme will be saved. */ useEffect(() => { if (isSaveSuccessPost || isSaveSuccessPut) { @@ -183,12 +115,7 @@ function FeedSourceManager({ /** Handles submit. */ const handleSubmit = () => { setSubmitting(true); - if (formStateObject.logo?.length > 0 && formStateObject.logo[0].url) { - setLoadingMessage(t("loading-messages.saving-media")); - saveMedia(formStateObject.logo[0]); - } else { - saveTheme(); - } + saveFeedSource(); }; /** If the theme is saved with error, display the error message */ From 3b4e268765bf69eb80ef418a39346e4e24436ecc Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 14:44:07 +0100 Subject: [PATCH 12/72] Updated FeedSourcesList to use feed sources delete API --- src/components/feed-sources/feed-sources-list.jsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/feed-sources/feed-sources-list.jsx b/src/components/feed-sources/feed-sources-list.jsx index 29ccf355..993d1501 100644 --- a/src/components/feed-sources/feed-sources-list.jsx +++ b/src/components/feed-sources/feed-sources-list.jsx @@ -1,7 +1,10 @@ import { React, useState, useEffect, useContext } from "react"; import { useTranslation } from "react-i18next"; import ContentHeader from "../util/content-header/content-header"; -import { useGetV2FeedSourcesQuery } from "../../redux/api/api.generated.ts"; +import { + useGetV2FeedSourcesQuery, + useDeleteV2FeedSourcesByIdMutation, +} from "../../redux/api/api.generated.ts"; import ListContext from "../../context/list-context.jsx"; import ContentBody from "../util/content-body/content-body.jsx"; import List from "../util/list/list.jsx"; @@ -34,7 +37,7 @@ function FeedSourcesList() { const [ DeleteV2FeedSources, { isSuccess: isDeleteSuccess, error: isDeleteError }, - ] = "test"; // Insert feed source delete api; + ] = useDeleteV2FeedSourcesByIdMutation(); // Insert feed source delete api; const { searchText: { get: searchText }, From 489935ad987a4fcfcdc0e1d3212a587872b3fd32 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 14:45:03 +0100 Subject: [PATCH 13/72] Added edit route for feed source --- src/app.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app.jsx b/src/app.jsx index 214328e7..6f1d9c1a 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -44,6 +44,7 @@ import "react-toastify/dist/ReactToastify.css"; import "./app.scss"; import FeedSourcesList from "./components/feed-sources/feed-sources-list"; import FeedSourceCreate from "./components/feed-sources/feed-source-create"; +import FeedSourceEdit from "./components/feed-sources/feed-source-edit"; /** * App component. @@ -430,6 +431,16 @@ function App() { } /> + + + + } + /> } /> Date: Mon, 28 Oct 2024 14:45:17 +0100 Subject: [PATCH 14/72] Added translations --- src/translations/da/common.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/translations/da/common.json b/src/translations/da/common.json index 32643e1a..fbd5f882 100644 --- a/src/translations/da/common.json +++ b/src/translations/da/common.json @@ -256,6 +256,8 @@ "logo-title": "Tilføj logo til feed source", "feed-source-name-label": "Feed source navn", "feed-source-description-label": "Feed source beskrivelse", + "feed-source-feed-type-label": "Feed source type", + "feed-source-supported-feed-output-type-label": "Feed output type", "css-header": "Feed source CSS", "feed-source-css-label": "Feed source CSS", "save-button": "Gem feed source", From e49f6f0ff20a4a251811d713cee1dea6fc2b76a4 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 15:09:34 +0100 Subject: [PATCH 15/72] Added feed source type to list view --- src/components/feed-sources/feed-sources-columns.jsx | 7 +++---- src/components/feed-sources/feed-sources-list.jsx | 2 +- src/translations/da/common.json | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/feed-sources/feed-sources-columns.jsx b/src/components/feed-sources/feed-sources-columns.jsx index 05018b1e..028b3a4e 100644 --- a/src/components/feed-sources/feed-sources-columns.jsx +++ b/src/components/feed-sources/feed-sources-columns.jsx @@ -12,10 +12,9 @@ function getFeedSourcesColumns() { const columns = [ { - key: "slides", - // eslint-disable-next-line react/prop-types - content: ({ onNumberOfSlides }) => <>{onNumberOfSlides}, - label: t("columns.number-of-slides"), + key: "publishing-from", + content: ({ feedType }) => <>{feedType}, + label: t("columns.feed-type"), }, ]; diff --git a/src/components/feed-sources/feed-sources-list.jsx b/src/components/feed-sources/feed-sources-list.jsx index 993d1501..3b26d6e9 100644 --- a/src/components/feed-sources/feed-sources-list.jsx +++ b/src/components/feed-sources/feed-sources-list.jsx @@ -3,7 +3,7 @@ import { useTranslation } from "react-i18next"; import ContentHeader from "../util/content-header/content-header"; import { useGetV2FeedSourcesQuery, - useDeleteV2FeedSourcesByIdMutation, + useDeleteV2FeedSourcesByIdMutation } from "../../redux/api/api.generated.ts"; import ListContext from "../../context/list-context.jsx"; import ContentBody from "../util/content-body/content-body.jsx"; diff --git a/src/translations/da/common.json b/src/translations/da/common.json index fbd5f882..8d56564e 100644 --- a/src/translations/da/common.json +++ b/src/translations/da/common.json @@ -232,6 +232,9 @@ "loading-messages": { "deleting-feed-source": "Sletter feed source(s)", "loading-feed-sources": "Henter feed sources" + }, + "columns": { + "feed-type": "Type" } }, "feed-source-manager": { From 2a16fb850f35cf69b35cedddc85b390b38fac072 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 28 Oct 2024 15:34:59 +0100 Subject: [PATCH 16/72] Updated api form pr display-api-service#222 --- src/redux/api/api.generated.ts | 464 +- src/redux/api/api.json | 30806 ++++++++++++++++--------------- 2 files changed, 15775 insertions(+), 15495 deletions(-) diff --git a/src/redux/api/api.generated.ts b/src/redux/api/api.generated.ts index b392f390..c297a556 100644 --- a/src/redux/api/api.generated.ts +++ b/src/redux/api/api.generated.ts @@ -33,16 +33,6 @@ export const api = createApi({ body: queryArg.screenLoginInput, }), }), - loginCheckPost: build.mutation< - LoginCheckPostApiResponse, - LoginCheckPostApiArg - >({ - query: (queryArg) => ({ - url: `/v2/authentication/token`, - method: "POST", - body: queryArg.body, - }), - }), postRefreshTokenItem: build.mutation< PostRefreshTokenItemApiResponse, PostRefreshTokenItemApiArg @@ -53,24 +43,6 @@ export const api = createApi({ body: queryArg.refreshTokenRequest, }), }), - getV2CampaignsByIdScreenGroups: build.query< - GetV2CampaignsByIdScreenGroupsApiResponse, - GetV2CampaignsByIdScreenGroupsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/campaigns/${queryArg.id}/screen-groups`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), - getV2CampaignsByIdScreens: build.query< - GetV2CampaignsByIdScreensApiResponse, - GetV2CampaignsByIdScreensApiArg - >({ - query: (queryArg) => ({ - url: `/v2/campaigns/${queryArg.id}/screens`, - params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, - }), - }), getV2FeedSources: build.query< GetV2FeedSourcesApiResponse, GetV2FeedSourcesApiArg @@ -89,12 +61,41 @@ export const api = createApi({ }, }), }), + postV2FeedSources: build.mutation< + PostV2FeedSourcesApiResponse, + PostV2FeedSourcesApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources`, + method: "POST", + body: queryArg.feedSourceFeedSourceInput, + }), + }), getV2FeedSourcesById: build.query< GetV2FeedSourcesByIdApiResponse, GetV2FeedSourcesByIdApiArg >({ query: (queryArg) => ({ url: `/v2/feed-sources/${queryArg.id}` }), }), + putV2FeedSourcesById: build.mutation< + PutV2FeedSourcesByIdApiResponse, + PutV2FeedSourcesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources/${queryArg.id}`, + method: "PUT", + body: queryArg.feedSourceFeedSourceInput, + }), + }), + deleteV2FeedSourcesById: build.mutation< + DeleteV2FeedSourcesByIdApiResponse, + DeleteV2FeedSourcesByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/feed-sources/${queryArg.id}`, + method: "DELETE", + }), + }), getV2FeedSourcesByIdConfigAndName: build.query< GetV2FeedSourcesByIdConfigAndNameApiResponse, GetV2FeedSourcesByIdConfigAndNameApiArg @@ -139,6 +140,16 @@ export const api = createApi({ >({ query: (queryArg) => ({ url: `/v2/layouts/${queryArg.id}` }), }), + loginCheckPost: build.mutation< + LoginCheckPostApiResponse, + LoginCheckPostApiArg + >({ + query: (queryArg) => ({ + url: `/v2/authentication/token`, + method: "POST", + body: queryArg.body, + }), + }), getV2Media: build.query({ query: (queryArg) => ({ url: `/v2/media`, @@ -178,6 +189,24 @@ export const api = createApi({ method: "DELETE", }), }), + getV2CampaignsByIdScreenGroups: build.query< + GetV2CampaignsByIdScreenGroupsApiResponse, + GetV2CampaignsByIdScreenGroupsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/campaigns/${queryArg.id}/screen-groups`, + params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, + }), + }), + getV2CampaignsByIdScreens: build.query< + GetV2CampaignsByIdScreensApiResponse, + GetV2CampaignsByIdScreensApiArg + >({ + query: (queryArg) => ({ + url: `/v2/campaigns/${queryArg.id}/screens`, + params: { page: queryArg.page, itemsPerPage: queryArg.itemsPerPage }, + }), + }), getV2Playlists: build.query< GetV2PlaylistsApiResponse, GetV2PlaylistsApiArg @@ -265,6 +294,37 @@ export const api = createApi({ method: "DELETE", }), }), + getV2SlidesByIdPlaylists: build.query< + GetV2SlidesByIdPlaylistsApiResponse, + GetV2SlidesByIdPlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}/playlists`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + published: queryArg.published, + }, + }), + }), + putV2SlidesByIdPlaylists: build.mutation< + PutV2SlidesByIdPlaylistsApiResponse, + PutV2SlidesByIdPlaylistsApiArg + >({ + query: (queryArg) => ({ + url: `/v2/slides/${queryArg.id}/playlists`, + method: "PUT", + body: queryArg.body, + }), + }), + getScreenGroupCampaignItem: build.query< + GetScreenGroupCampaignItemApiResponse, + GetScreenGroupCampaignItemApiArg + >({ + query: (queryArg) => ({ + url: `/v2/screen-groups-campaigns/${queryArg.id}`, + }), + }), getV2ScreenGroups: build.query< GetV2ScreenGroupsApiResponse, GetV2ScreenGroupsApiArg @@ -292,14 +352,6 @@ export const api = createApi({ body: queryArg.screenGroupScreenGroupInput, }), }), - getScreenGroupCampaignItem: build.query< - GetScreenGroupCampaignItemApiResponse, - GetScreenGroupCampaignItemApiArg - >({ - query: (queryArg) => ({ - url: `/v2/screen-groups-campaigns/${queryArg.id}`, - }), - }), getV2ScreenGroupsById: build.query< GetV2ScreenGroupsByIdApiResponse, GetV2ScreenGroupsByIdApiArg @@ -587,29 +639,6 @@ export const api = createApi({ body: queryArg.slideInteractiveSlideActionInput, }), }), - getV2SlidesByIdPlaylists: build.query< - GetV2SlidesByIdPlaylistsApiResponse, - GetV2SlidesByIdPlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}/playlists`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - published: queryArg.published, - }, - }), - }), - putV2SlidesByIdPlaylists: build.mutation< - PutV2SlidesByIdPlaylistsApiResponse, - PutV2SlidesByIdPlaylistsApiArg - >({ - query: (queryArg) => ({ - url: `/v2/slides/${queryArg.id}/playlists`, - method: "PUT", - body: queryArg.body, - }), - }), getV2Templates: build.query< GetV2TemplatesApiResponse, GetV2TemplatesApiArg @@ -698,6 +727,61 @@ export const api = createApi({ method: "DELETE", }), }), + getV2Users: build.query({ + query: (queryArg) => ({ + url: `/v2/users`, + params: { + page: queryArg.page, + itemsPerPage: queryArg.itemsPerPage, + fullName: queryArg.fullName, + email: queryArg.email, + createdBy: queryArg.createdBy, + modifiedBy: queryArg.modifiedBy, + order: queryArg.order, + }, + }), + }), + postV2Users: build.mutation({ + query: (queryArg) => ({ + url: `/v2/users`, + method: "POST", + body: queryArg.userUserInput, + }), + }), + getV2UsersById: build.query< + GetV2UsersByIdApiResponse, + GetV2UsersByIdApiArg + >({ + query: (queryArg) => ({ url: `/v2/users/${queryArg.id}` }), + }), + putV2UsersById: build.mutation< + PutV2UsersByIdApiResponse, + PutV2UsersByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/users/${queryArg.id}`, + method: "PUT", + body: queryArg.userUserInput, + }), + }), + deleteV2UsersById: build.mutation< + DeleteV2UsersByIdApiResponse, + DeleteV2UsersByIdApiArg + >({ + query: (queryArg) => ({ + url: `/v2/users/${queryArg.id}`, + method: "DELETE", + }), + }), + deleteV2UsersByIdRemoveFromTenant: build.mutation< + DeleteV2UsersByIdRemoveFromTenantApiResponse, + DeleteV2UsersByIdRemoveFromTenantApiArg + >({ + query: (queryArg) => ({ + url: `/v2/users/${queryArg.id}/remove-from-tenant`, + method: "DELETE", + }), + }), getV2UserActivationCodes: build.query< GetV2UserActivationCodesApiResponse, GetV2UserActivationCodesApiArg @@ -754,61 +838,6 @@ export const api = createApi({ method: "DELETE", }), }), - getV2Users: build.query({ - query: (queryArg) => ({ - url: `/v2/users`, - params: { - page: queryArg.page, - itemsPerPage: queryArg.itemsPerPage, - fullName: queryArg.fullName, - email: queryArg.email, - createdBy: queryArg.createdBy, - modifiedBy: queryArg.modifiedBy, - order: queryArg.order, - }, - }), - }), - postV2Users: build.mutation({ - query: (queryArg) => ({ - url: `/v2/users`, - method: "POST", - body: queryArg.userUserInput, - }), - }), - getV2UsersById: build.query< - GetV2UsersByIdApiResponse, - GetV2UsersByIdApiArg - >({ - query: (queryArg) => ({ url: `/v2/users/${queryArg.id}` }), - }), - putV2UsersById: build.mutation< - PutV2UsersByIdApiResponse, - PutV2UsersByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/users/${queryArg.id}`, - method: "PUT", - body: queryArg.userUserInput, - }), - }), - deleteV2UsersById: build.mutation< - DeleteV2UsersByIdApiResponse, - DeleteV2UsersByIdApiArg - >({ - query: (queryArg) => ({ - url: `/v2/users/${queryArg.id}`, - method: "DELETE", - }), - }), - deleteV2UsersByIdRemoveFromTenant: build.mutation< - DeleteV2UsersByIdRemoveFromTenantApiResponse, - DeleteV2UsersByIdRemoveFromTenantApiArg - >({ - query: (queryArg) => ({ - url: `/v2/users/${queryArg.id}/remove-from-tenant`, - method: "DELETE", - }), - }), }), }); export type GetOidcAuthTokenItemApiResponse = @@ -831,36 +860,12 @@ export type PostLoginInfoScreenApiArg = { /** Get login info with JWT token for given nonce */ screenLoginInput: ScreenLoginInput; }; -export type LoginCheckPostApiResponse = /** status 200 User token created */ { - token: string; -}; -export type LoginCheckPostApiArg = { - /** The login data */ - body: { - providerId: string; - password: string; - }; -}; export type PostRefreshTokenItemApiResponse = /** status 200 Refresh JWT token */ RefreshTokenResponse; export type PostRefreshTokenItemApiArg = { /** Refresh JWT Token */ refreshTokenRequest: RefreshTokenRequest; }; -export type GetV2CampaignsByIdScreenGroupsApiResponse = unknown; -export type GetV2CampaignsByIdScreenGroupsApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; -}; -export type GetV2CampaignsByIdScreensApiResponse = unknown; -export type GetV2CampaignsByIdScreensApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; -}; export type GetV2FeedSourcesApiResponse = unknown; export type GetV2FeedSourcesApiArg = { page?: number; @@ -884,10 +889,25 @@ export type GetV2FeedSourcesApiArg = { modifiedAt?: "asc" | "desc"; }; }; +export type PostV2FeedSourcesApiResponse = unknown; +export type PostV2FeedSourcesApiArg = { + /** The new FeedSource resource */ + feedSourceFeedSourceInput: FeedSourceFeedSourceInput; +}; export type GetV2FeedSourcesByIdApiResponse = unknown; export type GetV2FeedSourcesByIdApiArg = { id: string; }; +export type PutV2FeedSourcesByIdApiResponse = unknown; +export type PutV2FeedSourcesByIdApiArg = { + id: string; + /** The updated FeedSource resource */ + feedSourceFeedSourceInput: FeedSourceFeedSourceInput; +}; +export type DeleteV2FeedSourcesByIdApiResponse = unknown; +export type DeleteV2FeedSourcesByIdApiArg = { + id: string; +}; export type GetV2FeedSourcesByIdConfigAndNameApiResponse = unknown; export type GetV2FeedSourcesByIdConfigAndNameApiArg = { id: string; @@ -927,6 +947,16 @@ export type GetV2LayoutsByIdApiResponse = unknown; export type GetV2LayoutsByIdApiArg = { id: string; }; +export type LoginCheckPostApiResponse = /** status 200 User token created */ { + token: string; +}; +export type LoginCheckPostApiArg = { + /** The login data */ + body: { + providerId: string; + password: string; + }; +}; export type GetV2MediaApiResponse = unknown; export type GetV2MediaApiArg = { page?: number; @@ -964,6 +994,20 @@ export type DeleteV2MediaByIdApiResponse = unknown; export type DeleteV2MediaByIdApiArg = { id: string; }; +export type GetV2CampaignsByIdScreenGroupsApiResponse = unknown; +export type GetV2CampaignsByIdScreenGroupsApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; +}; +export type GetV2CampaignsByIdScreensApiResponse = unknown; +export type GetV2CampaignsByIdScreensApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; +}; export type GetV2PlaylistsApiResponse = unknown; export type GetV2PlaylistsApiArg = { page: number; @@ -1029,6 +1073,25 @@ export type DeleteV2PlaylistsByIdSlidesAndSlideIdApiArg = { id: string; slideId: string; }; +export type GetV2SlidesByIdPlaylistsApiResponse = unknown; +export type GetV2SlidesByIdPlaylistsApiArg = { + id: string; + page?: number; + /** The number of items per page */ + itemsPerPage?: string; + /** If true only published content will be shown */ + published?: boolean; +}; +export type PutV2SlidesByIdPlaylistsApiResponse = unknown; +export type PutV2SlidesByIdPlaylistsApiArg = { + id: string; + body: Blob; +}; +export type GetScreenGroupCampaignItemApiResponse = unknown; +export type GetScreenGroupCampaignItemApiArg = { + /** ScreenGroupCampaign identifier */ + id: string; +}; export type GetV2ScreenGroupsApiResponse = unknown; export type GetV2ScreenGroupsApiArg = { page?: number; @@ -1053,11 +1116,6 @@ export type PostV2ScreenGroupsApiArg = { /** The new ScreenGroup resource */ screenGroupScreenGroupInput: ScreenGroupScreenGroupInput; }; -export type GetScreenGroupCampaignItemApiResponse = unknown; -export type GetScreenGroupCampaignItemApiArg = { - /** ScreenGroupCampaign identifier */ - id: string; -}; export type GetV2ScreenGroupsByIdApiResponse = unknown; export type GetV2ScreenGroupsByIdApiArg = { id: string; @@ -1263,20 +1321,6 @@ export type ApiSlidePerformActionApiArg = { /** The new Slide resource */ slideInteractiveSlideActionInput: SlideInteractiveSlideActionInput; }; -export type GetV2SlidesByIdPlaylistsApiResponse = unknown; -export type GetV2SlidesByIdPlaylistsApiArg = { - id: string; - page?: number; - /** The number of items per page */ - itemsPerPage?: string; - /** If true only published content will be shown */ - published?: boolean; -}; -export type PutV2SlidesByIdPlaylistsApiResponse = unknown; -export type PutV2SlidesByIdPlaylistsApiArg = { - id: string; - body: Blob; -}; export type GetV2TemplatesApiResponse = unknown; export type GetV2TemplatesApiArg = { page?: number; @@ -1356,38 +1400,6 @@ export type DeleteV2ThemesByIdApiResponse = unknown; export type DeleteV2ThemesByIdApiArg = { id: string; }; -export type GetV2UserActivationCodesApiResponse = unknown; -export type GetV2UserActivationCodesApiArg = { - /** The collection page number */ - page?: number; - /** The number of items per page */ - itemsPerPage?: number; -}; -export type PostV2UserActivationCodesApiResponse = unknown; -export type PostV2UserActivationCodesApiArg = { - /** The new UserActivationCode resource */ - userActivationCodeUserActivationCodeInput: UserActivationCodeUserActivationCodeInput; -}; -export type PostV2UserActivationCodesActivateApiResponse = unknown; -export type PostV2UserActivationCodesActivateApiArg = { - /** The new UserActivationCode resource */ - userActivationCodeActivationCode: UserActivationCodeActivationCode; -}; -export type PostV2UserActivationCodesRefreshApiResponse = unknown; -export type PostV2UserActivationCodesRefreshApiArg = { - /** The new UserActivationCode resource */ - userActivationCodeActivationCode: UserActivationCodeActivationCode; -}; -export type GetV2UserActivationCodesByIdApiResponse = unknown; -export type GetV2UserActivationCodesByIdApiArg = { - /** UserActivationCode identifier */ - id: string; -}; -export type DeleteV2UserActivationCodesByIdApiResponse = unknown; -export type DeleteV2UserActivationCodesByIdApiArg = { - /** UserActivationCode identifier */ - id: string; -}; export type GetV2UsersApiResponse = unknown; export type GetV2UsersApiArg = { page?: number; @@ -1429,6 +1441,38 @@ export type DeleteV2UsersByIdRemoveFromTenantApiResponse = unknown; export type DeleteV2UsersByIdRemoveFromTenantApiArg = { id: string; }; +export type GetV2UserActivationCodesApiResponse = unknown; +export type GetV2UserActivationCodesApiArg = { + /** The collection page number */ + page?: number; + /** The number of items per page */ + itemsPerPage?: number; +}; +export type PostV2UserActivationCodesApiResponse = unknown; +export type PostV2UserActivationCodesApiArg = { + /** The new UserActivationCode resource */ + userActivationCodeUserActivationCodeInput: UserActivationCodeUserActivationCodeInput; +}; +export type PostV2UserActivationCodesActivateApiResponse = unknown; +export type PostV2UserActivationCodesActivateApiArg = { + /** The new UserActivationCode resource */ + userActivationCodeActivationCode: UserActivationCodeActivationCode; +}; +export type PostV2UserActivationCodesRefreshApiResponse = unknown; +export type PostV2UserActivationCodesRefreshApiArg = { + /** The new UserActivationCode resource */ + userActivationCodeActivationCode: UserActivationCodeActivationCode; +}; +export type GetV2UserActivationCodesByIdApiResponse = unknown; +export type GetV2UserActivationCodesByIdApiArg = { + /** UserActivationCode identifier */ + id: string; +}; +export type DeleteV2UserActivationCodesByIdApiResponse = unknown; +export type DeleteV2UserActivationCodesByIdApiArg = { + /** UserActivationCode identifier */ + id: string; +}; export type Token = { token?: string; refresh_token?: string; @@ -1460,6 +1504,15 @@ export type RefreshTokenResponse = { export type RefreshTokenRequest = { refresh_token?: string; }; +export type FeedSourceFeedSourceInput = { + title?: string; + description?: string; + outputType?: string; + feedType?: string; + secrets?: string[]; + feeds?: string[]; + supportedFeedOutputType?: string; +}; export type PlaylistPlaylistInput = { title?: string; description?: string; @@ -1508,6 +1561,9 @@ export type ThemeThemeInput = { logo?: string; css?: string; }; +export type UserUserInput = { + fullName?: any; +}; export type UserActivationCodeUserActivationCodeInput = { displayName?: string; roles?: string[]; @@ -1515,29 +1571,29 @@ export type UserActivationCodeUserActivationCodeInput = { export type UserActivationCodeActivationCode = { activationCode?: string; }; -export type UserUserInput = { - fullName?: any; -}; export const { useGetOidcAuthTokenItemQuery, useGetOidcAuthUrlsItemQuery, usePostLoginInfoScreenMutation, - useLoginCheckPostMutation, usePostRefreshTokenItemMutation, - useGetV2CampaignsByIdScreenGroupsQuery, - useGetV2CampaignsByIdScreensQuery, useGetV2FeedSourcesQuery, + usePostV2FeedSourcesMutation, useGetV2FeedSourcesByIdQuery, + usePutV2FeedSourcesByIdMutation, + useDeleteV2FeedSourcesByIdMutation, useGetV2FeedSourcesByIdConfigAndNameQuery, useGetV2FeedsQuery, useGetV2FeedsByIdQuery, useGetV2FeedsByIdDataQuery, useGetV2LayoutsQuery, useGetV2LayoutsByIdQuery, + useLoginCheckPostMutation, useGetV2MediaQuery, usePostMediaCollectionMutation, useGetv2MediaByIdQuery, useDeleteV2MediaByIdMutation, + useGetV2CampaignsByIdScreenGroupsQuery, + useGetV2CampaignsByIdScreensQuery, useGetV2PlaylistsQuery, usePostV2PlaylistsMutation, useGetV2PlaylistsByIdQuery, @@ -1546,9 +1602,11 @@ export const { useGetV2PlaylistsByIdSlidesQuery, usePutV2PlaylistsByIdSlidesMutation, useDeleteV2PlaylistsByIdSlidesAndSlideIdMutation, + useGetV2SlidesByIdPlaylistsQuery, + usePutV2SlidesByIdPlaylistsMutation, + useGetScreenGroupCampaignItemQuery, useGetV2ScreenGroupsQuery, usePostV2ScreenGroupsMutation, - useGetScreenGroupCampaignItemQuery, useGetV2ScreenGroupsByIdQuery, usePutV2ScreenGroupsByIdMutation, useDeleteV2ScreenGroupsByIdMutation, @@ -1578,8 +1636,6 @@ export const { usePutV2SlidesByIdMutation, useDeleteV2SlidesByIdMutation, useApiSlidePerformActionMutation, - useGetV2SlidesByIdPlaylistsQuery, - usePutV2SlidesByIdPlaylistsMutation, useGetV2TemplatesQuery, useGetV2TemplatesByIdQuery, useGetV2TenantsQuery, @@ -1589,17 +1645,17 @@ export const { useGetV2ThemesByIdQuery, usePutV2ThemesByIdMutation, useDeleteV2ThemesByIdMutation, - useGetV2UserActivationCodesQuery, - usePostV2UserActivationCodesMutation, - usePostV2UserActivationCodesActivateMutation, - usePostV2UserActivationCodesRefreshMutation, - useGetV2UserActivationCodesByIdQuery, - useDeleteV2UserActivationCodesByIdMutation, useGetV2UsersQuery, usePostV2UsersMutation, useGetV2UsersByIdQuery, usePutV2UsersByIdMutation, useDeleteV2UsersByIdMutation, useDeleteV2UsersByIdRemoveFromTenantMutation, + useGetV2UserActivationCodesQuery, + usePostV2UserActivationCodesMutation, + usePostV2UserActivationCodesActivateMutation, + usePostV2UserActivationCodesRefreshMutation, + useGetV2UserActivationCodesByIdQuery, + useDeleteV2UserActivationCodesByIdMutation, } = api; diff --git a/src/redux/api/api.json b/src/redux/api/api.json index 976cb24d..4f9b66f6 100644 --- a/src/redux/api/api.json +++ b/src/redux/api/api.json @@ -1,15572 +1,15796 @@ { "openapi": "3.1.0", "info": { - "title": "OS2Display Service API", - "description": "API description", - "license": { - "name": "MIT" - }, - "version": "1" + "title": "OS2Display Service API", + "description": "API description", + "license": { + "name": "MIT" + }, + "version": "1" }, "servers": [ - { - "url": "/", - "description": "" - } + { + "url": "/", + "description": "" + } ], "paths": { - "/v2/authentication/oidc/token": { - "get": { - "operationId": "getOidcAuthTokenItem", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Get JWT token from OIDC code", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - } - } - }, - "summary": "Get JWT token to login from OIDC code", - "parameters": [ - { - "name": "state", - "description": "OIDC state", - "in": "query", - "required": false, - "example": "5fd84892c27dbb5cad2c3cdc517b71f1", - "schema": { - "type": "string" - } - }, - { - "name": "code", - "description": "OIDC code", - "in": "query", - "required": false, - "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "schema": { - "type": "string" - } - } + "/v2/authentication/oidc/token": { + "get": { + "operationId": "getOidcAuthTokenItem", + "tags": [ + "Authentication" + ], + "responses": { + "200": { + "description": "Get JWT token from OIDC code", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Token" + } + } + } + } + }, + "summary": "Get JWT token to login from OIDC code", + "parameters": [ + { + "name": "state", + "description": "OIDC state", + "in": "query", + "required": false, + "example": "5fd84892c27dbb5cad2c3cdc517b71f1", + "schema": { + "type": "string" + } + }, + { + "name": "code", + "description": "OIDC code", + "in": "query", + "required": false, + "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "schema": { + "type": "string" + } + } + ] + } + }, + "/v2/authentication/oidc/urls": { + "get": { + "operationId": "getOidcAuthUrlsItem", + "tags": [ + "Authentication" + ], + "responses": { + "200": { + "description": "Get authentication and end session endpoints", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/OidcEndpoints" + } + } + } + } + }, + "summary": "Get OpenID connect URLs", + "parameters": [ + { + "name": "providerKey", + "description": "The key for the provider to use. Leave out to use the default provider", + "in": "query", + "required": false, + "example": "foobar_oidc", + "schema": { + "type": "string" + } + } + ] + } + }, + "/v2/authentication/screen": { + "post": { + "operationId": "postLoginInfoScreen", + "tags": [ + "Authentication" + ], + "responses": { + "200": { + "description": "Login with bindKey to get JWT token for screen", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScreenLoginOutput" + } + } + } + } + }, + "summary": "Get login info for a screen.", + "requestBody": { + "description": "Get login info with JWT token for given nonce", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScreenLoginInput" + } + } + }, + "required": false + } + } + }, + "/v2/authentication/token/refresh": { + "post": { + "operationId": "postRefreshTokenItem", + "tags": [ + "Authentication" + ], + "responses": { + "200": { + "description": "Refresh JWT token", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RefreshTokenResponse" + } + } + } + } + }, + "summary": "Get JWT token from refresh token.", + "requestBody": { + "description": "Refresh JWT Token", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/RefreshTokenRequest" + } + } + }, + "required": false + } + } + }, + "/v2/feed-sources": { + "get": { + "operationId": "get-v2-feed-sources", + "tags": [ + "FeedSources" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of FeedSource resources.", + "description": "Retrieves a collection of FeedSource resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "supportedFeedOutputType", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "supportedFeedOutputType[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "create-v2-feed-source", + "tags": [ + "FeedSources" + ], + "responses": { + "201": { + "description": "FeedSource resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSource.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSource" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSource" + } + } + }, + "links": {} }, - "parameters": [] - }, - "/v2/authentication/oidc/urls": { - "get": { - "operationId": "getOidcAuthUrlsItem", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Get authentication and end session endpoints", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/OidcEndpoints" - } - } - } - } + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Creates a Feed Source resource.", + "description": "Creates a Feed Source resource.", + "parameters": [], + "requestBody": { + "description": "The new FeedSource resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSourceInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSourceInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSourceInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/feed-sources/{id}": { + "get": { + "operationId": "get-feed-source-id", + "tags": [ + "FeedSources" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Feed Source resource.", + "description": "Retrieves a Feed Source resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-feed-source-id", + "tags": [ + "FeedSources" + ], + "responses": { + "200": { + "description": "FeedSource resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSource.jsonld" + } }, - "summary": "Get OpenID connect URLs", - "parameters": [ - { - "name": "providerKey", - "description": "The key for the provider to use. Leave out to use the default provider", - "in": "query", - "required": false, - "example": "foobar_oidc", - "schema": { - "type": "string" - } - } - ] + "text/html": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSource" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSource" + } + } + }, + "links": {} }, - "parameters": [] - }, - "/v2/authentication/screen": { - "post": { - "operationId": "postLoginInfoScreen", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Login with bindKey to get JWT token for screen", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScreenLoginOutput" - } - } - } - } + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Update a Feed Source resource.", + "description": "Update a Feed Source resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated FeedSource resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSourceInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSourceInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/FeedSource.FeedSourceInput" + } + } + }, + "required": true + }, + "deprecated": false + }, + "delete": { + "operationId": "delete-v2-feed-source-id", + "tags": [ + "FeedSources" + ], + "responses": { + "204": { + "description": "FeedSource resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Feed Source resource.", + "description": "Delete a Feed Source resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/feed_sources/{id}/config/{name}": { + "get": { + "operationId": "get-v2-feed-source-id-config-name", + "tags": [ + "FeedSources" + ], + "responses": { + "200": { + "content": { + "application/ld+json": { + "examples": { + "example1": { + "value": [ + { + "key": "key1", + "id": "id1", + "value": "value1" + } + ] + } + } + } + }, + "headers": [] + } + }, + "summary": "Get config for name from a feed source.", + "description": "Get config for name from a feed source.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "name", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/feeds": { + "get": { + "operationId": "get-v2-feeds", + "tags": [ + "Feeds" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of Feed resources.", + "description": "Retrieves a collection of Feed resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/feeds/{id}": { + "get": { + "operationId": "get-feeds-id", + "tags": [ + "Feeds" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a feed resource.", + "description": "Retrieves a feed resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/feeds/{id}/data": { + "get": { + "operationId": "get-v2-feed-id-data", + "tags": [ + "Feeds" + ], + "responses": { + "200": { + "content": { + "application/json": { + "examples": { + "example1": { + "value": [ + { + "key1": "value1", + "key2": "value2" + }, + { + "key1": "value3", + "key2": "value4" + } + ] + }, + "example2": { + "value": { + "key1": "value1" + } + } + } + } + }, + "headers": [] + } + }, + "summary": "Get data from a feed.", + "description": "Get data from a feed.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/layouts": { + "get": { + "operationId": "get-v2-layouts", + "tags": [ + "Layouts" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null }, - "summary": "Get login info for a screen.", - "requestBody": { - "description": "Get login info with JWT token for given nonce", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScreenLoginInput" - } - } + "headers": [] + } + } + }, + "summary": "Retrieves a collection of layouts resources.", + "description": "Retrieve a collection of layouts resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 10 + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/layouts/{id}": { + "get": { + "operationId": "get-v2-layouts-id", + "tags": [ + "Layouts" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a screen layout resource.", + "description": "Retrieves a screen layout resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/authentication/token": { + "post": { + "operationId": "login_check_post", + "tags": [ + "Login Check" + ], + "responses": { + "200": { + "description": "User token created", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "readOnly": true, + "type": "string", + "nullable": false + } + }, + "required": [ + "token" + ] + } + } + } + } + }, + "summary": "Creates a user token.", + "description": "Creates a user token.", + "requestBody": { + "description": "The login data", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "nullable": false }, - "required": false - } - }, - "parameters": [] - }, - "/v2/authentication/token": { - "post": { - "operationId": "login_check_post", - "tags": [ - "Login Check" - ], - "responses": { - "200": { - "description": "User token created", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "readOnly": true, - "type": "string", - "nullable": false - } - }, - "required": [ - "token" - ] - } - } - } + "password": { + "type": "string", + "nullable": false } + }, + "required": [ + "providerId", + "password" + ] + } + } + }, + "required": true + } + } + }, + "/v2/media": { + "get": { + "operationId": "get-v2-medias", + "tags": [ + "Media" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of Media resources.", + "description": "Retrieve a collection of Media resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "postMediaCollection", + "tags": [ + "Media" + ], + "responses": { + "201": { + "description": "Media resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Media.Media.jsonld" + } }, - "summary": "Creates a user token.", - "description": "Creates a user token.", - "requestBody": { - "description": "The login data", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "providerId": { - "type": "string", - "nullable": false - }, - "password": { - "type": "string", - "nullable": false - } - }, - "required": [ - "providerId", - "password" - ] - } - } - }, - "required": true - } - }, - "parameters": [] - }, - "/v2/authentication/token/refresh": { - "post": { - "operationId": "postRefreshTokenItem", - "tags": [ - "Authentication" - ], - "responses": { - "200": { - "description": "Refresh JWT token", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RefreshTokenResponse" - } - } - } - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Media.Media" + } }, - "summary": "Get JWT token from refresh token.", - "requestBody": { - "description": "Refresh JWT Token", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RefreshTokenRequest" - } - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Media.Media" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Creates a Media resource.", + "description": "Creates a Media resource.", + "parameters": [], + "requestBody": { + "description": "", + "content": { + "multipart/form-data": { + "schema": { + "type": "object", + "required": [ + "title", + "description", + "license", + "file" + ], + "properties": { + "title": { + "type": "string" }, - "required": false - } - }, - "parameters": [] - }, - "/v2/campaigns/{id}/screen-groups": { - "get": { - "operationId": "get-v2-campaign-id-screen-group", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "ScreenGroupCampaign collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroupCampaign.jsonld-campaigns.screen-groups.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroupCampaign-campaigns.screen-groups.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroupCampaign-campaigns.screen-groups.read" - } - } - } - } - } - }, - "summary": "Get Screen group resources on campaign.", - "description": "Get Screen group resources on campaign.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false + "description": { + "type": "string" }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false + "license": { + "type": "string" }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false + "file": { + "type": "string", + "format": "binary" } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/campaigns/{id}/screens": { - "get": { - "operationId": "get-v2-campaign-id-screen", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "ScreenCampaign collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenCampaign.jsonld-campaigns.screens.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenCampaign-campaigns.screens.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenCampaign-campaigns.screens.read" - } - } - } + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/media/{id}": { + "get": { + "operationId": "getv2MediaById", + "tags": [ + "Media" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Media resource.", + "description": "Retrieves a Media resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "delete": { + "operationId": "delete-v2-media-id", + "tags": [ + "Media" + ], + "responses": { + "204": { + "description": "Media resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Media resource.", + "description": "Delete a Media resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/campaigns/{id}/screen-groups": { + "get": { + "operationId": "get-v2-campaign-id-screen-group", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "ScreenGroupCampaign collection", + "content": { + "application/ld+json": { + "schema": { + "type": "object", + "properties": { + "hydra:member": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroupCampaign.jsonld-campaigns.screen-groups.read" } - } - }, - "summary": "Get screens connected to a campaign.", - "description": "Get screens connected to a campaign.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + }, + "hydra:totalItems": { + "type": "integer", + "minimum": 0 + }, + "hydra:view": { + "type": "object", + "properties": { + "@id": { "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "format": "iri-reference" + }, + "@type": { + "type": "string" + }, + "hydra:first": { "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/feed-sources": { - "get": { - "operationId": "get-v2-feed-sources", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of FeedSource resources.", - "description": "Retrieves a collection of FeedSource resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "format": "iri-reference" + }, + "hydra:last": { "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "supportedFeedOutputType", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" + "format": "iri-reference" + }, + "hydra:previous": { + "type": "string", + "format": "iri-reference" + }, + "hydra:next": { + "type": "string", + "format": "iri-reference" + } }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" + } + }, + "hydra:search": { + "type": "object", + "properties": { + "@type": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:template": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:variableRepresentation": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:mapping": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "variable": { + "type": "string" + }, + "property": { + "type": [ + "string", + "null" + ] + }, + "required": { + "type": "boolean" + } + } } - }, - "style": "form", - "explode": true, - "allowReserved": false + } + } + } }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "required": [ + "hydra:member" + ] + } + }, + "text/html": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroupCampaign-campaigns.screen-groups.read" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroupCampaign-campaigns.screen-groups.read" + } + } + } + } + } + }, + "summary": "Get Screen group resources on campaign.", + "description": "Get Screen group resources on campaign.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/campaigns/{id}/screens": { + "get": { + "operationId": "get-v2-campaign-id-screen", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "ScreenCampaign collection", + "content": { + "application/ld+json": { + "schema": { + "type": "object", + "properties": { + "hydra:member": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenCampaign.jsonld-campaigns.screens.read" + } + }, + "hydra:totalItems": { + "type": "integer", + "minimum": 0 + }, + "hydra:view": { + "type": "object", + "properties": { + "@id": { + "type": "string", + "format": "iri-reference" + }, + "@type": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:first": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "hydra:last": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "hydra:previous": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "hydra:next": { "type": "string", - "enum": [ - "asc", - "desc" - ] + "format": "iri-reference" + } }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "supportedFeedOutputType[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" + } + }, + "hydra:search": { + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "hydra:template": { + "type": "string" + }, + "hydra:variableRepresentation": { + "type": "string" + }, + "hydra:mapping": { "type": "array", "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/feed-sources/{id}": { - "get": { - "operationId": "get-feed-source-id", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieve a Feed Source resource.", - "description": "Retrieves a Feed Source resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/feed_sources/{id}/config/{name}": { - "get": { - "operationId": "get-v2-feed-source-id-config-name", - "tags": [ - "FeedSources" - ], - "responses": { - "200": { - "content": { - "application/ld+json": { - "examples": { - "example1": { - "value": [ - { - "key": "key1", - "id": "id1", - "value": "value1" - } - ] - } + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "variable": { + "type": "string" + }, + "property": { + "type": [ + "string", + "null" + ] + }, + "required": { + "type": "boolean" } + } } - }, - "headers": [] - } - }, - "summary": "Get config for name from a feed source.", - "description": "Get config for name from a feed source.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false + } + } + } }, - { - "name": "name", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "pattern": "^[A-Za-z0-9]*$" - }, - "style": "simple", - "explode": false, - "allowReserved": false + "required": [ + "hydra:member" + ] + } + }, + "text/html": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenCampaign-campaigns.screens.read" } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/feeds": { - "get": { - "operationId": "get-v2-feeds", - "tags": [ - "Feeds" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenCampaign-campaigns.screens.read" } + } + } + } + } + }, + "summary": "Get screens connected to a campaign.", + "description": "Get screens connected to a campaign.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/playlists": { + "get": { + "operationId": "get-v2-playlists", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a collection of Playlist resources.", + "description": "Retrieves a collection of Playlist resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "integer", + "default": 10, + "minimum": 0, + "maximum": 30 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "published", + "in": "query", + "description": "If true only published content will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "isCampaign", + "in": "query", + "description": "If true only campaigns will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "sharedWithMe", + "in": "query", + "description": "If true only entities that are shared with me will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "create-v2-playlist", + "tags": [ + "Playlists" + ], + "responses": { + "201": { + "description": "Playlist resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Playlist.Playlist.jsonld" + } }, - "summary": "Retrieves a collection of Feed resources.", - "description": "Retrieves a collection of Feed resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/feeds/{id}": { - "get": { - "operationId": "get-feeds-id", - "tags": [ - "Feeds" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Playlist.Playlist" + } }, - "summary": "Retrieve a feed resource.", - "description": "Retrieves a feed resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/feeds/{id}/data": { - "get": { - "operationId": "get-v2-feed-id-data", - "tags": [ - "Feeds" - ], - "responses": { - "200": { - "content": { - "application/json": { - "examples": { - "example1": { - "value": [ - { - "key1": "value1", - "key2": "value2" - }, - { - "key1": "value3", - "key2": "value4" - } - ] - }, - "example2": { - "value": { - "key1": "value1" - } - } - } - } - }, - "headers": [] - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Playlist.Playlist" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Creates a Playlist resource.", + "description": "Creates a Playlist resource.", + "parameters": [], + "requestBody": { + "description": "The new Playlist resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Playlist.PlaylistInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Playlist.PlaylistInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Playlist.PlaylistInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/playlists/{id}": { + "get": { + "operationId": "get-v2-playlist-id", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a Playlist resource.", + "description": "Retrieve a Playlist resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-playlist-id", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "Playlist resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Playlist.Playlist.jsonld" + } }, - "summary": "Get data from a feed.", - "description": "Get data from a feed.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/layouts": { - "get": { - "operationId": "get-v2-layouts", - "tags": [ - "Layouts" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - }, - "headers": [] - } - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Playlist.Playlist" + } }, - "summary": "Retrieves a collection of layouts resources.", - "description": "Retrieve a collection of layouts resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 10 - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/layouts/{id}": { - "get": { - "operationId": "get-v2-layouts-id", - "tags": [ - "Layouts" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Playlist.Playlist" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Update a Playlist resource.", + "description": "Update a Playlist resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated Playlist resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Playlist.PlaylistInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Playlist.PlaylistInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Playlist.PlaylistInput" + } + } + }, + "required": true + }, + "deprecated": false + }, + "delete": { + "operationId": "delete-v2-playlist-id", + "tags": [ + "Playlists" + ], + "responses": { + "204": { + "description": "Playlist resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Playlist resource.", + "description": "Delete a Playlist resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/playlists/{id}/slides": { + "get": { + "operationId": "get-v2-playlist-slide-id", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves collection of weighted slide resources.", + "description": "Retrieves collection of weighted slide resources.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "published", + "in": "query", + "description": "If true only published content will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-playlist-slide-id", + "tags": [ + "Playlists" + ], + "responses": { + "201": { + "description": "Created", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "slide": { + "type": "string" + }, + "playlist": { + "type": "string" + }, + "weight": { + "type": "integer" + } + } + } + } + } + } + } + }, + "summary": "Update the collection of slide on a playlist.", + "description": "Update the collection of slide on a playlist.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "PlaylistSlide identifier", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "slide": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$", + "description": "Slide ULID" + }, + "weight": { + "type": "integer" + } } + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/playlists/{id}/slides/{slideId}": { + "delete": { + "operationId": "delete-v2-playlist-slide-id", + "tags": [ + "Playlists" + ], + "responses": { + "204": { + "description": "PlaylistSlide resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a slide from a playlist.", + "description": "Delete a slide from a playlist.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "slideId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/slides/{id}/playlists": { + "get": { + "operationId": "put-v2-slide-playlist-id", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Get the collection of playlist connected to a slide.", + "description": "Get the collection of playlist connected to a slide.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "published", + "in": "query", + "description": "If true only published content will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "get-v2-slide-playlist-id", + "tags": [ + "Playlists" + ], + "responses": { + "200": { + "description": "PlaylistSlide resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide.jsonld" + } }, - "summary": "Retrieve a screen layout resource.", - "description": "Retrieves a screen layout resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/media": { - "get": { - "operationId": "get-v2-medias", - "tags": [ - "Media" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" + } }, - "summary": "Retrieves a collection of Media resources.", - "description": "Retrieve a collection of Media resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Retrieves collection of playlistresources.", + "description": "Retrieves collection of playlist resources.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "playlist": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$", + "description": "Playlist ULID" + } + } + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/screen-groups-campaigns/{id}": { + "get": { + "operationId": "getScreenGroupCampaignItem", + "tags": [ + "ScreenGroupCampaign" + ], + "responses": { + "200": { + "description": "ScreenGroupCampaign resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/ScreenGroupCampaign.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/ScreenGroupCampaign" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/ScreenGroupCampaign" + } + } + } + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Retrieves a ScreenGroupCampaign resource.", + "description": "Retrieves a ScreenGroupCampaign resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ScreenGroupCampaign identifier", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screen-groups": { + "get": { + "operationId": "get-v2-screen-groups", + "tags": [ + "ScreenGroups" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of Screen group resources.", + "description": "Retrieve a collection of Screen group resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "post-v2-screen-groups", + "tags": [ + "ScreenGroups" + ], + "responses": { + "201": { + "description": "ScreenGroup resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Create Screen group resources.", + "description": "Create Screen group resources.", + "parameters": [], + "requestBody": { + "description": "The new ScreenGroup resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/screen-groups/{id}": { + "get": { + "operationId": "get-v2-screen-groups-id", + "tags": [ + "ScreenGroups" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Screen group resource.", + "description": "Retrieves a Screen group resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-screen-groups-id", + "tags": [ + "ScreenGroups" + ], + "responses": { + "200": { + "description": "ScreenGroup resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Update a Screen group resource.", + "description": "Update a Screen group resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated ScreenGroup resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" + } + } + }, + "required": true + }, + "deprecated": false + }, + "delete": { + "operationId": "delete-v2-screen-groups-id", + "tags": [ + "ScreenGroups" + ], + "responses": { + "204": { + "description": "ScreenGroup resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Screen group resource.", + "description": "Delete a Screen group resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screen-groups/{id}/campaigns": { + "get": { + "operationId": "get-v2-screen-groups-campaign-id", + "tags": [ + "ScreenGroups" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves collection of campaign resources connected to a screen group.", + "description": "Retrieves collection of campaign resources connected to a screen group.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "published", + "in": "query", + "description": "If true only published content will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-screen-groups-campaign-id", + "tags": [ + "ScreenGroups" + ], + "responses": { + "201": { + "description": "Created", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "playlist": { + "type": "string" + }, + "screen-group": { + "type": "string" + } + } + } + } + } + } + } + }, + "summary": "Update the collection of screen groups on a playlist.", + "description": "Update the collection of screen groups on a playlist.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ScreenGroupCampaign identifier", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "screenGroup": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$", + "description": "Screen group ULID" + } + } + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/screen-groups/{id}/campaigns/{campaignId}": { + "delete": { + "operationId": "delete-v2-screen-groups-campaign-id", + "tags": [ + "ScreenGroups" + ], + "responses": { + "204": { + "description": "ScreenGroupCampaign resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a campaign from a screen group.", + "description": "Delete a campaign from a screen group.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "campaignId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screen-groups/{id}/screens": { + "get": { + "operationId": "get-v2-screen-id-screen-group", + "tags": [ + "ScreenGroups" + ], + "responses": { + "200": { + "description": "ScreenGroup collection", + "content": { + "application/ld+json": { + "schema": { + "type": "object", + "properties": { + "hydra:member": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.screens.read" + } + }, + "hydra:totalItems": { + "type": "integer", + "minimum": 0 + }, + "hydra:view": { + "type": "object", + "properties": { + "@id": { "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "@type": { "type": "string" + }, + "hydra:first": { + "type": "string", + "format": "iri-reference" + }, + "hydra:last": { + "type": "string", + "format": "iri-reference" + }, + "hydra:previous": { + "type": "string", + "format": "iri-reference" + }, + "hydra:next": { + "type": "string", + "format": "iri-reference" + } }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" + } + }, + "hydra:search": { + "type": "object", + "properties": { + "@type": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:template": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:variableRepresentation": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:mapping": { "type": "array", "items": { - "type": "string" + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "variable": { + "type": "string" + }, + "property": { + "type": [ + "string", + "null" + ] + }, + "required": { + "type": "boolean" + } + } } - }, - "style": "form", - "explode": true, - "allowReserved": false + } + } + } }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "required": [ + "hydra:member" + ] + } + }, + "text/html": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroup-screen-groups.screens.read" + } + } + }, + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroup-screen-groups.screens.read" + } + } + } + } + } + }, + "summary": "Gets screens in screen group.", + "description": "Get screens in screen group.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screens": { + "get": { + "operationId": "get-v2-screens", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of Screen resources.", + "description": "Retrieves a collection of Screen resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "search", + "in": "query", + "description": "Search on both location and title", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "create-v2-screens", + "tags": [ + "Screens" + ], + "responses": { + "201": { + "description": "Screen resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Screen.Screen.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Screen.Screen" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Screen.Screen" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Creates a Screen resource.", + "description": "Creates a Screen resource.", + "parameters": [], + "requestBody": { + "description": "The new Screen resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Screen.ScreenInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Screen.ScreenInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Screen.ScreenInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/screens/{id}": { + "get": { + "operationId": "get-screens-id", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Screen resource.", + "description": "Retrieves a Screen resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-screen-id", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "Screen resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Screen.Screen.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Screen.Screen" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Screen.Screen" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Update a Screen resource.", + "description": "Update a Screen resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated Screen resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Screen.ScreenInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Screen.ScreenInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Screen.ScreenInput" + } + } + }, + "required": true + }, + "deprecated": false + }, + "delete": { + "operationId": "delete-v2-screen-id", + "tags": [ + "Screens" + ], + "responses": { + "204": { + "description": "Screen resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Screen resource.", + "description": "Delete a Screen resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screens/{id}/bind": { + "post": { + "operationId": "postScreenBindKey", + "tags": [ + "Screens" + ], + "responses": { + "201": { + "description": "Bind screen to a logged in machine with bind key" + } + }, + "summary": "Bind screen with BindKey", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "The screen id", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "Bind the screen with the bind key", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ScreenBindObject" + } + } + }, + "required": false + } + } + }, + "/v2/screens/{id}/campaigns": { + "get": { + "operationId": "get-v2-screen-campaign-id", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves collection of campaign resources.", + "description": "Retrieves collection of campaign resources.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "published", + "in": "query", + "description": "If true only published content will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-screen-campaign-id", + "tags": [ + "Screens" + ], + "responses": { + "201": { + "description": "Created", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "playlist": { + "type": "string" + }, + "screen": { + "type": "string" + } + } + } + } + } + } + } + }, + "summary": "Update the collection of screens on a playlist.", + "description": "Update the collection of screens on a playlist.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ScreenCampaign identifier", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "screen": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$", + "description": "Screen ULID" + } + } + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/screens/{id}/campaigns/{campaignId}": { + "delete": { + "operationId": "delete-v2-screen-campaign-id", + "tags": [ + "Screens" + ], + "responses": { + "204": { + "description": "ScreenCampaign resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a campaign from a screen.", + "description": "Delete a campaign from a screen.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "campaignId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screens/{id}/regions/{regionId}/playlists": { + "get": { + "operationId": "get-v2-playlist-screen-regions", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "PlaylistScreenRegion collection", + "content": { + "application/ld+json": { + "schema": { + "type": "object", + "properties": { + "hydra:member": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistScreenRegion.jsonld-playlist-screen-region.read" + } + }, + "hydra:totalItems": { + "type": "integer", + "minimum": 0 + }, + "hydra:view": { + "type": "object", + "properties": { + "@id": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "@type": { + "type": "string" + }, + "hydra:first": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "hydra:last": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "format": "iri-reference" + }, + "hydra:previous": { "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "postMediaCollection", - "tags": [ - "Media" - ], - "responses": { - "201": { - "description": "Media resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Media.Media.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Media.Media" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Media.Media" - } - } + "format": "iri-reference" + }, + "hydra:next": { + "type": "string", + "format": "iri-reference" + } }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Media resource.", - "description": "Creates a Media resource.", - "parameters": [], - "requestBody": { - "description": "", - "content": { - "multipart/form-data": { - "schema": { - "type": "object", - "required": [ - "title", - "description", - "license", - "file" - ], - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "file": { - "type": "string", - "format": "binary" - } + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" + } + }, + "hydra:search": { + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "hydra:template": { + "type": "string" + }, + "hydra:variableRepresentation": { + "type": "string" + }, + "hydra:mapping": { + "type": "array", + "items": { + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "variable": { + "type": "string" + }, + "property": { + "type": [ + "string", + "null" + ] + }, + "required": { + "type": "boolean" } + } } + } } + } }, - "required": false - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/media/{id}": { - "get": { - "operationId": "getv2MediaById", - "tags": [ - "Media" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "required": [ + "hydra:member" + ] + } }, - "summary": "Retrieve a Media resource.", - "description": "Retrieves a Media resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-media-id", - "tags": [ - "Media" - ], - "responses": { - "204": { - "description": "Media resource deleted" - }, - "404": { - "description": "Resource not found" + "text/html": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistScreenRegion-playlist-screen-region.read" } + } }, - "summary": "Delete a Media resource.", - "description": "Delete a Media resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PlaylistScreenRegion-playlist-screen-region.read" } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/playlists": { - "get": { - "operationId": "get-v2-playlists", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] + } + } + } + } + }, + "summary": "Retrieves a Playlist resources base on screen region.", + "description": "Retrieve a Playlist resources base on screen regions.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "regionId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "sharedWithMe", + "in": "query", + "description": "If true only entities that are shared with me will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "putPlaylistScreenRegionItem", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "Not used - remove the default 200 response" + }, + "201": { + "description": "Created" + }, + "404": { + "description": "Not found" + } + }, + "summary": "Add Playlist resource from screen region.", + "description": "Add Playlist resource from screen region.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "regionId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "", + "content": { + "application/ld+json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "playlist": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$", + "description": "Playlist ULID" + }, + "weight": { + "type": "integer" + } } - }, - "summary": "Retrieve a collection of Playlist resources.", - "description": "Retrieves a collection of Playlist resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "integer", - "default": 10, - "minimum": 0, - "maximum": 30 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/screens/{id}/regions/{regionId}/playlists/{playlistId}": { + "delete": { + "operationId": "deletePlaylistScreenRegionItem", + "tags": [ + "Screens" + ], + "responses": { + "204": { + "description": "PlaylistScreenRegion resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Remove Playlist resource from screen region.", + "description": "Remove Playlist resource from screen region.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "regionId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "playlistId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screens/{id}/screen-groups": { + "get": { + "operationId": "get-v2-screen-id-screen-groups", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "ScreenGroup collection", + "content": { + "application/ld+json": { + "schema": { + "type": "object", + "properties": { + "hydra:member": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld-screens.screen-groups.read" + } + }, + "hydra:totalItems": { + "type": "integer", + "minimum": 0 + }, + "hydra:view": { + "type": "object", + "properties": { + "@id": { + "type": "string", + "format": "iri-reference" + }, + "@type": { "type": "string" + }, + "hydra:first": { + "type": "string", + "format": "iri-reference" + }, + "hydra:last": { + "type": "string", + "format": "iri-reference" + }, + "hydra:previous": { + "type": "string", + "format": "iri-reference" + }, + "hydra:next": { + "type": "string", + "format": "iri-reference" + } }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" + } + }, + "hydra:search": { + "type": "object", + "properties": { + "@type": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:template": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:variableRepresentation": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:mapping": { "type": "array", "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "isCampaign", - "in": "query", - "description": "If true only campaigns will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "sharedWithMe", - "in": "query", - "description": "If true only entities that are shared with me will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-playlist", - "tags": [ - "Playlists" - ], - "responses": { - "201": { - "description": "Playlist resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "variable": { + "type": "string" + }, + "property": { + "type": [ + "string", + "null" + ] + }, + "required": { + "type": "boolean" } + } } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Playlist resource.", - "description": "Creates a Playlist resource.", - "parameters": [], - "requestBody": { - "description": "The new Playlist resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } + } } + } }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/playlists/{id}": { - "get": { - "operationId": "get-v2-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "required": [ + "hydra:member" + ] + } }, - "summary": "Retrieves a Playlist resource.", - "description": "Retrieve a Playlist resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "Playlist resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.Playlist" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" + "text/html": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup-screens.screen-groups.read" } + } }, - "summary": "Update a Playlist resource.", - "description": "Update a Playlist resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Playlist resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Playlist.PlaylistInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "204": { - "description": "Playlist resource deleted" - }, - "404": { - "description": "Resource not found" + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ScreenGroup.ScreenGroup-screens.screen-groups.read" } + } + } + } + } + }, + "summary": "Retrieve screen-groups from screen id.", + "description": "Retrieve screen-groups from screen id.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "page", + "in": "query", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-screen-groups-screen", + "tags": [ + "Screens" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + } + } + }, + "summary": "Update the collection of ScreenGroups on a Screen.", + "description": "Update the collection of ScreenGroups on a Screen.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "required": false + }, + "deprecated": false + } + }, + "/v2/screens/{id}/screen-groups/{screenGroupId}": { + "delete": { + "operationId": "delete-v2-screen-group-screen-id", + "tags": [ + "Screens" + ], + "responses": { + "204": { + "description": "ScreenGroup resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a screen groups from a screen", + "description": "Delete a screen groups from a screen.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + }, + { + "name": "screenGroupId", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/screens/{id}/unbind": { + "post": { + "operationId": "postScreenUnbind", + "tags": [ + "Screens" + ], + "responses": { + "201": { + "description": "Unbind screen from machine" + } + }, + "summary": "Unbind screen from machine", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "The screen id", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "Unbind from machine", + "content": {}, + "required": false + } + } + }, + "/v2/slides": { + "get": { + "operationId": "get-v2-slides", + "tags": [ + "Slides" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of Slide resources.", + "description": "Retrieves a collection of Slide resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "published", + "in": "query", + "description": "If true only published content will be shown", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "boolean" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "create-v2-slides", + "tags": [ + "Slides" + ], + "responses": { + "201": { + "description": "Slide resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide.jsonld" + } }, - "summary": "Delete a Playlist resource.", - "description": "Delete a Playlist resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/playlists/{id}/slides": { - "get": { - "operationId": "get-v2-playlist-slide-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide" + } }, - "summary": "Retrieves collection of weighted slide resources.", - "description": "Retrieves collection of weighted slide resources.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-playlist-slide-id", - "tags": [ - "Playlists" - ], - "responses": { - "201": { - "description": "Created", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "slide": { - "type": "string" - }, - "playlist": { - "type": "string" - }, - "weight": { - "type": "integer" - } - } - } - } - } - } - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Creates a Slide resource.", + "description": "Creates a Slide resource.", + "parameters": [], + "requestBody": { + "description": "The new Slide resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Slide.SlideInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Slide.SlideInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Slide.SlideInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/slides/{id}": { + "get": { + "operationId": "get-v2-slide-id", + "tags": [ + "Slides" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Slide resource.", + "description": "Retrieves a Slide resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-slide-id", + "tags": [ + "Slides" + ], + "responses": { + "200": { + "description": "Slide resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide.jsonld" + } }, - "summary": "Update the collection of slide on a playlist.", - "description": "Update the collection of slide on a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "PlaylistSlide identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "slide": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Slide ULID" - }, - "weight": { - "type": "integer" - } - } - } - } - } - }, - "required": false + "text/html": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide" + } }, - "deprecated": false + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" }, - "parameters": [] + "404": { + "description": "Resource not found" + } + }, + "summary": "Update a Slide resource.", + "description": "Update a Slide resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated Slide resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Slide.SlideInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Slide.SlideInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Slide.SlideInput" + } + } + }, + "required": true + }, + "deprecated": false }, - "/v2/playlists/{id}/slides/{slideId}": { - "delete": { - "operationId": "delete-v2-playlist-slide-id", - "tags": [ - "Playlists" - ], - "responses": { - "204": { - "description": "PlaylistSlide resource deleted" - }, - "404": { - "description": "Resource not found" - } + "delete": { + "operationId": "delete-v2-slide-id", + "tags": [ + "Slides" + ], + "responses": { + "204": { + "description": "Slide resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Slide resource.", + "description": "Delete a Slide resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/slides/{id}/action": { + "post": { + "operationId": "api_Slide_perform_action", + "tags": [ + "Slides" + ], + "responses": { + "201": { + "description": "Slide resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide.jsonld" + } }, - "summary": "Delete a slide from a playlist.", - "description": "Delete a slide from a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "slideId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screen-groups": { - "get": { - "operationId": "get-v2-screen-groups", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide" + } }, - "summary": "Retrieves a collection of Screen group resources.", - "description": "Retrieve a collection of Screen group resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "post-v2-screen-groups", - "tags": [ - "ScreenGroups" - ], - "responses": { - "201": { - "description": "ScreenGroup resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Slide.Slide" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Performs an action for a slide.", + "description": "Perform an action for a slide.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The new Slide resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/templates": { + "get": { + "operationId": "get-v2-templates", + "tags": [ + "Templates" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a collection of Template resources.", + "description": "Retrieve a collection of Template resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/templates/{id}": { + "get": { + "operationId": "get-v2-template-id", + "tags": [ + "Templates" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Template resource.", + "description": "Retrieves a Template resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/tenants": { + "get": { + "operationId": "get-v2-tenants", + "tags": [ + "Tenants" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieves a collection of tenant resources.", + "description": "Retrieves a collection of tenant resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/tenants/{id}": { + "get": { + "operationId": "get-v2-tenant-id", + "tags": [ + "Tenants" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a tenant resource.", + "description": "Retrieves a tenant resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/themes": { + "get": { + "operationId": "get-v2-themes", + "tags": [ + "Themes" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a collection of Theme resources.", + "description": "Retrieve a collection of Theme resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "title", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "description", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[title]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[description]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "order[modifiedAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "create-v2-themes", + "tags": [ + "Themes" + ], + "responses": { + "201": { + "description": "Theme resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Theme.Theme.jsonld" + } }, - "summary": "Create Screen group resources.", - "description": "Create Screen group resources.", - "parameters": [], - "requestBody": { - "description": "The new ScreenGroup resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/screen-groups-campaigns/{id}": { - "get": { - "operationId": "getScreenGroupCampaignItem", - "tags": [ - "ScreenGroupCampaign" - ], - "responses": { - "200": { - "description": "ScreenGroupCampaign resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroupCampaign" - } - } - } - }, - "404": { - "description": "Resource not found" - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Theme.Theme" + } }, - "summary": "Retrieves a ScreenGroupCampaign resource.", - "description": "Retrieves a ScreenGroupCampaign resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "ScreenGroupCampaign identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screen-groups/{id}": { - "get": { - "operationId": "get-v2-screen-groups-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Theme.Theme" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Creates a Theme resource.", + "description": "Creates a Theme resource.", + "parameters": [], + "requestBody": { + "description": "The new Theme resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Theme.ThemeInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Theme.ThemeInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Theme.ThemeInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/themes/{id}": { + "get": { + "operationId": "get-v2-theme-id", + "tags": [ + "Themes" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a Theme resource.", + "description": "Retrieves a Theme resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-theme-id", + "tags": [ + "Themes" + ], + "responses": { + "200": { + "description": "Theme resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Theme.Theme.jsonld" + } }, - "summary": "Retrieve a Screen group resource.", - "description": "Retrieves a Screen group resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-groups-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "ScreenGroup resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/Theme.Theme" + } }, - "summary": "Update a Screen group resource.", - "description": "Update a Screen group resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated ScreenGroup resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroupInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-screen-groups-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "204": { - "description": "ScreenGroup resource deleted" - }, - "404": { - "description": "Resource not found" - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Theme.Theme" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Update a Theme resource.", + "description": "Update a Theme resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated Theme resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/Theme.ThemeInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/Theme.ThemeInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/Theme.ThemeInput" + } + } + }, + "required": true + }, + "deprecated": false + }, + "delete": { + "operationId": "delete-v2-theme-id", + "tags": [ + "Themes" + ], + "responses": { + "204": { + "description": "Theme resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete a Theme resource.", + "description": "Delete a Theme resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/users": { + "get": { + "operationId": "get-v2-users", + "tags": [ + "User" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve a collection of User resources.", + "description": "Retrieve a collection of User resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "integer", + "minimum": 0, + "format": "int32", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "10" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "fullName", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "email", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "createdBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "modifiedBy", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "modifiedBy[]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "array", + "items": { + "type": "string" + } + }, + "style": "form", + "explode": true, + "allowReserved": false + }, + { + "name": "order[createdAt]", + "in": "query", + "description": "", + "required": false, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "default": "asc", + "enum": [ + "asc", + "desc" + ] + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "post-v2-user", + "tags": [ + "User" + ], + "responses": { + "201": { + "description": "User resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/User.User.jsonld" + } }, - "summary": "Delete a Screen group resource.", - "description": "Delete a Screen group resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screen-groups/{id}/campaigns": { - "get": { - "operationId": "get-v2-screen-groups-campaign-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/User.User" + } }, - "summary": "Retrieves collection of campaign resources connected to a screen group.", - "description": "Retrieves collection of campaign resources connected to a screen group.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-groups-campaign-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "201": { - "description": "Created", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string" - }, - "screen-group": { - "type": "string" - } - } - } - } - } - } - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/User.User" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Create a User resource.", + "description": "Create a User resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The new User resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/User.UserInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/User.UserInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/User.UserInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/users/{id}": { + "get": { + "operationId": "get-v2-user-id", + "tags": [ + "User" + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/ld+json": { + "examples": null + } + }, + "headers": [] + } + }, + "summary": "Retrieve User resource.", + "description": "Retrieves User resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "put": { + "operationId": "put-v2-user-id", + "tags": [ + "User" + ], + "responses": { + "200": { + "description": "User resource updated", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/User.User.jsonld" + } }, - "summary": "Update the collection of screen groups on a playlist.", - "description": "Update the collection of screen groups on a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "ScreenGroupCampaign identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "screenGroup": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Screen group ULID" - } - } - } - } - } - }, - "required": false + "text/html": { + "schema": { + "$ref": "#/components/schemas/User.User" + } }, - "deprecated": false + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/User.User" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" }, - "parameters": [] + "404": { + "description": "Resource not found" + } + }, + "summary": "Update User resource.", + "description": "Update User resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "requestBody": { + "description": "The updated User resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/User.UserInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/User.UserInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/User.UserInput" + } + } + }, + "required": true + }, + "deprecated": false }, - "/v2/screen-groups/{id}/campaigns/{campaignId}": { - "delete": { - "operationId": "delete-v2-screen-groups-campaign-id", - "tags": [ - "ScreenGroups" - ], - "responses": { - "204": { - "description": "ScreenGroupCampaign resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Delete a campaign from a screen group.", - "description": "Delete a campaign from a screen group.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "delete": { + "operationId": "delete-v2-user-id", + "tags": [ + "User" + ], + "responses": { + "204": { + "description": "User resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Delete an User resource.", + "description": "Delete an User resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/users/{id}/remove-from-tenant": { + "delete": { + "operationId": "post-v2-remove-user-from-tenant", + "tags": [ + "User" + ], + "responses": { + "204": { + "description": "User removed from tenant" + } + }, + "summary": "Remove a User resource from the current tenant.", + "description": "Remove a User resource from the current tenant.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string", + "format": "ulid", + "pattern": "^[A-Za-z0-9]{26}$" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + }, + "/v2/user-activation-codes": { + "get": { + "operationId": "api_v2user-activation-codes_get_collection", + "tags": [ + "UserActivationCode" + ], + "responses": { + "200": { + "description": "UserActivationCode collection", + "content": { + "application/ld+json": { + "schema": { + "type": "object", + "properties": { + "hydra:member": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" + } + }, + "hydra:totalItems": { + "type": "integer", + "minimum": 0 + }, + "hydra:view": { + "type": "object", + "properties": { + "@id": { "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "campaignId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "format": "iri-reference" + }, + "@type": { + "type": "string" + }, + "hydra:first": { "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screen-groups/{id}/screens": { - "get": { - "operationId": "get-v2-screen-id-screen-group", - "tags": [ - "ScreenGroups" - ], - "responses": { - "200": { - "description": "ScreenGroup collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.screens.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.screens.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.screens.read" - } - } - } - } - } - }, - "summary": "Gets screens in screen group.", - "description": "Get screens in screen group.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "format": "iri-reference" + }, + "hydra:last": { "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "format": "iri-reference" + }, + "hydra:previous": { "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screens": { - "get": { - "operationId": "get-v2-screens", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } - }, - "summary": "Retrieves a collection of Screen resources.", - "description": "Retrieves a collection of Screen resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { + "format": "iri-reference" + }, + "hydra:next": { "type": "string", - "default": "10" + "format": "iri-reference" + } }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "search", - "in": "query", - "description": "Search on both location and title", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + "example": { + "@id": "string", + "type": "string", + "hydra:first": "string", + "hydra:last": "string", + "hydra:previous": "string", + "hydra:next": "string" + } + }, + "hydra:search": { + "type": "object", + "properties": { + "@type": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:template": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:variableRepresentation": { "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { + }, + "hydra:mapping": { "type": "array", "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-screens", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Screen resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" + "type": "object", + "properties": { + "@type": { + "type": "string" + }, + "variable": { + "type": "string" + }, + "property": { + "type": [ + "string", + "null" + ] + }, + "required": { + "type": "boolean" } + } } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } - }, - "summary": "Creates a Screen resource.", - "description": "Creates a Screen resource.", - "parameters": [], - "requestBody": { - "description": "The new Screen resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } + } } + } }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/screens/{id}": { - "get": { - "operationId": "get-screens-id", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "required": [ + "hydra:member" + ] + } }, - "summary": "Retrieve a Screen resource.", - "description": "Retrieves a Screen resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-id", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "Screen resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.Screen" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" + "text/html": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" } + } }, - "summary": "Update a Screen resource.", - "description": "Update a Screen resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Screen resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Screen.ScreenInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-screen-id", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "Screen resource deleted" - }, - "404": { - "description": "Resource not found" + "multipart/form-data": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" } + } + } + } + } + }, + "summary": "Retrieves the collection of UserActivationCode resources.", + "description": "Retrieves the collection of UserActivationCode resources.", + "parameters": [ + { + "name": "page", + "in": "query", + "description": "The collection page number", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "integer", + "default": 1 + }, + "style": "form", + "explode": false, + "allowReserved": false + }, + { + "name": "itemsPerPage", + "in": "query", + "description": "The number of items per page", + "required": false, + "deprecated": false, + "allowEmptyValue": true, + "schema": { + "type": "integer", + "default": 10, + "minimum": 0, + "maximum": 30 + }, + "style": "form", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + }, + "post": { + "operationId": "post-v2-create-user-activation-code", + "tags": [ + "UserActivationCode" + ], + "responses": { + "201": { + "description": "UserActivationCode resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" + } }, - "summary": "Delete a Screen resource.", - "description": "Delete a Screen resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screens/{id}/bind": { - "post": { - "operationId": "postScreenBindKey", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Bind screen to a logged in machine with bind key" - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" + } }, - "summary": "Bind screen with BindKey", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "The screen id", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "Bind the screen with the bind key", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScreenBindObject" - } - } - }, - "required": false - } - }, - "parameters": [] - }, - "/v2/screens/{id}/campaigns": { - "get": { - "operationId": "get-v2-screen-campaign-id", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Create user activation code.", + "description": "Create user activation code", + "parameters": [], + "requestBody": { + "description": "The new UserActivationCode resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/user-activation-codes/activate": { + "post": { + "operationId": "post-v2-activate-user-activation-code", + "tags": [ + "UserActivationCode" + ], + "responses": { + "201": { + "description": "UserActivationCode resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" + } }, - "summary": "Retrieves collection of campaign resources.", - "description": "Retrieves collection of campaign resources.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-campaign-id", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Created", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string" - }, - "screen": { - "type": "string" - } - } - } - } - } - } - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" + } }, - "summary": "Update the collection of screens on a playlist.", - "description": "Update the collection of screens on a playlist.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "ScreenCampaign identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "screen": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Screen ULID" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" + } + } + }, + "links": {} }, - "parameters": [] - }, - "/v2/screens/{id}/campaigns/{campaignId}": { - "delete": { - "operationId": "delete-v2-screen-campaign-id", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "ScreenCampaign resource deleted" - }, - "404": { - "description": "Resource not found" - } + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Use user activation code.", + "description": "Use user activation code.", + "parameters": [], + "requestBody": { + "description": "The new UserActivationCode resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.ActivationCode.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.ActivationCode" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.ActivationCode" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/user-activation-codes/refresh": { + "post": { + "operationId": "post-v2-refresh-user-activation-code", + "tags": [ + "UserActivationCode" + ], + "responses": { + "201": { + "description": "UserActivationCode resource created", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" + } }, - "summary": "Delete a campaign from a screen.", - "description": "Delete a campaign from a screen.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "campaignId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screens/{id}/regions/{regionId}/playlists": { - "get": { - "operationId": "get-v2-playlist-screen-regions", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "PlaylistScreenRegion collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistScreenRegion.jsonld-playlist-screen-region.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistScreenRegion-playlist-screen-region.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlaylistScreenRegion-playlist-screen-region.read" - } - } - } - } - } + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" + } }, - "summary": "Retrieves a Playlist resources base on screen region.", - "description": "Retrieve a Playlist resources base on screen regions.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "regionId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "sharedWithMe", - "in": "query", - "description": "If true only entities that are shared with me will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "putPlaylistScreenRegionItem", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "Not used - remove the default 200 response" - }, - "201": { - "description": "Created" - }, - "404": { - "description": "Not found" - } + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" + } + } + }, + "links": {} + }, + "400": { + "description": "Invalid input" + }, + "422": { + "description": "Unprocessable entity" + } + }, + "summary": "Refresh user activation code.", + "description": "Refresh user activation code.", + "parameters": [], + "requestBody": { + "description": "The new UserActivationCode resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.ActivationCode.jsonld" + } + }, + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.ActivationCode" + } + }, + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.ActivationCode" + } + } + }, + "required": true + }, + "deprecated": false + } + }, + "/v2/user-activation-codes/{id}": { + "get": { + "operationId": "api_v2user-activation-codes_id_get", + "tags": [ + "UserActivationCode" + ], + "responses": { + "200": { + "description": "UserActivationCode resource", + "content": { + "application/ld+json": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode.jsonld" + } }, - "summary": "Add Playlist resource from screen region.", - "description": "Add Playlist resource from screen region.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "regionId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Playlist ULID" - }, - "weight": { - "type": "integer" - } - } - } - } - } - }, - "required": false + "text/html": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode" + } }, - "deprecated": false + "multipart/form-data": { + "schema": { + "$ref": "#/components/schemas/UserActivationCode" + } + } + } }, - "parameters": [] + "404": { + "description": "Resource not found" + } + }, + "summary": "Retrieves a UserActivationCode resource.", + "description": "Retrieves a UserActivationCode resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "UserActivationCode identifier", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false }, - "/v2/screens/{id}/regions/{regionId}/playlists/{playlistId}": { - "delete": { - "operationId": "deletePlaylistScreenRegionItem", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "PlaylistScreenRegion resource deleted" - }, - "404": { - "description": "Resource not found" - } - }, - "summary": "Remove Playlist resource from screen region.", - "description": "Remove Playlist resource from screen region.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "regionId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "playlistId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screens/{id}/screen-groups": { - "get": { - "operationId": "get-v2-screen-id-screen-groups", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "ScreenGroup collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup.jsonld-screens.screen-groups.read" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup-screens.screen-groups.read" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ScreenGroup.ScreenGroup-screens.screen-groups.read" - } - } - } - } - } + "delete": { + "operationId": "api_v2user-activation-codes_id_delete", + "tags": [ + "UserActivationCode" + ], + "responses": { + "204": { + "description": "UserActivationCode resource deleted" + }, + "404": { + "description": "Resource not found" + } + }, + "summary": "Removes the UserActivationCode resource.", + "description": "Removes the UserActivationCode resource.", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "UserActivationCode identifier", + "required": true, + "deprecated": false, + "allowEmptyValue": false, + "schema": { + "type": "string" + }, + "style": "simple", + "explode": false, + "allowReserved": false + } + ], + "deprecated": false + } + } + }, + "components": { + "schemas": { + "Collection": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "empty": { + "readOnly": true, + "description": "Checks whether the collection is empty (contains no elements).", + "type": "boolean" + }, + "keys": { + "readOnly": true, + "description": "Gets all keys/indices of the collection.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "integer" + } }, - "summary": "Retrieve screen-groups from screen id.", - "description": "Retrieve screen-groups from screen id.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-screen-groups-screen", - "tags": [ - "Screens" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - } - } + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "values": { + "readOnly": true, + "description": "Gets all values of the collection.", + "type": "array", + "items": { + "type": "string" + } + }, + "iterator": { + "readOnly": true + } + } + }, + "Collection-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false + }, + "Collection.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Update the collection of ScreenGroups on a Screen.", - "description": "Update the collection of ScreenGroups on a Screen.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "required": false + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "empty": { + "readOnly": true, + "description": "Checks whether the collection is empty (contains no elements).", + "type": "boolean" + }, + "keys": { + "readOnly": true, + "description": "Gets all keys/indices of the collection.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "integer" + } }, - "deprecated": false - }, - "parameters": [] + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "values": { + "readOnly": true, + "description": "Gets all values of the collection.", + "type": "array", + "items": { + "type": "string" + } + }, + "iterator": { + "readOnly": true + } + } }, - "/v2/screens/{id}/screen-groups/{screenGroupId}": { - "delete": { - "operationId": "delete-v2-screen-group-screen-id", - "tags": [ - "Screens" - ], - "responses": { - "204": { - "description": "ScreenGroup resource deleted" - }, - "404": { - "description": "Resource not found" - } + "Collection.jsonld-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Delete a screen groups from a screen", - "description": "Delete a screen groups from a screen.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "screenGroupId", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/screens/{id}/unbind": { - "post": { - "operationId": "postScreenUnbind", - "tags": [ - "Screens" - ], - "responses": { - "201": { - "description": "Unbind screen from machine" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Collection.jsonld-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Unbind screen from machine", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "The screen id", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "Unbind from machine", - "content": {}, - "required": false - } - }, - "parameters": [] - }, - "/v2/slides": { - "get": { - "operationId": "get-v2-slides", - "tags": [ - "Slides" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Collection.jsonld-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieves a collection of Slide resources.", - "description": "Retrieves a collection of Slide resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-slides", - "tags": [ - "Slides" - ], - "responses": { - "201": { - "description": "Slide resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Collection.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Creates a Slide resource.", - "description": "Creates a Slide resource.", - "parameters": [], - "requestBody": { - "description": "The new Slide resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/slides/{id}": { - "get": { - "operationId": "get-v2-slide-id", - "tags": [ - "Slides" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Collection.jsonld-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieve a Slide resource.", - "description": "Retrieves a Slide resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-slide-id", - "tags": [ - "Slides" - ], - "responses": { - "200": { - "description": "Slide resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Collection.jsonld-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Update a Slide resource.", - "description": "Update a Slide resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Slide resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.SlideInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-slide-id", - "tags": [ - "Slides" - ], - "responses": { - "204": { - "description": "Slide resource deleted" - }, - "404": { - "description": "Resource not found" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Collection.jsonld-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Delete a Slide resource.", - "description": "Delete a Slide resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/slides/{id}/action": { - "post": { - "operationId": "api_Slide_perform_action", - "tags": [ - "Slides" - ], - "responses": { - "201": { - "description": "Slide resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.Slide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + } + } + }, + "Feed": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "configuration": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedSource": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedUrl": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Feed.Feed": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "configuration": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedSource": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedUrl": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Feed.Feed.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Performs an action for a slide.", - "description": "Perform an action for a slide.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The new Slide resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Slide.InteractiveSlideActionInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/slides/{id}/playlists": { - "get": { - "operationId": "put-v2-slide-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "configuration": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedSource": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedUrl": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Feed.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Get the collection of playlist connected to a slide.", - "description": "Get the collection of playlist connected to a slide.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - }, - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "published", - "in": "query", - "description": "If true only published content will be shown", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "boolean" - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "get-v2-slide-playlist-id", - "tags": [ - "Playlists" - ], - "responses": { - "200": { - "description": "PlaylistSlide resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PlaylistSlide.PlaylistSlide" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "configuration": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedSource": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "feedUrl": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "FeedSource": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "outputType": { + "type": "string" + }, + "feedType": { + "type": "string" + }, + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "FeedSource.FeedSource": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "outputType": { + "type": "string" + }, + "feedType": { + "type": "string" + }, + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "FeedSource.FeedSource.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieves collection of playlistresources.", - "description": "Retrieves collection of playlist resources.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "", - "content": { - "application/ld+json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "playlist": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$", - "description": "Playlist ULID" - } - } - } - } - } - }, - "required": false - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/templates": { - "get": { - "operationId": "get-v2-templates", - "tags": [ - "Templates" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "outputType": { + "type": "string" + }, + "feedType": { + "type": "string" + }, + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "FeedSource.FeedSourceInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "outputType": { + "type": "string" + }, + "feedType": { + "type": "string" + }, + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" + } + } + }, + "FeedSource.FeedSourceInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "outputType": { + "type": "string" + }, + "feedType": { + "type": "string" + }, + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" + } + } + }, + "FeedSource.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieve a collection of Template resources.", - "description": "Retrieve a collection of Template resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/templates/{id}": { - "get": { - "operationId": "get-v2-template-id", - "tags": [ - "Templates" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "outputType": { + "type": "string" + }, + "feedType": { + "type": "string" + }, + "secrets": { + "type": "array", + "items": { + "type": "string" + } + }, + "feeds": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin": { + "type": "array", + "items": { + "type": "string" + } + }, + "supportedFeedOutputType": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Media": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "media": { + "$ref": "#/components/schemas/Collection" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Media-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + } + } + }, + "Media-theme.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + } + } + }, + "Media.Media": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "media": { + "$ref": "#/components/schemas/Collection" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Media.Media.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieve a Template resource.", - "description": "Retrieves a Template resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/tenants": { - "get": { - "operationId": "get-v2-tenants", - "tags": [ - "Tenants" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "media": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Media.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieves a collection of tenant resources.", - "description": "Retrieves a collection of tenant resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/tenants/{id}": { - "get": { - "operationId": "get-v2-tenant-id", - "tags": [ - "Tenants" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "media": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Media.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieve a tenant resource.", - "description": "Retrieves a tenant resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/themes": { - "get": { - "operationId": "get-v2-themes", - "tags": [ - "Themes" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + } + } + }, + "Media.jsonld-theme.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" }, - "summary": "Retrieve a collection of Theme resources.", - "description": "Retrieve a collection of Theme resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "title", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "description", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[title]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[description]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "order[modifiedAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "create-v2-themes", - "tags": [ - "Themes" - ], - "responses": { - "201": { - "description": "Theme resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "license": { + "type": "string" + }, + "assets": { + "type": "array", + "items": { + "type": "string" + } + }, + "thumbnail": { + "type": [ + "string", + "null" + ] + } + } + }, + "Playlist": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection" }, - "summary": "Creates a Theme resource.", - "description": "Creates a Theme resource.", - "parameters": [], - "requestBody": { - "description": "The new Theme resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/themes/{id}": { - "get": { - "operationId": "get-v2-theme-id", - "tags": [ - "Themes" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "null" + } + ] + }, + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection" }, - "summary": "Retrieve a Theme resource.", - "description": "Retrieves a Theme resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-theme-id", - "tags": [ - "Themes" - ], - "responses": { - "200": { - "description": "Theme resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.Theme" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } + { + "type": "null" + } + ] + }, + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection" }, - "summary": "Update a Theme resource.", - "description": "Update a Theme resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated Theme resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/Theme.ThemeInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-theme-id", - "tags": [ - "Themes" - ], - "responses": { - "204": { - "description": "Theme resource deleted" - }, - "404": { - "description": "Resource not found" - } + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" }, - "summary": "Delete a Theme resource.", - "description": "Delete a Theme resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/user-activation-codes": { - "get": { - "operationId": "api_v2user-activation-codes_get_collection", - "tags": [ - "UserActivationCode" - ], - "responses": { - "200": { - "description": "UserActivationCode collection", - "content": { - "application/ld+json": { - "schema": { - "type": "object", - "properties": { - "hydra:member": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "hydra:totalItems": { - "type": "integer", - "minimum": 0 - }, - "hydra:view": { - "type": "object", - "properties": { - "@id": { - "type": "string", - "format": "iri-reference" - }, - "@type": { - "type": "string" - }, - "hydra:first": { - "type": "string", - "format": "iri-reference" - }, - "hydra:last": { - "type": "string", - "format": "iri-reference" - }, - "hydra:previous": { - "type": "string", - "format": "iri-reference" - }, - "hydra:next": { - "type": "string", - "format": "iri-reference" - } - }, - "example": { - "@id": "string", - "type": "string", - "hydra:first": "string", - "hydra:last": "string", - "hydra:previous": "string", - "hydra:next": "string" - } - }, - "hydra:search": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "hydra:template": { - "type": "string" - }, - "hydra:variableRepresentation": { - "type": "string" - }, - "hydra:mapping": { - "type": "array", - "items": { - "type": "object", - "properties": { - "@type": { - "type": "string" - }, - "variable": { - "type": "string" - }, - "property": { - "type": [ - "string", - "null" - ] - }, - "required": { - "type": "boolean" - } - } - } - } - } - } - }, - "required": [ - "hydra:member" - ] - } - }, - "text/html": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - } - } - } + { + "type": "null" + } + ] + }, + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" }, - "summary": "Retrieves the collection of UserActivationCode resources.", - "description": "Retrieves the collection of UserActivationCode resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "The collection page number", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "integer", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "integer", - "default": 10, - "minimum": 0, - "maximum": 30 - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "post-v2-create-user-activation-code", - "tags": [ - "UserActivationCode" - ], - "responses": { - "201": { - "description": "UserActivationCode resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "null" + } + ] + }, + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" }, - "summary": "Create user activation code.", - "description": "Create user activation code", - "parameters": [], - "requestBody": { - "description": "The new UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCodeInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/user-activation-codes/activate": { - "post": { - "operationId": "post-v2-activate-user-activation-code", - "tags": [ - "UserActivationCode" - ], - "responses": { - "201": { - "description": "UserActivationCode resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-campaigns.screens.read" }, - "summary": "Use user activation code.", - "description": "Use user activation code.", - "parameters": [], - "requestBody": { - "description": "The new UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/user-activation-codes/refresh": { - "post": { - "operationId": "post-v2-refresh-user-activation-code", - "tags": [ - "UserActivationCode" - ], - "responses": { - "201": { - "description": "UserActivationCode resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.UserActivationCode" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "null" + } + ] + }, + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-campaigns.screens.read" }, - "summary": "Refresh user activation code.", - "description": "Refresh user activation code.", - "parameters": [], - "requestBody": { - "description": "The new UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.ActivationCode" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/user-activation-codes/{id}": { - "get": { - "operationId": "api_v2user-activation-codes_id_get", - "tags": [ - "UserActivationCode" - ], - "responses": { - "200": { - "description": "UserActivationCode resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserActivationCode" - } - } - } - }, - "404": { - "description": "Resource not found" - } + { + "type": "null" + } + ] + }, + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-campaigns.screens.read" }, - "summary": "Retrieves a UserActivationCode resource.", - "description": "Retrieves a UserActivationCode resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "UserActivationCode identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "delete": { - "operationId": "api_v2user-activation-codes_id_delete", - "tags": [ - "UserActivationCode" - ], - "responses": { - "204": { - "description": "UserActivationCode resource deleted" - }, - "404": { - "description": "Resource not found" - } + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-playlist-screen-region.read" }, - "summary": "Removes the UserActivationCode resource.", - "description": "Removes the UserActivationCode resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "UserActivationCode identifier", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/users": { - "get": { - "operationId": "get-v2-users", - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "null" + } + ] + }, + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-playlist-screen-region.read" }, - "summary": "Retrieve a collection of User resources.", - "description": "Retrieve a collection of User resources.", - "parameters": [ - { - "name": "page", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "integer", - "minimum": 0, - "format": "int32", - "default": 1 - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "itemsPerPage", - "in": "query", - "description": "The number of items per page", - "required": false, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "default": "10" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "fullName", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "email", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "createdBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "modifiedBy", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string" - }, - "style": "form", - "explode": false, - "allowReserved": false - }, - { - "name": "modifiedBy[]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "style": "form", - "explode": true, - "allowReserved": false - }, - { - "name": "order[createdAt]", - "in": "query", - "description": "", - "required": false, - "deprecated": false, - "allowEmptyValue": true, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - }, - "style": "form", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "post": { - "operationId": "post-v2-user", - "tags": [ - "User" - ], - "responses": { - "201": { - "description": "User resource created", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.User.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - } + { + "type": "null" + } + ] + }, + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-playlist-screen-region.read" }, - "summary": "Create a User resource.", - "description": "Create a User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The new User resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.UserInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "parameters": [] - }, - "/v2/users/{id}": { - "get": { - "operationId": "get-v2-user-id", - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/ld+json": { - "examples": null - } - }, - "headers": [] - } + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-screen-campaigns.read" }, - "summary": "Retrieve User resource.", - "description": "Retrieves User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "put": { - "operationId": "put-v2-user-id", - "tags": [ - "User" - ], - "responses": { - "200": { - "description": "User resource updated", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.User.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.User" - } - } - }, - "links": {} - }, - "400": { - "description": "Invalid input" - }, - "422": { - "description": "Unprocessable entity" - }, - "404": { - "description": "Resource not found" - } + { + "type": "null" + } + ] + }, + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-screen-campaigns.read" }, - "summary": "Update User resource.", - "description": "Update User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "requestBody": { - "description": "The updated User resource", - "content": { - "application/ld+json": { - "schema": { - "$ref": "#/components/schemas/User.UserInput.jsonld" - } - }, - "text/html": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/User.UserInput" - } - } - }, - "required": true - }, - "deprecated": false - }, - "delete": { - "operationId": "delete-v2-user-id", - "tags": [ - "User" - ], - "responses": { - "204": { - "description": "User resource deleted" - }, - "404": { - "description": "Resource not found" - } + { + "type": "null" + } + ] + }, + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-screen-campaigns.read" }, - "summary": "Delete an User resource.", - "description": "Delete an User resource.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - }, - "/v2/users/{id}/remove-from-tenant": { - "delete": { - "operationId": "post-v2-remove-user-from-tenant", - "tags": [ - "User" - ], - "responses": { - "204": { - "description": "User removed from tenant" - } + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" }, - "summary": "Remove a User resource from the current tenant.", - "description": "Remove a User resource from the current tenant.", - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "required": true, - "deprecated": false, - "allowEmptyValue": false, - "schema": { - "type": "string", - "format": "ulid", - "pattern": "^[A-Za-z0-9]{26}$" - }, - "style": "simple", - "explode": false, - "allowReserved": false - } - ], - "deprecated": false - }, - "parameters": [] - } - }, - "components": { - "schemas": { - "Collection": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "empty": { - "readOnly": true, - "description": "Checks whether the collection is empty (contains no elements).", - "type": "boolean" - }, - "keys": { - "readOnly": true, - "description": "Gets all keys/indices of the collection.", - "anyOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "values": { - "readOnly": true, - "description": "Gets all values of the collection.", - "type": "array", - "items": { - "type": "string" - } - }, - "iterator": { - "readOnly": true - } + { + "type": "null" } + ] }, - "Collection-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false - }, - "Collection-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" + }, + { + "type": "null" + } + ] }, - "Collection-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-slides.playlists.read" + }, + { + "type": "null" + } + ] }, - "Collection-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-slides.playlists.read" + }, + { + "type": "null" + } + ] }, - "Collection-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection-slides.playlists.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.Playlist": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection" + }, + { + "type": "null" + } + ] }, - "Collection-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection" + }, + { + "type": "null" + } + ] }, - "Collection-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.Playlist.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld" + }, + { + "type": "null" + } + ] }, - "Collection.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "empty": { - "readOnly": true, - "description": "Checks whether the collection is empty (contains no elements).", - "type": "boolean" - }, - "keys": { - "readOnly": true, - "description": "Gets all keys/indices of the collection.", - "anyOf": [ - { - "type": "array", - "items": { - "type": "integer" - } - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "values": { - "readOnly": true, - "description": "Gets all values of the collection.", - "type": "array", - "items": { - "type": "string" - } - }, - "iterator": { - "readOnly": true - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.PlaylistInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": "array", + "items": { + "type": "string" + } + }, + "tenants": { + "type": "array", + "items": { + "type": "string" + } + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "0", + "to": "0" + }, + "example": { + "from": "0", + "to": "0" + }, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Playlist.PlaylistInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": "array", + "items": { + "type": "string" + } + }, + "tenants": { + "type": "array", + "items": { + "type": "string" + } + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "0", + "to": "0" + }, + "example": { + "from": "0", + "to": "0" + }, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Playlist.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" + }, + { + "type": "null" } + ] }, - "Collection.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" + }, + { + "type": "null" } + ] }, - "Feed": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" + }, + { + "type": "null" } + ] }, - "Feed.Feed": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" + }, + { + "type": "null" } + ] }, - "Feed.Feed.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" + }, + { + "type": "null" } + ] }, - "Feed.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "configuration": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedSource": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "feedUrl": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" + }, + { + "type": "null" } + ] }, - "FeedSource": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "secrets": { - "type": "array", - "items": { - "type": "string" - } - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" + }, + { + "type": "null" } + ] }, - "FeedSource.FeedSource": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "secrets": { - "type": "array", - "items": { - "type": "string" - } - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Playlist.jsonld-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "schedules": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "slides": { + "type": "string" + }, + "campaignScreens": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" + }, + { + "type": "null" } + ] }, - "FeedSource.FeedSource.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "secrets": { - "type": "array", - "items": { - "type": "string" - } - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "FeedSource.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "outputType": { - "type": "string" - }, - "feedType": { - "type": "string" - }, - "secrets": { - "type": "array", - "items": { - "type": "string" - } - }, - "feeds": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin": { - "type": "array", - "items": { - "type": "string" - } - }, - "supportedFeedOutputType": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Media-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Media.Media": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media.Media.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } - }, - "Media.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Media.jsonld-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "license": { - "type": "string" - }, - "assets": { - "type": "array", - "items": { - "type": "string" - } - }, - "thumbnail": { - "type": [ - "string", - "null" - ] - } - } - }, - "Playlist": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.Playlist": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.Playlist.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.PlaylistInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": "array", - "items": { - "type": "string" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "string" - } - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "0", - "to": "0" - }, - "example": { - "from": "0", - "to": "0" - }, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Playlist.PlaylistInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": "array", - "items": { - "type": "string" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "string" - } - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "0", - "to": "0" - }, - "example": { - "from": "0", - "to": "0" - }, - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Playlist.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screen-groups.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-campaigns.screens.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-playlist-screen-region.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-screen-groups.campaigns.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Playlist.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "schedules": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "slides": { - "type": "string" - }, - "campaignScreens": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "campaignScreenGroups": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "tenants": { - "anyOf": [ - { - "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" - }, - { - "type": "null" - } - ] - }, - "isCampaign": { - "type": "boolean" - }, - "published": { - "default": { - "from": "", - "to": "" - }, - "example": { - "from": "", - "to": "" - }, - "type": "array", - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.PlaylistScreenRegion.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistScreenRegion.jsonld-playlist-screen-region.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-screen-region.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "slide": { - "$ref": "#/components/schemas/Slide-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.PlaylistSlide.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "playlist": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "weight": { - "type": "integer" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-playlist-slide.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-playlist-slide.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "PlaylistSlide.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "slide": { - "$ref": "#/components/schemas/Slide.jsonld-slides.playlists.read" - }, - "playlist": { - "$ref": "#/components/schemas/Playlist.jsonld-slides.playlists.read" - }, - "weight": { - "type": "integer" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.Screen": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.Screen.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.ScreenInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "location": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "regions": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "groups": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - }, - "Screen.ScreenInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "location": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "regions": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "groups": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - } - }, - "Screen.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "size": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "layout": { - "type": "string" - }, - "orientation": { - "type": "string" - }, - "resolution": { - "type": "string" - }, - "location": { - "type": "string" - }, - "regions": { - "type": "array", - "items": { - "type": "string" - } - }, - "inScreenGroups": { - "default": "/v2/screens/{id}/groups", - "example": "/v2/screens/{id}/groups", - "type": "string" - }, - "screenUser": { - "type": [ - "string", - "null" - ] - }, - "enableColorSchemeChange": { - "type": [ - "boolean", - "null" - ] - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Screen.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.ScreenCampaign.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screen": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.jsonld-campaigns.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screens.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-campaigns.screens.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenCampaign.jsonld-screen-campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-campaigns.read" - }, - "screen": { - "$ref": "#/components/schemas/Screen.jsonld-screen-campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup.jsonld-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroup.jsonld-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.ScreenGroupInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "ScreenGroup.ScreenGroupInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - } - } - }, - "ScreenGroup.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-screen-groups.screens.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroup.jsonld-screens.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "campaigns": { - "type": "string" - }, - "screens": { - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "campaign": { - "$ref": "#/components/schemas/Playlist-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.ScreenGroupCampaign.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "screenGroup": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.jsonld-campaigns.screen-groups.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screen-groups.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-campaigns.screen-groups.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenGroupCampaign.jsonld-screen-groups.campaigns.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "campaign": { - "$ref": "#/components/schemas/Playlist.jsonld-screen-groups.campaigns.read" - }, - "screenGroup": { - "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.campaigns.read" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout.ScreenLayout": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout.ScreenLayout.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayout.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "grid": { - "default": { - "rows": 1, - "columns": 1 - }, - "example": { - "rows": 1, - "columns": 1 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "regions": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "ScreenLayoutRegions.ScreenLayoutRegions": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "gridArea": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "ScreenLayoutRegions.ScreenLayoutRegions.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "gridArea": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - } - } - }, - "Slide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "$ref": "#/components/schemas/Theme-playlist-slide.read" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection-playlist-slide.read" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection-playlist-slide.read" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.InteractiveSlideActionInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "action": { - "type": [ - "string", - "null" - ] - }, - "data": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Slide.InteractiveSlideActionInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "action": { - "type": [ - "string", - "null" - ] - }, - "data": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "Slide.Slide": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } - }, - "Slide.Slide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } + "campaignScreenGroups": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" + }, + { + "type": "null" } + ] }, - "Slide.SlideInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": { - "fade": false - } - }, - "example": { - "@id": "", - "options": { - "fade": false - } - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "media": { - "type": "array", - "items": { - "type": "string" - } - }, - "content": { - "default": { - "text": "Test text" - }, - "example": { - "text": "Test text" - }, - "type": "array", - "items": { - "type": "string" - } - } - } + "tenants": { + "anyOf": [ + { + "$ref": "#/components/schemas/Collection.jsonld-slides.playlists.read" + }, + { + "type": "null" + } + ] + }, + "isCampaign": { + "type": "boolean" + }, + "published": { + "default": { + "from": "", + "to": "" + }, + "example": { + "from": "", + "to": "" + }, + "type": "array", + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "playlist": { + "$ref": "#/components/schemas/Playlist-playlist-screen-region.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion.PlaylistScreenRegion": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion.PlaylistScreenRegion-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "playlist": { + "$ref": "#/components/schemas/Playlist-playlist-screen-region.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion.PlaylistScreenRegion.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion.PlaylistScreenRegion.jsonld-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist.jsonld-playlist-screen-region.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistScreenRegion.jsonld-playlist-screen-region.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist.jsonld-playlist-screen-region.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "slide": { + "$ref": "#/components/schemas/Slide-playlist-slide.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist-playlist-slide.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "slide": { + "$ref": "#/components/schemas/Slide-slides.playlists.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist-slides.playlists.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.PlaylistSlide": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.PlaylistSlide-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "slide": { + "$ref": "#/components/schemas/Slide-playlist-slide.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist-playlist-slide.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.PlaylistSlide-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "slide": { + "$ref": "#/components/schemas/Slide-slides.playlists.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist-slides.playlists.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.PlaylistSlide.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.PlaylistSlide.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "slide": { + "$ref": "#/components/schemas/Slide.jsonld-playlist-slide.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist.jsonld-playlist-slide.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.PlaylistSlide.jsonld-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "slide": { + "$ref": "#/components/schemas/Slide.jsonld-slides.playlists.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist.jsonld-slides.playlists.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "slide": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "playlist": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "weight": { + "type": "integer" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "slide": { + "$ref": "#/components/schemas/Slide.jsonld-playlist-slide.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist.jsonld-playlist-slide.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "PlaylistSlide.jsonld-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "slide": { + "$ref": "#/components/schemas/Slide.jsonld-slides.playlists.read" + }, + "playlist": { + "$ref": "#/components/schemas/Playlist.jsonld-slides.playlists.read" + }, + "weight": { + "type": "integer" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "location": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inScreenGroups": { + "default": "/v2/screens/{id}/groups", + "example": "/v2/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "location": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inScreenGroups": { + "default": "/v2/screens/{id}/groups", + "example": "/v2/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen.Screen": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "location": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inScreenGroups": { + "default": "/v2/screens/{id}/groups", + "example": "/v2/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen.Screen.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "location": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inScreenGroups": { + "default": "/v2/screens/{id}/groups", + "example": "/v2/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen.ScreenInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "location": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "regions": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "groups": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + }, + "Screen.ScreenInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "location": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "regions": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "groups": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + } + }, + "Screen.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "location": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inScreenGroups": { + "default": "/v2/screens/{id}/groups", + "example": "/v2/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen.jsonld-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "size": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "layout": { + "type": "string" + }, + "orientation": { + "type": "string" + }, + "resolution": { + "type": "string" + }, + "location": { + "type": "string" + }, + "regions": { + "type": "array", + "items": { + "type": "string" + } + }, + "inScreenGroups": { + "default": "/v2/screens/{id}/groups", + "example": "/v2/screens/{id}/groups", + "type": "string" + }, + "screenUser": { + "type": [ + "string", + "null" + ] + }, + "enableColorSchemeChange": { + "type": [ + "boolean", + "null" + ] + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Screen.jsonld-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screen": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-campaigns.screens.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen-campaigns.screens.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-screen-campaigns.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen-screen-campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.ScreenCampaign": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screen": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.ScreenCampaign-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-campaigns.screens.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen-campaigns.screens.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.ScreenCampaign-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-screen-campaigns.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen-screen-campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.ScreenCampaign.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screen": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.ScreenCampaign.jsonld-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screens.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen.jsonld-campaigns.screens.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.ScreenCampaign.jsonld-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-screen-campaigns.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen.jsonld-screen-campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screen": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.jsonld-campaigns.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screens.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen.jsonld-campaigns.screens.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenCampaign.jsonld-screen-campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-screen-campaigns.read" + }, + "screen": { + "$ref": "#/components/schemas/Screen.jsonld-screen-campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" }, - "Slide.SlideInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": { - "fade": false - } - }, - "example": { - "@id": "", - "options": { - "fade": false - } - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "media": { - "type": "array", - "items": { - "type": "string" - } - }, - "content": { - "default": { - "text": "Test text" - }, - "example": { - "text": "Test text" - }, - "type": "array", - "items": { - "type": "string" - } - } - } + "description": { + "type": "string" }, - "Slide.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - }, - "relationsChecksum": { - "type": "object" - } - } + "campaigns": { + "type": "string" }, - "Slide.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "templateInfo": { - "default": { - "@id": "", - "options": [] - }, - "example": { - "@id": "", - "options": [] - }, - "type": "array", - "items": { - "type": "string" - } - }, - "theme": { - "$ref": "#/components/schemas/Theme.jsonld-playlist-slide.read" - }, - "onPlaylists": { - "$ref": "#/components/schemas/Collection.jsonld-playlist-slide.read" - }, - "duration": { - "type": [ - "integer", - "null" - ] - }, - "published": { - "default": { - "from": 0, - "to": 0 - }, - "example": { - "from": 0, - "to": 0 - }, - "type": "array", - "items": { - "type": "string" - } - }, - "media": { - "$ref": "#/components/schemas/Collection.jsonld-playlist-slide.read" - }, - "content": { - "type": "array", - "items": { - "type": "string" - } - }, - "feed": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "relationsChecksum": { - "type": "object" - } - } + "screens": { + "type": "string" }, - "Slide.jsonld-slides.playlists.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "relationsChecksum": { - "type": "object" - } - } + "modifiedBy": { + "type": "string" }, - "Template": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "createdBy": { + "type": "string" }, - "Template.Template": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "id": { + "type": "string", + "format": "ulid" }, - "Template.Template.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" }, - "Template.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "screens": { + "type": "string" }, - "Tenant": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "tenantKey": { - "type": "string" - }, - "userRoleTenants": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRoleTenant" - } - }, - "fallbackImageUrl": { - "type": [ - "string", - "null" - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" }, - "Tenant.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "tenantKey": { - "type": "string" - }, - "userRoleTenants": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRoleTenant.jsonld" - } - }, - "fallbackImageUrl": { - "type": [ - "string", - "null" - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } + "description": { + "type": "string" }, - "Theme-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media-playlist-slide.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } + "campaigns": { + "type": "string" }, - "Theme-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } + "screens": { + "type": "string" }, - "Theme.Theme": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": [ - "string", - "null" - ], - "format": "iri-reference", - "example": "https://example.com/" - }, - "cssStyles": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup-screen-groups.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup-screens.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" }, - "Theme.Theme-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } + "description": { + "type": "string" }, - "Theme.Theme.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": [ - "string", - "null" - ], - "format": "iri-reference", - "example": "https://example.com/" - }, - "cssStyles": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "campaigns": { + "type": "string" }, - "Theme.Theme.jsonld-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } + "screens": { + "type": "string" }, - "Theme.ThemeInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "css": { - "type": "string" - } - } + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroup": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" }, - "Theme.ThemeInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "type": "string" - }, - "css": { - "type": "string" - } - } + "description": { + "type": "string" }, - "Theme.jsonld-playlist-slide.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld-playlist-slide.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } + "campaigns": { + "type": "string" }, - "Theme.jsonld-theme.read": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "logo": { - "anyOf": [ - { - "$ref": "#/components/schemas/Media.jsonld-theme.read" - }, - { - "type": "null" - } - ] - }, - "cssStyles": { - "type": "string" - } - } + "screens": { + "type": "string" }, - "User": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroup-screen-groups.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroup-screens.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" }, - "User.User": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } + "campaigns": { + "type": "string" }, - "User.User.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" + "screens": { + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroup.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" }, - "id": { - "type": "string", - "format": "ulid" + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true } + ] }, - "User.UserInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - } - } + "@id": { + "readOnly": true, + "type": "string" }, - "User.UserInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "fullName": { - "type": [ - "string", - "null" - ] - } - } + "@type": { + "readOnly": true, + "type": "string" }, - "User.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "fullName": { - "type": [ - "string", - "null" - ] - }, - "userType": { - "type": [ - "string", - "null" - ], - "enum": [ - "OIDC_EXTERNAL", - "OIDC_INTERNAL", - "USERNAME_PASSWORD", - null - ] - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "id": { - "type": "string", - "format": "ulid" - } - } + "title": { + "type": "string" }, - "UserActivationCode": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "description": { + "type": "string" }, - "UserActivationCode.ActivationCode": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "activationCode": { - "type": "string" - } - } + "campaigns": { + "type": "string" }, - "UserActivationCode.ActivationCode.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "activationCode": { - "type": "string" - } - } + "screens": { + "type": "string" }, - "UserActivationCode.UserActivationCode": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "modifiedBy": { + "type": "string" }, - "UserActivationCode.UserActivationCode.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "createdBy": { + "type": "string" }, - "UserActivationCode.UserActivationCodeInput": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "displayName": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } + "id": { + "type": "string", + "format": "ulid" }, - "UserActivationCode.UserActivationCodeInput.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "displayName": { - "type": "string" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - } - } + "created": { + "type": "string", + "format": "date-time" }, - "UserActivationCode.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "code": { - "type": [ - "string", - "null" - ] - }, - "codeExpire": { - "type": [ - "string", - "null" - ], - "format": "date-time" - }, - "username": { - "type": [ - "string", - "null" - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - }, - "modifiedBy": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "id": { - "type": "string", - "format": "ulid" - }, - "created": { - "type": "string", - "format": "date-time" - }, - "modified": { - "type": "string", - "format": "date-time" - } - } + "modified": { + "type": "string", + "format": "date-time" }, - "UserRoleTenant": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "user": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "tenant": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroup.jsonld-screen-groups.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroup.jsonld-screens.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" }, - "UserRoleTenant.jsonld": { - "type": "object", - "description": "", - "deprecated": false, - "properties": { - "@context": { - "readOnly": true, - "oneOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "@vocab": { - "type": "string" - }, - "hydra": { - "type": "string", - "enum": [ - "http://www.w3.org/ns/hydra/core#" - ] - } - }, - "required": [ - "@vocab", - "hydra" - ], - "additionalProperties": true - } - ] - }, - "@id": { - "readOnly": true, - "type": "string" - }, - "@type": { - "readOnly": true, - "type": "string" - }, - "user": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "tenant": { - "type": "string", - "format": "iri-reference", - "example": "https://example.com/" - }, - "roles": { - "type": "array", - "items": { - "type": "string" - } - }, - "id": { - "readOnly": true, - "description": "Get the Ulid.", - "type": "string", - "format": "ulid" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "modifiedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "string" - }, - "modifiedBy": { - "type": "string" - } - } + "@type": { + "readOnly": true, + "type": "string" }, - "Token": { - "type": "object", - "properties": { - "token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - }, - "refresh_token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - }, - "refresh_token_expiration": { - "type": "int", - "readOnly": true, - "example": "1678802283" - }, - "tenants": { - "type": "array", - "items": { - "type": "object", - "properties": { - "tenantKey": { - "type": "string", - "readOnly": true, - "example": "ABC" - }, - "title": { - "type": "string", - "readOnly": true, - "example": "ABC Tenant" - }, - "description": { - "type": "string", - "readOnly": true, - "example": "Nulla quam ipsam voluptatem cupiditate." - }, - "roles": { - "type": "array", - "items": { - "type": "string", - "readOnly": true, - "example": "ROLE_ADMIN" - } - } - } - } + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "screens": { + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.ScreenGroupInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "ScreenGroup.ScreenGroupInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "ScreenGroup.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" }, - "user": { - "type": "object", - "properties": { - "fullname": { - "type": "string", - "readOnly": true, - "example": "John Doe" - }, - "email": { - "type": "string", - "readOnly": true, - "example": "john@example.com" - } - } + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true } + ] }, - "RefreshTokenResponse": { - "type": "object", - "properties": { - "token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "screens": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.jsonld-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" }, - "refresh_token": { - "type": "string", - "readOnly": true, - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true } + ] }, - "RefreshTokenRequest": { - "type": "object", - "properties": { - "refresh_token": { - "type": "string", - "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - } - } + "@id": { + "readOnly": true, + "type": "string" }, - "Credentials": { - "type": "object", - "properties": { - "providerId": { - "type": "string", - "example": "john@example.com" + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "screens": { + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.jsonld-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" }, - "password": { - "type": "string", - "example": "apassword" + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true } + ] }, - "OidcEndpoints": { - "type": "object", - "properties": { - "authorizationUrl": { - "type": "string", - "example": "https://azure_b2c_test.b2clogin.com/azure_b2c_test.onmicrosoft.com/oauth2/v2.0/authorize?p=test-policy&state=5fd84892c27dbb5cad2c3cdc517b71f1&nonce=a9700e5677f3e610a5727429d9628308&scope=openid&response_type=id_token&response_mode=query&approval_prompt=auto&redirect_uri=ADMIN_APP_REDIRECT_URI&client_id=a9997a98-40be-4b49-bd1a-69cbf4a910d5" - }, - "endSessionUrl": { - "type": "string", - "example": "https://azure_b2c_test.b2clogin.com/azure_b2c_test.onmicrosoft.com/oauth2/v2.0/logout?p=test-policy" - } + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "screens": { + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.jsonld-screen-groups.screens.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroup.jsonld-screens.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "campaigns": { + "type": "string" + }, + "screens": { + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screenGroup": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-campaigns.screen-groups.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup-campaigns.screen-groups.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-screen-groups.campaigns.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup-screen-groups.campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.ScreenGroupCampaign": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screenGroup": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.ScreenGroupCampaign-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-campaigns.screen-groups.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup-campaigns.screen-groups.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.ScreenGroupCampaign-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "campaign": { + "$ref": "#/components/schemas/Playlist-screen-groups.campaigns.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup-screen-groups.campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.ScreenGroupCampaign.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screenGroup": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.ScreenGroupCampaign.jsonld-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screen-groups.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup.jsonld-campaigns.screen-groups.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.ScreenGroupCampaign.jsonld-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-screen-groups.campaigns.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "screenGroup": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.jsonld-campaigns.screen-groups.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-campaigns.screen-groups.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup.jsonld-campaigns.screen-groups.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenGroupCampaign.jsonld-screen-groups.campaigns.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "campaign": { + "$ref": "#/components/schemas/Playlist.jsonld-screen-groups.campaigns.read" + }, + "screenGroup": { + "$ref": "#/components/schemas/ScreenGroup.jsonld-screen-groups.campaigns.read" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenLayout": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "grid": { + "default": { + "rows": 1, + "columns": 1 + }, + "example": { + "rows": 1, + "columns": 1 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "regions": { + "$ref": "#/components/schemas/Collection" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenLayout.ScreenLayout": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "grid": { + "default": { + "rows": 1, + "columns": 1 + }, + "example": { + "rows": 1, + "columns": 1 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "regions": { + "$ref": "#/components/schemas/Collection" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenLayout.ScreenLayout.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "title": { + "type": "string" + }, + "grid": { + "default": { + "rows": 1, + "columns": 1 + }, + "example": { + "rows": 1, + "columns": 1 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "regions": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenLayout.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "grid": { + "default": { + "rows": 1, + "columns": 1 + }, + "example": { + "rows": 1, + "columns": 1 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "regions": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "ScreenLayoutRegions.ScreenLayoutRegions": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "gridArea": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + } + } + }, + "ScreenLayoutRegions.ScreenLayoutRegions.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "title": { + "type": "string" + }, + "gridArea": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + } + } + }, + "Slide": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "media": { + "$ref": "#/components/schemas/Collection" + }, + "content": { + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "$ref": "#/components/schemas/Theme-playlist-slide.read" + }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection-playlist-slide.read" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "media": { + "$ref": "#/components/schemas/Collection-playlist-slide.read" + }, + "content": { + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide.InteractiveSlideActionInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "action": { + "type": [ + "string", + "null" + ] + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Slide.InteractiveSlideActionInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "action": { + "type": [ + "string", + "null" + ] + }, + "data": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Slide.Slide": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "media": { + "$ref": "#/components/schemas/Collection" + }, + "content": { + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide.Slide.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "media": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "content": { + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide.SlideInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": { + "fade": false + } + }, + "example": { + "@id": "", + "options": { + "fade": false + } + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "media": { + "type": "array", + "items": { + "type": "string" + } + }, + "content": { + "default": { + "text": "Test text" + }, + "example": { + "text": "Test text" + }, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Slide.SlideInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": { + "fade": false + } + }, + "example": { + "@id": "", + "options": { + "fade": false + } + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "media": { + "type": "array", + "items": { + "type": "string" + } + }, + "content": { + "default": { + "text": "Test text" + }, + "example": { + "text": "Test text" + }, + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "Slide.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "media": { + "$ref": "#/components/schemas/Collection.jsonld" + }, + "content": { + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "templateInfo": { + "default": { + "@id": "", + "options": [] + }, + "example": { + "@id": "", + "options": [] + }, + "type": "array", + "items": { + "type": "string" + } + }, + "theme": { + "$ref": "#/components/schemas/Theme.jsonld-playlist-slide.read" + }, + "onPlaylists": { + "$ref": "#/components/schemas/Collection.jsonld-playlist-slide.read" + }, + "duration": { + "type": [ + "integer", + "null" + ] + }, + "published": { + "default": { + "from": 0, + "to": 0 + }, + "example": { + "from": 0, + "to": 0 + }, + "type": "array", + "items": { + "type": "string" + } + }, + "media": { + "$ref": "#/components/schemas/Collection.jsonld-playlist-slide.read" + }, + "content": { + "type": "array", + "items": { + "type": "string" + } + }, + "feed": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Slide.jsonld-slides.playlists.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "relationsChecksum": { + "type": "object" + } + } + }, + "Template": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "resources": { + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Template.Template": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "resources": { + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Template.Template.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "resources": { + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Template.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "resources": { + "type": "array", + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Tenant": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "tenantKey": { + "type": "string" + }, + "userRoleTenants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRoleTenant" + } + }, + "fallbackImageUrl": { + "type": [ + "string", + "null" + ] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "readOnly": true, + "description": "Get the Ulid.", + "type": "string", + "format": "ulid" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "modifiedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + } + } + }, + "Tenant.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "tenantKey": { + "type": "string" + }, + "userRoleTenants": { + "type": "array", + "items": { + "$ref": "#/components/schemas/UserRoleTenant.jsonld" + } + }, + "fallbackImageUrl": { + "type": [ + "string", + "null" + ] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "id": { + "readOnly": true, + "description": "Get the Ulid.", + "type": "string", + "format": "ulid" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "modifiedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + } + } + }, + "Theme-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "anyOf": [ + { + "$ref": "#/components/schemas/Media-playlist-slide.read" + }, + { + "type": "null" } + ] }, - "ScreenLoginOutput": { - "type": "object", - "properties": { - "bindKey": { - "type": "string", - "readOnly": true - }, - "token": { - "type": "string", - "readOnly": true - } + "cssStyles": { + "type": "string" + } + } + }, + "Theme-theme.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "anyOf": [ + { + "$ref": "#/components/schemas/Media-theme.read" + }, + { + "type": "null" } + ] }, - "ScreenLoginInput": { - "type": "object" + "cssStyles": { + "type": "string" + } + } + }, + "Theme.Theme": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "type": [ + "string", + "null" + ], + "format": "iri-reference", + "example": "https://example.com/" + }, + "cssStyles": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Theme.Theme-theme.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "anyOf": [ + { + "$ref": "#/components/schemas/Media-theme.read" + }, + { + "type": "null" + } + ] }, - "ScreenBindObject": { - "type": "object", - "properties": { - "bindKey": { - "type": "string" - } + "cssStyles": { + "type": "string" + } + } + }, + "Theme.Theme.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "type": [ + "string", + "null" + ], + "format": "iri-reference", + "example": "https://example.com/" + }, + "cssStyles": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "Theme.Theme.jsonld-theme.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "anyOf": [ + { + "$ref": "#/components/schemas/Media.jsonld-theme.read" + }, + { + "type": "null" } + ] + }, + "cssStyles": { + "type": "string" + } + } + }, + "Theme.ThemeInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "css": { + "type": "string" } + } }, - "responses": {}, - "parameters": {}, - "examples": {}, - "requestBodies": {}, - "headers": {}, - "securitySchemes": { - "bearerAuth": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT" + "Theme.ThemeInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "type": "string" + }, + "css": { + "type": "string" + } + } + }, + "Theme.jsonld-playlist-slide.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "anyOf": [ + { + "$ref": "#/components/schemas/Media.jsonld-playlist-slide.read" + }, + { + "type": "null" + } + ] }, - "tenantHeader": { - "type": "apiKey", - "in": "header", - "name": "Authorization-Tenant-Key" + "cssStyles": { + "type": "string" + } + } + }, + "Theme.jsonld-theme.read": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "logo": { + "anyOf": [ + { + "$ref": "#/components/schemas/Media.jsonld-theme.read" + }, + { + "type": "null" + } + ] }, - "JWT": { - "type": "http", - "scheme": "bearer", - "bearerFormat": "JWT" + "cssStyles": { + "type": "string" + } + } + }, + "User": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "fullName": { + "type": [ + "string", + "null" + ] + }, + "userType": { + "type": [ + "string", + "null" + ], + "enum": [ + "OIDC_EXTERNAL", + "OIDC_INTERNAL", + "USERNAME_PASSWORD", + null + ] + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string", + "format": "ulid" + } + } + }, + "User.User": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "fullName": { + "type": [ + "string", + "null" + ] + }, + "userType": { + "type": [ + "string", + "null" + ], + "enum": [ + "OIDC_EXTERNAL", + "OIDC_INTERNAL", + "USERNAME_PASSWORD", + null + ] + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string", + "format": "ulid" + } + } + }, + "User.User.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "fullName": { + "type": [ + "string", + "null" + ] + }, + "userType": { + "type": [ + "string", + "null" + ], + "enum": [ + "OIDC_EXTERNAL", + "OIDC_INTERNAL", + "USERNAME_PASSWORD", + null + ] + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string", + "format": "ulid" + } + } + }, + "User.UserInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "fullName": { + "type": [ + "string", + "null" + ] + } + } + }, + "User.UserInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "fullName": { + "type": [ + "string", + "null" + ] + } + } + }, + "User.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "fullName": { + "type": [ + "string", + "null" + ] + }, + "userType": { + "type": [ + "string", + "null" + ], + "enum": [ + "OIDC_EXTERNAL", + "OIDC_INTERNAL", + "USERNAME_PASSWORD", + null + ] + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "id": { + "type": "string", + "format": "ulid" + } + } + }, + "UserActivationCode": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "code": { + "type": [ + "string", + "null" + ] + }, + "codeExpire": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "username": { + "type": [ + "string", + "null" + ] + }, + "roles": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "UserActivationCode.ActivationCode": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "activationCode": { + "type": "string" + } + } + }, + "UserActivationCode.ActivationCode.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "activationCode": { + "type": "string" + } + } + }, + "UserActivationCode.UserActivationCode": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "code": { + "type": [ + "string", + "null" + ] + }, + "codeExpire": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "username": { + "type": [ + "string", + "null" + ] + }, + "roles": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "UserActivationCode.UserActivationCode.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "codeExpire": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "username": { + "type": [ + "string", + "null" + ] + }, + "roles": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "UserActivationCode.UserActivationCodeInput": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "displayName": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "UserActivationCode.UserActivationCodeInput.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "displayName": { + "type": "string" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "UserActivationCode.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "codeExpire": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "username": { + "type": [ + "string", + "null" + ] + }, + "roles": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + }, + "modifiedBy": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string", + "format": "ulid" + }, + "created": { + "type": "string", + "format": "date-time" + }, + "modified": { + "type": "string", + "format": "date-time" + } + } + }, + "UserRoleTenant": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "user": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "tenant": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "readOnly": true, + "description": "Get the Ulid.", + "type": "string", + "format": "ulid" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "modifiedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + } + } + }, + "UserRoleTenant.jsonld": { + "type": "object", + "description": "", + "deprecated": false, + "properties": { + "@context": { + "readOnly": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "@vocab": { + "type": "string" + }, + "hydra": { + "type": "string", + "enum": [ + "http://www.w3.org/ns/hydra/core#" + ] + } + }, + "required": [ + "@vocab", + "hydra" + ], + "additionalProperties": true + } + ] + }, + "@id": { + "readOnly": true, + "type": "string" + }, + "@type": { + "readOnly": true, + "type": "string" + }, + "user": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "tenant": { + "type": "string", + "format": "iri-reference", + "example": "https://example.com/" + }, + "roles": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "readOnly": true, + "description": "Get the Ulid.", + "type": "string", + "format": "ulid" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "modifiedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "string" + }, + "modifiedBy": { + "type": "string" + } + } + }, + "Token": { + "type": "object", + "properties": { + "token": { + "type": "string", + "readOnly": true, + "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + }, + "refresh_token": { + "type": "string", + "readOnly": true, + "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + }, + "refresh_token_expiration": { + "type": "int", + "readOnly": true, + "example": "1678802283" + }, + "tenants": { + "type": "array", + "items": { + "type": "object", + "properties": { + "tenantKey": { + "type": "string", + "readOnly": true, + "example": "ABC" + }, + "title": { + "type": "string", + "readOnly": true, + "example": "ABC Tenant" + }, + "description": { + "type": "string", + "readOnly": true, + "example": "Nulla quam ipsam voluptatem cupiditate." + }, + "roles": { + "type": "array", + "items": { + "type": "string", + "readOnly": true, + "example": "ROLE_ADMIN" + } + } + } + } + }, + "user": { + "type": "object", + "properties": { + "fullname": { + "type": "string", + "readOnly": true, + "example": "John Doe" + }, + "email": { + "type": "string", + "readOnly": true, + "example": "john@example.com" + } + } + } + } + }, + "RefreshTokenResponse": { + "type": "object", + "properties": { + "token": { + "type": "string", + "readOnly": true, + "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + }, + "refresh_token": { + "type": "string", + "readOnly": true, + "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + } + } + }, + "RefreshTokenRequest": { + "type": "object", + "properties": { + "refresh_token": { + "type": "string", + "example": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + } + } + }, + "Credentials": { + "type": "object", + "properties": { + "providerId": { + "type": "string", + "example": "john@example.com" + }, + "password": { + "type": "string", + "example": "apassword" + } + } + }, + "OidcEndpoints": { + "type": "object", + "properties": { + "authorizationUrl": { + "type": "string", + "example": "https://azure_b2c_test.b2clogin.com/azure_b2c_test.onmicrosoft.com/oauth2/v2.0/authorize?p=test-policy&state=5fd84892c27dbb5cad2c3cdc517b71f1&nonce=a9700e5677f3e610a5727429d9628308&scope=openid&response_type=id_token&response_mode=query&approval_prompt=auto&redirect_uri=ADMIN_APP_REDIRECT_URI&client_id=a9997a98-40be-4b49-bd1a-69cbf4a910d5" + }, + "endSessionUrl": { + "type": "string", + "example": "https://azure_b2c_test.b2clogin.com/azure_b2c_test.onmicrosoft.com/oauth2/v2.0/logout?p=test-policy" + } + } + }, + "ScreenLoginOutput": { + "type": "object", + "properties": { + "bindKey": { + "type": "string", + "readOnly": true + }, + "token": { + "type": "string", + "readOnly": true + } + } + }, + "ScreenLoginInput": { + "type": "object" + }, + "ScreenBindObject": { + "type": "object", + "properties": { + "bindKey": { + "type": "string" } + } } + }, + "responses": {}, + "parameters": {}, + "examples": {}, + "requestBodies": {}, + "headers": {}, + "securitySchemes": { + "bearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT" + }, + "tenantHeader": { + "type": "apiKey", + "in": "header", + "name": "Authorization-Tenant-Key" + }, + "JWT": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT" + } + } }, "security": [ - { - "bearerAuth": [], - "tenantHeader": [] - } + { + "bearerAuth": [], + "tenantHeader": [] + } ], - "tags": [] + "tags": [], + "webhooks": {} } From 8cd0b20af7f15e2d69562784d8b3762843cfa3f1 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Wed, 30 Oct 2024 09:19:36 +0100 Subject: [PATCH 17/72] Added e2e tests for feed-source management --- e2e/feed-sources.spec.js | 449 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 449 insertions(+) create mode 100644 e2e/feed-sources.spec.js diff --git a/e2e/feed-sources.spec.js b/e2e/feed-sources.spec.js new file mode 100644 index 00000000..e5911877 --- /dev/null +++ b/e2e/feed-sources.spec.js @@ -0,0 +1,449 @@ +import { test, expect } from "@playwright/test"; + +const feedSourcesJson = { + "@context": "/contexts/FeedSource", + "@id": "/v2/feed-sources", + "@type": "hydra:Collection", + "hydra:totalItems": 5, + "hydra:member": [ + { + "@id": "/v2/feed-sources/01JBBP48CS9CV80XRWRP8CAETJ", + "@type": "FeedSource", + title: "test 2", + description: "test 2", + outputType: "", + feedType: "test 2", + secrets: [], + feeds: [], + admin: [], + supportedFeedOutputType: "test 2", + modifiedBy: "admin@example.com", + createdBy: "admin@example.com", + id: "01JBBP48CS9CV80XRWRP8CAETJ", + created: "2024-10-29T09:26:25.000Z", + modified: "2024-10-29T09:26:25.000Z", + }, + { + "@id": "/v2/feed-sources/01JB9MSQEH75HC3GG75XCVP2WH", + "@type": "FeedSource", + title: "Ny feed source test 3", + description: "Ny feed source test 3", + outputType: "", + feedType: "App\\Feed\\RssFeedType", + secrets: [], + feeds: [ + "/v2/feeds/01JB9R7EPN9NPW117C22NY31KH", + "/v2/feeds/01JBBQMF72W2V36TWF6VXFA5Z7", + ], + admin: [ + { + key: "rss-url", + input: "input", + name: "url", + type: "url", + label: "Kilde", + helpText: "Her kan du skrive rss kilden", + formGroupClasses: "col-md-6", + }, + { + key: "rss-number-of-entries", + input: "input", + name: "numberOfEntries", + type: "number", + label: "Antal indgange", + helpText: + "Her kan du skrive, hvor mange indgange, der maksimalt skal vises.", + formGroupClasses: "col-md-6 mb-3", + }, + { + key: "rss-entry-duration", + input: "input", + name: "entryDuration", + type: "number", + label: "Varighed pr. indgang (i sekunder)", + helpText: "Her skal du skrive varigheden pr. indgang.", + formGroupClasses: "col-md-6 mb-3", + }, + ], + supportedFeedOutputType: "rss", + modifiedBy: "admin@example.com", + createdBy: "admin@example.com", + id: "01JB9MSQEH75HC3GG75XCVP2WH", + created: "2024-10-28T14:24:43.000Z", + modified: "2024-10-28T15:23:28.000Z", + }, + { + "@id": "/v2/feed-sources/01JB1DH8G4CXKGX5JRTYDHDPSP", + "@type": "FeedSource", + title: "Calendar feed source test", + description: "test", + outputType: "", + feedType: "App\\Feed\\CalendarApiFeedType", + secrets: [], + feeds: [], + admin: [], + supportedFeedOutputType: "calendar", + modifiedBy: "", + createdBy: "", + id: "01JB1DH8G4CXKGX5JRTYDHDPSP", + created: "2024-10-25T10:43:50.000Z", + modified: "2024-10-25T10:43:50.000Z", + }, + { + "@id": "/v2/feed-sources/01J711Y2Q01VBJ1Y7A1HZQ0ZN6", + "@type": "FeedSource", + title: "feed_source_abc_notified", + description: + "Ut magnam veritatis velit ut doloribus id. Consequatur ut ipsum exercitationem aliquam laudantium voluptate voluptates perspiciatis. Id occaecati ea rerum facilis molestias et.", + outputType: "", + feedType: "App\\Feed\\RssFeedType", + secrets: [], + feeds: ["/v2/feeds/01GJD7S1KR10811MTA176C001R"], + admin: [ + { + key: "rss-url", + input: "input", + name: "url", + type: "url", + label: "Kilde", + helpText: "Her kan du skrive rss kilden", + formGroupClasses: "col-md-6", + }, + { + key: "rss-number-of-entries", + input: "input", + name: "numberOfEntries", + type: "number", + label: "Antal indgange", + helpText: + "Her kan du skrive, hvor mange indgange, der maksimalt skal vises.", + formGroupClasses: "col-md-6 mb-3", + }, + { + key: "rss-entry-duration", + input: "input", + name: "entryDuration", + type: "number", + label: "Varighed pr. indgang (i sekunder)", + helpText: "Her skal du skrive varigheden pr. indgang.", + formGroupClasses: "col-md-6 mb-3", + }, + ], + supportedFeedOutputType: "instagram", + modifiedBy: "", + createdBy: "", + id: "01J711Y2Q01VBJ1Y7A1HZQ0ZN6", + created: "2024-09-05T12:18:20.000Z", + modified: "2024-09-17T09:33:12.000Z", + }, + { + "@id": "/v2/feed-sources/01J1H8GVVR1CVJ1SQK0JXN1X4Q", + "@type": "FeedSource", + title: "feed_source_abc_1", + description: + "Totam eos molestias omnis aliquam quia qui voluptas. Non eum nihil ut sunt dolor.", + outputType: "", + feedType: "App\\Feed\\RssFeedType", + secrets: [], + feeds: ["/v2/feeds/01HD49075G0FNY1FNX12VE17K1"], + admin: [ + { + key: "rss-url", + input: "input", + name: "url", + type: "url", + label: "Kilde", + helpText: "Her kan du skrive rss kilden", + formGroupClasses: "col-md-6", + }, + { + key: "rss-number-of-entries", + input: "input", + name: "numberOfEntries", + type: "number", + label: "Antal indgange", + helpText: + "Her kan du skrive, hvor mange indgange, der maksimalt skal vises.", + formGroupClasses: "col-md-6 mb-3", + }, + { + key: "rss-entry-duration", + input: "input", + name: "entryDuration", + type: "number", + label: "Varighed pr. indgang (i sekunder)", + helpText: "Her skal du skrive varigheden pr. indgang.", + formGroupClasses: "col-md-6 mb-3", + }, + ], + supportedFeedOutputType: "rss", + modifiedBy: "", + createdBy: "", + id: "01J1H8GVVR1CVJ1SQK0JXN1X4Q", + created: "2024-06-29T05:47:07.000Z", + modified: "2024-10-21T18:01:25.000Z", + }, + ], +}; + +test.describe("fest", () => { + test.beforeEach(async ({ page }) => { + await page.goto("/admin/feed-sources/list"); + await page.route("**/feed-sources*", async (route) => { + await route.fulfill({ json: feedSourcesJson }); + }); + await page.route("**/token", async (route) => { + const json = { + token: "1", + refresh_token: "2", + tenants: [ + { + tenantKey: "ABC", + title: "ABC Tenant", + description: "Description", + roles: ["ROLE_ADMIN"], + }, + ], + user: { + fullname: "John Doe", + email: "johndoe@example.com", + }, + }; + await route.fulfill({ json }); + }); + await expect(page).toHaveTitle(/OS2Display admin/); + await page.getByLabel("Email").fill("admin@example.com"); + await page.getByLabel("Kodeord").fill("password"); + await page.locator("#login").click(); + }); + + test("It loads create feed source page", async ({ page }) => { + page.getByText("Opret ny feed source").click(); + await expect(page.locator("#save_feed-source")).toBeVisible(); + }); + + test("It display error toast on save error", async ({ page }) => { + await page.route("**/feed-sources", async (route) => { + const json = { + "@context": "/contexts/Error", + "@type": "hydra:Error", + "hydra:title": "An error occurred", + "hydra:description": "An error occurred", + }; + await route.fulfill({ status: 500, json }); + }); + page.getByText("Opret ny feed source").click(); + + // Displays error toast and stays on page + await expect( + page.locator(".Toastify").locator(".Toastify__toast--error") + ).not.toBeVisible(); + await page.locator("#save_feed-source").click(); + await expect( + page.locator(".Toastify").locator(".Toastify__toast--error") + ).toBeVisible(); + await expect( + page + .locator(".Toastify") + .locator(".Toastify__toast--error") + .getByText(/An error occurred/) + .first() + ).toBeVisible(); + await expect(page).toHaveURL(/feed-sources\/create/); + }); + test("Cancel create feed source", async ({ page }) => { + page.getByText("Opret ny feed source").click(); + await expect(page.locator("#cancel_feed-source")).toBeVisible(); + await page.locator("#cancel_feed-source").click(); + await expect(page.locator("#cancel_feed-source")).not.toBeVisible(); + }); +}); + + +test.describe("Feed source list work", () => { + test.beforeEach(async ({ page }) => { + await page.goto("/admin/feed-sources/list"); + await page.route("**/token", async (route) => { + const json = { + token: "1", + refresh_token: "2", + tenants: [ + { + tenantKey: "ABC", + title: "ABC Tenant", + description: "Description", + roles: ["ROLE_ADMIN"], + }, + ], + user: { + fullname: "John Doe", + email: "johndoe@example.com", + }, + }; + await route.fulfill({ json }); + }); + await page.route("**/feed-sources*", async (route) => { + await route.fulfill({ json: feedSourcesJson }); + }); + await expect(page).toHaveTitle(/OS2Display admin/); + await page.getByLabel("Email").fill("johndoe@example.com"); + await page.getByLabel("Kodeord").fill("password"); + await page.locator("#login").click(); + }); + + test("It loads feed source list", async ({ page }) => { + await expect(page.locator("table").locator("tbody")).not.toBeEmpty(); + await expect(page.locator("tbody").locator("tr td").first()).toBeVisible(); + }); + + test("It goes to edit", async ({ page }) => { + await expect(page.locator("#feed-sourceTitle")).not.toBeVisible(); + + await page.route("**/feed-sources*", async (route) => { + const json = { + "@context": "/contexts/FeedSource", + "@id": "/v2/feed-sources", + "@type": "hydra:Collection", + "hydra:totalItems": 2, + "hydra:member": [ + { + "@id": "/v2/feed-sources/01J711Y2Q01VBJ1Y7A1HZQ0ZN6", + "@type": "FeedSource", + "title": "feed_source_abc_notified", + "description": "Ut magnam veritatis velit ut doloribus id. Consequatur ut ipsum exercitationem aliquam laudantium voluptate voluptates perspiciatis. Id occaecati ea rerum facilis molestias et.", + "outputType": "", + "feedType": "App\\Feed\\RssFeedType", + "secrets": [], + "feeds": [ + "/v2/feeds/01GJD7S1KR10811MTA176C001R" + ], + "admin": [ + { + "key": "rss-url", + "input": "input", + "name": "url", + "type": "url", + "label": "Kilde", + "helpText": "Her kan du skrive rss kilden", + "formGroupClasses": "col-md-6" + }, + { + "key": "rss-number-of-entries", + "input": "input", + "name": "numberOfEntries", + "type": "number", + "label": "Antal indgange", + "helpText": "Her kan du skrive, hvor mange indgange, der maksimalt skal vises.", + "formGroupClasses": "col-md-6 mb-3" + }, + { + "key": "rss-entry-duration", + "input": "input", + "name": "entryDuration", + "type": "number", + "label": "Varighed pr. indgang (i sekunder)", + "helpText": "Her skal du skrive varigheden pr. indgang.", + "formGroupClasses": "col-md-6 mb-3" + } + ], + "supportedFeedOutputType": "instagram", + "modifiedBy": "", + "createdBy": "", + "id": "01J711Y2Q01VBJ1Y7A1HZQ0ZN6", + "created": "2024-09-05T12:18:20.000Z", + "modified": "2024-09-17T09:33:12.000Z" + }, + { + "@id": "/v2/feed-sources/01J1H8GVVR1CVJ1SQK0JXN1X4Q", + "@type": "FeedSource", + "title": "feed_source_abc_1", + "description": "Totam eos molestias omnis aliquam quia qui voluptas. Non eum nihil ut sunt dolor.", + "outputType": "", + "feedType": "App\\Feed\\RssFeedType", + "secrets": [], + "feeds": [ + "/v2/feeds/01HD49075G0FNY1FNX12VE17K1" + ], + "admin": [ + { + "key": "rss-url", + "input": "input", + "name": "url", + "type": "url", + "label": "Kilde", + "helpText": "Her kan du skrive rss kilden", + "formGroupClasses": "col-md-6" + }, + { + "key": "rss-number-of-entries", + "input": "input", + "name": "numberOfEntries", + "type": "number", + "label": "Antal indgange", + "helpText": "Her kan du skrive, hvor mange indgange, der maksimalt skal vises.", + "formGroupClasses": "col-md-6 mb-3" + }, + { + "key": "rss-entry-duration", + "input": "input", + "name": "entryDuration", + "type": "number", + "label": "Varighed pr. indgang (i sekunder)", + "helpText": "Her skal du skrive varigheden pr. indgang.", + "formGroupClasses": "col-md-6 mb-3" + } + ], + "supportedFeedOutputType": "rss", + "modifiedBy": "", + "createdBy": "", + "id": "01J1H8GVVR1CVJ1SQK0JXN1X4Q", + "created": "2024-06-29T05:47:07.000Z", + "modified": "2024-10-21T18:01:25.000Z" + } + ] + }; + await route.fulfill({ json }); + }); + + await page.route("**/feed-sources/*", async (route) => { + const json = { + "@id": "/v2/feed-sources/01J711Y2Q01VBJ1Y7A1HZQ0ZN6", + "@type": "FeedSource", + "title": "feed_source_abc_notified", + "description": "Ut magnam veritatis velit ut doloribus id. Consequatur ut ipsum exercitationem aliquam laudantium voluptate voluptates perspiciatis. Id occaecati ea rerum facilis molestias et.", + "outputType": "", + "feedType": "App\\Feed\\RssFeedType", + "secrets": [], + "feeds": [ + "/v2/feeds/01GJD7S1KR10811MTA176C001R" + ], + "supportedFeedOutputType": "instagram", + "modifiedBy": "", + "createdBy": "", + "id": "01J711Y2Q01VBJ1Y7A1HZQ0ZN6", + "created": "2024-09-05T12:18:20.000Z", + "modified": "2024-09-17T09:33:12.000Z" + }; + + await route.fulfill({ json }); + }); + + await page.locator("tbody").locator("tr td a").first().click(); + await expect(page.locator("#feed-sourceTitle")).toBeVisible(); + }); + + test("It opens delete modal", async ({ page }) => { + await expect(page.locator("#delete-modal")).not.toBeVisible(); + await page + .locator("tbody") + .nth(0) + .locator(".remove-from-list") + .nth(1) + .click(); + await expect(page.locator("#delete-modal")).toBeVisible(); + }); + + test("The correct amount of column headers loaded", async ({ page }) => { + await expect(page.locator("thead").locator("th")).toHaveCount(5); + }); +}); From 0a21766e7195c077db3b01824bccb13ba6858f2e Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 4 Nov 2024 13:04:36 +0100 Subject: [PATCH 18/72] Added templates for available feed source types --- .../CalendarFeedType.template.jsx | 27 ++++++++++++ .../EventDatabaseApiFeedType.template.jsx | 26 ++++++++++++ .../NotifiedFeedType.template.jsx | 26 ++++++++++++ .../SparkleIOFeedType.template.jsx | 41 +++++++++++++++++++ 4 files changed, 120 insertions(+) create mode 100644 src/components/feed-sources/feed-source-type-templates/CalendarFeedType.template.jsx create mode 100644 src/components/feed-sources/feed-source-type-templates/EventDatabaseApiFeedType.template.jsx create mode 100644 src/components/feed-sources/feed-source-type-templates/NotifiedFeedType.template.jsx create mode 100644 src/components/feed-sources/feed-source-type-templates/SparkleIOFeedType.template.jsx diff --git a/src/components/feed-sources/feed-source-type-templates/CalendarFeedType.template.jsx b/src/components/feed-sources/feed-source-type-templates/CalendarFeedType.template.jsx new file mode 100644 index 00000000..1a4dbbb2 --- /dev/null +++ b/src/components/feed-sources/feed-source-type-templates/CalendarFeedType.template.jsx @@ -0,0 +1,27 @@ +import { React } from "react"; +import PropTypes from "prop-types"; +import FormInput from "../../util/forms/form-input"; + +const CalendarFeedTypeTemplate = ({ handleInput, formStateObject, t }) => { + return ( + <> + + + ); +}; + + +CalendarFeedTypeTemplate.propTypes = { + handleInput: PropTypes.func, + formStateObject: PropTypes.shape({ + feedSources: PropTypes.string, + }), + t: PropTypes.func, +}; +export default CalendarFeedTypeTemplate; diff --git a/src/components/feed-sources/feed-source-type-templates/EventDatabaseApiFeedType.template.jsx b/src/components/feed-sources/feed-source-type-templates/EventDatabaseApiFeedType.template.jsx new file mode 100644 index 00000000..91ee225b --- /dev/null +++ b/src/components/feed-sources/feed-source-type-templates/EventDatabaseApiFeedType.template.jsx @@ -0,0 +1,26 @@ +import { React } from "react"; +import PropTypes from "prop-types"; +import FormInput from "../../util/forms/form-input"; + +const EventDatabaseApiTemplate = ({ handleInput, formStateObject, t }) => { + return ( + <> + + + ); +}; + +EventDatabaseApiTemplate.propTypes = { + handleInput: PropTypes.func, + formStateObject: PropTypes.shape({ + host: PropTypes.string, + }), + t: PropTypes.func, +}; +export default EventDatabaseApiTemplate; diff --git a/src/components/feed-sources/feed-source-type-templates/NotifiedFeedType.template.jsx b/src/components/feed-sources/feed-source-type-templates/NotifiedFeedType.template.jsx new file mode 100644 index 00000000..2c1e481c --- /dev/null +++ b/src/components/feed-sources/feed-source-type-templates/NotifiedFeedType.template.jsx @@ -0,0 +1,26 @@ +import { React } from "react"; +import PropTypes from "prop-types"; +import FormInput from "../../util/forms/form-input"; + +const NotifiedFeedTypeTemplate = ({ handleInput, formStateObject, t }) => { + return ( + <> + + + ); +}; + +NotifiedFeedTypeTemplate.propTypes = { + handleInput: PropTypes.func, + formStateObject: PropTypes.shape({ + token: PropTypes.string, + }), + t: PropTypes.func, +}; +export default NotifiedFeedTypeTemplate; diff --git a/src/components/feed-sources/feed-source-type-templates/SparkleIOFeedType.template.jsx b/src/components/feed-sources/feed-source-type-templates/SparkleIOFeedType.template.jsx new file mode 100644 index 00000000..48771e0b --- /dev/null +++ b/src/components/feed-sources/feed-source-type-templates/SparkleIOFeedType.template.jsx @@ -0,0 +1,41 @@ +import { React } from "react"; +import PropTypes from "prop-types"; +import FormInput from "../../util/forms/form-input"; + +const SparkleIOFeedTypeTemplate = ({ handleInput, formStateObject, t }) => { + return ( + <> + + + + + ); +}; + + +SparkleIOFeedTypeTemplate.propTypes = { + handleInput: PropTypes.func, + formStateObject: PropTypes.shape({ + notifiedFeedTypeToken: PropTypes.string, + }), + t: PropTypes.func, +}; +export default SparkleIOFeedTypeTemplate; From 5b7f420cd64ef1d0fadb363da56ecba274e188e0 Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 4 Nov 2024 13:06:37 +0100 Subject: [PATCH 19/72] Updated initial data object in FeedSourceCreate --- src/components/feed-sources/feed-source-create.jsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/feed-sources/feed-source-create.jsx b/src/components/feed-sources/feed-source-create.jsx index 50bf437e..c8766031 100644 --- a/src/components/feed-sources/feed-source-create.jsx +++ b/src/components/feed-sources/feed-source-create.jsx @@ -11,10 +11,14 @@ function FeedSourceCreate() { const data = { title: "", description: "", - modifiedBy: "", - createdBy: "", - cssStyles: "", - media: [], + feedType: "", + feedSourceType: "", + host: "", + token: "", + baseUrl: "", + clientId: "", + clientSecret: "", + feedSources: "", }; return ; From cd179210b6a20f10be93ce0ea39a8591c2a0adda Mon Sep 17 00:00:00 2001 From: Jeppe Krogh Date: Mon, 4 Nov 2024 13:06:37 +0100 Subject: [PATCH 20/72] Refactored FeedSourceForm to use FormSelect and dynamic form elements --- .../feed-sources/feed-source-form.jsx | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/src/components/feed-sources/feed-source-form.jsx b/src/components/feed-sources/feed-source-form.jsx index 9b3a0768..cd99008a 100644 --- a/src/components/feed-sources/feed-source-form.jsx +++ b/src/components/feed-sources/feed-source-form.jsx @@ -6,6 +6,7 @@ import PropTypes from "prop-types"; import Form from "react-bootstrap/Form"; import LoadingComponent from "../util/loading-component/loading-component"; import FormInputArea from "../util/forms/form-input-area"; +import FormSelect from "../util/forms/select"; import ContentBody from "../util/content-body/content-body"; import ContentFooter from "../util/content-footer/content-footer"; import FormInput from "../util/forms/form-input"; @@ -14,12 +15,17 @@ import FormInput from "../util/forms/form-input"; * The feed-source form component. * * @param {object} props - The props. - * @param {object} props.feed-source The feed-source object to modify in the form. + * @param {object} props.feedSource The feed-source object to modify in the form. * @param {Function} props.handleInput Handles form input. * @param {Function} props.handleSubmit Handles form submit. * @param {string} props.headerText Headline text. - * @param {boolean} props.isLoading Indicator of whether the form is loading - * @param {string} props.loadingMessage The loading message for the spinner + * @param {boolean} [props.isLoading=false] Indicator of whether the form is + * loading. Default is `false` + * @param {string} [props.loadingMessage=""] The loading message for the + * spinner. Default is `""` + * @param {object} props.feedSource The feed source object + * @param {object} props.feedSourceTypeOptions The options for feed source types + * @param {element} props.dynamicFormElement The dynamic form element * @returns {object} The feed-source form. */ function FeedSourceForm({ @@ -29,6 +35,8 @@ function FeedSourceForm({ isLoading = false, loadingMessage = "", feedSource = null, + feedSourceTypeOptions = null, + dynamicFormElement = null, }) { const { t } = useTranslation("common", { keyPrefix: "feed-source-form" }); const navigate = useNavigate(); @@ -56,12 +64,12 @@ function FeedSourceForm({ value={feedSource.description} onChange={handleInput} /> - + {dynamicFormElement}