chore: NODE-2547 - Generate Schema Files (no-changelog) (#13873)

This commit is contained in:
Jon
2025-03-18 15:19:10 +00:00
committed by GitHub
parent e0fd50554d
commit 31c0575999
819 changed files with 27463 additions and 15590 deletions

View File

@@ -1,213 +1,213 @@
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"email": {
"type": "string"
},
"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"
]
},
"is_paying_customer": {
"type": "boolean"
},
"avatar_url": {
"type": "string"
},
"meta_data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
},
"_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",
"date_created",
"date_created_gmt",
"date_modified",
"date_modified_gmt",
"email",
"first_name",
"last_name",
"role",
"username",
"billing",
"shipping",
"is_paying_customer",
"avatar_url",
"meta_data",
"_links"
]
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"date_created": {
"type": "string"
},
"date_created_gmt": {
"type": "string"
},
"date_modified": {
"type": "string"
},
"date_modified_gmt": {
"type": "string"
},
"email": {
"type": "string"
},
"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"
]
},
"is_paying_customer": {
"type": "boolean"
},
"avatar_url": {
"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": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"key": {
"type": "string"
}
},
"required": [
"id",
"key",
"value"
]
}
}
},
"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

@@ -201,7 +201,7 @@
"shipping",
"is_paying_customer",
"avatar_url",
"meta_data",
"_links"
]
],
"version": 1
}

View File

@@ -330,15 +330,52 @@
]
}
},
"fee_lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"tax_class": {
"type": "string"
},
"tax_status": {
"type": "string"
},
"amount": {
"type": "string"
},
"total": {
"type": "string"
},
"total_tax": {
"type": "string"
}
},
"required": [
"id",
"name",
"tax_class",
"tax_status",
"amount",
"total",
"total_tax",
"taxes",
"meta_data"
]
}
},
"payment_url": {
"type": "string"
},
"is_editable": {
"type": "boolean"
},
"needs_payment": {
"type": "boolean"
},
"needs_processing": {
"type": "boolean"
},
@@ -437,5 +474,6 @@
"date_paid_gmt",
"currency_symbol",
"_links"
]
],
"version": 1
}

View File

@@ -425,6 +425,9 @@
]
}
},
"tax_status": {
"type": "string"
},
"meta_data": {
"type": "array",
"items": {
@@ -436,8 +439,14 @@
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"display_key": {
"type": "string"
},
"display_value": {
"type": "string"
}
},
"required": [
@@ -487,6 +496,36 @@
},
"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"
]
}
}
},
"required": [
@@ -546,6 +585,9 @@
"discount_type": {
"type": "string"
},
"nominal_amount": {
"type": "integer"
},
"free_shipping": {
"type": "boolean"
}
@@ -615,6 +657,20 @@
"properties": {
"href": {
"type": "string"
},
"targetHints": {
"type": "object",
"properties": {
"allow": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"allow"
]
}
},
"required": [
@@ -642,5 +698,6 @@
"collection"
]
}
}
},
"version": 1
}

View File

