Skip to content

Commit b366b35

Browse files
separated bib_matches, authors reworked raw_text, add extra fields from bibr
1 parent a817b92 commit b366b35

1 file changed

Lines changed: 20 additions & 10 deletions

File tree

paper.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
33
"$id": "https://scienceverse.org/schema/paper.json",
44
"title": "Bibr Paper",
5-
"description": "A research paper, as processed by bibr (v9.0)",
5+
"description": "A research paper, as processed by bibr (v10.0)",
66
"type": "object",
77
"properties": {
88
"paper_id": {
@@ -239,6 +239,10 @@
239239
},
240240
"paragraph_id": { "type": "integer" },
241241
"text": { "type": "string" },
242+
"formatted": {
243+
"description": "Original OCR representation for display formulas (e.g. LaTeX); null for regular text",
244+
"type": ["string", "null"]
245+
},
242246
"page_number": {
243247
"type": ["integer", "null"],
244248
"description": "The page number of the original document where the sentence starts (1-based)"
@@ -343,17 +347,19 @@
343347
},
344348
"title": { "type": ["string", "null"] },
345349
"authors": {
346-
"description": "Array of author names, as formatted in the reference string",
347-
"type": ["array", "null"],
348-
"items": { "type": "string" }
350+
"description": "Author names as they appear in the reference string",
351+
"type": ["string", "null"]
349352
},
350353
"editors": {
351-
"description": "Array of editor names, as formatted in the reference string",
352-
"type": ["array", "null"],
353-
"items": { "type": "string" }
354+
"description": "Editor names as they appear in the reference string",
355+
"type": ["string", "null"]
354356
},
355357
"publisher": { "type": ["string", "null"] },
356358
"year": { "type": ["integer", "null"] },
359+
"year_suffix": {
360+
"description": "Disambiguator for same-author-year citations, e.g. 'a' in DeBruine (2005a)",
361+
"type": ["string", "null"]
362+
},
357363
"date": {
358364
"type": ["string", "null"],
359365
"format": "date"
@@ -374,17 +380,18 @@
374380
}
375381
}
376382
},
377-
383+
378384
"bib_match": {
379385
"description": "Enrichment data from an external service for a bibliography entry",
380386
"type": ["object", "null"],
381-
"required": ["service", "title", "authors"],
387+
"required": ["bib_id", "service"],
382388
"properties": {
383389
"service": {
384390
"type": ["string"],
385391
"enum": [
386392
"crossref",
387393
"openalex",
394+
"openlibrary",
388395
"manual",
389396
"other"
390397
]
@@ -454,7 +461,10 @@
454461
"bib",
455462
"table",
456463
"figure",
457-
"foot"
464+
"foot",
465+
"supplementary",
466+
"equation",
467+
"section"
458468
]
459469
},
460470
"contents": { "type": ["string", "null"] },

0 commit comments

Comments
 (0)