@stencila/schema
Version:
Stencila schema and other specifications
51 lines (50 loc) • 1.52 kB
YAML
title: Thing
'@id': schema:Thing
role: base
status: unstable
description: The most generic type of item https://schema.org/Thing.
type: object
properties:
type:
# This is a special property analagous to JSON-LD's `@type` keyword
# and so should not have a `@id` since it is not a property.
# It is extended with the titles of all descendant types during
# the generation of schema.json files.
description: The name of the type and all descendant types.
type: string
enum: [Thing]
default: Thing
id:
# This is a special property analagous to JSON-LD's `@id` keyword
# and so should not have a `@id` since it is not a property.
description: The identifier for this item.
type: string
alternateNames:
'@id': schema:alternateName
description: Alternate names (aliases) for the item.
type: array
items:
type: string
description:
'@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.
type: string
url:
'@id': schema:url
description: The URL of the item.
type: string
format: uri
required:
- type