chore: NODE-2585 - Generate Schema Files (no-changelog) (#14058)

This commit is contained in:
Jon
2025-03-21 08:27:40 +00:00
committed by GitHub
parent 49872fbbac
commit ced8bcdd0c
763 changed files with 42381 additions and 62165 deletions

View File

@@ -1,8 +1,73 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
}
}
},
"avatar_url": {
"type": "string"
},
"billing": {
"type": "object",
"properties": {
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"state": {
"type": "string"
}
}
},
"date_created": {
"type": "string"
@@ -22,156 +87,15 @@
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"role": {
"type": "string"
},
"username": {
"type": "string"
},
"billing": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"company",
"address_1",
"address_2",
"city",
"postcode",
"country",
"state",
"email",
"phone"
]
},
"shipping": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"company",
"address_1",
"address_2",
"city",
"postcode",
"country",
"state",
"phone"
]
"id": {
"type": "integer"
},
"is_paying_customer": {
"type": "boolean"
},
"avatar_url": {
"last_name": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
}
},
"required": [
"self",
"collection"
]
},
"meta_data": {
"type": "array",
"items": {
@@ -183,31 +107,50 @@
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
}
},
"role": {
"type": "string"
},
"shipping": {
"type": "object",
"properties": {
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"state": {
"type": "string"
}
}
},
"username": {
"type": "string"
}
},
"required": [
"id",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"email",
"first_name",
"last_name",
"role",
"username",
"billing",
"shipping",
"is_paying_customer",
"avatar_url",
"_links"
],
"version": 1
}

View File

@@ -1,8 +1,73 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
}
}
},
"avatar_url": {
"type": "string"
},
"billing": {
"type": "object",
"properties": {
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"state": {
"type": "string"
}
}
},
"date_created": {
"type": "string"
@@ -16,117 +81,13 @@
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"role": {
"type": "string"
},
"username": {
"type": "string"
},
"billing": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"email": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"company",
"address_1",
"address_2",
"city",
"postcode",
"country",
"state",
"email",
"phone"
]
},
"shipping": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"type": "string"
},
"state": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"company",
"address_1",
"address_2",
"city",
"postcode",
"country",
"state",
"phone"
]
"id": {
"type": "integer"
},
"is_paying_customer": {
"type": "boolean"
},
"avatar_url": {
"last_name": {
"type": "string"
},
"meta_data": {
@@ -140,68 +101,50 @@
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
}
},
"_links": {
"role": {
"type": "string"
},
"shipping": {
"type": "object",
"properties": {
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
"address_1": {
"type": "string"
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"state": {
"type": "string"
}
},
"required": [
"self",
"collection"
]
}
},
"username": {
"type": "string"
}
},
"required": [
"id",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"email",
"first_name",
"last_name",
"role",
"username",
"billing",
"shipping",
"is_paying_customer",
"avatar_url",
"_links"
],
"version": 1
}

View File

