Skip to content

Commit

Permalink
fix(Entity): Move meta property from Thing to Entity
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Jul 24, 2019
1 parent 132f995 commit c03f3f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 9 additions & 0 deletions schema/Entity.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,14 @@ properties:
# and so should not have a `@id` since it is not a property.
description: The identifier for this item.
type: string
meta:
# This property has been added to allow for tools that
# use this schema to add experimental, ad-hoc properties to
# entities.
# Ad-hoc properties that become commonly used may become part of
# the schema proper.
'@id': stencila:meta
description: Metadata associated with this item.
type: object
required:
- type
8 changes: 0 additions & 8 deletions schema/Thing.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ properties:
'@id': schema:description
description: A description of the item.
type: string
meta:
# This property has been added to allow for applications that
# use this schema to add ad-hoc properties to things. Ad-hoc
# properties that become commonly used may become part of
# the schema proper.
'@id': stencila:meta
description: Metadata associated with this item.
type: object
name:
'@id': schema:name
description: The name of the item.
Expand Down

0 comments on commit c03f3f8

Please sign in to comment.