Coverage for src / check_datapackage / constants.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-02 14:17 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-02 14:17 +0000
1from importlib.resources import files
2from pathlib import Path
4GROUP_ERRORS = {"allOf", "anyOf", "oneOf"}
6DATA_PACKAGE_SCHEMA_PATH = Path(
7 str(files("check_datapackage.schemas").joinpath("data-package-2-0.json"))
8)
10FIELD_TYPES = [
11 "string",
12 "number",
13 "integer",
14 "date",
15 "time",
16 "datetime",
17 "year",
18 "yearmonth",
19 "boolean",
20 "object",
21 "geopoint",
22 "geojson",
23 "array",
24 "duration",
25 "any",
26]