Skip to content

Commit

Permalink
changed the type of the title field in distribution to be a text field (
Browse files Browse the repository at this point in the history
#174)

# PR Context
We want to make all fields that have the name "title" of type text
field.

# Changes
type of field title in distribution, now it is a text field.

---------

Co-authored-by: Nicolas Drebenstedt <[email protected]>
  • Loading branch information
fdiehr and cutoffthetop authored Dec 18, 2024
1 parent 4df3fe6 commit 4d6973b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changes

- type of Distribution.title is now a Text array field, instead of single string

### Deprecated

### Removed
Expand All @@ -21,6 +23,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [3.3.2] - 2024-11-19

### Fixed

- fixed sidebar links in sphinx docs

## [3.3.1] - 2024-11-19

### Fixed
Expand Down
10 changes: 5 additions & 5 deletions mex/model/entities/distribution.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,14 @@
},
"title": {
"description": "The name of the distribution.",
"examples": [
"theNameOfTheFile"
],
"minLength": 1,
"items": {
"$ref": "/schema/fields/text"
},
"minItems": 1,
"sameAs": [
"http://purl.org/dc/terms/title"
],
"type": "string"
"type": "array"
}
},
"required": [
Expand Down

0 comments on commit 4d6973b

Please sign in to comment.