Add support for Journal records #20

Merged
mih merged 1 commit from flatentry into main 2025-04-22 11:45:20 +00:00
4 changed files with 52 additions and 0 deletions

View file

@ -45,6 +45,7 @@ default_prefix: inm7flatentry
emit_prefixes: emit_prefixes:
- dlthings - dlthings
- dltypes - dltypes
- inm7
- rdf - rdf
- rdfs - rdfs
- skos - skos
@ -105,6 +106,25 @@ slots:
range: string range: string
pattern: '^\d{4}-\d{4}-\d{4}-\d{3}[0-9X]{1}$' pattern: '^\d{4}-\d{4}-\d{4}-\d{3}[0-9X]{1}$'
issn:
description: >-
Associated ISSN identifier (see https://www.issn.org).
range: string
pattern: '^\d{4}-\d{3}[0-9X]{1}$'
short_name:
description: >-
A shortened name for the subject. For example, an acronym, initialism,
nickname, or other abbreviation of the name or title.
range: string
title:
description: >-
A summarily description of the subject. It is closely related to
a `name`, but often less compact and more descriptive. Typically used for
documents.
range: string
classes: classes:
Person: Person:
class_uri: inm7flatentry:Person class_uri: inm7flatentry:Person
@ -160,3 +180,14 @@ classes:
sh:name: ORCID sh:name: ORCID
sh:group: inm7flatentry:PersonPropertyGroup sh:group: inm7flatentry:PersonPropertyGroup
sh:order: 7 sh:order: 7
Journal:
class_uri: inm7flatentry:Journal
is_a: Thing
description: >-
A periodical that publishes (peer-reviewed) academic articles.
slots:
- curation_comments
- issn
- title
- short_name

View file

@ -0,0 +1,8 @@
{
"pid": "https://urn.issn.org/urn/issn:0027-8424",
"schema_type": "inm7flatentry:Journal",
"issn": "0027-8424",
"title": "Proceedings of the National Academy of Sciences of the United States of America",
"short_name": "PNAS",
"@type": "Journal"
}

View file

@ -0,0 +1,4 @@
pid: https://urn.issn.org/urn/issn:0027-8424
issn: 0027-8424
title: Proceedings of the National Academy of Sciences of the United States of America
short_name: PNAS

View file

@ -0,0 +1,9 @@
schema: src/flatentry/unreleased.yaml
target_class: Journal
data_sources:
- src/flatentry/unreleased/examples/Journal-typical.yaml
plugins:
JsonschemaValidationPlugin:
closed: true
include_range_class_descendants: false
RecommendedSlotsPlugin: