{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eumetsat/json-schema/eumetsat-resources-cart-item-resource-schema.json",
  "title": "Resources«CartItemResource»",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eumetsat-cart-controller-api-openapi.yml#/components/schemas/Resources_CartItemResource",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CartItemResource"
      }
    },
    "_links": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Link"
      }
    }
  },
  "$defs": {
    "CartItemDto": {
      "type": "object",
      "properties": {
        "downloadUri": {
          "type": "string"
        },
        "fileChecksum": {
          "type": "string"
        },
        "fileName": {
          "type": "string"
        },
        "itemId": {
          "type": "integer",
          "format": "int64"
        },
        "productType": {
          "type": "string"
        },
        "satellite": {
          "type": "string"
        },
        "sensingStart": {
          "type": "string",
          "format": "date-time"
        },
        "sensingStop": {
          "type": "string",
          "format": "date-time"
        }
      },
      "title": "CartItemDto"
    },
    "CartItemResource": {
      "type": "object",
      "properties": {
        "_links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Link"
          }
        },
        "cartItem": {
          "$ref": "#/$defs/CartItemDto"
        }
      },
      "title": "CartItemResource"
    },
    "Link": {
      "type": "object",
      "properties": {
        "deprecation": {
          "type": "string"
        },
        "href": {
          "type": "string"
        },
        "hreflang": {
          "type": "string"
        },
        "media": {
          "type": "string"
        },
        "rel": {
          "type": "string"
        },
        "templated": {
          "type": "boolean"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "title": "Link"
    }
  }
}