API Reference > imodeljs-common > Codes > CodeSpec > scopeReq scopeReq Accessor Will be CodeScopeSpec.ScopeRequirement.FederationGuid if the scoping element is required to have a FederationGuid or CodeScopeSpec.ScopeRequirement.ElementId otherwise (which is the default). scopeReq: CodeScopeSpec.ScopeRequirement Returns - CodeScopeSpec.ScopeRequirement Setter Will be CodeScopeSpec.ScopeRequirement.FederationGuid if the scoping element is required to have a FederationGuid or CodeScopeSpec.ScopeRequirement.ElementId otherwise (which is the default). scopeReq(req: CodeScopeSpec.ScopeRequirement): void Parameter Type Description req CodeScopeSpec.ScopeRequirement Returns - void Defined in core/common/src/Code.ts Line 297 Last Updated: 11 June, 2024