Skip to content

Commit

Permalink
Limited name/title to 90 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
Koen Eelen committed Feb 15, 2024
1 parent a776b7c commit 275df46
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions common-name-localized.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 9 additions & 0 deletions common-title.json
Original file line number Diff line number Diff line change
@@ -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"
}
4 changes: 3 additions & 1 deletion event-name.json
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 3 additions & 1 deletion organizer-name.json
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 3 additions & 1 deletion place-name.json
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 275df46

Please sign in to comment.