guardian / content-atom   4.0.4

Apache License 2.0 GitHub

Schema for a content atom

Scala versions: 2.13 2.12 2.11 2.10
sbt plugins: 0.13

Content Atom Model Definition

This is the Thrift definition of the Content Atom model, and the published versions of this repository are built from the autogenerated code in various languages.

content-atom-model Scala version support NPM Version

Adding a new atom type

In order for the scala code generated from the thrift definitions to be packaged correctly a scala namespace needs to be included. For example for the chart atom this would be: #@namespace scala

How to make releases (maven and npm):

This repo uses gha-scala-library-release-workflow to automate publishing releases (both full & preview releases) - see Making a Release.