Datenschemas für Store-ProdukteData schemas for Store products

Wenn Sie ein Produkt, z. b. eine APP oder ein Add-on, an den Store übermitteln, verwaltet der Store einen umfassenden Satz von Daten für das Produkt und seine Lizenzen.When you submit a product such as an app or add-on to the Store, the Store maintains a comprehensive set of data for the product and its licenses. Im Code Ihrer APP können Sie Programm gesteuert auf einige dieser Daten zugreifen, indem Sie die Eigenschaften im Windows. Services. Store -Namespace verwenden.In your app's code, you can programmatically access some of this data by using properties in the Windows.Services.Store namespace. Beispielsweise können Sie die Beschreibung und den Preis der aktuellen APP oder ein Add-on für die aktuelle App mithilfe der Eigenschaften storeproduct. Description und storeproduct. Price abrufen.For example, you can retrieve the description and price of the current app or an add-on for the current app by using the StoreProduct.Description and StoreProduct.Price properties.

Ein Großteil der Daten für Produkte im Speicher wird jedoch nicht durch vordefinierte Eigenschaften im Windows. Services. Store -Namespace verfügbar gemacht.However, much of the data for products in the Store is not exposed by predefined properties in the Windows.Services.Store namespace. Für den Zugriff auf die vollständigen Daten für ein Produkt in Ihrem Code können Sie stattdessen die folgenden allgemeinen Eigenschaften verwenden:To access the complete data for a product in your code, you can use the following general properties instead:

Diese Eigenschaften geben die gesamten Daten für das entsprechende Objekt als JSON-formatierte Zeichenfolge zurück.These properties return the complete data for the corresponding object as a JSON-formatted string. Dieser Artikel enthält das komplette Schema für die Daten, die von diesen Eigenschaften zurückgegeben werden.This article provides the complete schema for the data returned by these properties.

Hinweis

Produkte im Geschäft sind in einer Hierarchie von Produkt-, SKU-und Verfügbarkeits Objekten organisiert.Products in the Store are organized in a hierarchy of product, SKU, and availability objects. Weitere Informationen finden Sie unter Produkte, SKUs und Verfügbarkeit.For more information, see Products, SKUs, and availabilities.

Schema für storeproduct, storesku, storeavailability und storecollectiondataSchema for StoreProduct, StoreSku, StoreAvailability, and StoreCollectionData

Im folgenden Schema wird die JSON-formatierte Zeichenfolge beschrieben, die von storeproduct. extendedjsondatazurückgegeben wurde.The following schema describes the JSON-formatted string returned by StoreProduct.ExtendedJsonData. Die Eigenschaften storesku. extendedjsondata, storeavailability. extendedjsondataund storecollectiondata. extendedjsondata geben nur die Teile des Schemas zurück, die jeweils unter den DisplaySkuAvailabilities\Sku Pfaden, und definiert sind DisplaySkuAvailabilities\Availabilities DisplaySkuAvailabilities\Sku\CollectionData .The StoreSku.ExtendedJsonData, StoreAvailability.ExtendedJsonData, and StoreCollectionData.ExtendedJsonData properties return only the portions of the schema that are defined under the DisplaySkuAvailabilities\Sku, DisplaySkuAvailabilities\Availabilities, and DisplaySkuAvailabilities\Sku\CollectionData paths, respectively.

Ein Beispiel für eine JSON-formatierte Zeichenfolge, die von storeproduct. extendedjsondatazurückgegeben wurde, finden Sie in diesem Abschnitt.For an example of a JSON-formatted string returned by StoreProduct.ExtendedJsonData, see this section.

