Skip to content

Commit 731c7f3

Browse files
Typst manifest improvements and new Hayagriva schema (SchemaStore#4899)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 200a406 commit 731c7f3

File tree

6 files changed

+900
-15
lines changed

6 files changed

+900
-15
lines changed

src/api/json/catalog.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,6 +2986,11 @@
29862986
"fileMatch": ["haxelib.json"],
29872987
"url": "https://raw.githubusercontent.com/HaxeFoundation/haxelib/master/schema.json"
29882988
},
2989+
{
2990+
"name": "Hayagriva",
2991+
"description": "A bibliography management format for the modern age",
2992+
"url": "https://www.schemastore.org/hayagriva.json"
2993+
},
29892994
{
29902995
"name": "Hayson",
29912996
"description": "Project Haystack data",
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# yaml-language-server: $schema=../../schemas/json/hayagriva.json
2+
3+
MultipleParentEntries:
4+
type: booc # invalid entry type
5+
6+
title: 'Rick Astley: How An Internet Joke Revived My Career'
7+
date: 2020-12- # invalid date format
8+
author: Luther King, Martin, Jr.
9+
parent:
10+
- title: Entry's parent entry without a type
11+
note: An entry can have multiple parents
12+
- type: book
13+
title: Entry's parent with a type
14+
15+
SingleParentEntry:
16+
type: article
17+
title: This entry will have a single parent entry
18+
parent:
19+
title: Without a type, parent's types default to Miscellaneous if not specified
20+
21+
FullExample:
22+
type: report
23+
date: 1920-10-10
24+
author:
25+
given-name: Gloria Jean
26+
name: Watkins
27+
alias: bell hooks
28+
prefix: Miss PhD.
29+
suffix: Suffix
30+
abstract: The dominant sequence transduction models are based on complex...
31+
archive: National Library of New Zealand
32+
affiliated:
33+
- role: afterword
34+
names:
35+
given-name: Gloria Jean
36+
name: Watkins
37+
alias: bell hooks
38+
archive-location: Wellington, New Zealand
39+
call-number: F16 D14
40+
edition: 2
41+
editor: Luther King, Martin, Jr.
42+
genre: Doctoral dissertation
43+
issue: 5
44+
language: de-ATr # invalid language
45+
location: Lahore, Pakistan
46+
note: microfilm version
47+
organization: Technische Universität Berlin
48+
page-range: 812-847
49+
page-total: 768
50+
publisher:
51+
name: Penguin Books
52+
location: London
53+
parent: # empty parent
54+
runtime: '12:34'
55+
serial-number:
56+
doi: '10.22541/au.148771883.35456290'
57+
arxiv: '1906.00356'
58+
serial: '8516'
59+
isbn: '978-3-16-148410-0'
60+
issn: '1234-5678'
61+
pmcid: 'PMC1234567'
62+
pmid: '12345678'
63+
time-range: '00:12,567-00:34,890'
64+
title:
65+
value: 'Rick Astley: How An Internet Joke Revived My Career'
66+
short: Rick Astley
67+
verbatim: false
68+
url:
69+
# value: "https://www.reddit.com/r/AccidentalRenaissance/comments/er1uxd/japanese_opposition_members_trying_to_block_the/"
70+
date: 2020 # value is required if date if object
71+
volume-total: 12k # only integer
72+
volume: 2-3

0 commit comments

Comments
 (0)