@@ -270,9 +270,7 @@
"required": [
"id",
"key",
"value",
"display_key",
"display_value"
"value"
]
}
},
@@ -306,8 +304,7 @@
"taxes",
"meta_data",
"sku",
"price",
"parent_name"
"price"
]
}
},
@@ -336,36 +333,6 @@
},
"shipping_tax_total": {
"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"
]
}
}
},
"required": [
@@ -437,16 +404,20 @@
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"display_key": {
"type": "string"
},
"display_value": {
"type": "string"
}
},
"required": [
"id",
"key",
"value",
"display_key",
"display_value"
"value"
]
}
}
@@ -510,36 +481,6 @@
"subtotal"
]
}
},
"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"
]
}
}
},
"required": [
@@ -583,22 +524,14 @@
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"display_key": {
"type": "string"
},
"display_value": {
"type": "string"
}
},
"required": [
"id",
"key",
"value",
"display_key",
"display_value"
"value"
]
}
},
@@ -614,32 +547,7 @@
"code",
"discount",
"discount_tax",
"meta_data",
"discount_type",
"nominal_amount",
"free_shipping"
]
}
},
"refunds": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"reason": {
"type": "string"
},
"total": {
"type": "string"
}
},
"required": [
"id",
"reason",
"total"
"meta_data"
]
}
},
@@ -649,9 +557,6 @@
"is_editable": {
"type": "boolean"
},
"needs_payment": {
"type": "boolean"
},
"needs_processing": {
"type": "boolean"
},
@@ -674,6 +579,20 @@
"properties": {
"href": {
"type": "string"
},
"targetHints": {
"type": "object",
"properties": {
"allow": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"allow"
]
}
},
"required": [
@@ -694,20 +613,6 @@
"href"
]
}
},
"customer": {
"type": "array",
"items": {
"type": "object",
"properties": {
"href": {
"type": "string"
}
},
"required": [
"href"
]
}
}
},
"required": [
@@ -758,7 +663,7 @@
"date_modified_gmt",
"date_completed_gmt",
"date_paid_gmt",
"currency_symbol",
"_links"
]
],
"version": 1
}

View File

@@ -405,9 +405,7 @@
"meta_data",
"stock_status",
"has_options",
"post_password",
"permalink_template",
"generated_slug",
"_links"
]
],
"version": 1
}

View File

@@ -55,6 +55,28 @@
"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"
},
@@ -137,6 +159,12 @@
"type": "integer"
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"parent_id": {
"type": "integer"
},
@@ -240,9 +268,6 @@
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"position": {
"type": "integer"
},
@@ -257,11 +282,18 @@
"items": {
"type": "string"
}
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name"
"name",
"position",
"visible",
"variation",
"options"
]
}
},
@@ -332,9 +364,6 @@
"post_password": {
"type": "string"
},
"global_unique_id": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
@@ -385,6 +414,31 @@
"self",
"collection"
]
},
"global_unique_id": {
"type": "string"
},
"brands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug"
]
}
}
},
"required": [
@@ -427,7 +481,6 @@
"backorders",
"backorders_allowed",
"backordered",
"low_stock_amount",
"sold_individually",
"weight",
"dimensions",
@@ -454,7 +507,7 @@
"related_ids",
"meta_data",
"stock_status",
"has_options",
"_links"
]
],
"version": 1
}

View File

@@ -128,9 +128,6 @@
"backordered": {
"type": "boolean"
},
"low_stock_amount": {
"type": "null"
},
"sold_individually": {
"type": "boolean"
},
@@ -183,6 +180,12 @@
"type": "integer"
}
},
"cross_sell_ids": {
"type": "array",
"items": {
"type": "integer"
}
},
"parent_id": {
"type": "integer"
},
@@ -286,9 +289,6 @@
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"position": {
"type": "integer"
},
@@ -303,12 +303,14 @@
"items": {
"type": "string"
}
},
"slug": {
"type": "string"
}
},
"required": [
"id",
"name",
"slug",
"position",
"visible",
"variation",
@@ -380,18 +382,6 @@
"has_options": {
"type": "boolean"
},
"post_password": {
"type": "string"
},
"global_unique_id": {
"type": "string"
},
"permalink_template": {
"type": "string"
},
"generated_slug": {
"type": "string"
},
"_links": {
"type": "object",
"properties": {
@@ -442,6 +432,18 @@
"self",
"collection"
]
},
"post_password": {
"type": "string"
},
"global_unique_id": {
"type": "string"
},
"permalink_template": {
"type": "string"
},
"generated_slug": {
"type": "string"
}
},
"required": [
@@ -512,9 +514,7 @@
"meta_data",
"stock_status",
"has_options",
"post_password",
"permalink_template",
"generated_slug",
"_links"
]
],
"version": 1
}