Default schema v2 (and linked_schemas
field improvement)
#38
Replies: 6 comments
-
New modifications for the property names regex: Changes:
|
Beta Was this translation helpful? Give feedback.
-
https://regex101.com/r/bw1eF2/2 This tightens up the Implementing this change means that the old |
Beta Was this translation helpful? Give feedback.
-
Semver major, minor and patch version numbers can each be multiple characters (eg v11.9.10), so I think there should be a |
Beta Was this translation helpful? Give feedback.
-
Good point. Updated: |
Beta Was this translation helpful? Give feedback.
-
We moved validation logic of indexed fields out of the code base and into JSON Schema in the default schema, as documented in this issue: MurmurationsNetwork/MurmurationsServices#827 |
Beta Was this translation helpful? Give feedback.
-
And we added a new field to the default schema that controls the automatic deletion of a profile when it reaches a specific date/time: MurmurationsNetwork/MurmurationsServices#829 |
Beta Was this translation helpful? Give feedback.
-
The default schema is what is initially used by the Index to confirm a profile has at least one schema against which the profile will be validated.
Version 2 of the default schema was introduced in this commit:
https://github.com/MurmurationsNetwork/MurmurationsLibrary/blob/2c4216b7aecb26c791623f61a6f19c7dacd9b692/schemas/default-v2.0.0.json
The regex has been improved to ensure lowercase text and to avoid any property names starting with a number:
https://regex101.com/r/1ecQoV/3
Beta Was this translation helpful? Give feedback.
All reactions