Skip to main content

Nimbus Schemas

This directory contains a package of schemas published to various repositories for use by different parts of the Mozilla Nimbus experimentation ecosystem.

Installation/Usage

Prerequisites

  • python ^3.11
  • poetry ^1.2.2
  • node ^16
  • yarn ^1.22

Common Operations

From project root (i.e., parent to this directory)

  • Build: make schemas_build
  • Run linting and tests: make schemas_check
  • Code formatting: make schemas_format

Building Python Schemas Package

make schemas_build_pypi

Building Typescript Schemas Package

make schemas_build_npm

Schemas

Jetstream

Contains schemas describing analysis results, metadata, and errors from Jetstream.

Deployment

The build and deployment occurs automatically through CI. A deployment is triggered on merges into the main branch when the version number changes. Schemas are published to various repos for access in different languages.

Versioning

mozilla-nimbus-schemas uses a date-based versioning scheme (CalVer). The format is yyyy.m.MINOR, where m is the non-zero-padded month, and MINOR is an incrementing number starting from 1 for each month. Notably, this MINOR number does NOT correspond to the day of the month. For example, the second release in June of 2023 would have a version of 2023.6.2.

Version Updates

  1. To update the published package versions, update the VERSION file in this directory.
  • From the project root, you can run the helper script:
    • ./scripts/set_schemas_version.sh <version>
  • Or write to the file:
    • echo <version> > ./schemas/VERSION
  • Or simply edit the file in any text editor.
  1. Update the package versions with the new VERSION file:
  • make schemas_version

Python

Published to PyPI as mozilla-nimbus-schemas

Typescript

Published to NPM as @mozilla/nimbus-schemas

Rust

Not yet implemented.

Download files

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

Source Distribution

mozilla_nimbus_schemas-2024.1.1.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mozilla_nimbus_schemas-2024.1.1-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file mozilla_nimbus_schemas-2024.1.1.tar.gz.

File metadata

File hashes

Hashes for mozilla_nimbus_schemas-2024.1.1.tar.gz
Algorithm Hash digest
SHA256 a7be63216187d73ed03decb238fbd54ee49a798ae9b8b0ff08dc58f49dd1ad31
MD5 b3fee7cecfcca2979bde3c0dacd0db8a
BLAKE2b-256 70fe046c245e47d90d29ba1aae3a5cb2330b19f1f3dc4952bb289cfebaa3f3df

See more details on using hashes here.

File details

Details for the file mozilla_nimbus_schemas-2024.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mozilla_nimbus_schemas-2024.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f753b46562e987988e6e4a9d77c192d49347c76e168299793735d5e561d51044
MD5 d95b8aadfd188dfe239c8c4fc09bc977
BLAKE2b-256 611a9d0f10ee8f3b340814f1c6f2f68d190fe39801911840422cbc47d102a4cb

See more details on using hashes here.

Supported by

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