@@ -1,69 +1,36 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"parent_id": {
"type": "integer"
},
"status": {
"type": "string"
},
"currency": {
"type": "string"
},
"version": {
"type": "string"
},
"prices_include_tax": {
"type": "boolean"
},
"date_created": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"discount_total": {
"type": "string"
},
"discount_tax": {
"type": "string"
},
"shipping_total": {
"type": "string"
},
"shipping_tax": {
"type": "string"
},
"cart_tax": {
"type": "string"
},
"total": {
"type": "string"
},
"total_tax": {
"type": "string"
},
"customer_id": {
"type": "integer"
},
"order_key": {
"type": "string"
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
}
}
},
"billing": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"address_1": {
"type": "string"
},
@@ -73,10 +40,7 @@
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"postcode": {
"company": {
"type": "string"
},
"country": {
@@ -85,256 +49,76 @@
"email": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"company",
"address_1",
"address_2",
"city",
"state",
"postcode",
"country",
"email",
"phone"
]
},
"shipping": {
"type": "object",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"company": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"country": {
"type": "string"
},
"phone": {
"state": {
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"company",
"address_1",
"address_2",
"city",
"state",
"postcode",
"country",
"phone"
]
}
},
"payment_method": {
"cart_hash": {
"type": "string"
},
"payment_method_title": {
"type": "string"
},
"transaction_id": {
"type": "string"
},
"customer_ip_address": {
"type": "string"
},
"customer_user_agent": {
"cart_tax": {
"type": "string"
},
"created_via": {
"type": "string"
},
"currency": {
"type": "string"
},
"currency_symbol": {
"type": "string"
},
"customer_id": {
"type": "integer"
},
"customer_ip_address": {
"type": "string"
},
"customer_note": {
"type": "string"
},
"cart_hash": {
"customer_user_agent": {
"type": "string"
},
"number": {
"date_created": {
"type": "string"
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
"date_created_gmt": {
"type": "string"
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"product_id": {
"type": "integer"
},
"variation_id": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"tax_class": {
"type": "string"
},
"subtotal": {
"type": "string"
},
"subtotal_tax": {
"type": "string"
},
"total": {
"type": "string"
},
"total_tax": {
"type": "string"
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"display_key": {
"type": "string"
},
"display_value": {
"type": "string"
}
},
"required": [
"id",
"key",
"value",
"display_key",
"display_value"
]
}
},
"image": {
"type": "object",
"properties": {
"src": {
"type": "string"
}
},
"required": [
"id",
"src"
]
}
},
"required": [
"id",
"name",
"product_id",
"variation_id",
"quantity",
"tax_class",
"subtotal",
"subtotal_tax",
"total",
"total_tax",
"taxes",
"meta_data",
"sku",
"price",
"image",
"parent_name"
]
}
"date_modified": {
"type": "string"
},
"shipping_lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"method_title": {
"type": "string"
},
"method_id": {
"type": "string"
},
"instance_id": {
"type": "string"
},
"total": {
"type": "string"
},
"total_tax": {
"type": "string"
}
},
"required": [
"id",
"method_title",
"method_id",
"instance_id",
"total",
"total_tax",
"taxes",
"meta_data"
]
}
"date_modified_gmt": {
"type": "string"
},
"discount_tax": {
"type": "string"
},
"discount_total": {
"type": "string"
},
"fee_lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"id": {
"type": "integer"
},
@@ -347,7 +131,178 @@
"tax_status": {
"type": "string"
},
"amount": {
"total": {
"type": "string"
},
"total_tax": {
"type": "string"
}
}
}
},
"id": {
"type": "integer"
},
"is_editable": {
"type": "boolean"
},
"line_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"image": {
"type": "object",
"properties": {
"src": {
"type": "string"
}
}
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"display_key": {
"type": "string"
},
"display_value": {
"type": "string"
},
"id": {
"type": "integer"
},
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"name": {
"type": "string"
},
"product_id": {
"type": "integer"
},
"quantity": {
"type": "integer"
},
"subtotal": {
"type": "string"
},
"subtotal_tax": {
"type": "string"
},
"tax_class": {
"type": "string"
},
"total": {
"type": "string"
},
"total_tax": {
"type": "string"
},
"variation_id": {
"type": "integer"
}
}
}
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
}
}
},
"needs_processing": {
"type": "boolean"
},
"number": {
"type": "string"
},
"order_key": {
"type": "string"
},
"parent_id": {
"type": "integer"
},
"payment_method": {
"type": "string"
},
"payment_method_title": {
"type": "string"
},
"payment_url": {
"type": "string"
},
"prices_include_tax": {
"type": "boolean"
},
"shipping": {
"type": "object",
"properties": {
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"company": {
"type": "string"
},
"country": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"phone": {
"type": "string"
},
"postcode": {
"type": "string"
},
"state": {
"type": "string"
}
}
},
"shipping_lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"instance_id": {
"type": "string"
},
"method_id": {
"type": "string"
},
"method_title": {
"type": "string"
},
"total": {
@@ -356,124 +311,30 @@
"total_tax": {
"type": "string"
}
},
"required": [
"id",
"name",
"tax_class",
"tax_status",
"amount",
"total",
"total_tax",
"taxes",
"meta_data"
]
}
}
},
"payment_url": {
"shipping_tax": {
"type": "string"
},
"is_editable": {
"type": "boolean"
},
"needs_processing": {
"type": "boolean"
},
"date_created_gmt": {
"shipping_total": {
"type": "string"
},
"date_modified_gmt": {
"status": {
"type": "string"
},
"currency_symbol": {
"total": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
}
},
"required": [
"self",
"collection"
]
"total_tax": {
"type": "string"
},
"transaction_id": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"id",
"parent_id",
"status",
"currency",
"version",
"prices_include_tax",
"date_created",
"date_modified",
"discount_total",
"discount_tax",
"shipping_total",
"shipping_tax",
"cart_tax",
"total",
"total_tax",
"customer_id",
"order_key",
"billing",
"shipping",
"payment_method",
"payment_method_title",
"transaction_id",
"customer_ip_address",
"customer_user_agent",
"created_via",
"customer_note",
"date_completed",
"date_paid",
"cart_hash",
"number",
"meta_data",
"line_items",
"tax_lines",
"shipping_lines",
"fee_lines",
"coupon_lines",
"refunds",
"payment_url",
"is_editable",
"needs_payment",
"needs_processing",
"date_created_gmt",
"date_modified_gmt",
"date_completed_gmt",
"date_paid_gmt",
"currency_symbol",
"_links"
],
"version": 1
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,106 +1,37 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
}
}
},
"name": {
"average_rating": {
"type": "string"
},
"slug": {
"type": "string"
},
"permalink": {
"type": "string"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"catalog_visibility": {
"type": "string"
},
"description": {
"type": "string"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"price": {
"type": "string"
},
"regular_price": {
"type": "string"
},
"sale_price": {
"type": "string"
},
"date_on_sale_from": {
"type": "null"
},
"date_on_sale_from_gmt": {
"type": "null"
},
"date_on_sale_to": {
"type": "null"
},
"date_on_sale_to_gmt": {
"type": "null"
},
"on_sale": {
"type": "boolean"
},
"purchasable": {
"type": "boolean"
},
"total_sales": {
"type": "integer"
},
"virtual": {
"type": "boolean"
},
"downloadable": {
"type": "boolean"
},
"download_limit": {
"type": "integer"
},
"download_expiry": {
"type": "integer"
},
"external_url": {
"type": "string"
},
"button_text": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"tax_class": {
"type": "string"
},
"manage_stock": {
"backordered": {
"type": "boolean"
},
"backorders": {
@@ -109,59 +40,10 @@
"backorders_allowed": {
"type": "boolean"
},
"backordered": {
"type": "boolean"
},
"sold_individually": {
"type": "boolean"
},
"weight": {
"button_text": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"length": {
"type": "string"
},
"width": {
"type": "string"
},
"height": {
"type": "string"
}
},
"required": [
"length",
"width",
"height"
]
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"reviews_allowed": {
"type": "boolean"
},
"average_rating": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"parent_id": {
"type": "integer"
},
"purchase_note": {
"catalog_visibility": {
"type": "string"
},
"categories": {
@@ -178,14 +60,207 @@
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
}
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"date_on_sale_from": {
"type": "null"
},
"date_on_sale_from_gmt": {
"type": "null"
},
"date_on_sale_to": {
"type": "null"
},
"date_on_sale_to_gmt": {
"type": "null"
},
"description": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"height": {
"type": "string"
},
"length": {
"type": "string"
},
"width": {
"type": "string"
}
}
},
"download_expiry": {
"type": "integer"
},
"download_limit": {
"type": "integer"
},
"downloadable": {
"type": "boolean"
},
"external_url": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"generated_slug": {
"type": "string"
},
"global_unique_id": {
"type": "string"
},
"has_options": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alt": {
"type": "string"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"src": {
"type": "string"
}
}
}
},
"manage_stock": {
"type": "boolean"
},
"menu_order": {
"type": "integer"
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
}
}
},
"name": {
"type": "string"
},
"on_sale": {
"type": "boolean"
},
"parent_id": {
"type": "integer"
},
"permalink": {
"type": "string"
},
"permalink_template": {
"type": "string"
},
"post_password": {
"type": "string"
},
"price": {
"type": "string"
},
"price_html": {
"type": "string"
},
"purchasable": {
"type": "boolean"
},
"purchase_note": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"regular_price": {
"type": "string"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"reviews_allowed": {
"type": "boolean"
},
"sale_price": {
"type": "string"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"sold_individually": {
"type": "boolean"
},
"status": {
"type": "string"
},
"stock_status": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
@@ -200,212 +275,27 @@
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"src": {
"type": "string"
},
"name": {
"type": "string"
},
"alt": {
"type": "string"
}
},
"required": [
"id",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"src",
"name",
"alt"
]
}
"tax_class": {
"type": "string"
},
"menu_order": {
"tax_status": {
"type": "string"
},
"total_sales": {
"type": "integer"
},
"price_html": {
"type": {
"type": "string"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
},
"stock_status": {
"type": "string"
},
"has_options": {
"virtual": {
"type": "boolean"
},
"post_password": {
"weight": {
"type": "string"
},
"global_unique_id": {
"type": "string"
},
"permalink_template": {
"type": "string"
},
"generated_slug": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
}
},
"required": [
"self",
"collection"
]
}
},
"required": [
"id",
"name",
"slug",
"permalink",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"type",
"status",
"featured",
"catalog_visibility",
"description",
"short_description",
"sku",
"price",
"regular_price",
"sale_price",
"date_on_sale_from",
"date_on_sale_from_gmt",
"date_on_sale_to",
"date_on_sale_to_gmt",
"on_sale",
"purchasable",
"total_sales",
"virtual",
"downloadable",
"downloads",
"download_limit",
"download_expiry",
"external_url",
"button_text",
"tax_status",
"tax_class",
"manage_stock",
"stock_quantity",
"backorders",
"backorders_allowed",
"backordered",
"low_stock_amount",
"sold_individually",
"weight",
"dimensions",
"shipping_required",
"shipping_taxable",
"shipping_class",
"shipping_class_id",
"reviews_allowed",
"average_rating",
"rating_count",
"upsell_ids",
"cross_sell_ids",
"parent_id",
"purchase_note",
"categories",
"tags",
"images",
"attributes",
"default_attributes",
"variations",
"grouped_products",
"menu_order",
"price_html",
"related_ids",
"meta_data",
"stock_status",
"has_options",
"_links"
],
"version": 1
}

