Housekeeping - JSON Schema Update #9402

Closed
opened 2025-12-29 20:49:21 +01:00 by adam · 0 comments
Owner

Originally created by @danner26 on GitHub (Mar 27, 2024).

Originally assigned to: @danner26 on GitHub.

Proposed Changes

Adding $id and $schema to the devicetype_schema.jinja2 template which is used by manage.py buildschema to generate the generated_schema.json file.

Justification

As discussed within DeviceType-Library PR#2038, jsonschema has deprecated the RefResolver and migrated to the referencing package. The code updates have already been completed within the DT library, we just need to bring them over here now

Originally created by @danner26 on GitHub (Mar 27, 2024). Originally assigned to: @danner26 on GitHub. ### Proposed Changes Adding `$id` and `$schema` to the devicetype_schema.jinja2 template which is used by `manage.py buildschema` to generate the generated_schema.json file. ### Justification As discussed within [DeviceType-Library PR#2038](https://github.com/netbox-community/devicetype-library/pull/2038), jsonschema has deprecated the RefResolver and migrated to the referencing package. The code updates have already been completed within the DT library, we just need to bring them over here now
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:49:21 +01:00
adam closed this issue 2025-12-29 20:49:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9402