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.0a1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

neon_data_models-0.0.0a1-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

Details for the file neon-data-models-0.0.0a1.tar.gz.

File metadata

  • Download URL: neon-data-models-0.0.0a1.tar.gz
  • Upload date:
  • Size: 11.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.0a1.tar.gz
Algorithm Hash digest
SHA256 eb3c2cad9dbeab62598c5e664391c39f4b03b8d3784407258d0aa725b96050dd
MD5 0fdf58b71d5cae3ec045c1ddfdf85dc0
BLAKE2b-256 dee8852a3bc228bef981e8d2ae22a4c44a426474b0f798c0395d406d18f13dfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for neon_data_models-0.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 aeef3f9aa7253902beb64667b9d4e1ef5a417d82eff6c946f3f3ab292b58bbb5
MD5 1f401336df844d19c40d9ffd1c75eddb
BLAKE2b-256 0a548fbfa4ceeda63273a35b6e4bcff3dcd7cd4b5f7dc7c8e66ae9e13cadec09

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