forked from sbrunner/jsonschema-gentypes
/
jsonschema-gentypes.yaml
89 lines (83 loc) · 3.67 KB
/
jsonschema-gentypes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# yaml-language-server: $schema=jsonschema_gentypes/schema.json
headers: |
"""
Automatically generated file from a JSON schema.
"""
pre_commit:
enabled: true
hooks_skip:
- jsonschema-gentypes
- shellcheck
arguments:
- --color=never
generate:
- source: jsonschema_gentypes/schema.json
destination: jsonschema_gentypes/configuration.py
- source: https://json-schema.org/draft-04/schema
destination: jsonschema_gentypes/jsonschema_draft_04.py
root_name: JSONSchemaD4
- source: https://json-schema.org/draft-06/schema
destination: jsonschema_gentypes/jsonschema_draft_06.py
root_name: JSONSchemaD6
name_mapping:
_CoreSchemaMetaSchemaObject: JSONSchemaItemD6
- source: https://json-schema.org/draft-07/schema
destination: jsonschema_gentypes/jsonschema_draft_07.py
root_name: JSONSchemaD7
name_mapping:
_CoreSchemaMetaSchemaObject: JSONSchemaItemD7
- source: https://json-schema.org/draft/2019-09/schema
destination: jsonschema_gentypes/jsonschema_draft_2019_09.py
- source: https://json-schema.org/draft/2019-09/meta/core
destination: jsonschema_gentypes/jsonschema_draft_2019_09_core.py
root_name: JSONSchemaD2019
name_mapping:
_CoreVocabularyMetaSchemaObject: JSONSchemaItemD2019
- source: https://json-schema.org/draft/2019-09/meta/meta-data
destination: jsonschema_gentypes/jsonschema_draft_2019_09_meta_data.py
name_mapping:
_MetaDataVocabularyMetaSchemaObject: JSONSchemaItemD2019
- source: https://json-schema.org/draft/2019-09/meta/applicator
destination: jsonschema_gentypes/jsonschema_draft_2019_09_applicator.py
root_name: JSONSchemaD2019
name_mapping:
_ApplicatorVocabularyMetaSchemaObject: JSONSchemaItemD2019
- source: https://json-schema.org/draft/2019-09/meta/validation
destination: jsonschema_gentypes/jsonschema_draft_2019_09_validation.py
root_name: JSONSchemaD2019
name_mapping:
_ValidationVocabularyMetaSchemaObject: JSONSchemaItemD2019
- source: https://json-schema.org/draft/2019-09/meta/format
destination: jsonschema_gentypes/jsonschema_draft_2019_09_format.py
- source: https://json-schema.org/draft/2019-09/meta/content
destination: jsonschema_gentypes/jsonschema_draft_2019_09_content.py
- source: https://json-schema.org/draft/2020-12/schema
destination: jsonschema_gentypes/jsonschema_draft_2020_12.py
- source: https://json-schema.org/draft/2020-12/meta/core
destination: jsonschema_gentypes/jsonschema_draft_2020_12_core.py
root_name: JSONSchemaD2020
name_mapping:
_CoreVocabularyMetaSchemaObject: JSONSchemaItemD2020
- source: https://json-schema.org/draft/2020-12/meta/meta-data
destination: jsonschema_gentypes/jsonschema_draft_2020_12_meta_data.py
name_mapping:
_MetaDataVocabularyMetaSchemaObject: JSONSchemaItemD2020
- source: https://json-schema.org/draft/2020-12/meta/applicator
destination: jsonschema_gentypes/jsonschema_draft_2020_12_applicator.py
root_name: JSONSchemaD2020
name_mapping:
_ApplicatorVocabularyMetaSchemaObject: JSONSchemaItemD2020
- source: https://json-schema.org/draft/2020-12/meta/validation
destination: jsonschema_gentypes/jsonschema_draft_2020_12_validation.py
root_name: JSONSchemaD2020
name_mapping:
_ValidationVocabularyMetaSchemaObject: JSONSchemaItemD2020
- source: https://json-schema.org/draft/2020-12/meta/content
destination: jsonschema_gentypes/jsonschema_draft_2020_12_content.py
- source: tests/openapi3.json
destination: tests/openapi3.py
root_name: OgcApi
- source: tests/recursion.json
destination: tests/recursion.py
- source: tests/allanycombining.json
destination: tests/allanycombining.py