Skip to content

Commit 2f715e1

Browse files
authored
feat(x-aep-field): add field number (#48)
field numbers are not officially required by the AEPs, but are useful for enumeration in intermediary representations such as resource definitions for aep-lib-go.
1 parent c82b9e1 commit 2f715e1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

json_schema/extensions/x-aep-field.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,9 @@ properties:
3737
"library.example.com/topic"
3838
type: array
3939
items: string
40+
field_number:
41+
description: |
42+
A unique identifier for the field. This is useful when doing translation
43+
to protocols that require indexing of fields, such as Protocol Buffers.
44+
type: integer
45+
minimum: 1

0 commit comments

Comments
 (0)