Skip to content

refactor(specs): group files for composition api #5122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 16, 2025
Merged
Show file tree
Hide file tree
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
9 changes: 9 additions & 0 deletions specs/composition-full/common/schemas/Identifiers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
compositionObjectID:
type: string
example: 'my_composition_object_id'
description: Composition unique identifier.

compositionRuleObjectID:
type: string
example: 'my_composition_rule_object_id'
description: Composition rule unique identifier.
956 changes: 1 addition & 955 deletions specs/composition-full/common/schemas/SearchParams.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ composition:
additionalProperties: false
properties:
objectID:
$ref: '../../../common/parameters.yml#/objectID'
$ref: '../Identifiers.yml#/compositionObjectID'
name:
type: string
description: Composition name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ compositionBehavior:
description: Composition Main Index name.
example: Products
params:
$ref: './SearchParams.yml#/mainInjectionQueryParameters'
$ref: './Injection.yml#/mainInjectionQueryParameters'
required:
- index
required:
Expand Down Expand Up @@ -68,7 +68,7 @@ injectedItem:
description: Composition Main Index name.
example: Products
params:
$ref: './SearchParams.yml#/injectedItemsQueryParameters'
$ref: './Injection.yml#/injectedItemsQueryParameters'
required:
- index
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ compositionRule:
additionalProperties: false
properties:
objectID:
$ref: '../../../common/parameters.yml#/objectID'
$ref: '../Identifiers.yml#/compositionRuleObjectID'
conditions:
type: array
minItems: 0
Expand Down Expand Up @@ -33,7 +33,7 @@ compositionRule:
type: array
description: Time periods when the rule is active.
items:
$ref: '../../../common/schemas/Rule.yml#/timeRange'
$ref: '../../../../common/schemas/Rule.yml#/timeRange'
required:
- objectID
- conditions
Expand All @@ -55,7 +55,7 @@ condition:
anchoring:
$ref: '#/anchoring'
context:
$ref: '../../../common/schemas/Rule.yml#/context'
$ref: '../../../../common/schemas/Rule.yml#/context'
filters:
type: string
description: |
Expand All @@ -76,4 +76,4 @@ anchoring:
- `contains`. The pattern must match anywhere in the query.

Empty queries are only allowed as patterns with `anchoring: is`.
enum: [is, startsWith, endsWith, contains]
enum: [is, startsWith, endsWith, contains]
Loading