{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ping-identity/main/json-schema/ping-identity-com-pingidentity-pingone-orgmgt-environments-bom-api-model-replace-bill-of-materials-schema.json",
  "title": "Environment Bill of Materials Replace Request",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ping-identity-environments-api-openapi.yml#/components/schemas/com.pingidentity.pingone.orgmgt.environments.bom.api.model.ReplaceBillOfMaterials",
  "type": "object",
  "properties": {
    "products": {
      "maxItems": 100,
      "minItems": 0,
      "type": "array",
      "items": {
        "$ref": "#/$defs/com.pingidentity.pingone.orgmgt.environments.bom.api.model.Product"
      },
      "title": "Environment Bill of Materials Replace Request Products"
    }
  },
  "required": [
    "products"
  ],
  "$defs": {
    "com.pingidentity.api.Relationship.PingOne.RO": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true,
          "minLength": 1,
          "title": "Resource Relationship Read-Only Id"
        }
      },
      "required": [
        "id"
      ],
      "title": "Resource Relationship Read-Only"
    },
    "com.pingidentity.api.Relationship.lang.String": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true,
          "title": "Resource Relationship Generic Id"
        }
      },
      "title": "Resource Relationship Generic"
    },
    "com.pingidentity.pingone.orgmgt.environments.bom.api.model.Bookmark": {
      "type": "object",
      "properties": {
        "href": {
          "maxLength": 1024,
          "minLength": 1,
          "type": "string",
          "title": "Environment Bill of Materials Product Bookmark Href"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "title": "Environment Bill of Materials Product Bookmark Name"
        }
      },
      "required": [
        "href",
        "name"
      ],
      "title": "Environment Bill of Materials Product Bookmark"
    },
    "com.pingidentity.pingone.orgmgt.environments.bom.api.model.Console": {
      "type": "object",
      "properties": {
        "href": {
          "maxLength": 1024,
          "minLength": 1,
          "type": "string",
          "title": "Environment Bill of Materials Product Console Href"
        }
      },
      "required": [],
      "title": "Environment Bill of Materials Product Console"
    },
    "com.pingidentity.pingone.orgmgt.environments.bom.api.model.Product": {
      "required": [
        "type"
      ],
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "IDENTITY_CLOUD",
            "PING_ACCESS",
            "PING_AUTHORIZE",
            "PING_CENTRAL",
            "PING_DATA_GOVERNANCE",
            "PING_DATA_SYNC",
            "PING_DIRECTORY",
            "PING_FEDERATE",
            "PING_ID",
            "PING_ID_SDK",
            "PING_INTELLIGENCE",
            "PING_ONE_AUTHORIZE",
            "PING_ONE_BASE",
            "PING_ONE_CREDENTIALS",
            "PING_ONE_DAVINCI",
            "PING_ONE_FOR_ENTERPRISE",
            "PING_ONE_FOR_SAAS",
            "PING_ONE_FRAUD",
            "PING_ONE_ID",
            "PING_ONE_LEGACY",
            "PING_ONE_MFA",
            "PING_ONE_ORCHESTRATE",
            "PING_ONE_PROVISIONING",
            "PING_ONE_RISK",
            "PING_ONE_VERIFY"
          ],
          "minLength": 1,
          "title": "Environment Bill of Materials Product Type"
        },
        "bookmarks": {
          "maxItems": 5,
          "minItems": 0,
          "type": "array",
          "items": {
            "$ref": "#/$defs/com.pingidentity.pingone.orgmgt.environments.bom.api.model.Bookmark"
          },
          "title": "Environment Bill of Materials Product Bookmarks"
        },
        "console": {
          "$ref": "#/$defs/com.pingidentity.pingone.orgmgt.environments.bom.api.model.Console"
        },
        "deployment": {
          "$ref": "#/$defs/com.pingidentity.api.Relationship.PingOne.RO"
        },
        "description": {
          "type": "string",
          "title": "Environment Bill of Materials Product Description"
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true,
          "title": "Environment Bill of Materials Product Id",
          "minLength": 1
        },
        "softwareLicense": {
          "$ref": "#/$defs/com.pingidentity.api.Relationship.lang.String"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string",
            "title": "Environment Bill of Materials Product Tag"
          },
          "title": "Environment Bill of Materials Product Tags"
        }
      },
      "title": "Environment Bill of Materials Product"
    }
  }
}