File

Summary

Refers to any object that stores content on a computer.

Description

Refers to any object that stores content on a computer. The type of content can optionally be provided in the contentType property.

The fileKind property can be set to directory to indicate the file represents a directory and all content stored in that directory.

Metadata

https://spdx.org/rdf/3.0.1/terms/Software/File

Name File
Instantiability Concrete
SubclassOf /Software/SoftwareArtifact

Superclasses

/Core/Element
       /Core/Artifact
             /Software/SoftwareArtifact
                   /Software/File

Properties

Property Type minCount maxCount
/Core/contentType /Core/MediaType 0 1
fileKind FileKindType 0 1

External properties cardinality updates

Property minCount maxCount
name from /Core/Element 1

All properties

Property Type minCount maxCount
additionalPurpose SoftwarePurpose 0 *
attributionText xsd:string 0 *
builtTime DateTime 0 1
comment xsd:string 0 1
contentIdentifier ContentIdentifier 0 *
contentType MediaType 0 1
copyrightText xsd:string 0 1
creationInfo CreationInfo 1 1
description xsd:string 0 1
extension Extension 0 *
externalIdentifier ExternalIdentifier 0 *
externalRef ExternalRef 0 *
fileKind FileKindType 0 1
name xsd:string 1 1
originatedBy Agent 0 *
primaryPurpose SoftwarePurpose 0 1
releaseTime DateTime 0 1
spdxId xsd:anyURI 1 1
standardName xsd:string 0 *
summary xsd:string 0 1
suppliedBy Agent 0 1
supportLevel SupportType 0 *
validUntilTime DateTime 0 1
verifiedUsing IntegrityMethod 0 *