{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-database/json-schema/oracle-database-environment-homes-schema.json",
  "title": "EnvironmentHomes",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-database-environment-api-openapi.yml#/components/schemas/EnvironmentHomes",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EnvironmentHomesItem"
      }
    },
    "hasMore": {
      "type": "boolean",
      "description": "Indicates if there are more records to be retrieved."
    },
    "limit": {
      "type": "integer",
      "description": "The actual page size limit on number of records applied by the server."
    },
    "offset": {
      "type": "integer",
      "description": "The actual index from which the item resources are returned."
    },
    "count": {
      "type": "integer",
      "description": "Total number of records in the current response."
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LinkRelation"
      }
    }
  },
  "$defs": {
    "EnvironmentHomesItem": {
      "type": "object",
      "description": "An Oracle home is a directory into which Oracle software is installed.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the Oracle home."
        },
        "version": {
          "type": "string",
          "description": "The product version."
        },
        "default": {
          "type": "boolean",
          "description": "Indicates if the Oracle home is specified by the $ORACLE_HOME environment variable."
        },
        "read_only_home": {
          "type": "boolean",
          "description": "Indicates if the Oracle home is configured in read only mode."
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LinkRelation"
          }
        }
      }
    },
    "LinkRelation": {
      "type": "object",
      "properties": {
        "rel": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      },
      "required": [
        "rel",
        "href"
      ]
    }
  }
}