{
  "type": "object",
  "properties": {
    "ProductId": {
      "type": "string",
      "pattern": "^[0-9A-Z]{12}$"
    },
    "ProductKind": {
      "type": "string"
    },
    "LocalizedProperties": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1,
      "items": {
        "type": "object",
        "properties": {
          "DeveloperName": {
            "type": [ "string", "null" ]
          },
          "PublisherName": {
            "type": [ "string", "null" ]
          },
          "PublisherWebsiteUri": {
            "type": [ "string", "null" ]
          },
          "SupportUri": {
            "type": [ "string", "null" ]
          },
          "EligibilityProperties": {
            "type": [ "object", "null" ],
            "properties": {
              "Affirmations": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/affirmationDescription"
                }
              },
              "Remediations": {
                "type": "array",
                "items": {
                  "$ref": "#/definitions/remediationDescription"
                }
              }
            },
            "additionalProperties": false
          },
          "ProductTitle": {
            "type": "string"
          },
          "ProductDescription": {
            "type": [ "string", "null" ]
          },
          "Language": {
            "type": "string"
          },
          "Images": {
            "type": [ "array", "null" ],
            "items": {
              "$ref": "#/definitions/image"
            }
          },
          "Videos": {
            "type": [ "array", "null" ],
            "items": {
              "$ref": "#/definitions/video"
            }
          },
          "SearchTitles": {
            "type": [ "array", "null" ],
            "items": {
              "type": "object",
              "properties": {
                "SearchTitleType": {
                  "type": "string"
                },
                "SearchTitleString": {
                  "type": "string"
                }
              },
              "required": [
                "SearchTitleType",
                "SearchTitleString"
              ]
            }
          }
        },
        "required": [
          "ProductTitle",
          "Language"
        ],
        "additionalProperties": false
      }
    },
    "MarketProperties": {
      "type": [ "array", "null" ],
      "minItems": 0,
      "maxItems": 1,
      "items": {
        "type": "object",
        "properties": {
          "RelatedProducts": {
            "type": [ "array", "null" ],
            "items": {
              "type": "object",
              "properties": {
                "RelationshipType": {
                  "type": "string"
                },
                "RelatedProductId": {
                  "type": "string",
                  "pattern": "^[0-9A-Z]{12}$"
                }
              },
              "required": [
                "RelationshipType",
                "RelatedProductId"
              ]
            }
          }
        },
        "additionalProperties": false
      }
    },
    "Properties": {
      "type": [ "object", "null" ],
      "properties": {
        "InAppOfferToken": {
          "type": "string"
        },
        "PackageFamilyName": {
          "type": [
            "string",
            "null"
          ]
        },
        "Category": {
          "type": "string"
        },
        "IsAwardable": {
          "type": "boolean"
        },
        "IsColorizable": {
          "type": "boolean"
        },
        "Is3DExportable": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "DisplaySkuAvailabilities": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/definitions/sku"
      }
    }
  },
  "required": [
    "ProductId",
    "ProductKind",
    "LocalizedProperties",
    "DisplaySkuAvailabilities"
  ],
  "format": "Product",
  "definitions": {
    "sku": {
      "type": "object",
      "properties": {
        "Sku": {
          "type": "object",
          "properties": {
            "SkuId": {
              "type": "string",
              "pattern": "^[0-9A-Z]{4}$"
            },
            "Properties": {
              "type": "object",
              "properties": {
                "FulfillmentType": {
                  "type": [ "string", "null" ]
                },
                "CustomDeveloperData": {
                  "type": [ "string", "null" ]
                },
                "IsTrial": {
                  "type": [ "boolean", "null" ]
                },
                "SkuDisplayRank": {
                  "type": [ "integer", "null" ]
                },
                "BundledSkus": {
                  "type": [ "array", "null" ],
                  "items": {
                    "type": "object",
                    "properties": {
                      "BigId": {
                        "type": "string",
                        "pattern": "^[0-9A-Z]{12}(?:/[0-9A-Z]{4})?$"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "ConsumableQuantity": {
                  "type": "integer",
                  "minimum": 1,
                  "format": "ConsumableQuantity"
                },
                "IsRepurchasable": {
                  "type": "boolean"
                },
                "Packages": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "PackageUri": {
                        "type": "string"
                      }
                    },
                    "required": [ "PackageUri" ],
                    "additionalProperties": false
                  }
                }
              },
              "additionalProperties": false,
              "format": "SkuProperties"
            },
            "LocalizedProperties": {
              "type": "array",
              "minItems": 0,
              "maxItems": 1,
              "items": {
                "type": "object",
                "properties": {
                  "SkuTitle": {
                    "type": [ "string", "null" ]
                  },
                  "SkuDescription": {
                    "type": [ "string", "null" ]
                  },
                  "SkuButtonTitle": {
                    "type": [ "string", "null" ]
                  },
                  "Language": {
                    "type": "string"
                  },
                  "Images": {
                    "type": [ "array", "null" ],
                    "items": {
                      "$ref": "#/definitions/image"
                    }
                  },
                  "Videos": {
                    "type": [ "array", "null" ],
                    "items": {
                      "$ref": "#/definitions/video"
                    }
                  },
                  "LegalText": {
                    "type": [ "object", "null" ],
                    "properties": {
                      "Tou": {
                        "type": [ "string", "null" ]
                      },
                      "TouUri": {
                        "type": [ "string", "null" ]
                      },
                      "Copyright": {
                        "type": [ "string", "null" ]
                      },
                      "CopyrightUri": {
                        "type": [ "string", "null" ]
                      },
                      "PrivacyPolicy": {
                        "type": [ "string", "null" ]
                      },
                      "PrivacyPolicyUri": {
                        "type": [ "string", "null" ]
                      },
                      "AdditionalLicenseTerms": {
                        "type": [ "string", "null" ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "SkuDisplayRank": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "Dimension": {
                          "type": "string"
                        },
                        "Rank": {
                          "type": "integer"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "Language"
                ],
                "additionalProperties": false
              }
            },
            "RecurrencePolicy": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "InitialDuration": {
                  "$ref": "#/definitions/duration"
                },
                "Duration": {
                  "$ref": "#/definitions/duration"
                },
                "IsRecurring": {
                  "type": [ "boolean", "null" ]
                },
                "HasTrial": {
                  "type": [ "boolean", "null" ]
                }
              },
              "required": [ "InitialDuration", "Duration" ],
              "additionalProperties": false
            },
            "CollectionData": {
              "$ref": "#/definitions/collectionData"
            }
          },
          "required": [
            "SkuId",
            "Properties",
            "LocalizedProperties"
          ],
          "additionalProperties": false
        },
        "Availabilities": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "#/definitions/availability"
          }
        }
      },
      "format": "SKU",
      "required": [
        "Sku",
        "Availabilities"
      ],
      "additionalProperties": false
    },
    "availability": {
      "type": "object",
      "properties": {
        "Conditions": {
          "type": "object",
          "properties": {
            "EndDate": {
              "type": "string",
              "pattern": "^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?$"
            }
          },
          "required": [ "EndDate" ],
          "additionalProperties": false
        },
        "OrderManagementData": {
          "type": [ "object", "null" ],
          "properties": {
            "Price": {
              "type": "object",
              "properties": {
                "ListPrice": {
                  "type": "number"
                },
                "CurrencyCode": {
                  "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XFU", "XOF", "XPD", "XPF", "XPT", "XSU", "XTS", "XUA", "XXX", "YER", "ZAR", "ZMW" ]
                },
                "MSRP": {
                  "type": "number"
                },
                "RecurrencePrice": {
                  "type": [ "number", "null" ]
                }
              },
              "required": [
                "ListPrice",
                "CurrencyCode",
                "MSRP"
              ],
              "additionalProperties": false
            }
          },
          "required": [ "Price" ],
          "additionalProperties": false
        },
        "AvailabilityId": {
          "type": "string",
          "pattern": "^[0-9A-Z]{12}$"
        },
        "DisplayRank": {
          "type": "integer"
        },
        "RemediationRequired": {
          "type": "boolean"
        },
        "Remediations": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/remediation"
          }
        },
        "AffirmationId": {
          "type": "string"
        },
        "Actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "format": "Availability",
      "required": [
        "Conditions",
        "AvailabilityId",
        "DisplayRank",
        "Actions"
      ],
      "additionalProperties": false
    },
    "duration": {
      "type": "object",
      "properties": {
        "UnitType": {
          "enum": [ "Year", "Month", "Week", "Day", "Hour", "Minute" ]
        },
        "Units": {
          "type": "integer"
        }
      },
      "format": "Duration",
      "required": [ "Units" ],
      "additionalProperties": false
    },
    "collectionData": {
      "type": "object",
      "properties": {
        "productId": {
          "type": "string",
          "pattern": "^[0-9A-Z]{12}$"
        },
        "skuId": {
          "type": "string",
          "pattern": "^[0-9A-Z]{4}$"
        },
        "isTrial": {
          "type": [ "boolean", "null" ]
        },
        "campaignId": {
          "type": [ "string", "null" ]
        },
        "devOfferId": {
          "type": [ "string", "null" ]
        },
        "acquiredDate": {
          "type": "string",
          "pattern": "^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?$"
        },
        "endDate": {
          "type": "string",
          "pattern": "^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?$"
        },
        "startDate": {
          "type": "string",
          "pattern": "^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?$"
        },
        "modifiedDate": {
          "type": "string",
          "pattern": "^\\d{4}-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d(\\.\\d+)?(([+-]\\d\\d:\\d\\d)|Z)?$"
        },
        "autoRenew": {
          "type": "boolean"
        },
        "additionalIds": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "fulfillmentData": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "inAppOfferToken": {
          "type": "string"
        },
        "isCacheable": {
          "type": "boolean"
        },
        "itemId": {
          "type": "string"
        },
        "localTicketReference": {
          "type": "string"
        },
        "musicTracksInfo": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "orderId": {
          "type": "string",
          "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}?$"
        },
        "orderLineItemId": {
          "type": "string",
          "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}?$"
        },
        "ownershipType": {
          "type": "string"
        },
        "productFamily": {
          "type": "string"
        },
        "productKind": {
          "type": "string"
        },
        "productTitleId": {
          "type": "string"
        },
        "purchasedCountry": {
          "type": "string"
        },
        "quantity": {
          "type": "integer"
        },
        "skuType": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "transactionId": {
          "type": "string",
          "pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}?$"
        }
      },
      "required": [
        "acquiredDate",
        "autoRenew",
        "additionalIds",
        "endDate",
        "fulfillmentData",
        "isCacheable",
        "itemId",
        "localTicketReference",
        "modifiedDate",
        "musicTracksInfo",
        "orderId",
        "orderLineItemId",
        "ownershipType",
        "productFamily",
        "productId",
        "productKind",
        "productTitleId",
        "purchasedCountry",
        "skuId",
        "skuType",
        "startDate",
        "status",
        "tags",
        "transactionId"
      ],
      "additionalProperties": false
    },
    "video": {
      "properties": {
        "Uri": {
          "type": "string"
        },
        "BackgroundColor": {
          "type": [
            "string",
            "null"
          ]
        },
        "ForegroundColor": {
          "type": [
            "string",
            "null"
          ]
        },
        "Caption": {
          "type": [
            "string",
            "null"
          ]
        },
        "Width": {
          "type": "integer"
        },
        "Height": {
          "type": "integer"
        },
        "VideoPurpose": {
          "type": [ "string", "null" ]
        },
        "PreviewImage": {
          "$ref": "#/definitions/image"
        }
      },
      "required": [
        "Uri",
        "Width",
        "Height"
      ],
      "additionalProperties": false
    },
    "image": {
      "properties": {
        "Uri": {
          "type": "string"
        },
        "ImagePurpose": {
          "type": [
            "string",
            "null"
          ]
        },
        "BackgroundColor": {
          "type": [
            "string",
            "null"
          ]
        },
        "ForegroundColor": {
          "type": [
            "string",
            "null"
          ]
        },
        "Caption": {
          "type": [
            "string",
            "null"
          ]
        },
        "Width": {
          "type": "integer"
        },
        "Height": {
          "type": "integer"
        }
      },
      "required": [
        "Uri",
        "Width",
        "Height"
      ],
      "additionalProperties": false
    },
    "remediationDescription": {
      "type": "object",
      "properties": {
        "RemediationId": {
          "type": "string"
        },
        "Description": {
          "type": "string"
        }
      },
      "required": [ "RemediationId", "Description" ],
      "additionalProperties": false
    },
    "remediation": {
      "type": "object",
      "properties": {
        "RemediationId": {
          "type": "string"
        },
        "Url": {
          "type": "string"
        },
        "BigId": {
          "type": "string",
          "pattern": "^[0-9A-Z]{12}(?:/[0-9A-Z]{4})?$"
        }
      },
      "required": [
        "RemediationId"
      ],
      "additionalProperties": false
    },
    "affirmationDescription": {
      "type": "object",
      "properties": {
        "AffirmationId": {
          "type": "string"
        },
        "AffirmationProductId": {
          "type": [ "string", "null" ],
          "pattern": "^[0-9A-Z]{12}$"
        },
        "Description": {
          "type": "string"
        }
      },
      "required": [ "AffirmationId", "Description" ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}

BeispielExample

Das folgende Beispiel zeigt eine JSON-formatierte Zeichenfolge, die von der storeproduct. extendedjsondata -Eigenschaft für die-APP zurückgegeben wird.The following example demonstrates a JSON-formatted string returned by the StoreProduct.ExtendedJsonData property for app.

{
  "LocalizedProperties": [
    {
      "DeveloperName": "Contoso developer",
      "PublisherName": "Contoso",
      "PublisherWebsiteUri": "http://www.contoso.com",
      "SupportUri": "mailto:support@contoso.com",
      "EligibilityProperties": null,
      "Images": [
        {
          "BackgroundColor": "transparent",
          "Caption": "",
          "ForegroundColor": "",
          "Height": 300,
          "ImagePurpose": "tile",
          "Uri": "//store-images.s-contoso.com/image/apps.40735.14525693010133175.0aff34d4-9b25-4671-b5fc-0d13efd28147.c23ea293-a138-42a0-a615-d03c41409169",
          "Width": 300
        },
        {
          "BackgroundColor": "transparent",
          "Caption": "",
          "ForegroundColor": "",
          "Height": 88,
          "ImagePurpose": "tile",
          "Uri": "//store-images.s-contoso.com/image/apps.25013.14525693010133175.40f2a63d-463b-49f6-8953-b2d9cc4abeba.baa4030d-5d37-4965-8039-72158df22c42",
          "Width": 88
        },
        {
          "BackgroundColor": "transparent",
          "Caption": "",
          "ForegroundColor": "",
          "Height": 300,
          "ImagePurpose": "tile",
          "Uri": "//store-images.s-contoso.com/image/apps.61404.14525693010133175.b9fde0dd-bab8-49a1-acfb-35d897b02bda.c0a07eff-ce1b-47c8-a4b5-5c83337911f9",
          "Width": 620
        },
        {
          "BackgroundColor": "transparent",
          "Caption": "",
          "ForegroundColor": "",
          "Height": 50,
          "ImagePurpose": "logo",
          "Uri": "//store-images.s-contoso.com/image/apps.53845.14525693010133175.f907b7fa-6bd3-4d9e-af7d-33f19e170d33.07b372ce-4514-4f71-832f-745cad63c78e",
          "Width": 50
        },
        {
          "BackgroundColor": "transparent",
          "Caption": "",
          "ForegroundColor": "",
          "Height": 300,
          "ImagePurpose": "Logo",
          "Uri": "//store-images.s-contoso.com/image/apps.27529.14525693010133175.f7574c79-bdda-4684-9929-25f7e1d370b7.a16a54ee-c3b1-4311-9d36-5fee7ac23639",
          "Width": 300
        },
        {
          "BackgroundColor": "transparent",
          "Caption": "",
          "ForegroundColor": "",
          "Height": 768,
          "ImagePurpose": "Screenshot",
          "Uri": "//store-images.s-contoso.com/image/apps.39690.14525693010133175.47a548ec-c651-4b73-b937-7953a8714ddd.b2724431-1470-419e-aa4b-74830aba9e1b",
          "Width": 1366
        }
      ],
      "Videos": [],
      "ProductDescription": "This is a sample app for developement tasks",
      "ProductTitle": "Contoso Sample App",
      "SearchTitles": [],
      "Language": "en-us"
    }
  ],
  "MarketProperties": [
    {
      "RelatedProducts": []
    }
  ],
  "ProductId": "9NBLGGH4R315",
  "Properties": {
    "PackageFamilyName": "30321Contoso.ContosoSampleApp_sv9ybgxvtektj"
  },
  "ProductKind": "Application",
  "DisplaySkuAvailabilities": [
    {
      "Sku": {
        "LocalizedProperties": [
          {
            "LegalText": {
              "Copyright": "",
              "CopyrightUri": "",
              "PrivacyPolicy": "",
              "PrivacyPolicyUri": "",
              "Tou": "",
              "TouUri": ""
            },
            "SkuDescription": "This is a sample app for developement tasks",
            "SkuTitle": "Contoso Sample App",
            "SkuDisplayRank": [],
            "Language": "en-us"
          }
        ],
        "Properties": {
          "FulfillmentType": "WindowsUpdate",
          "BundledSkus": [],
          "IsRepurchasable": false,
          "IsTrial": false
        },
        "SkuId": "0010",
        "RecurrencePolicy": null,
        "CollectionData": {
          "acquiredDate": "2017-02-27T13:34:57.6680551-08:00",
          "additionalIds": [],
          "beneficiary": {
            "identityType": "msa",
            "identityValue": "949157616400113"
          },
          "endDate": "9999-12-31T15:59:59.9999999-08:00",
          "fulfillmentData": [],
          "isCacheable": true,
          "itemId": "0ae08fb4326a413a890c957b52aeda88",
          "localTicketReference": "0",
          "modifiedDate": "2017-02-27T13:34:57.6616413-08:00",
          "musicTracksInfo": [],
          "orderId": "9c54da93-5b1d-4afe-ac45-dd0c19bb3e8f",
          "orderLineItemId": "88043dae-9cca-4497-aaac-e85f6cf018aa",
          "ownershipType": "OwnedByBeneficiary",
          "productFamily": "Apps",
          "productId": "9NBLGGH4R315",
          "productKind": "Application",
          "productTitleId": "-129071",
          "purchasedCountry": "US",
          "purchaser": {
            "identityType": "msa",
            "identityValue": "985157600400620"
          },
          "quantity": 1,
          "skuId": "0010",
          "skuType": "Full",
          "startDate": "2017-02-27T13:19:57.6680551-08:00",
          "status": "Active",
          "tags": [],
          "transactionId": "9c54da93-5b1d-4afe-ac45-dd0c19bb3e8f"
        }
      },
      "Availabilities": [
        {
          "Actions": [
            "Details",
            "Fulfill",
            "License",
            "Purchase",
            "Redeem"
          ],
          "AvailabilityId": "9XJKQMZ5M9NX",
          "Conditions": {
            "EndDate": "9998-12-30T00:00:00Z"
          },
          "OrderManagementData": {
            "Price": {
              "CurrencyCode": "USD",
              "ListPrice": 0,
              "MSRP": 0
            }
          },
          "DisplayRank": 0,
          "RemediationRequired": false
        }
      ]
    },
    {
      "Sku": {
        "LocalizedProperties": [
          {
            "LegalText": {
              "Copyright": "",
              "CopyrightUri": "",
              "PrivacyPolicy": "",
              "PrivacyPolicyUri": "",
              "Tou": "",
              "TouUri": ""
            },
            "SkuDescription": "This is a sample app for developement tasks",
            "SkuTitle": "Contoso Sample App",
            "SkuDisplayRank": [],
            "Language": "en-us"
          }
        ],
        "Properties": {
          "FulfillmentType": "WindowsUpdate",
          "BundledSkus": [],
          "IsRepurchasable": false,
          "IsTrial": false
        },
        "SkuId": "0017",
        "RecurrencePolicy": null
      },
      "Availabilities": [
        {
          "Actions": [
            "Details"
          ],
          "AvailabilityId": "9ZFNZ00M33HF",
          "Conditions": {
            "EndDate": "9998-12-30T00:00:00Z"
          },
          "OrderManagementData": {
            "Price": {
              "CurrencyCode": "USD",
              "ListPrice": 0,
              "MSRP": 0
            }
          },
          "DisplayRank": 0,
          "RemediationRequired": false
        }
      ]
    },
    {
      "Sku": {
        "LocalizedProperties": [
          {
            "LegalText": {
              "Copyright": "",
              "CopyrightUri": "",
              "PrivacyPolicy": "",
              "PrivacyPolicyUri": "",
              "Tou": "",
              "TouUri": ""
            },
            "SkuDescription": "This is a sample app for developement tasks",
            "SkuTitle": "Contoso Sample App",
            "SkuDisplayRank": [],
            "Language": "en-us"
          }
        ],
        "Properties": {
          "FulfillmentType": "WindowsUpdate",
          "BundledSkus": [],
          "IsRepurchasable": false,
          "IsTrial": true
        },
        "SkuId": "0011",
        "RecurrencePolicy": null
      },
      "Availabilities": [
        {
          "Actions": [
            "Details",
            "License",
            "Fulfill"
          ],
          "AvailabilityId": "9QVHW1D0B4QB",
          "Conditions": {
            "EndDate": "9998-12-30T00:00:00Z"
          },
          "OrderManagementData": {
            "Price": {
              "CurrencyCode": "USD",
              "ListPrice": 0,
              "MSRP": 0
            }
          },
          "DisplayRank": 0,
          "RemediationRequired": false
        }
      ]
    }
  ]
}

Schema für storeapplicense und storelicenseSchema for StoreAppLicense and StoreLicense

Im folgenden Schema wird die JSON-formatierte Zeichenfolge beschrieben, die von storeapplicense. extendedjsondatazurückgegeben wurde.The following schema describes the JSON-formatted string returned by StoreAppLicense.ExtendedJsonData. Die storelicense. extendedjsondata -Eigenschaft gibt nur die Teile des Schemas zurück, die unter dem Pfad definiert sind productAddOns .The StoreLicense.ExtendedJsonData property returns only the portions of the schema that are defined under the productAddOns path.

Ein Beispiel für eine JSON-formatierte Zeichenfolge, die von storeapplicense. extendedjsondatazurückgegeben wurde, finden Sie in diesem Abschnitt.For an example of a JSON-formatted string returned by StoreAppLicense.ExtendedJsonData, see this section.

{
    "type": "object",
    "properties": {
        "productId": {
            "type": "string",
            "pattern": "^[0-9A-Z]{12}$"
        },
        "skuId": {
            "type": "string",
            "pattern": "^[0-9A-Z]{4}$"
        },
        "expiration": {
            "type": "string",
            "pattern": "^\\d{4}-\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d(\\.\\d+)?$"
        },
        "isActive": {
            "type": "boolean"
        },
        "isTrial": {
            "type": "boolean"
        },
        "isTrialOwnedByThisUser": {
            "type": "boolean"
        },
        "trialTimeRemaining": {
            "type": "string"
        },
        "productAddOns": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "inAppOfferToken": {
                        "type": "string"
                    },
                    "productId": {
                        "type": "string",
                        "pattern": "^[0-9A-Z]{12}$"
                    },
                    "productType": {
                        "type": "string"
                    },
                    "skuId": {
                        "type": "string",
                        "pattern": "^[0-9A-Z]{4}$"
                    },
                    "skuType": {
                        "type": "string"
                    },
                    "expiration": {
                        "type": "string",
                        "pattern": "^\\d{4}-\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d(\\.\\d+)?$"
                    },
                    "isActive": {
                        "type": "boolean"
                    }
                },
                "required": [
                    "inAppOfferToken",
                    "productType",
                    "skuType",
                    "expiration",
                    "isActive"
                ],
                "additionalProperties": false
            }
        }
    },
    "required": [
        "productAddOns",
        "productId",
        "skuId",
        "expiration",
        "isActive",
        "isTrial",
        "isTrialOwnedByThisUser",
        "trialTimeRemaining"
    ],
    "additionalProperties": false
}

