Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neon-data-models-0.0.0a2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

neon_data_models-0.0.0a2-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

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

Hashes for neon-data-models-0.0.0a2.tar.gz
Algorithm Hash digest
SHA256 6613043749f0513f4ff0bc6ec80fbeeb8f3df0cc4b85c10b5999b1d6ab7e8cd8
MD5 95bcbb7bbb0a1ead91d11eb00107290c
BLAKE2b-256 e54acdc9b62f3f17210701df1d564e17a7e75d15797487891a530e763c6f8f39

See more details on using hashes here.

File details

Details for the file neon_data_models-0.0.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for neon_data_models-0.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 29e4226bbc749a53c5803045cc753cfae785ad5cf12f4be18047c819a562cfd0
MD5 7aa122a361e85ae040234b679ff3ee1c
BLAKE2b-256 1c3892657e115fbb2d141bffad3d02dcc12ea85eaa0b1e85c18e59b53e5fe4d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page