maas-schemas

environments Schema

http://maasglobal.com/environments/environments.json

The base environments object with several environment groups and related meta data

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Develop No Forbidden Forbidden environments/environments.json

environments Example

{
  "index": [
    {
      "name": "Core Environments",
      "envs": [
        {
          "id": "production",
          "api": "https://production.example.com/api/",
          "live": true,
          "contact": {
            "name": "Alisha Admin",
            "email": "admin@example.com"
          },
          "description": "Production environment"
        },
        {
          "id": "testing",
          "api": "https://testing.example.com/api/",
          "live": false,
          "contact": {
            "name": "Alisha Admin"
          },
          "description": "Testing environment"
        }
      ]
    },
    {
      "name": "Development Environments",
      "envs": [
        {
          "id": "fantasy-topping",
          "api": "https://fantasy-topping.example.com/api/",
          "live": false,
          "contact": {
            "name": "Dennis Developer"
          },
          "name": "Fantasy Topping",
          "description": "Add support for pizza customization"
        }
      ]
    }
  ]
}

environments Definitions

Property Type Group
api environmentUrl http://maasglobal.com/environments/environments.json#/definitions/environment
contact developer http://maasglobal.com/environments/environments.json#/definitions/environment
description environmentGroupDescription http://maasglobal.com/environments/environments.json#/definitions/environmentGroup
email email http://maasglobal.com/environments/environments.json#/definitions/developer
envs environment http://maasglobal.com/environments/environments.json#/definitions/environmentGroup
id environmentId http://maasglobal.com/environments/environments.json#/definitions/environment
live environmentLive http://maasglobal.com/environments/environments.json#/definitions/environment
name environmentGroupName http://maasglobal.com/environments/environments.json#/definitions/environmentGroup

api

api

api Type

contact

contact

contact Type

description

description

description Type

email

email

email Type

envs

envs

envs Type

Array type: environment

All items must be of the type:

id

id

id Type

live

live

live Type

name

name

name Type

environments Properties

Property Type Required Nullable Defined by
index environmentGroup Required No environments (this schema)

index

index

index Type

Array type: environmentGroup

All items must be of the type: