Pydantic models and associated JSON schema definitions
Project description
Neon Data Models
This repository contains Pydantic models and JSON schemas for common data
structures. The models
module contains Pydantic models, organized by application.
Configuration
To allow passing or handling parameters that are not explicitly defined in the
models provided by this package, the NEON_DATA_MODELS_ALLOW_EXTRA
envvar may
be set to true
. This is generally not necessary and helps to prevent sending
extraneous data, but may help in cases where the server and client are using
different revisions of this package.
Organization
Models are broadly organized into the following categories.
API
These schemas are used in API requests and responses. They are grouped by the applicable API (node, HANA, mq). Use these schemas for sending requests and parsing responses.
Client
These schemas are specific to client applications (i.e. Nodes). Use these schemas for client-specific configuration.
User
These schemas define user-specific data structures. Use these schemas for user-specific configuration.
Messagebus
These schemas define messages sent on the messagebus. Historically, messagebus events have not used any validation, so there is greater risk of Message objects failing validation than other schemas defined here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neon-data-models-0.0.0a2.tar.gz
.
File metadata
- Download URL: neon-data-models-0.0.0a2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6613043749f0513f4ff0bc6ec80fbeeb8f3df0cc4b85c10b5999b1d6ab7e8cd8 |
|
MD5 | 95bcbb7bbb0a1ead91d11eb00107290c |
|
BLAKE2b-256 | e54acdc9b62f3f17210701df1d564e17a7e75d15797487891a530e763c6f8f39 |
File details
Details for the file neon_data_models-0.0.0a2-py3-none-any.whl
.
File metadata
- Download URL: neon_data_models-0.0.0a2-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29e4226bbc749a53c5803045cc753cfae785ad5cf12f4be18047c819a562cfd0 |
|
MD5 | 7aa122a361e85ae040234b679ff3ee1c |
|
BLAKE2b-256 | 1c3892657e115fbb2d141bffad3d02dcc12ea85eaa0b1e85c18e59b53e5fe4d1 |