diff --git a/schemas/schema-generate-field.json b/schemas/schema-generate-field.json index 7758a5e0..ba228e99 100644 --- a/schemas/schema-generate-field.json +++ b/schemas/schema-generate-field.json @@ -44,6 +44,21 @@ }, "length": { "type": ["number", "null"] + }, + "unique": { + "type": ["boolean", "null"] + }, + "externalId": { + "type": ["boolean", "null"] + }, + "startingNumber": { + "type": ["number", "null"] + }, + "defaultValue": { + "type": ["string", "null"] + }, + "securityClassification": { + "type": ["string", "null"] } }, "required": ["type"] diff --git a/schemas/schema-generate-sobject.json b/schemas/schema-generate-sobject.json index cf913ae1..2963e395 100644 --- a/schemas/schema-generate-sobject.json +++ b/schemas/schema-generate-sobject.json @@ -20,20 +20,7 @@ "additionalProperties": false, "properties": { "nameField": { - "type": "object", - "properties": { - "label": { - "type": ["string", "null"] - }, - "type": { - "type": ["string", "null"] - }, - "displayFormat": { - "type": ["string", "null"] - } - }, - "additionalProperties": false, - "description": "Used by classical CustomObject" + "$ref": "#/definitions/NameField" }, "label": { "type": ["string", "null"] @@ -80,6 +67,22 @@ }, "required": ["nameField"], "description": "There are a lot of properties that we don't, and some that jsforce thinks are mandatory that aren't. Many apply to the various sub-species (mdt, external, events)\n\nThis type represents a \"classical\" CustomObject subset that can deploy." + }, + "NameField": { + "type": "object", + "properties": { + "label": { + "type": ["string", "null"] + }, + "type": { + "type": ["string", "null"] + }, + "displayFormat": { + "type": ["string", "null"] + } + }, + "additionalProperties": false, + "description": "Used by classical CustomObject" } } }