Skip to content

Commit 4a0ad10

Browse files
authored
Update claimsschema.md
Fixing the headers
1 parent 4e60634 commit 4a0ad10

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

articles/active-directory-b2c/claimsschema.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ The **ClaimType** element contains the following elements:
5555
| Restriction | 0:1 | The value restrictions for this claim, such as a regular expression (Regex) or a list of acceptable values. The value can be [localized](localization.md). |
5656
PredicateValidationReference| 0:1 | A reference to a **PredicateValidationsInput** element. The **PredicateValidationReference** elements enable you to perform a validation process to ensure that only properly formed data is entered. For more information, see [Predicates](predicates.md). |
5757

58+
### DataType
5859

5960
The **DataType** element supports the following values:
6061

@@ -168,7 +169,7 @@ The **Restriction** element contains the following elements:
168169
| Enumeration | 1:n | The available options in the user interface for the user to select for a claim, such as a value in a dropdown. |
169170
| Pattern | 1:1 | The regular expression to use. |
170171

171-
### Enumeration
172+
#### Enumeration
172173

173174
The **Enumeration** element contains the following attributes:
174175

@@ -227,25 +228,26 @@ The Identity Experience Framework renders the email address claim with email for
227228

228229
![TextBox showing error message triggered by regex restriction](./media/claimsschema/pattern.png)
229230

230-
## UserInputType
231+
### UserInputType
231232

232233
Azure AD B2C supports a variety of user input types, such as a textbox, password, and dropdown list that can be used when manually entering claim data for the claim type. You must specify the **UserInputType** when you collect information from the user by using a [self-asserted technical profile](self-asserted-technical-profile.md) and [display controls](display-controls.md).
233234

234235
The **UserInputType** element available user input types:
236+
235237
| UserInputType | Supported ClaimType | Description |
236238
| --------- | -------- | ----------- |
237239
|CheckboxMultiSelect| `string` |Multi select drop-down box. The claim value is represented in a comma delimiter string of the selected values. |
238240
|DateTimeDropdown | `date`, `dateTime` |Drop-downs to select a day, month, and year. |
239241
|DropdownSingleSelect |`string` |Single select drop-down box. The claim value is the selected value.|
240242
|EmailBox | `string` |Email input field. |
241-
|Paragraph | `boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`, `stringCollection`|A field that shows text only in a paragraph tag. |
243+
|Paragraph | `boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`|A field that shows text only in a paragraph tag. |
242244
|Password | `string` |Password text box.|
243245
|RadioSingleSelect |`string` | Collection of radio buttons. The claim value is the selected value.|
244-
|Readonly | `boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`, `stringCollection`| Read only text box. |
246+
|Readonly | `boolean`, `date`, `dateTime`, `duration`, `int`, `long`, `string`| Read only text box. |
245247
|TextBox |`boolean`, `int`, `string` |Single-line text box. |
246248

247249

248-
### TextBox
250+
#### TextBox
249251

250252
The **TextBox** user input type is used to provide a single-line text box.
251253

@@ -260,7 +262,7 @@ The **TextBox** user input type is used to provide a single-line text box.
260262
</ClaimType>
261263
```
262264

263-
### EmailBox
265+
#### EmailBox
264266

265267
The **EmailBox** user input type is used to provide a basic email input field.
266268

@@ -278,7 +280,7 @@ The **EmailBox** user input type is used to provide a basic email input field.
278280
</ClaimType>
279281
```
280282

281-
### Password
283+
#### Password
282284

283285
The **Password** user input type is used to record a password entered by the user.
284286

@@ -293,7 +295,7 @@ The **Password** user input type is used to record a password entered by the use
293295
</ClaimType>
294296
```
295297

296-
### DateTimeDropdown
298+
#### DateTimeDropdown
297299

298300
The **DateTimeDropdown** user input type is used to provide a set of drop-downs to select a day, month, and year. You can use Predicates and PredicateValidations elements to control the minimum and maximum date values. For more information, see the **Configure a date range** section of [Predicates and PredicateValidations](predicates.md).
299301

@@ -308,7 +310,7 @@ The **DateTimeDropdown** user input type is used to provide a set of drop-downs
308310
</ClaimType>
309311
```
310312

311-
### RadioSingleSelect
313+
#### RadioSingleSelect
312314

313315
The **RadioSingleSelect** user input type is used to provide a collection of radio buttons that allows the user to select one option.
314316

@@ -327,7 +329,7 @@ The **RadioSingleSelect** user input type is used to provide a collection of rad
327329
</ClaimType>
328330
```
329331

330-
### DropdownSingleSelect
332+
#### DropdownSingleSelect
331333

332334
The **DropdownSingleSelect** user input type is used to provide a drop-down box that allows the user to select one option.
333335

@@ -346,7 +348,7 @@ The **DropdownSingleSelect** user input type is used to provide a drop-down box
346348
</ClaimType>
347349
```
348350

349-
### CheckboxMultiSelect
351+
#### CheckboxMultiSelect
350352

351353
The **CheckboxMultiSelect** user input type is used to provide a collection of checkboxes that allows the user to select multiple options.
352354

@@ -365,7 +367,7 @@ The **CheckboxMultiSelect** user input type is used to provide a collection of c
365367
</ClaimType>
366368
```
367369

368-
### Readonly
370+
#### Readonly
369371

370372
The **Readonly** user input type is used to provide a readonly field to display the claim and value.
371373

@@ -381,7 +383,7 @@ The **Readonly** user input type is used to provide a readonly field to display
381383
```
382384

383385

384-
### Paragraph
386+
#### Paragraph
385387

386388
The **Paragraph** user input type is used to provide a field that shows text only in a paragraph tag. For example, &lt;p&gt;text&lt;/p&gt;. A **Paragraph** user input type `OutputClaim` of self-asserted technical profile, must set the `Required` attribute `false` (default).
387389

0 commit comments

Comments
 (0)