Skip to content

Commit

Permalink
fix(Various): Use empty properties object. Ensure $extends.
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Jun 6, 2019
1 parent 5b09124 commit c368f9b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion schema/Collection.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ description: |
# The [schema.org defintion](https://schema.org/Collection) adds
# `collectionSize` but has not been added here because that feels
# redudant e.g. a developer could use `collection.parts.length` instead
properties: {}
required:
# Note that `parts` is defined in `CreativeWork` but made
# a requirement here. A creative work need not be required to have
# parts, but a collection should.
- parts
additionalProperties: false
2 changes: 1 addition & 1 deletion schema/text/CodeBlock.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ $extends: Code.schema.yaml
role: secondary
status: stable
description: A code block.
additionalProperties: false
properties: {}
7 changes: 3 additions & 4 deletions schema/text/ThematicBreak.schema.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
title: ThematicBreak
'@id': stencila:ThematicBreak
$extends: ../Thing.schema.yaml
role: secondary
status: experimental
status: stable
description: |
A thematic break, such as a scene change in a story, a transition to another topic, or a new document.
required:
- type
additionalProperties: false
properties: {}

0 comments on commit c368f9b

Please sign in to comment.