OARepo rdm records model
Instalation
pip install oarepo-rdm-records
Usage
The library provides a modified InvenioRDMRecords data model for OARepo resource records.
JSON Schema
Add this package to your dependencies and use it via $ref in json
schema as "[server]/dataset-v2.0.0.json#/definitions/DataSet".
Elastic Search mapping is handled automatically via Eleastic Search templates.
Usage example
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"allOf": [
{
"$ref": "dataset-v2.0.0.json#/definitions/DataSet"
}
]
}
{
"type": "object",
"properties": {
"these": {
"titles" : {"cs": "neco", "en": "something"}
}
}
}
Modified fields of data model
titles
- fully required oarepo multilingual data type
descriptions
- fully optional oarepo multilingual data type
subjects
subjectis required oarepo multilingual data type
locations
descriptionis optional oarepo multilingual data type
licenses
licenseis required oarepo multilingual data type
Changes
Version 2.0.0 (released 2020-08-25)
- Initial public release.
Version 3.1.6
Metadata field "Identifiers" now has all properties set as optional and new property "status" was added (for DOI request purposes).
Metadata
Release files for oarepo-rdm-records 3.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oarepo_rdm_records-3.2.2.tar.gz | 64.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oarepo_rdm_records-3.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 144.8 kB
Release files / oarepo_rdm_records-3.2.2.tar.gz
| Download URL | oarepo_rdm_records-3.2.2.tar.gz |
|---|---|
| Size | 64.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97618b394cdb9f282c0521ff615c3d6f57a88bee74cef0ca774b0db98b049001
|
|
BLAKE2b-256 checksum How to use checksums |
b2437897a0d30e6e786cba4bb86440a52fa950b11c85b3ae34a40059730d31c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / oarepo_rdm_records-3.2.2-py3-none-any.whl
| Download URL | oarepo_rdm_records-3.2.2-py3-none-any.whl |
|---|---|
| Size | 79.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43ef3686ee29d499a8cab419587d876366473d417135290d82a4d27d587334de
|
|
BLAKE2b-256 checksum How to use checksums |
66f3b176767934bb89315bec2dce7f4258959ffee429c4722bf59d98359025d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|