Heroku · Schema

Addon

Application DeploymentCloud PlatformDevOpsPaaS

Properties

Name Type Description
id string
name string
app object
addon_service object
plan object
provider_id string
state string
config_vars array
billed_price object
web_url string
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

heroku-addon-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Addon",
  "title": "Addon",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "app": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "addon_service": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "plan": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "provider_id": {
      "type": "string"
    },
    "state": {
      "type": "string",
      "enum": [
        "provisioning",
        "provisioned",
        "deprovisioned"
      ]
    },
    "config_vars": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "billed_price": {
      "type": "object",
      "nullable": true,
      "properties": {
        "cents": {
          "type": "integer"
        },
        "contract": {
          "type": "boolean"
        },
        "unit": {
          "type": "string"
        }
      }
    },
    "web_url": {
      "type": "string",
      "format": "uri",
      "nullable": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}