UNPKG

@stencila/schema

Version:

Stencila schema and other specifications

107 lines (106 loc) 2.67 kB
{ "title": "Mount", "@id": "stencila:Mount", "role": "tertiary", "status": "experimental", "description": "Describes a volume mount from a host to container.\n", "properties": { "type": { "description": "The name of the type and all descendant types.", "type": "string", "enum": [ "Mount" ], "default": "Mount", "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" }, "mountSource": { "@id": "stencila:mountSource", "description": "The mount source directory on the host.", "type": "string", "from": "Mount" }, "mountDestination": { "@id": "stencila:mountDestination", "description": "The mount location inside the container.", "type": "string", "from": "Mount" }, "mountOptions": { "@id": "stencila:mountOptions", "type": "array", "description": "A list of options to use when applying the mount.", "items": [ { "type": "string" } ], "from": "Mount", "aliases": [ "mountOption" ] }, "mountType": { "@id": "stencila:mountType", "type": "string", "description": "The type of mount.", "from": "Mount" } }, "required": [ "type", "mountDestination" ], "source": "https://github.com/stencila/schema/blob/master/schema/software/Mount.schema.yaml", "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://stencila.github.com/schema/Mount.schema.json", "category": "software", "children": [], "descendants": [], "type": "object", "aliases": true, "additionalProperties": false, "parent": "Thing" }