An open API service indexing awesome lists of open source software.

https://github.com/openspending/os-types

OpenSpending Fiscal Data Types
https://github.com/openspending/os-types

Last synced: 6 months ago
JSON representation

OpenSpending Fiscal Data Types

Awesome Lists containing this project

README

          

[![Gitter](https://img.shields.io/gitter/room/openspending/chat.svg)](https://gitter.im/openspending/chat)
[![Travis](https://img.shields.io/travis/openspending/os-types.svg)](https://travis-ci.org/openspending/os-types)
[![NPM](https://img.shields.io/npm/v/os-types.svg)](https://www.npmjs.com/package/os-types)

# Openspending Fiscal Data Types

Used by [os-conductor](https://github.com/openspending/os-conductor) and [os-data-importers](https://github.com/openspending/os-data-importers).

This repository contains:

- The complete list of OS Types, their properties and relationships
- The complete list of descriptions for these types (English only at the moment)
- The logic for converting a list of fields with their types to a full Fiscal Data Package Model
- Logic for validating data against a specific model
- Test suite for making sure everything's working as intended