Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.38 KB

File metadata and controls

37 lines (22 loc) · 1.38 KB

Language: 简体中文|English

USF - Universal Schedule Format

USF (Universal Schedule Format) is an efficient curriculum data format, which aims to streamline efficiently and support the use of course names, teachers, classrooms, time periods and single and double weekly rules.

Features

✅ Compact & Efficient: Reduce redundant fields compared with traditional formats

✅ Simple & Convenient: Simple JSON structure, suitable for various applications

✅ Support Week Rules: Weeks rules can be set for courses

✅ Autocomplete: Automatic code complete can be turned on in VS Code and JetBrains IDEs

Format

USF files are encoded in UTF-8 format.

Autocomplete

Visual Studio

Import

Install "JSON Schema" extension and import Schema

Or import by following steps

VSCodeDemo

JetBrains

Use $schema Keyword

Type # $schema: USF at the top of the file to enable autocomplete

JetBrainsDemo

See Also Use $schema keyword