Skip to content

Property: byteSize

The filesize of the item (file) being described.

The size of the distribution in bytes.

URI: dcat:byteSize

Obligation and Cardinality

The table below details the classes which use this property and the conditions of its use.

Class Range Obligation Cardinality
Distribution Integer
Minimum Value: 1
Recommended One

Usage Notes

Purpose

FILESIZE information can help users decide whether or not to commit to downloading the described item (file) by providing information on the amount of physical or digital storage space that it requires and an estimate of the length of time it might take to download.

Do not confuse with

  • EXTENT: The size or duration of the item being described.

Guidelines

This number may be auto-generated by the system software. If not, or if the item being described is hosted somewhere other than in the Government Data Catalogue, manually enter the filesize here.

When recording FILESIZE, abbreviate the unit of measurement (eg. kb for kilobytes, mb for megabytes, gb for gigabytes). Include a space between the value and the unit of measurement.

Examples:

  • 24 mb

  • 3.4 gb

  • 546 kb

Examples

Value
1024

TODOs

  • Update guidance to state that values should be in bytes so that we have a consistent unit that can then be interpreted and presented as per user requirements

Identifier and Mapping Information

Schema Source

  • from schema: https://github.com/co-cddo/ukgov-metadata-exchange-model/blob/main/src/model/uk_cross_government_metadata_exchange_model.yaml

Provide Feedback

New GitHub Issue