Skip to main content

OARepo rdm records data model

Project description

OARepo rdm records model

image image image image

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
  • subject is required oarepo multilingual data type
locations
  • description is optional oarepo multilingual data type
licenses
  • license is 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).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oarepo_rdm_records-3.2.2.tar.gz (64.9 kB view details)

Uploaded Source

Built Distribution

oarepo_rdm_records-3.2.2-py3-none-any.whl (79.8 kB view details)

Uploaded Python 3

File details

Details for the file oarepo_rdm_records-3.2.2.tar.gz.

File metadata

  • Download URL: oarepo_rdm_records-3.2.2.tar.gz
  • Upload date:
  • Size: 64.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for oarepo_rdm_records-3.2.2.tar.gz
Algorithm Hash digest
SHA256 97618b394cdb9f282c0521ff615c3d6f57a88bee74cef0ca774b0db98b049001
MD5 27ff575e6361c93f487b2cc1b53924ad
BLAKE2b-256 b2437897a0d30e6e786cba4bb86440a52fa950b11c85b3ae34a40059730d31c2

See more details on using hashes here.

File details

Details for the file oarepo_rdm_records-3.2.2-py3-none-any.whl.

File metadata

  • Download URL: oarepo_rdm_records-3.2.2-py3-none-any.whl
  • Upload date:
  • Size: 79.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for oarepo_rdm_records-3.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43ef3686ee29d499a8cab419587d876366473d417135290d82a4d27d587334de
MD5 14991087de65df73ccc9bebf0c8d5f6f
BLAKE2b-256 66f3b176767934bb89315bec2dce7f4258959ffee429c4722bf59d98359025d8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page