View File

@@ -1,372 +1,20 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"permalink": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"catalog_visibility": {
"type": "string"
},
"description": {
"type": "string"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"sale_price": {
"type": "string"
},
"on_sale": {
"type": "boolean"
},
"purchasable": {
"type": "boolean"
},
"virtual": {
"type": "boolean"
},
"downloadable": {
"type": "boolean"
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"file": {
"type": "string"
}
},
"required": [
"id",
"name",
"file"
]
}
},
"download_limit": {
"type": "integer"
},
"download_expiry": {
"type": "integer"
},
"external_url": {
"type": "string"
},
"button_text": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"tax_class": {
"type": "string"
},
"manage_stock": {
"type": "boolean"
},
"backorders": {
"type": "string"
},
"backorders_allowed": {
"type": "boolean"
},
"backordered": {
"type": "boolean"
},
"sold_individually": {
"type": "boolean"
},
"weight": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"length": {
"type": "string"
},
"width": {
"type": "string"
},
"height": {
"type": "string"
}
},
"required": [
"length",
"width",
"height"
]
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"reviews_allowed": {
"type": "boolean"
},
"average_rating": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"upsell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"parent_id": {
"type": "integer"
},
"purchase_note": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"src": {
"type": "string"
},
"name": {
"type": "string"
},
"alt": {
"type": "string"
}
},
"required": [
"id",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"src",
"name",
"alt"
]
}
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"position": {
"type": "integer"
},
"visible": {
"type": "boolean"
},
"variation": {
"type": "boolean"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"position",
"visible",
"variation",
"options"
]
}
},
"default_attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"option": {
"type": "string"
}
},
"required": [
"id",
"name",
"option"
]
}
},
"variations": {
"type": "array",
"items": {
"type": "integer"
}
},
"menu_order": {
"type": "integer"
},
"price_html": {
"type": "string"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
},
"required": [
"key",
"value"
]
}
},
"stock_status": {
"type": "string"
},
"has_options": {
"type": "boolean"
},
"post_password": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
@@ -384,40 +32,57 @@
"type": "string"
}
}
},
"required": [
"allow"
]
}
}
},
"required": [
"href"
]
}
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
}
}
},
"required": [
"self",
"collection"
]
}
},
"global_unique_id": {
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"position": {
"type": "integer"
},
"slug": {
"type": "string"
},
"variation": {
"type": "boolean"
},
"visible": {
"type": "boolean"
}
}
}
},
"average_rating": {
"type": "string"
},
"backordered": {
"type": "boolean"
},
"backorders": {
"type": "string"
},
"backorders_allowed": {
"type": "boolean"
},
"brands": {
"type": "array",
"items": {
@@ -432,82 +97,284 @@
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
}
},
"button_text": {
"type": "string"
},
"catalog_visibility": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"default_attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"option": {
"type": "string"
}
}
}
},
"description": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"height": {
"type": "string"
},
"length": {
"type": "string"
},
"width": {
"type": "string"
}
}
},
"download_expiry": {
"type": "integer"
},
"download_limit": {
"type": "integer"
},
"downloadable": {
"type": "boolean"
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
},
"external_url": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"global_unique_id": {
"type": "string"
},
"has_options": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alt": {
"type": "string"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"src": {
"type": "string"
}
}
}
},
"manage_stock": {
"type": "boolean"
},
"menu_order": {
"type": "integer"
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
}
}
},
"name": {
"type": "string"
},
"on_sale": {
"type": "boolean"
},
"parent_id": {
"type": "integer"
},
"permalink": {
"type": "string"
},
"post_password": {
"type": "string"
},
"price_html": {
"type": "string"
},
"purchasable": {
"type": "boolean"
},
"purchase_note": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"reviews_allowed": {
"type": "boolean"
},
"sale_price": {
"type": "string"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"sold_individually": {
"type": "boolean"
},
"status": {
"type": "string"
},
"stock_status": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
},
"tax_class": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"type": {
"type": "string"
},
"upsell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"variations": {
"type": "array",
"items": {
"type": "integer"
}
},
"virtual": {
"type": "boolean"
},
"weight": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug",
"permalink",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"type",
"status",
"featured",
"catalog_visibility",
"description",
"short_description",
"sku",
"price",
"regular_price",
"sale_price",
"date_on_sale_from",
"date_on_sale_from_gmt",
"date_on_sale_to",
"date_on_sale_to_gmt",
"on_sale",
"purchasable",
"total_sales",
"virtual",
"downloadable",
"downloads",
"download_limit",
"download_expiry",
"external_url",
"button_text",
"tax_status",
"tax_class",
"manage_stock",
"stock_quantity",
"backorders",
"backorders_allowed",
"backordered",
"sold_individually",
"weight",
"dimensions",
"shipping_required",
"shipping_taxable",
"shipping_class",
"shipping_class_id",
"reviews_allowed",
"average_rating",
"rating_count",
"upsell_ids",
"cross_sell_ids",
"parent_id",
"purchase_note",
"categories",
"tags",
"images",
"attributes",
"default_attributes",
"variations",
"grouped_products",
"menu_order",
"price_html",
"related_ids",
"meta_data",
"stock_status",
"_links"
],
"version": 1
}

