Skip to content

Commit

Permalink
trying new fix for event links
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Eelen committed Oct 5, 2023
1 parent c430e7d commit 07f1d77
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "string",
"format": "uri",
"pattern": "^http[s]?:\\/\\/.+?\\/event[s]?\\/([0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-?[0-9A-Fa-f]{12})[\\/]?",
"description": "A unique URI that acts as globally unique ID for the [event](https://docs.publiq.be/docs/uitdatabank/models/event). Based on [JSON-LD node identifiers](https://www.w3.org/TR/json-ld/#node-identifiers).",
"description": "A unique URI that acts as globally unique ID for the [event](./models/event.json). Based on [JSON-LD node identifiers](https://www.w3.org/TR/json-ld/#node-identifiers).",
"examples": [
"https://io-test.uitdatabank.be/event/85b04295-479c-40f5-b3dd-469dfb4387b3"
]
Expand Down
2 changes: 1 addition & 1 deletion event-attendanceMode.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.attendanceMode",
"type": "string",
"description": "Indicates if the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is happening online, offline, or both (mixed).",
"description": "Indicates if the [event](./models/event.json) is happening online, offline, or both (mixed).",
"enum": [
"online",
"offline",
Expand Down
2 changes: 1 addition & 1 deletion event-audience.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.audience",
"type": "object",
"description": "Indicates the intended audience of the [event](https://docs.publiq.be/docs/uitdatabank/models/event).",
"description": "Indicates the intended audience of the [event](./models/event.json).",
"properties": {
"audienceType": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion event-availableFrom-put.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"properties": {
"availableFrom": {
"$ref": "./common-string-datetime.json",
"description": "The first date & time that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is allowed to be visible on publication channels.\n\nFormatted as an ISO-8601 datetime. For example `2021-05-17T22:00:00+00:00`."
"description": "The first date & time that the [event](./models/event.json) is allowed to be visible on publication channels.\n\nFormatted as an ISO-8601 datetime. For example `2021-05-17T22:00:00+00:00`."
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion event-availableFrom.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-string-datetime.json",
"title": "event.availableFrom",
"description": "The first date & time that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is allowed to be visible on publication channels.\n\nFormatted as an ISO-8601 datetime. For example `2021-05-17T22:00:00+00:00`."
"description": "The first date & time that the [event](./models/event.json) is allowed to be visible on publication channels.\n\nFormatted as an ISO-8601 datetime. For example `2021-05-17T22:00:00+00:00`."
}
2 changes: 1 addition & 1 deletion event-availableTo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-string-datetime-readOnly.json",
"title": "event.availableTo",
"description": "The last date & time that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is allowed to be visible on publication channels.\n\nAdded automatically by UiTdatabank based on either the [startDate](./models/event-startDate.json) or [endDate](./models/event-endDate.json) depending on the [event type](./event-terms.json).\n\nFormatted as an ISO-8601 datetime. For example `2021-05-17T22:00:00+00:00`."
"description": "The last date & time that the [event](./models/event.json) is allowed to be visible on publication channels.\n\nAdded automatically by UiTdatabank based on either the [startDate](./models/event-startDate.json) or [endDate](./models/event-endDate.json) depending on the [event type](./event-terms.json).\n\nFormatted as an ISO-8601 datetime. For example `2021-05-17T22:00:00+00:00`."
}
2 changes: 1 addition & 1 deletion event-bookingInfo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-bookingInfo.json",
"title": "event.bookingInfo",
"description": "Booking info of the [event](https://docs.publiq.be/docs/uitdatabank/models/event). Can contain a phone number, and/or an email address, and/or a website URL."
"description": "Booking info of the [event](./models/event.json). Can contain a phone number, and/or an email address, and/or a website URL."
}
2 changes: 1 addition & 1 deletion event-completedLanguages.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-languages.json",
"title": "event.completedLanguages",
"description": "List of languages that _every_ localizable property on the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is available in.\n\nAdded automatically by UiTdatabank based on the languages present in localized properties.\n\nSee also [languages](./event-languages.json)."
"description": "List of languages that _every_ localizable property on the [event](./models/event.json) is available in.\n\nAdded automatically by UiTdatabank based on the languages present in localized properties.\n\nSee also [languages](./event-languages.json)."
}
2 changes: 1 addition & 1 deletion event-contactPoint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-contactPoint.json",
"title": "event.contactPoint",
"description": "Contact info of the [event](https://docs.publiq.be/docs/uitdatabank/models/event), containing one or more phone numbers, email addresses, and/or website URLs."
"description": "Contact info of the [event](./models/event.json), containing one or more phone numbers, email addresses, and/or website URLs."
}
2 changes: 1 addition & 1 deletion event-contributors.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$ref": "./common-contributors.json",
"title": "event.contributors",
"readOnly": true,
"description": "List of contributors on an [event](https://docs.publiq.be/docs/uitdatabank/models/event). Only included if you request the event with an authenticated user who has the \"Aanbod bewerken\" permission on the event."
"description": "List of contributors on an [event](./models/event.json). Only included if you request the event with an authenticated user who has the \"Aanbod bewerken\" permission on the event."
}
2 changes: 1 addition & 1 deletion event-created.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-string-datetime-readOnly.json",
"title": "event.created",
"description": "Date formatted as an ISO-8601 datetime, added automatically by UiTdatabank based on the date & time the [event](https://docs.publiq.be/docs/uitdatabank/models/event) was created at.\n\nFor example `2021-05-17T22:00:00+00:00`."
"description": "Date formatted as an ISO-8601 datetime, added automatically by UiTdatabank based on the date & time the [event](./models/event.json) was created at.\n\nFor example `2021-05-17T22:00:00+00:00`."
}
2 changes: 1 addition & 1 deletion event-creator.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-creator.json",
"title": "event.creator",
"description": "The unique identifier of the creator of the [event](https://docs.publiq.be/docs/uitdatabank/models/event). Usually a UUID, but can historally be an e-mail address.\n\nAdded automatically by UiTdatabank based on the authentication credentials used to create the event."
"description": "The unique identifier of the creator of the [event](./models/event.json). Usually a UUID, but can historally be an e-mail address.\n\nAdded automatically by UiTdatabank based on the authentication credentials used to create the event."
}
2 changes: 1 addition & 1 deletion event-description-put.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"properties": {
"description": {
"type": "string",
"description": "A human-readable description of the [event](https://docs.publiq.be/docs/uitdatabank/models/event) localized in the language from the URL parameter."
"description": "A human-readable description of the [event](./models/event.json) localized in the language from the URL parameter."
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion event-description.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-description.json",
"title": "event.description",
"description": "A human-readable, internationalized description of the [event](https://docs.publiq.be/docs/uitdatabank/models/event). \n\nRequires at least one value, for the language specified in the [mainLanguage](./event-mainLanguage.json) property."
"description": "A human-readable, internationalized description of the [event](./models/event.json). \n\nRequires at least one value, for the language specified in the [mainLanguage](./event-mainLanguage.json) property."
}
2 changes: 1 addition & 1 deletion event-endDate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-string-datetime.json",
"title": "event.endDate",
"description": "The date & time that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) or [subEvent](./models/event-subEvent.json) ends, as an ISO-8601 date. For example `2021-05-17T22:00:00+00:00`.\n\nRequired on events when using one of the following calendarTypes:\n\n- `single`\n- `multiple`\n- `periodic`\n\nAlways required on subEvents."
"description": "The date & time that the [event](./models/event.json) or [subEvent](./models/event-subEvent.json) ends, as an ISO-8601 date. For example `2021-05-17T22:00:00+00:00`.\n\nRequired on events when using one of the following calendarTypes:\n\n- `single`\n- `multiple`\n- `periodic`\n\nAlways required on subEvents."
}
2 changes: 1 addition & 1 deletion event-image-post.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.image.post",
"type": "object",
"description": "Describes the request body to add an image to an [event](https://docs.publiq.be/docs/uitdatabank/models/event).",
"description": "Describes the request body to add an image to an [event](./models/event.json).",
"properties": {
"mediaObjectId": {
"$ref": "./common-string-uuid.json",
Expand Down
2 changes: 1 addition & 1 deletion event-image-put.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.image.put",
"type": "object",
"description": "Describes the request body to update an image at an [event](https://docs.publiq.be/docs/uitdatabank/models/event).",
"description": "Describes the request body to update an image at an [event](./models/event.json).",
"examples": [
{
"description": "Picture of the last publiq event",
Expand Down
2 changes: 1 addition & 1 deletion event-image.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$ref": "./common-mainImage.json",
"title": "event.image",
"description": "URL to the main image of the [event](https://docs.publiq.be/docs/uitdatabank/models/event). Will be automatically be set by UiTdatabank to the URL of the first image in `mediaObject`.",
"description": "URL to the main image of the [event](./models/event.json). Will be automatically be set by UiTdatabank to the URL of the first image in `mediaObject`.",
"examples": [
"https://io-test.uitdatabank.be/images/example.png"
]
Expand Down
2 changes: 1 addition & 1 deletion event-labels.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-labels.json",
"title": "event.labels",
"description": "One or more labels that categorize the [event](https://docs.publiq.be/docs/uitdatabank/models/event). Compared to [terms](./event-terms.json), labels do not have a defined set of possible values or a hierarchy.\n\nLabels are allowed to be visible for end users on publication channels.\n\nSee [hiddenLabels](./event-hiddenLabels.json) for labels that should not be visible on publication channels."
"description": "One or more labels that categorize the [event](./models/event.json). Compared to [terms](./event-terms.json), labels do not have a defined set of possible values or a hierarchy.\n\nLabels are allowed to be visible for end users on publication channels.\n\nSee [hiddenLabels](./event-hiddenLabels.json) for labels that should not be visible on publication channels."
}
2 changes: 1 addition & 1 deletion event-languages.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-languages.json",
"title": "event.languages",
"description": "List of languages that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is available in. (Not all localizable properties may contain every language though)\n\nAdded automatically by UiTdatabank based on the languages present in localized properties.\n\nSee also [completedLanguages](./models/event-completedLanguages.json)."
"description": "List of languages that the [event](./models/event.json) is available in. (Not all localizable properties may contain every language though)\n\nAdded automatically by UiTdatabank based on the languages present in localized properties.\n\nSee also [completedLanguages](./models/event-completedLanguages.json)."
}
2 changes: 1 addition & 1 deletion event-main-image-put.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.main.image.put",
"type": "object",
"description": "Describes the request body to set an image as the main image of an [event](https://docs.publiq.be/docs/uitdatabank/models/event).",
"description": "Describes the request body to set an image as the main image of an [event](./models/event.json).",
"examples": [
{
"mediaObjectId": "4b349765-9499-4d35-b295-c82ede576cf0"
Expand Down
2 changes: 1 addition & 1 deletion event-mainLanguage.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-mainLanguage.json",
"title": "event.mainLanguage",
"description": "The main language that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is described in. All localized properties like (./models/event-openingHours.json)(./models/event-name.json) and [description](./models/event-description.json) will be required to have at least a value for this language.\n\nCan be one of `nl`, `fr`, `de`, or `en`."
"description": "The main language that the [event](./models/event.json) is described in. All localized properties like (./models/event-openingHours.json)(./models/event-name.json) and [description](./models/event-description.json) will be required to have at least a value for this language.\n\nCan be one of `nl`, `fr`, `de`, or `en`."
}
2 changes: 1 addition & 1 deletion event-mediaObject.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-images.json",
"title": "event.mediaObject",
"description": "A list of media objects related to the [event](https://docs.publiq.be/docs/uitdatabank/models/event), in reality always images but called mediaObject for backward compatibility. The main image of the event will always be set to the first image in this list when creating/updating an event with multiple images."
"description": "A list of media objects related to the [event](./models/event.json), in reality always images but called mediaObject for backward compatibility. The main image of the event will always be set to the first image in this list when creating/updating an event with multiple images."
}
2 changes: 1 addition & 1 deletion event-modified.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-string-datetime-readOnly.json",
"title": "event.modified",
"description": "Date formatted as an ISO-8601 datetime, added automatically by UiTdatabank based on the date & time the [event](https://docs.publiq.be/docs/uitdatabank/models/event) was last modified.\n\nFor example `2021-05-17T22:00:00+00:00`."
"description": "Date formatted as an ISO-8601 datetime, added automatically by UiTdatabank based on the date & time the [event](./models/event.json) was last modified.\n\nFor example `2021-05-17T22:00:00+00:00`."
}
2 changes: 1 addition & 1 deletion event-name.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-name.json",
"title": "event.name",
"description": "The human-readable, localized name of the [event](https://docs.publiq.be/docs/uitdatabank/models/event).\n\nRequires at least one value, for the language specified in the [mainLanguage](./event-mainLanguage.json) property."
"description": "The human-readable, localized name of the [event](./models/event.json).\n\nRequires at least one value, for the language specified in the [mainLanguage](./event-mainLanguage.json) property."
}
2 changes: 1 addition & 1 deletion event-onlineUrl.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$ref": "./common-string-uri.json",
"examples": [],
"title": "event.onlineUrl",
"description": "The url to follow the [event](https://docs.publiq.be/docs/uitdatabank/models/event) online."
"description": "The url to follow the [event](./models/event.json) online."
}
2 changes: 1 addition & 1 deletion event-openingHours.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-openingHours.json",
"title": "event.openingHours",
"description": "A list of multiple open/closed times and weekdays indicating when the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is happening when using the `periodic` [calendarType](./models/event-calendarType.json)."
"description": "A list of multiple open/closed times and weekdays indicating when the [event](./models/event.json) is happening when using the `periodic` [calendarType](./models/event-calendarType.json)."
}
2 changes: 1 addition & 1 deletion event-priceInfo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-priceInfo.json",
"title": "event.priceInfo",
"description": "A list of tariffs available for tickets/reservations to attend the [event](https://docs.publiq.be/docs/uitdatabank/models/event)."
"description": "A list of tariffs available for tickets/reservations to attend the [event](./models/event.json)."
}
2 changes: 1 addition & 1 deletion event-production.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "The production that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) belongs to.\n\nA production is a group of events that share the same subject but are taking place in different locations and/or are organized by different organizers.\n\nFor example a theatre show that is scheduled to be performed at different locations, or a movie that will be screened at different cinema's.",
"description": "The production that the [event](./models/event.json) belongs to.\n\nA production is a group of events that share the same subject but are taking place in different locations and/or are organized by different organizers.\n\nFor example a theatre show that is scheduled to be performed at different locations, or a movie that will be screened at different cinema's.",
"type": "object",
"examples": [
{
Expand Down
2 changes: 1 addition & 1 deletion event-sameAs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-sameAs.json",
"title": "event.sameAs",
"description": "One or more URIs that represent the same [event](https://docs.publiq.be/docs/uitdatabank/models/event) on another API or website, not necessarily in JSON-LD format.\n\nAdded automatically by UiTdatabank based on info from other systems.\n\nFor example `http://www.uitinvlaanderen.be/agenda/e/test-event/85b04295-479c-40f5-b3dd-469dfb4387b3`."
"description": "One or more URIs that represent the same [event](./models/event.json) on another API or website, not necessarily in JSON-LD format.\n\nAdded automatically by UiTdatabank based on info from other systems.\n\nFor example `http://www.uitinvlaanderen.be/agenda/e/test-event/85b04295-479c-40f5-b3dd-469dfb4387b3`."
}
2 changes: 1 addition & 1 deletion event-startDate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-string-datetime.json",
"title": "event.startDate",
"description": "The date & time that the [event](https://docs.publiq.be/docs/uitdatabank/models/event) or [subEvent](./models/event-subEvent.json) starts, as an ISO-8601 date. For example `2021-05-17T22:00:00+00:00`.\n\nRequired on events when using one of the following calendarTypes:\n\n- `single`\n- `multiple`\n- `periodic`\n\nAlways required on subEvents."
"description": "The date & time that the [event](./models/event.json) or [subEvent](./models/event-subEvent.json) starts, as an ISO-8601 date. For example `2021-05-17T22:00:00+00:00`.\n\nRequired on events when using one of the following calendarTypes:\n\n- `single`\n- `multiple`\n- `periodic`\n\nAlways required on subEvents."
}
2 changes: 1 addition & 1 deletion event-status.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$ref": "./common-status.json",
"title": "event.status",
"description": "Indicates if the [event](https://docs.publiq.be/docs/uitdatabank/models/event) is still happening as scheduled or not."
"description": "Indicates if the [event](./models/event.json) is still happening as scheduled or not."
}
2 changes: 1 addition & 1 deletion event-subEvent-put.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.subEvent.put",
"type": "array",
"description": "A list of occurrences of the [event](https://docs.publiq.be/docs/uitdatabank/models/event) when using the `single` or `multiple` [calendarType](./models/event-calendarType.json).",
"description": "A list of occurrences of the [event](./models/event.json) when using the `single` or `multiple` [calendarType](./models/event-calendarType.json).",
"examples": [
[
{
Expand Down
2 changes: 1 addition & 1 deletion event-subEvent.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "event.subEvent",
"type": "array",
"description": "A list of occurrences of the [event](https://docs.publiq.be/docs/uitdatabank/models/event) when using the `single` or `multiple` [calendarType](./models/event-calendarType.json).",
"description": "A list of occurrences of the [event](./models/event.json) when using the `single` or `multiple` [calendarType](./models/event-calendarType.json).",
"examples": [
[
{
Expand Down
2 changes: 1 addition & 1 deletion event-terms.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "array",
"title": "event.terms",
"description": "A list of taxonomy terms used to categorize the [event](https://docs.publiq.be/docs/uitdatabank/models/event).\n\nTerms are pre-defined and can be found using our [guide about taxonomy terms](../docs/taxonomy-api/terms.md).\n\nAn event requires at least one term, to define its type. (For example a concert, theater show, ...)",
"description": "A list of taxonomy terms used to categorize the [event](./models/event.json).\n\nTerms are pre-defined and can be found using our [guide about taxonomy terms](../docs/taxonomy-api/terms.md).\n\nAn event requires at least one term, to define its type. (For example a concert, theater show, ...)",
"uniqueItems": true,
"minItems": 1,
"contains": {
Expand Down
Loading

0 comments on commit 07f1d77

Please sign in to comment.