{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rackspace-technology/json-schema/rackspace-technology-product-list-schema.json",
  "title": "ProductList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rackspace-technology-products-api-openapi.yml#/components/schemas/ProductList",
  "type": "object",
  "properties": {
    "products": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Product"
      }
    },
    "links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      }
    }
  },
  "$defs": {
    "Link": {
      "title": "Link",
      "type": "object",
      "properties": {
        "rel": {
          "type": "string"
        },
        "href": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "Product": {
      "title": "Product",
      "type": "object",
      "properties": {
        "productCode": {
          "type": "string"
        },
        "productVersion": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "offeringCode": {
          "type": "string"
        },
        "offeringVersion": {
          "type": "integer"
        },
        "status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE"
          ]
        },
        "unitOfMeasure": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "listPrice": {
          "type": "number",
          "format": "float"
        }
      }
    }
  }
}