View File

@@ -1,88 +1,80 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
},
"targetHints": {
"type": "object",
"properties": {
"allow": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
},
"name": {
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"position": {
"type": "integer"
},
"slug": {
"type": "string"
},
"variation": {
"type": "boolean"
},
"visible": {
"type": "boolean"
}
}
}
},
"average_rating": {
"type": "string"
},
"slug": {
"type": "string"
},
"permalink": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"catalog_visibility": {
"type": "string"
},
"description": {
"type": "string"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"date_on_sale_from": {
"type": "null"
},
"date_on_sale_from_gmt": {
"type": "null"
},
"date_on_sale_to": {
"type": "null"
},
"date_on_sale_to_gmt": {
"type": "null"
},
"on_sale": {
"type": "boolean"
},
"purchasable": {
"type": "boolean"
},
"virtual": {
"type": "boolean"
},
"downloadable": {
"type": "boolean"
},
"download_limit": {
"type": "integer"
},
"download_expiry": {
"type": "integer"
},
"external_url": {
"type": "string"
},
"button_text": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"tax_class": {
"type": "string"
},
"manage_stock": {
"backordered": {
"type": "boolean"
},
"backorders": {
@@ -91,68 +83,27 @@
"backorders_allowed": {
"type": "boolean"
},
"backordered": {
"type": "boolean"
},
"weight": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"length": {
"type": "string"
},
"width": {
"type": "string"
},
"height": {
"type": "string"
"brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
},
"required": [
"length",
"width",
"height"
]
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"reviews_allowed": {
"type": "boolean"
},
"average_rating": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"upsell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
"button_text": {
"type": "string"
},
"parent_id": {
"type": "integer"
},
"purchase_note": {
"catalog_visibility": {
"type": "string"
},
"categories": {
@@ -169,113 +120,32 @@
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
}
},
"tags": {
"cross_sell_ids": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
"type": "integer"
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"src": {
"type": "string"
},
"name": {
"type": "string"
},
"alt": {
"type": "string"
}
},
"required": [
"id",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"src",
"name",
"alt"
]
}
"date_modified": {
"type": "string"
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"position": {
"type": "integer"
},
"visible": {
"type": "boolean"
},
"variation": {
"type": "boolean"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"name"
]
}
"date_modified_gmt": {
"type": "string"
},
"date_on_sale_from": {
"type": "null"
},
"date_on_sale_from_gmt": {
"type": "null"
},
"date_on_sale_to": {
"type": "null"
},
"date_on_sale_to_gmt": {
"type": "null"
},
"default_attributes": {
"type": "array",
@@ -291,38 +161,111 @@
"option": {
"type": "string"
}
},
"required": [
"id",
"name",
"option"
]
}
}
},
"variations": {
"description": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"height": {
"type": "string"
},
"length": {
"type": "string"
},
"width": {
"type": "string"
}
}
},
"download_expiry": {
"type": "integer"
},
"download_limit": {
"type": "integer"
},
"downloadable": {
"type": "boolean"
},
"downloads": {
"type": "array",
"items": {
"type": "integer"
"type": "object",
"properties": {
"file": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
},
"external_url": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"global_unique_id": {
"type": "string"
},
"grouped_products": {
"type": "array",
"items": {
"type": "integer"
}
},
"menu_order": {
"has_options": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"price_html": {
"type": "string"
},
"related_ids": {
"images": {
"type": "array",
"items": {
"type": "integer"
"type": "object",
"properties": {
"alt": {
"type": "string"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"src": {
"type": "string"
}
}
}
},
"manage_stock": {
"type": "boolean"
},
"menu_order": {
"type": "integer"
},
"meta_data": {
"type": "array",
"items": {
@@ -334,131 +277,119 @@
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
}
},
"stock_status": {
"name": {
"type": "string"
},
"has_options": {
"on_sale": {
"type": "boolean"
},
"parent_id": {
"type": "integer"
},
"permalink": {
"type": "string"
},
"post_password": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
"self": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
"price_html": {
"type": "string"
},
"purchasable": {
"type": "boolean"
},
"purchase_note": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"reviews_allowed": {
"type": "boolean"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"sold_individually": {
"type": "boolean"
},
"status": {
"type": "string"
},
"stock_status": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
},
"required": [
"self",
"collection"
]
}
},
"global_unique_id": {
"tax_class": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"type": {
"type": "string"
},
"upsell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"variations": {
"type": "array",
"items": {
"type": "integer"
}
},
"virtual": {
"type": "boolean"
},
"weight": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug",
"permalink",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"type",
"status",
"featured",
"catalog_visibility",
"description",
"short_description",
"sku",
"price",
"regular_price",
"sale_price",
"date_on_sale_from",
"date_on_sale_from_gmt",
"date_on_sale_to",
"date_on_sale_to_gmt",
"on_sale",
"purchasable",
"total_sales",
"virtual",
"downloadable",
"downloads",
"download_limit",
"download_expiry",
"external_url",
"button_text",
"tax_status",
"tax_class",
"manage_stock",
"stock_quantity",
"backorders",
"backorders_allowed",
"backordered",
"low_stock_amount",
"sold_individually",
"weight",
"dimensions",
"shipping_required",
"shipping_taxable",
"shipping_class",
"shipping_class_id",
"reviews_allowed",
"average_rating",
"rating_count",
"upsell_ids",
"cross_sell_ids",
"parent_id",
"purchase_note",
"categories",
"tags",
"images",
"attributes",
"default_attributes",
"variations",
"grouped_products",
"menu_order",
"price_html",
"related_ids",
"meta_data",
"stock_status",
"_links"
]
"version": 1
}

View File

@@ -1,390 +1,20 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"permalink": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"catalog_visibility": {
"type": "string"
},
"description": {
"type": "string"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"price": {
"type": "string"
},
"regular_price": {
"type": "string"
},
"sale_price": {
"type": "string"
},
"date_on_sale_from": {
"type": "null"
},
"date_on_sale_from_gmt": {
"type": "null"
},
"date_on_sale_to": {
"type": "null"
},
"date_on_sale_to_gmt": {
"type": "null"
},
"on_sale": {
"type": "boolean"
},
"purchasable": {
"type": "boolean"
},
"total_sales": {
"type": "integer"
},
"virtual": {
"type": "boolean"
},
"downloadable": {
"type": "boolean"
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"file": {
"type": "string"
}
},
"required": [
"id",
"name",
"file"
]
}
},
"download_limit": {
"type": "integer"
},
"download_expiry": {
"type": "integer"
},
"external_url": {
"type": "string"
},
"button_text": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"tax_class": {
"type": "string"
},
"manage_stock": {
"type": "boolean"
},
"backorders": {
"type": "string"
},
"backorders_allowed": {
"type": "boolean"
},
"backordered": {
"type": "boolean"
},
"sold_individually": {
"type": "boolean"
},
"weight": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"length": {
"type": "string"
},
"width": {
"type": "string"
},
"height": {
"type": "string"
}
},
"required": [
"length",
"width",
"height"
]
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"reviews_allowed": {
"type": "boolean"
},
"average_rating": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"upsell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"parent_id": {
"type": "integer"
},
"purchase_note": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"src": {
"type": "string"
},
"name": {
"type": "string"
},
"alt": {
"type": "string"
}
},
"required": [
"id",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"src",
"name",
"alt"
]
}
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"position": {
"type": "integer"
},
"visible": {
"type": "boolean"
},
"variation": {
"type": "boolean"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"position",
"visible",
"variation",
"options"
]
}
},
"default_attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"option": {
"type": "string"
}
},
"required": [
"id",
"name",
"option"
]
}
},
"variations": {
"type": "array",
"items": {
"type": "integer"
}
},
"menu_order": {
"type": "integer"
},
"price_html": {
"type": "string"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
},
"required": [
"key",
"value"
]
}
},
"stock_status": {
"type": "string"
},
"has_options": {
"type": "boolean"
},
"_links": {
"type": "object",
"properties": {
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
}
}
},
"self": {
"type": "array",
"items": {
@@ -402,119 +32,359 @@
"type": "string"
}
}
},
"required": [
"allow"
]
}
}
},
"required": [
"href"
]
}
},
"collection": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
}
}
},
"required": [
"self",
"collection"
]
}
},
"post_password": {
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"position": {
"type": "integer"
},
"slug": {
"type": "string"
},
"variation": {
"type": "boolean"
},
"visible": {
"type": "boolean"
}
}
}
},
"average_rating": {
"type": "string"
},
"backordered": {
"type": "boolean"
},
"backorders": {
"type": "string"
},
"backorders_allowed": {
"type": "boolean"
},
"button_text": {
"type": "string"
},
"catalog_visibility": {
"type": "string"
},
"categories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"date_on_sale_from": {
"type": "null"
},
"date_on_sale_from_gmt": {
"type": "null"
},
"date_on_sale_to": {
"type": "null"
},
"date_on_sale_to_gmt": {
"type": "null"
},
"default_attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"option": {
"type": "string"
}
}
}
},
"description": {
"type": "string"
},
"dimensions": {
"type": "object",
"properties": {
"height": {
"type": "string"
},
"length": {
"type": "string"
},
"width": {
"type": "string"
}
}
},
"download_expiry": {
"type": "integer"
},
"download_limit": {
"type": "integer"
},
"downloadable": {
"type": "boolean"
},
"downloads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
},
"external_url": {
"type": "string"
},
"featured": {
"type": "boolean"
},
"generated_slug": {
"type": "string"
},
"global_unique_id": {
"type": "string"
},
"has_options": {
"type": "boolean"
},
"id": {
"type": "integer"
},
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alt": {
"type": "string"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"src": {
"type": "string"
}
}
}
},
"manage_stock": {
"type": "boolean"
},
"menu_order": {
"type": "integer"
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
}
}
},
"name": {
"type": "string"
},
"on_sale": {
"type": "boolean"
},
"parent_id": {
"type": "integer"
},
"permalink": {
"type": "string"
},
"permalink_template": {
"type": "string"
},
"generated_slug": {
"post_password": {
"type": "string"
},
"price": {
"type": "string"
},
"price_html": {
"type": "string"
},
"purchasable": {
"type": "boolean"
},
"purchase_note": {
"type": "string"
},
"rating_count": {
"type": "integer"
},
"regular_price": {
"type": "string"
},
"related_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"reviews_allowed": {
"type": "boolean"
},
"sale_price": {
"type": "string"
},
"shipping_class": {
"type": "string"
},
"shipping_class_id": {
"type": "integer"
},
"shipping_required": {
"type": "boolean"
},
"shipping_taxable": {
"type": "boolean"
},
"short_description": {
"type": "string"
},
"sku": {
"type": "string"
},
"slug": {
"type": "string"
},
"sold_individually": {
"type": "boolean"
},
"status": {
"type": "string"
},
"stock_status": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
}
},
"tax_class": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"total_sales": {
"type": "integer"
},
"type": {
"type": "string"
},
"upsell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"variations": {
"type": "array",
"items": {
"type": "integer"
}
},
"virtual": {
"type": "boolean"
},
"weight": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug",
"permalink",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"type",
"status",
"featured",
"catalog_visibility",
"description",
"short_description",
"sku",
"price",
"regular_price",
"sale_price",
"date_on_sale_from",
"date_on_sale_from_gmt",
"date_on_sale_to",
"date_on_sale_to_gmt",
"on_sale",
"purchasable",
"total_sales",
"virtual",
"downloadable",
"downloads",
"download_limit",
"download_expiry",
"external_url",
"button_text",
"tax_status",
"tax_class",
"manage_stock",
"stock_quantity",
"backorders",
"backorders_allowed",
"backordered",
"low_stock_amount",
"sold_individually",
"weight",
"dimensions",
"shipping_required",
"shipping_taxable",
"shipping_class",
"shipping_class_id",
"reviews_allowed",
"average_rating",
"rating_count",
"upsell_ids",
"cross_sell_ids",
"parent_id",
"purchase_note",
"categories",
"tags",
"images",
"attributes",
"default_attributes",
"variations",
"grouped_products",
"menu_order",
"price_html",
"related_ids",
"meta_data",
"stock_status",
"has_options",
"_links"
],
"version": 1
}