---
id: "iso8601_repeating_interval"
kind: "datatype"
status: "draft"
is_pii: false
name: "ISO 8601 repeating interval"
regexp: "^R\\d*/(?:[0-9T:.+\\-Z]{4,}/)?(?:P[0-9YMWDTHS.]+|[0-9T:.+\\-Z]{4,})$"
categories: ["datetime"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/iso8601_repeating_interval"
---

# ISO 8601 repeating interval (`iso8601_repeating_interval`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Repeating time interval of ISO 8601: R, the number of repetitions if they are limited, then the interval as start and duration, start and end, or a duration alone, parts separated by slashes (R/2015-01-02/P2W every two weeks from 2 January 2015, R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M, R/P1Y). Waste collection schedules, recurring events and DCAT accrual periodicity write it; a single duration is iso8601duration, a frequency in words periodicity.

- Personal data (PII): no
- Categories: Date and time (datetime)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^R\d*/(?:[0-9T:.+\-Z]{4,}/)?(?:P[0-9YMWDTHS.]+|[0-9T:.+\-Z]{4,})$
```

## Examples

- `R/2015-01-02/P2W` — fortnightly rubbish collection, Greater Geelong waste collection areas
- `R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M` — ISO 8601 example
- `R/P1Y`
- `P2W` (invalid example) — a duration, iso8601duration

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `iso8601repeatingintervalvalue` (data, `common/assets.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Повторяющийся интервал ISO 8601

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/ISO_8601#Repeating_intervals>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/iso8601_repeating_interval.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/iso8601_repeating_interval.yaml>
