{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-runtime-environment-schema.json",
  "title": "RuntimeEnvironment",
  "description": "Definition of the Runtime Environment type.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-runtimeenvironment-api-openapi.yml#/components/schemas/RuntimeEnvironment",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/RuntimeEnvironmentProperties",
      "description": "Gets or sets the Runtime Environment properties.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/TrackedResource"
    }
  ],
  "$defs": {
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    },
    "RuntimeEnvironmentProperties": {
      "type": "object",
      "description": "Runtime Environment properties.",
      "properties": {
        "runtime": {
          "$ref": "#/$defs/RuntimeProperties",
          "description": "Runtime properties.",
          "x-ms-client-flatten": true
        },
        "defaultPackages": {
          "type": "object",
          "description": "List of Default packages for Environment",
          "additionalProperties": {
            "type": "string"
          }
        },
        "description": {
          "type": "string",
          "description": "Gets or sets the description."
        }
      }
    },
    "RuntimeProperties": {
      "type": "object",
      "description": "Runtime properties.",
      "properties": {
        "language": {
          "type": "string",
          "description": "Language of Runtime Environment"
        },
        "version": {
          "type": "string",
          "description": "Version of Language"
        }
      }
    },
    "TrackedResource": {
      "type": "object",
      "title": "Tracked Resource",
      "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "location"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}