Home

Software Source Code

This is an implementation of schema.org SoftwareSourceCode.

In Stencila Schema it is used for describing source-code artifacts as creative works, interoperating with schema.org while fitting into Stencila's richer document and execution ecosystem. It complements, rather than replaces, the code block and executable node types used for code inside documents.

Key properties include programmingLanguage, codeSampleType, runtimePlatform, softwareRequirements, and targetProducts, with broader metadata inherited from CreativeWork.

Analogues

The following external types, elements, or nodes are similar to a SoftwareSourceCode:

Properties

The SoftwareSourceCode type has these properties:

NameDescriptionTypeInherited from
programmingLanguageThe computer programming language.String-
codeSampleTypeWhat type of code sample: full (compile ready) solution, code snippet, inline code, scripts, template.String-
runtimePlatformRuntime platform or script interpreter dependencies (Example - Java v1, Python2.3, .Net Framework 3.0).String*-
softwareRequirementsDependency requirements for the software.(SoftwareSourceCode | SoftwareApplication | String)*-
targetProductsTarget operating system or product to which the code applies.SoftwareApplication*-
workTypeThe type of CreativeWork (e.g. article, book, software application).CreativeWorkTypeCreativeWork
doiThe work's Digital Object Identifier (https://doi.org/).StringCreativeWork
aboutThe subject matter of the content.ThingVariant*CreativeWork
abstractA short description that summarizes a CreativeWork.Block*CreativeWork
authorsThe authors of the CreativeWork.Author*CreativeWork
provenanceA summary of the provenance of the content within the work.ProvenanceCount*CreativeWork
contributorsA secondary contributor to the CreativeWork.Author*CreativeWork
editorsPeople who edited the CreativeWork.Person*CreativeWork
maintainersThe maintainers of the CreativeWork.(Person | Organization)*CreativeWork
commentsComments about this creative work.Comment*CreativeWork
dateCreatedDate/time of creation.DateTimeCreativeWork
dateReceivedDate/time that work was received.DateTimeCreativeWork
dateAcceptedDate/time of acceptance.DateTimeCreativeWork
dateModifiedDate/time of most recent modification.DateTimeCreativeWork
datePublishedDate of first publication.DateTimeCreativeWork
fundersPeople or organizations that funded the CreativeWork.(Person | Organization)*CreativeWork
fundedByGrants that funded the CreativeWork; reverse of fundedItems.(Grant | MonetaryGrant)*CreativeWork
genreGenre of the creative work, broadcast channel or group.String*CreativeWork
keywordsKeywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.String*CreativeWork
isPartOfAn item or other CreativeWork that this CreativeWork is a part of.CreativeWorkVariantCreativeWork
licensesLicense documents that applies to this content, typically indicated by URL, but may be a CreativeWork itself.(CreativeWorkVariant | String)*CreativeWork
partsElements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.CreativeWorkVariant*CreativeWork
publisherA publisher of the CreativeWork.Person | OrganizationCreativeWork
bibliographyA bibliography of references which may be cited in the work.BibliographyCreativeWork
referencesReferences to other creative works, such as another publication, web page, scholarly article, etc.Reference*CreativeWork
textThe textual content of this creative work.TextCreativeWork
titleThe title of the creative work.Inline*CreativeWork
repositoryURL of the repository where the un-compiled, human readable source of the work is located.StringCreativeWork
pathThe file system path of the source of the work.StringCreativeWork
commitThe commit hash (or similar) of the source of the work.StringCreativeWork
versionThe version of the creative work.String | NumberCreativeWork
alternateNamesAlternate names (aliases) for the item.String*Thing
descriptionA description of the item.StringThing
identifiersAny kind of identifier for any kind of Thing.(PropertyValue | String)*Thing
imagesImages of the item.ImageObject*Thing
nameThe name of the item.StringThing
urlThe URL of the item.StringThing
idThe identifier for this item.StringEntity

Related

The SoftwareSourceCode type is related to these types:

Bindings

The SoftwareSourceCode type is represented in:


This documentation was generated from SoftwareSourceCode.yaml by docs_types.rs.

© 2026 Stencila