Metadata-Version: 2.1
Name: nr-documents-records-model-builder
Version: 1.0.0
Summary: OARepo model builder extension for NR document records
Home-page: https://github.com/NarodniRepozitar/nr-documents-records
Author: CESNET
Author-email: bauer@cesnet.cz
License: MIT
Keywords: National Repository documents model builder plugin Invenio
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: oarepo-model-builder (>=1.0.0dev9)
Requires-Dist: oarepo-model-builder-multilingual (>=0.1.9)
Requires-Dist: oarepo-model-builder-ui (>=1.0.0)
Requires-Dist: nr-vocabularies (>=0.0.1)
Requires-Dist: nr-vocabularies-model-builder (>=0.0.2)
Requires-Dist: oarepo-vocabularies-model-builder (>=0.0.6)
Requires-Dist: nr-common-metadata-model-builder (>=4.0.0.dev5)

# nr-common-metadata

[![Build Status](https://travis-ci.org/Narodni-repozitar/nr-common.svg?branch=master)](https://travis-ci.org/Narodni-repozitar/nr-common)
[![Coverage Status](https://coveralls.io/repos/github/Narodni-repozitar/nr-common/badge.svg)](https://coveralls.io/github/Narodni-repozitar/nr-common)

Disclaimer: The library is part of the Czech National Repository, and therefore the README is written in Czech.
General libraries extending [Invenio](https://github.com/inveniosoftware) are concentrated under the [Oarepo
 namespace](https://github.com/oarepo).
 
 ## Instalace
 
 Nejedná se o samostatně funkční knihovnu, proto potřebuje běžící Invenio a závislosti Oarepo.
 Knihovna se instaluje klasicky přes pip
 
```bash
pip install techlib-nr-common-metadata
```

Pro testování a/nebo samostané fungování knihovny je nutné instalovat tests z extras.

```bash
pip install -e .[tests]
```

## Účel

Knihovna obsahuje obecný metadatový model Národního repozitáře (Marshmallow, JSON schema a Elastisearch mapping).
Všechny tyto části lze 
"podědit" v dalších metadatových modelech.

Knihovna není samostatný model pro "generic" věci - ten je v nr-generic.
