Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions json_schema/extensions/x-aep-field.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@ properties:
# corresponding field is not included in output.
- "INPUT_ONLY"
resource_reference:
description: Describes a resource reference for fields that reference API resources
type: object
properties:
type:
description: |
The resource type that the annotated field references.
description: |
The resource type that the annotated field references.

Example:
"library.example.com/Topic"
Example:
"library.example.com/topic"

Occasionally, a field may reference an arbitrary resource. In this case,
APIs use the special value "*" in their resource reference.
type: array
items: string
additionalProperties: false
Occasionally, a field may reference an arbitrary resource. In this case,
APIs use the special value "*" in their resource reference.
type: array
items: string
resource_reference_child_type:
description: |
The field annotated with this supports all resources that have
child types of the resource specified.

Example:
"library.example.com/topic"
type: array
items: string