Skip to content

Commit

Permalink
fix: changes to Datatable and related schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Apr 15, 2019
1 parent b8f9aca commit 837112c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 4 additions & 1 deletion schema/Collection.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ properties:
'@id': schema:hasParts
type: array
items:
$ref: CreativeWork.schema.yaml
anyOf:
- $ref: Article.schema.yaml
- $ref: Datatable.schema.yaml
- $ref: Table.schema.yaml
required:
- parts
4 changes: 0 additions & 4 deletions schema/data/DatatableColumn.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ $extends: ../Thing.schema.yaml
role: secondary
status: experimental
properties:
name:
description: Name of the column.
allOf:
- $ref: name.schema.yaml
meta:
description: Metadata for the column.
type: object
Expand Down
4 changes: 2 additions & 2 deletions schema/data/DatatableColumnSchema.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ status: experimental
properties:
items:
type: object
allOf:
- $ref: json-schema-draft-07.schema.json
uniqueItems:
type: boolean
default: false
required:
- items

0 comments on commit 837112c

Please sign in to comment.