@stencila/schema
Version:
Stencila schema and other specifications
17 lines (16 loc) • 587 B
YAML
title: Collection
'@id': schema:Collection
$extends: CreativeWork.schema.yaml
role: secondary
status: stable
description: |
A created collection of CreativeWorks or other artefacts.
# The [schema.org defintion](https://schema.org/Collection) adds
# `collectionSize` but has not been added here because that feels
# redudant e.g. a developer could use `collection.parts.length` instead
properties: {}
required:
# Note that `parts` is defined in `CreativeWork` but made
# a requirement here. A creative work need not be required to have
# parts, but a collection should.
- parts