changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "draft": {
- "additionalProperties": false,
- "properties": {
- "accountUrl": {
- "format": "uri",
- "type": "string"
- },
- "applicantName": {
- "type": "string"
- },
- "applicantType": {
- "anyOf": [
- {
- "enum": [
- "individual",
- "company"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contactName": {
- "type": "string"
- },
- "draftRevision": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "filingSignature": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "styleId": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "styleId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "fullAddress": {
- "type": "string"
- },
- "id": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "nationalityRegion": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "priorityApplicationNumber": {
- "type": "string"
- },
- "priorityClaimType": {
- "anyOf": [
- {
- "enum": [
- "none",
- "earlier-filing",
- "exhibition"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "priorityCountryRegion": {
- "type": "string"
- },
- "priorityFilingDate": {
- "type": "string"
- },
- "registrationType": {
- "anyOf": [
- {
- "enum": [
- "word-mark",
- "figurative-mark"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "selectedItems": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "classNumber": {
- "maximum": 45,
- "minimum": 1,
- "type": "integer"
- },
- "groupCode": {
- "type": "string"
- },
- "groupLabel": {
- "type": "string"
- },
- "groupLabelZh": {
- "type": [
- "string",
- "null"
- ]
- },
- "itemCode": {
- "type": [
- "string",
- "null"
- ]
- },
- "itemId": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "labelZh": {
- "type": [
- "string",
- "null"
- ]
- },
- "standardItem": {
- "type": "boolean"
- }
- },
- "required": [
- "itemId",
- "classNumber",
- "label",
- "labelZh",
- "standardItem",
- "itemCode",
- "groupCode",
- "groupLabel",
- "groupLabelZh"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "draft",
- "pending_payment",
- "paid",
- "in_review",
- "filed",
- "completed",
- "cancelled"
- ],
- "type": "string"
- },
- "trademarkName": {
- "type": "string"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "status",
- "draftRevision",
- "trademarkName",
- "registrationType",
- "updatedAt",
- "accountUrl",
- "applicantType",
- "applicantName",
- "nationalityRegion",
- "fullAddress",
- "phone",
- "contactName",
- "postalCode",
- "priorityClaimType",
- "priorityCountryRegion",
- "priorityFilingDate",
- "priorityApplicationNumber",
- "filingSignature",
- "selectedItems"
- ],
- "type": "object"
- }
- },
- "required": [
- "draft"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "code"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "draft": {
+ "additionalProperties": false,
+ "properties": {
+ "accountUrl": {
+ "format": "uri",
+ "type": "string"
+ },
+ "applicantName": {
+ "type": "string"
+ },
+ "applicantType": {
+ "anyOf": [
+ {
+ "enum": [
+ "individual",
+ "company"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contactName": {
+ "type": "string"
+ },
+ "draftRevision": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "filingSignature": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "styleId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "styleId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "fullAddress": {
+ "type": "string"
+ },
+ "id": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "nationalityRegion": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "postalCode": {
+ "type": "string"
+ },
+ "priorityApplicationNumber": {
+ "type": "string"
+ },
+ "priorityClaimType": {
+ "anyOf": [
+ {
+ "enum": [
+ "none",
+ "earlier-filing",
+ "exhibition"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "priorityCountryRegion": {
+ "type": "string"
+ },
+ "priorityFilingDate": {
+ "type": "string"
+ },
+ "registrationType": {
+ "anyOf": [
+ {
+ "enum": [
+ "word-mark",
+ "figurative-mark"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "selectedItems": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "classNumber": {
+ "maximum": 45,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "groupCode": {
+ "type": "string"
+ },
+ "groupLabel": {
+ "type": "string"
+ },
+ "groupLabelZh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "itemCode": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "itemId": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "labelZh": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "standardItem": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "itemId",
+ "classNumber",
+ "label",
+ "labelZh",
+ "standardItem",
+ "itemCode",
+ "groupCode",
+ "groupLabel",
+ "groupLabelZh"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "draft",
+ "pending_payment",
+ "paid",
+ "in_review",
+ "completed",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "trademarkName": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status",
+ "draftRevision",
+ "trademarkName",
+ "registrationType",
+ "updatedAt",
+ "accountUrl",
+ "applicantType",
+ "applicantName",
+ "nationalityRegion",
+ "fullAddress",
+ "phone",
+ "contactName",
+ "postalCode",
+ "priorityClaimType",
+ "priorityCountryRegion",
+ "priorityFilingDate",
+ "priorityApplicationNumber",
+ "filingSignature",
+ "selectedItems"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "draft"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "code"
+ ],
+ "type": "object"
+ }
+]