Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions src/misc/asset.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@ properties:
oneOf:
- $ref: ../blocks/mathml.v1.yaml
- $ref: ../blocks/paragraph.v1.yaml
- allOf:
- $ref: ../blocks/table.v1.yaml
- properties:
title:
not: {}
sourceData:
not: {}
doi:
not: {}
- # Simplified table block
properties:
type:
type: string
enum:
- table
tables:
type: array
items:
title: HTML table
type: string
pattern: ^<table>[\s\S]+</table>$
additionalProperties: false
minItems: 1
dependencies:
caption: [title]
Expand Down