@stencila/schema
Version:
Stencila schema and other specifications
18 lines (17 loc) • 358 B
YAML
title: Code
'@id': stencila:Code
$extends: ../Thing.schema.yaml
role: secondary
status: stable
description: Inline code.
properties:
language:
'@id': schema:programmingLanguage
description: The programming langauge of the code.
type: string
value:
'@id': schema:value
description: The text value.
type: string
required:
- value