module example-sch-usage-1 { yang-version 1.1; namespace "http://example.com/example-sch-usage-1"; prefix "ex-schu-1"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using 'generic-schedule-params' and 'schedule-status' groupings."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container generic-schedule-params { description "A collection of generic scheduling parameters."; uses schedule:generic-schedule-params; } container schedule-status { description "A collection of scheduling status."; uses schedule:schedule-status; } } module example-sch-usage-2 { yang-version 1.1; namespace "http://example.com/example-sch-usage-2"; prefix "ex-schu2"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using the 'period-of-time' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container period-of-time { description "A container for a time period."; uses schedule:period-of-time; } } module example-sch-usage-3 { yang-version 1.1; namespace "http://example.com/example-sch-usage-3"; prefix "ex-schu-3"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using the 'recurrence-basic' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container recurrence-basic { description "A container for a simple recurrence rule."; uses schedule:recurrence-basic { refine interval { default 1; } } } } module example-sch-usage-4 { yang-version 1.1; namespace "http://example.com/example-sch-usage-4"; prefix "ex-schu-4"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using the 'recurrence-utc' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container recurrence-utc { description "A container for a simple recurrence rule in UTC format."; uses schedule:recurrence-utc; } } module example-sch-usage-5 { yang-version 1.1; namespace "http://example.com/example-sch-usage-5"; prefix "ex-schu-5"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using the 'recurrence-with-time-zone' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container recurrence-with-time-zone { description "A container for a simple recurrence rule with a time zone."; uses schedule:recurrence-with-time-zone; } } module example-sch-usage-6 { yang-version 1.1; namespace "http://example.com/example-sch-usage-6"; prefix "ex-schu-6"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using the 'recurrence-utc-with-periods' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container recurrence-utc-with-periods { description "A container for an aggregate set of repeating occurrences in UTC format."; uses schedule:recurrence-utc-with-periods; } } module example-sch-usage-7 { yang-version 1.1; namespace "http://example.com/example-sch-usage-7"; prefix "ex-schu-8"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using the 'recurrence-time-zone-with-periods' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container recurrence-time-zone-with-periods { description "A container for an aggregate set of repeating occurrences with a time zone."; uses schedule:recurrence-time-zone-with-periods; } } module example-sch-usage-8 { yang-version 1.1; namespace "http://example.com/example-sch-usage-8"; prefix "ex-schu-8"; import ietf-schedule { prefix "schedule"; } organization "Example, Inc."; contact "Support at example.com"; description "Example of a module using 'icalendar-recurrence' grouping."; revision "2026-02-20" { description "Initial version."; reference "RFC 9922: A YANG Data Model for Scheduling."; } container icalendar-recurrence { description "A container for a scheduled iCalendar recurrence."; uses schedule:icalendar-recurrence { refine workweek-start { default monday; } } } }