@stencila/schema
Version:
Stencila schema and other specifications
176 lines (175 loc) • 3.72 kB
JSON
{
"title": "Thing",
"@id": "schema:Thing",
"role": "base",
"status": "unstable",
"description": "The most generic type of item https://schema.org/Thing.",
"type": "object",
"properties": {
"type": {
"description": "The name of the type and all descendant types.",
"type": "string",
"enum": [
"Thing",
"Article",
"AudioObject",
"Brand",
"Code",
"CodeBlock",
"CodeChunk",
"CodeExpr",
"Collection",
"ContactPoint",
"CreativeWork",
"Datatable",
"DatatableColumn",
"DatatableColumnSchema",
"Delete",
"Emphasis",
"Environment",
"Heading",
"ImageObject",
"Link",
"List",
"MediaObject",
"Mount",
"Organization",
"Paragraph",
"Person",
"Product",
"Quote",
"QuoteBlock",
"ResourceParameters",
"SoftwareApplication",
"SoftwareSession",
"SoftwareSourceCode",
"Strong",
"Table",
"TableCell",
"TableRow",
"ThematicBreak",
"VideoObject"
],
"default": "Thing",
"from": "Thing"
},
"id": {
"description": "The identifier for this item.",
"type": "string",
"from": "Thing"
},
"alternateNames": {
"@id": "schema:alternateName",
"description": "Alternate names (aliases) for the item.",
"type": "array",
"items": {
"type": "string"
},
"from": "Thing",
"aliases": [
"alternateName"
]
},
"description": {
"@id": "schema:description",
"description": "A description of the item.",
"type": "string",
"from": "Thing"
},
"meta": {
"@id": "stencila:meta",
"description": "Metadata associated with this item.",
"type": "object",
"from": "Thing"
},
"name": {
"@id": "schema:name",
"description": "The name of the item.",
"type": "string",
"from": "Thing"
},
"url": {
"@id": "schema:url",
"description": "The URL of the item.",
"type": "string",
"format": "uri",
"from": "Thing"
}
},
"required": [
"type"
],
"source": "https://github.com/stencila/schema/blob/master/schema/Thing.schema.yaml",
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://stencila.github.com/schema/Thing.schema.json",
"category": ".",
"children": [
"CreativeWork",
"DatatableColumn",
"DatatableColumnSchema",
"Brand",
"ContactPoint",
"Organization",
"Person",
"Product",
"Environment",
"Mount",
"ResourceParameters",
"SoftwareSession",
"Code",
"Delete",
"Emphasis",
"Heading",
"Link",
"List",
"Paragraph",
"Quote",
"QuoteBlock",
"Strong",
"TableCell",
"TableRow",
"ThematicBreak"
],
"descendants": [
"Article",
"AudioObject",
"Brand",
"Code",
"CodeBlock",
"CodeChunk",
"CodeExpr",
"Collection",
"ContactPoint",
"CreativeWork",
"Datatable",
"DatatableColumn",
"DatatableColumnSchema",
"Delete",
"Emphasis",
"Environment",
"Heading",
"ImageObject",
"Link",
"List",
"MediaObject",
"Mount",
"Organization",
"Paragraph",
"Person",
"Product",
"Quote",
"QuoteBlock",
"ResourceParameters",
"SoftwareApplication",
"SoftwareSession",
"SoftwareSourceCode",
"Strong",
"Table",
"TableCell",
"TableRow",
"ThematicBreak",
"VideoObject"
],
"aliases": true,
"additionalProperties": false
}