diff --git a/common-name-localized.json b/common-name-localized.json index d0d96e3..30d6136 100644 --- a/common-name-localized.json +++ b/common-name-localized.json @@ -3,6 +3,7 @@ "title": "name.localized", "description": "A human-readable name localized in a single value.", "minLength": 1, + "maxLength": 90, "pattern": "\\S", "examples": [ "Example name" diff --git a/common-title.json b/common-title.json new file mode 100644 index 0000000..68f21f5 --- /dev/null +++ b/common-title.json @@ -0,0 +1,9 @@ +{ + "title": "copyrightHolder", + "description": "Name of the copyright holder of a specific media file.", + "type": "string", + "example": "publiq", + "minLength": 2, + "maxLength": 250, + "pattern": "\\S" +} diff --git a/event-name.json b/event-name.json index 5778c0b..1a8eae6 100644 --- a/event-name.json +++ b/event-name.json @@ -1,5 +1,7 @@ { "$ref": "./common-name.json", "title": "event.name", - "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](./models/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](./models/event-mainLanguage.json) property.", + "minLength": 1, + "maxLength": 90 } diff --git a/organizer-name.json b/organizer-name.json index 1c64a96..3a921d9 100644 --- a/organizer-name.json +++ b/organizer-name.json @@ -1,5 +1,7 @@ { "$ref": "./common-name.json", "title": "organizer.name", - "description": "The human-readable, localized name of the [organizer](./models/organizer.json).\n\nRequires at least one value, for the language specified in the [mainLanguage](./models/organizer-mainLanguage.json) property." + "description": "The human-readable, localized name of the [organizer](./models/organizer.json).\n\nRequires at least one value, for the language specified in the [mainLanguage](./models/organizer-mainLanguage.json) property.", + "minLength": 1, + "maxLength": 90 } diff --git a/place-name.json b/place-name.json index 66b36c8..0a1a571 100644 --- a/place-name.json +++ b/place-name.json @@ -1,5 +1,7 @@ { "$ref": "./common-name.json", "title": "place.name", - "description": "The human-readable, localized name of the [place](./models/place.json).\n\nRequires at least one value, for the language specified in the [mainLanguage](./models/place-mainLanguage.json) property." + "description": "The human-readable, localized name of the [place](./models/place.json).\n\nRequires at least one value, for the language specified in the [mainLanguage](./models/place-mainLanguage.json) property.", + "minLength": 1, + "maxLength": 90 }