Schemas
Our API mostly provides data directly, but some fields provide URL links to larger data files that need to be downloaded seperately. We thus provide those schemas below such that code generation tools can generate code to deal with it easily.
JSON Schemas
Section titled “ JSON Schemas”JSON schemas for validating and documenting our data structures.
Report Schema
v1.0.0
Provides more detailed inforamtion to describe layers with more detail.
Download Schema →GraphQL Schema
Section titled “ GraphQL Schema”Our complete GraphQL API schema with all types, queries, and mutations.
Parquet Schemas
Section titled “ Parquet Schemas”Apache Parquet files for efficient data storage and analytics. We provide JSON schemas that describe the structure and contents of each Parquet file, making it easy to understand the data format before working with the files.
Using the Schemas
Section titled “Using the Schemas”JSON Schemas
Section titled “JSON Schemas”Use JSON schemas to validate data structures in your applications:
# Download a schemacurl https://api.helioadditive.com/schemas/json/material.json -o material-schema.json
# Validate with ajv-clinpm install -g ajv-cliajv validate -s material-schema.json -d your-data.jsonGraphQL Schema
Section titled “GraphQL Schema”Download and use with code generation tools:
# Download the schemacurl https://api.helioadditive.com/graphql/schema -o schema.graphqls
# Generate TypeScript typesnpm run codegenSee our Code Generation guide for detailed instructions.
Parquet Schemas
Section titled “Parquet Schemas”Download the JSON schema to understand the Parquet file structure, then read the data:
# Download the JSON schema describing the Parquet structurecurl https://api.helioadditive.com/schemas/parquet/thermal.json -o thermal-schema.jsonimport pandas as pdimport json
# Review the schema to understand the data structurewith open('thermal-schema.json', 'r') as f: schema = json.load(f) print(json.dumps(schema, indent=2))
# Read Parquet file (obtain from API)df = pd.read_parquet('thermal-data.parquet')print(df.head())Version Information
Section titled “Version Information”All schemas are versioned independently. Check the changelog for updates and breaking changes.
Need Help?
Section titled “Need Help?”If you have questions about using our schemas or need additional formats, please contact us at support@helioadditive.com.