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.

Files for oarepo-rdm-records, version 3.2.2
Filename, size File type Python version Upload date Hashes
Filename, size oarepo_rdm_records-3.2.2.tar.gz (64.9 kB) File type Source Python version None Upload date Hashes View
Filename, size oarepo_rdm_records-3.2.2-py3-none-any.whl (79.8 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page