Skip to content

Commit c77a733

Browse files
committed
reorder doc
1 parent cb36ffa commit c77a733

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/explanations/curator_data_model.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,15 @@ JSON Schema output:
195195

196196
### Format
197197

198+
The format of this attribute. See [format](https://json-schema.org/understanding-json-schema/reference/type#format) The type of this attribute must be "string" or "string_list". The value of this column will appear as the `format` of this attribute in the JSON Schema.
199+
198200
Note: The Format and Pattern columns serve different purposes:
199201

200202
`Pattern`: Use to validate that data matches a specific regex pattern (e.g., enforce that email addresses follow a certain format)
201203

202204
`Format`: Use with the regex value to indicate that the data itself is a regex pattern being stored (not validated against one)
203205

204-
The format of this attribute. See [format](https://json-schema.org/understanding-json-schema/reference/type#format) The type of this attribute must be "string" or "string_list". The value of this column will appear as the `format` of this attribute in the JSON Schema. Must be one of:
206+
Must be one of:
205207

206208
- `date-time`
207209
- `email`
@@ -248,15 +250,14 @@ JSON Schema output:
248250

249251
### Pattern
250252

253+
The regex pattern this attribute must match. The type of this attribute must be `string` or `string_list`. See [pattern](https://json-schema.org/understanding-json-schema/reference/regular_expressions#regular-expressions) The value of this column will appear as the `pattern` of this attribute in the JSON Schema. Must be a legal regex pattern as determined by the python `re` library.
254+
251255
Note: The Format and Pattern columns serve different purposes:
252256

253257
`Pattern`: Use to validate that data matches a specific regex pattern (e.g., enforce that email addresses follow a certain format)
254258

255259
`Format`: Use with the regex value to indicate that the data itself is a regex pattern being stored (not validated against one)
256260

257-
The regex pattern this attribute must match. The type of this attribute must be `string` or `string_list`. See [pattern](https://json-schema.org/understanding-json-schema/reference/regular_expressions#regular-expressions) The value of this column will appear as the `pattern` of this attribute in the JSON Schema. Must be a legal regex pattern as determined by the python `re` library.
258-
259-
260261
Data Model:
261262

262263
| Attribute | DependsOn | columnType | Pattern | IsTemplate |

0 commit comments

Comments
 (0)