The identity and technical contract details declared by the specification.
s12.search.v1.StructureSearchResult.Parent
object
The matched structure's parent.
2 properties
s12.structures.membership.v1.ListDirectUsersInStructureRequest.Filter
object
Filter criteria for listing direct users in a structure.
3 properties
s12.common.GeoPosition
object
A position is the fundamental geographical geometry construct.
3 properties
s12.structures.membership.v1.RoleDetails
object
2 properties
s12.structures.membership.v1.RemoveUsersFromStructureResponse
object
Response message for removing users from a structure. Supports partial success: the users that could not be removed are returned with a reason.
1 property
s12.structures.v1.UpdateStructureResponse
object
s12.structures.membership.v1.RoleUserAssignments
object
Details and structure assignments for a user assigned to a role.
4 properties
s12.search.v1.StructureSearchResult.MatchedField
object
A field whose value matched the query. Useful for highlighting on the client. The structure's name is not included — it's already at the top level.
3 properties
s12.structures.membership.v1.StructureMembershipService.AddUsersToStructureBody
object
Request message to add one or more users to a structure.
1 property
1 required
s12.search.v1.StructureSearchResult.Ancestor
object
Ancestor of the matched structure, from root down to the direct parent.
4 properties
s12.structures.v1.Structure.Ancestor
object
3 properties
s12.structures.membership.v1.RoleUserEntry
object
A single user entry in a role user listing.
2 properties
s12.structures.membership.v1.AddUsersToRoleResponse
object
Response message for adding users to a role. Supports partial success: the memberships that were created are returned alongside per (user, structure) failures.
2 properties
s12.structures.types.v1.SystemStructureType
string
Built-in structure types that exist across every organization without needing an org-defined UUID. Use SystemStructureType when referring to these well-known t…
s12.typefield.v1.ContactDetails
object
Contact details for a person or entity.
3 properties
s12.structures.v1.StatusType
string
- STATUSTYPEACTIVE: The structure is active and can be used. - STATUSTYPEPENDING: The structure has been created but is not yet active. - STATUSTYPEDELETED: Th…
s12.structures.v1.FieldValue
object
FieldValue represents a single field and its value within a structure profile. Each field value is associated with a field type definition and contains the act…
7 properties
1 required
s12.search.v1.StructureSearchResult
object
A single structure that matched the search query.
13 properties
s12.structures.membership.v1.UserDetails
object
7 properties
s12.structures.v1.SingleSelectValue
object
SingleSelectValue represents a single-select field value. This is used for fields where exactly one option can be selected from a predefined list.
2 properties
s12.search.v1.StructureSearchParams.Filters.FieldValueFilter
object
A single field plus the values it may match. Values within one filter are OR-combined; multiple filters are AND-combined.
2 properties
s12.structures.types.v1.FieldValueData
object
FieldValueData contains the typed value stored for a field, without field metadata such as field ID, name, timestamps, or requirement/default information. Inte…
s12.structures.membership.v1.StructureMembershipService.ListUsersByRoleBody
object
Request message to list users assigned to a role.
5 properties
s12.structures.v1.MoveStructureResponse
object
s12.common.SortDirection
string
s12.search.v1.StructureSearchParams.Filters
object
Filters narrow which structures are returned.
4 properties
s12.structures.v1.StructuresService.UpdateStructureBody
object
3 properties
s12.structures.v1.SearchStructuresResponse
object
Response for SearchStructures.
3 properties
s12.structures.v1.CreateStructureRequest
object
7 properties
2 required
s12.structures.membership.v1.StructureMembershipDetails
object
StructureMembershipDetails is a structure membership resolved with the user and role details needed to display it without a separate lookup.
3 properties
s12.structures.membership.v1.ListUsersByRoleRequest.Filter
object
Filter criteria for listing users by role.
2 properties
s12.structures.v1.ListFieldsRequest.FieldsFilter
object
Filters that narrow which fields are returned. Filters combine with AND — a field is returned only when it satisfies every filter supplied.
7 properties
s12.structures.membership.v1.Avatar
object
3 properties
s12.structures.v1.FieldStructureTypeSettings
object
The mapping between a field and one structure type it applies to. The mapping controls whether the field is required for structures of that type, whether it di…
3 properties
1 required
s12.structures.membership.v1.StructureMembershipService.AddUsersToRoleBody
object
Request message to add users to a role. Each entry assigns one user to the role on its own set of structures.
1 property
1 required
s12.structures.membership.v1.RoleStructureInfo
object
Basic info about a structure, used within a role user listing.
3 properties
s12.structures.membership.v1.AddUserAssignmentsError
object
A single failed (user, structure) assignment within an AddUsersToStructure request.
5 properties
s12.structures.membership.v1.AddUsersToRoleError
object
A single failed (user, structure) assignment within an AddUsersToRole request.
5 properties
s12.structures.v1.StructureMetadata
object
StructureMetadata contains the core metadata fields of a structure, without the heavy nested data (ancestors, profile, field values).
7 properties
3 required
s12.common.UserActiveStatus
string
- USERACTIVESTATUSUNSPECIFIED: Status is unknown or not specified - USERACTIVESTATUSACTIVE: User is active - USERACTIVESTATUSDEACTIVATED: User has been deactiv…
s12.typefield.v1.AddressLocation
object
Address and location details for a structure.
11 properties
s12.structures.types.v1.ReferenceValue
object
ReferenceValue is the value of a reference field (user, site, template) paired with an optional resolved display label.
2 properties
s12.structures.membership.v1.ListDirectUsersInStructureResponse
object
Response message containing a list of direct user memberships in a structure.
3 properties
s12.typefield.v1.FieldValueType
string
Type of FieldValue. Defaults to type String. - FIELDVALUETYPEUNSPECIFIED: Field value type unspecified. - FIELDVALUETYPESTRING: Field value type string. - FIEL…
s12.structures.v1.FieldValueInput
object
FieldValueInput is the input message for setting a field value. Used by CreateStructureRequest and UpdateStructureRequest.
2 properties
1 required
s12.structures.v1.ListFieldsResponse
object
2 properties
s12.typefield.v1.FieldCategory
string
- FIELDCATEGORYUNSPECIFIED: Field category Unspecified. - FIELDCATEGORYSYSTEMFIELD: Field category pre-defined. - FIELDCATEGORYCUSTOMFIELD: Field category cust…
google.rpc.Status
object
3 properties
s12.structures.v1.Structure
object
17 properties
3 required
s12.structures.types.v1.SingleSelectValue
object
SingleSelectValue represents a single-select field value. This is used for fields where exactly one option can be selected from a predefined list. Intended to…
2 properties
s12.structures.v1.FieldStatus
string
- FIELDSTATUSACTIVE: The field is active and can hold values on structures. - FIELDSTATUSARCHIVED: The field is archived and can no longer be set on structures.
s12.search.v1.StructureSearchParams
object
Inputs to SearchStructures.
5 properties
s12.structures.membership.v1.StructureMembership
object
StructureMembership represents a user's membership within a structure, including their assigned role.
6 properties
s12.structures.v1.GetStructureProfileResponse
object
1 property
s12.structures.v1.StructuresService.MoveStructureBody
object
1 property
s12.structures.v1.SearchStructuresRequest
object
Request for SearchStructures. Organization is taken from the caller's auth.
2 properties
1 required
s12.structures.membership.v1.UserStructurePairs
object
A single user paired with the structures to assign the role on.
2 properties
2 required
s12.structures.types.v1.StructureFieldValue
object
StructureFieldValue is one fully-populated field on a structure, pairing the field's metadata (id, display name, value type) with its typed value. It is the ca…
6 properties
s12.structures.membership.v1.StructureMembershipService.RemoveUsersFromStructureBody
object
Request message to remove one or more users from a structure.
1 property
1 required
s12.structures.membership.v1.RemoveUserAssignmentsError
object
A single failed user removal within a RemoveUsersFromStructure request.
5 properties
s12.structures.membership.v1.ListUsersByRoleResponse
object
Response message containing a list of users assigned to a role.
3 properties
s12.structures.membership.v1.AddUsersToStructureResponse
object
Response message containing the created structure memberships.
2 properties
s12.structures.v1.CreateStructureResponse
object
1 property
s12.structures.v1.Field
object
A reusable attribute definition owned by the organization, such as "Region" or "Opening date". A field is defined once and then mapped to the structure types i…
9 properties
google.protobuf.Any
object
Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides supp…
1 property
s12.structures.membership.v1.StructureMembership.AssignmentType
string
AssignmentType classifies how this membership was assigned: explicitly by a user, or computed by a dynamic-structure rule. - ASSIGNMENTTYPEUNSPECIFIED: Unspeci…
s12.structures.types.v1.StructureTypeIdentifier
object
Identifies a single structure type, either by built-in system type or by org-defined UUID. Use in place of a bare structuretypeid string when callers may want…
s12.structures.v1.GetStructureMetadataResponse
object
1 property
s12.search.v1.StructureSearchParams.Page
object
Page controls result pagination.
2 properties
s12.typefield.v1.FieldOption
object
3 properties
s12.structures.v1.ListFieldsRequest
object
3 properties
s12.common.SubscriptionSeatTypes
string
s12.structures.membership.v1.StructureMembershipService.ListDirectUsersInStructureBody
object
Request message to list users directly assigned to a structure.
4 properties
The full machine-readable OpenAPI contract behind this narrative.
Other APIs SafetyCulture publishes across the network.