BeispielExample

Das folgende Beispiel zeigt eine JSON-formatierte Zeichenfolge, die von der storeapplicense. extendedjsondata -Eigenschaft für die-APP zurückgegeben wird.The following example demonstrates a JSON-formatted string returned by the StoreAppLicense.ExtendedJsonData property for app.

{
  "productAddOns": [
    {
      "inAppOfferToken": "Durable test add-on",
      "productId": "9NBLGGH4TNMP",
      "productType": "Durable",
      "skuId": "0010",
      "skuType": "Full",
      "expiration": "9999-12-31 00:00:00",
      "isActive": true
    },
    {
      "inAppOfferToken": "Consumable test add-on",
      "productId": "9NBLGGH4TNMN",
      "productType": "Consumable",
      "skuId": "0020",
      "skuType": "Full",
      "expiration": "9999-12-31 00:00:00",
      "isActive": true
    }
  ],
  "productId": "9NBLGGH4R315",
  "skuId": "0010",
  "isActive": true,
  "isTrial": false,
  "isTrialOwnedByThisUser": false,
  "expiration": "9999-12-31 00:00:00"
}

Schema für storepurchasepropertiesSchema for StorePurchaseProperties

Im folgenden Schema wird die JSON-formatierte Zeichenfolge beschrieben, die von storepurchaseproperties. extendedjsondatazurückgegeben wurde.The following schema describes the JSON-formatted string returned by StorePurchaseProperties.ExtendedJsonData.

{
    "type": "object",
    "properties": {
        "Name": {
            "type": "string"
        }
    },
    "required": [
        "Name"
    ],
    "additionalProperties": false
}