Skip to main content
What Rollup.shared.profile(schema:) returns: your schema’s shape exactly, null where the person’s life does not say. See Profile.
Data
The filled profile, as JSON.
JSONValue
The filled profile as a JSONValue.
[String: [String]]
PhotoKit local identifiers behind each filled field, by JSON Pointer, such as /food/favorite_cuisine.
[String: String]
Fields Rollup would not fill (health, religion, sexuality, ethnicity, politics, children), by JSON Pointer, with the reason.

JSON

When encoded, json is the object it holds, not a string: