|
2 | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
3 | 3 | "$id": "https://scienceverse.org/schema/paper.json", |
4 | 4 | "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)", |
6 | 6 | "type": "object", |
7 | 7 | "properties": { |
8 | 8 | "paper_id": { |
|
239 | 239 | }, |
240 | 240 | "paragraph_id": { "type": "integer" }, |
241 | 241 | "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 | + }, |
242 | 246 | "page_number": { |
243 | 247 | "type": ["integer", "null"], |
244 | 248 | "description": "The page number of the original document where the sentence starts (1-based)" |
|
343 | 347 | }, |
344 | 348 | "title": { "type": ["string", "null"] }, |
345 | 349 | "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"] |
349 | 352 | }, |
350 | 353 | "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"] |
354 | 356 | }, |
355 | 357 | "publisher": { "type": ["string", "null"] }, |
356 | 358 | "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 | + }, |
357 | 363 | "date": { |
358 | 364 | "type": ["string", "null"], |
359 | 365 | "format": "date" |
|
374 | 380 | } |
375 | 381 | } |
376 | 382 | }, |
377 | | - |
| 383 | + |
378 | 384 | "bib_match": { |
379 | 385 | "description": "Enrichment data from an external service for a bibliography entry", |
380 | 386 | "type": ["object", "null"], |
381 | | - "required": ["service", "title", "authors"], |
| 387 | + "required": ["bib_id", "service"], |
382 | 388 | "properties": { |
383 | 389 | "service": { |
384 | 390 | "type": ["string"], |
385 | 391 | "enum": [ |
386 | 392 | "crossref", |
387 | 393 | "openalex", |
| 394 | + "openlibrary", |
388 | 395 | "manual", |
389 | 396 | "other" |
390 | 397 | ] |
|
454 | 461 | "bib", |
455 | 462 | "table", |
456 | 463 | "figure", |
457 | | - "foot" |
| 464 | + "foot", |
| 465 | + "supplementary", |
| 466 | + "equation", |
| 467 | + "section" |
458 | 468 | ] |
459 | 469 | }, |
460 | 470 | "contents": { "type": ["string", "null"] }, |
|
0 commit comments