Coverage for postrfp / shared / serial / constants.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.12.0, created at 2025-12-03 01:35 +0000

1# Field description constants 

2JP = "JSON Pointer path" 

3DESC_JSON_POINTER_PATH = f"{JP} where the field should be added (e.g., '/properties/newField' or '/properties/company/properties/name')" 

4DESC_JSON_POINTER_PATH_DELETE = f"{JP} to the field to delete (e.g., '/properties/oldField' or '/properties/company/properties/deprecated')" 

5DESC_JSON_POINTER_PATH_EXISTING = f"{JP} to the existing field (e.g., '/properties/oldName' or '/properties/company/properties/oldName')" 

6DESC_JSON_POINTER_PATH_RENAMED = f"{JP} for the renamed field (e.g., '/properties/newName' or '/properties/company/properties/newName')" 

7DESC_JSON_POINTER_PATH_FROM = f"{JP} to the field to move (e.g., '/properties/field')" 

8DESC_JSON_POINTER_PATH_TO = f"{JP} where the field should be moved (e.g., '/properties/section/properties/field')" 

9DESC_FIELD_TYPE = f"{JP} type (string, number, integer, boolean, object, array)" 

10DESC_FIELD_SCHEMA = ( 

11 "Additional schema properties (e.g., format, enum, items, properties)" 

12) 

13DESC_DEFAULT_VALUE = "Default value to set in existing documents"