UNPKG

@stencila/schema

Version:

Extensions to schema.org to support semantic, composable, parameterize-able and executable documents

85 lines (84 loc) 1.88 kB
{ "title": "InlineContent", "category": "text", "status": "stable", "description": "Union type for valid inline content.", "$comment": "Note that this definition currently does not include\n`array` and `object` nodes (which are included in `Node`).\nThis seems incongruent, and may be changed in the future.\nThe order of these types is important because it determines the\norder of attempted coercion (particularly important for primitive types).\n", "anyOf": [ { "$ref": "AudioObject.schema.json" }, { "$ref": "Cite.schema.json" }, { "$ref": "CiteGroup.schema.json" }, { "$ref": "CodeExpression.schema.json" }, { "$ref": "CodeFragment.schema.json" }, { "$ref": "Delete.schema.json" }, { "$ref": "Emphasis.schema.json" }, { "$ref": "ImageObject.schema.json" }, { "$ref": "Link.schema.json" }, { "$ref": "MathFragment.schema.json" }, { "$ref": "MediaObject.schema.json" }, { "$ref": "NontextualAnnotation.schema.json" }, { "$ref": "Note.schema.json" }, { "$ref": "Quote.schema.json" }, { "$ref": "Strong.schema.json" }, { "$ref": "Subscript.schema.json" }, { "$ref": "Superscript.schema.json" }, { "$ref": "VideoObject.schema.json" }, { "type": "null" }, { "type": "boolean" }, { "type": "integer" }, { "type": "number" }, { "type": "string" } ], "file": "InlineContent.schema.yaml", "children": [], "descendants": [], "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://schema.stenci.la/v1/InlineContent.schema.json", "source": "https://github.com/stencila/schema/blob/master/schema/InlineContent.schema.yaml" }