API Reference > imodeljs-common > Codes > CodeScopeSpec > CodeScopeSpec.ScopeRequirement CodeScopeSpec.ScopeRequirement Enumeration Requirements for how the CodeScope Element is identified. Members Name Value Description ElementId 1 The Code is required to have a valid ElementId as its scope FederationGuid 2 The Code is required to have a valid FederationGuid as its scope Defined in core/common/src/Code.ts Line 217 Last Updated: 11 June, 2024