-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(holdings-storage): prevent virtual fields populating (#952)
Closes: MODINVSTOR-1094
- Loading branch information
Showing
52 changed files
with
586 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Electronic access item", | ||
"javaType": "org.folio.rest.jaxrs.model.ElectronicAccessItem", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"uri": { | ||
"type": "string", | ||
"description": "uniform resource identifier (URI) is a string of characters designed for unambiguous identification of resources" | ||
}, | ||
"linkText": { | ||
"type": "string", | ||
"description": "the value of the MARC tag field 856 2nd indicator, where the values are: no information provided, resource, version of resource, related resource, no display constant generated" | ||
}, | ||
"materialsSpecification": { | ||
"type": "string", | ||
"description": "materials specified is used to specify to what portion or aspect of the resource the electronic location and access information applies (e.g. a portion or subset of the item is electronic, or a related electronic resource is being linked to the record)" | ||
}, | ||
"publicNote": { | ||
"type": "string", | ||
"description": "URL public note to be displayed in the discovery" | ||
}, | ||
"relationshipId": { | ||
"type": "string", | ||
"description": "relationship between the electronic resource at the location identified and the item described in the record as a whole" | ||
} | ||
}, | ||
"required": [ | ||
"uri" | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "A holdings record note", | ||
"javaType": "org.folio.rest.jaxrs.model.HoldingsNote", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"holdingsNoteTypeId": { | ||
"type": "string", | ||
"description": "ID of the type of note", | ||
"$ref" : "../uuid.json" | ||
}, | ||
"note": { | ||
"type": "string", | ||
"description": "Text content of the note" | ||
}, | ||
"staffOnly": { | ||
"type": "boolean", | ||
"description": "If true, determines that the note should not be visible for others than staff", | ||
"default": false | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Receiving history of holdings record", | ||
"javaType": "org.folio.rest.jaxrs.model.HoldingsReceivingHistory", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"displayType": { | ||
"type": "string", | ||
"description": "Display hint. 1: Display fields separately. 2: Display fields concatenated" | ||
}, | ||
"entries": { | ||
"type": "array", | ||
"description": "Entries of receiving history", | ||
"items": { | ||
"$ref": "holdingsReceivingHistoryEntry.json" | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "Receiving history entry of holdings record", | ||
"javaType": "org.folio.rest.jaxrs.model.HoldingsReceivingHistoryEntry", | ||
"additionalProperties": false, | ||
"type": "object", | ||
"properties": { | ||
"publicDisplay": { | ||
"type": "boolean", | ||
"description": "Defines if the receivingHistory should be visible to the public." | ||
}, | ||
"enumeration": { | ||
"type": "string", | ||
"description": "This is the volume/issue number (e.g. v.71:no.6-2)" | ||
}, | ||
"chronology": { | ||
"type": "string", | ||
"description": "Repeated element from Receiving history - Enumeration AND Receiving history - Chronology" | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.