{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-describe-sobject-result-schema.json",
  "title": "DescribeSObjectResult",
  "description": "Complete describe result for an sObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-describe-api-openapi.yml#/components/schemas/DescribeSObjectResult",
  "type": "object",
  "properties": {
    "actionOverrides": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "activateable": {
      "type": "boolean"
    },
    "childRelationships": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChildRelationship"
      }
    },
    "compactLayoutable": {
      "type": "boolean"
    },
    "createable": {
      "type": "boolean"
    },
    "custom": {
      "type": "boolean"
    },
    "customSetting": {
      "type": "boolean"
    },
    "deletable": {
      "type": "boolean"
    },
    "deprecatedAndHidden": {
      "type": "boolean"
    },
    "feedEnabled": {
      "type": "boolean"
    },
    "fields": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FieldDescribe"
      }
    },
    "hasSubtypes": {
      "type": "boolean"
    },
    "isSubtype": {
      "type": "boolean"
    },
    "keyPrefix": {
      "type": "string"
    },
    "label": {
      "type": "string"
    },
    "labelPlural": {
      "type": "string"
    },
    "layoutable": {
      "type": "boolean"
    },
    "listviewable": {
      "type": "boolean"
    },
    "lookupLayoutable": {
      "type": "boolean"
    },
    "mergeable": {
      "type": "boolean"
    },
    "mruEnabled": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "namedLayoutInfos": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "networkScopeFieldName": {
      "type": "string"
    },
    "queryable": {
      "type": "boolean"
    },
    "recordTypeInfos": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecordTypeInfo"
      }
    },
    "replicateable": {
      "type": "boolean"
    },
    "retrieveable": {
      "type": "boolean"
    },
    "searchLayoutable": {
      "type": "boolean"
    },
    "searchable": {
      "type": "boolean"
    },
    "supportedScopes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    },
    "triggerable": {
      "type": "boolean"
    },
    "undeletable": {
      "type": "boolean"
    },
    "updateable": {
      "type": "boolean"
    },
    "urls": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "ChildRelationship": {
      "type": "object",
      "description": "Describes a child relationship",
      "properties": {
        "cascadeDelete": {
          "type": "boolean"
        },
        "childSObject": {
          "type": "string"
        },
        "deprecatedAndHidden": {
          "type": "boolean"
        },
        "field": {
          "type": "string"
        },
        "junctionIdListNames": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "junctionReferenceTo": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "relationshipName": {
          "type": "string"
        },
        "restrictedDelete": {
          "type": "boolean"
        }
      }
    },
    "FieldDescribe": {
      "type": "object",
      "description": "Metadata about a field",
      "properties": {
        "aggregatable": {
          "type": "boolean"
        },
        "aiPredictionField": {
          "type": "boolean"
        },
        "autoNumber": {
          "type": "boolean"
        },
        "byteLength": {
          "type": "integer"
        },
        "calculated": {
          "type": "boolean"
        },
        "calculatedFormula": {
          "type": "string"
        },
        "cascadeDelete": {
          "type": "boolean"
        },
        "caseSensitive": {
          "type": "boolean"
        },
        "compoundFieldName": {
          "type": "string"
        },
        "controllerName": {
          "type": "string"
        },
        "createable": {
          "type": "boolean"
        },
        "custom": {
          "type": "boolean"
        },
        "defaultValue": {
          "type": "string"
        },
        "defaultValueFormula": {
          "type": "string"
        },
        "defaultedOnCreate": {
          "type": "boolean"
        },
        "dependentPicklist": {
          "type": "boolean"
        },
        "deprecatedAndHidden": {
          "type": "boolean"
        },
        "digits": {
          "type": "integer"
        },
        "displayLocationInDecimal": {
          "type": "boolean"
        },
        "encrypted": {
          "type": "boolean"
        },
        "externalId": {
          "type": "boolean"
        },
        "extraTypeInfo": {
          "type": "string"
        },
        "filterable": {
          "type": "boolean"
        },
        "filteredLookupInfo": {
          "type": "object"
        },
        "formulaTreatNullNumberAsZero": {
          "type": "boolean"
        },
        "groupable": {
          "type": "boolean"
        },
        "highScaleNumber": {
          "type": "boolean"
        },
        "htmlFormatted": {
          "type": "boolean"
        },
        "idLookup": {
          "type": "boolean"
        },
        "inlineHelpText": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "length": {
          "type": "integer"
        },
        "mask": {
          "type": "string"
        },
        "maskType": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "nameField": {
          "type": "boolean"
        },
        "namePointing": {
          "type": "boolean"
        },
        "nillable": {
          "type": "boolean"
        },
        "permissionable": {
          "type": "boolean"
        },
        "picklistValues": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "active": {
                "type": "boolean"
              },
              "defaultValue": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              },
              "validFor": {
                "type": "string"
              },
              "value": {
                "type": "string"
              }
            }
          }
        },
        "polymorphicForeignKey": {
          "type": "boolean"
        },
        "precision": {
          "type": "integer"
        },
        "queryByDistance": {
          "type": "boolean"
        },
        "referenceTargetField": {
          "type": "string"
        },
        "referenceTo": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "relationshipName": {
          "type": "string"
        },
        "relationshipOrder": {
          "type": "integer"
        },
        "restrictedDelete": {
          "type": "boolean"
        },
        "restrictedPicklist": {
          "type": "boolean"
        },
        "scale": {
          "type": "integer"
        },
        "searchPrefilterable": {
          "type": "boolean"
        },
        "soapType": {
          "type": "string"
        },
        "sortable": {
          "type": "boolean"
        },
        "type": {
          "type": "string",
          "enum": [
            "id",
            "boolean",
            "currency",
            "date",
            "datetime",
            "double",
            "email",
            "encryptedstring",
            "int",
            "long",
            "multipicklist",
            "percent",
            "phone",
            "picklist",
            "reference",
            "string",
            "textarea",
            "time",
            "url"
          ]
        },
        "unique": {
          "type": "boolean"
        },
        "updateable": {
          "type": "boolean"
        },
        "writeRequiresMasterRead": {
          "type": "boolean"
        }
      }
    },
    "RecordTypeInfo": {
      "type": "object",
      "description": "Record type information",
      "properties": {
        "active": {
          "type": "boolean"
        },
        "available": {
          "type": "boolean"
        },
        "defaultRecordTypeMapping": {
          "type": "boolean"
        },
        "developerName": {
          "type": "string"
        },
        "master": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "recordTypeId": {
          "type": "string"
        },
        "urls": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}