Skip to content

Commit 0e3efd3

Browse files
Fix feed schema docs
1 parent 127d1a2 commit 0e3efd3

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

  • src/pages/docs/platform-hub/policies

src/pages/docs/platform-hub/policies/schema.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,18 @@ result := {"allowed": true} if {
215215
}
216216
```
217217

218+
#### Feed object
219+
220+
| Property | Type | Always Present | Description |
221+
| :--- | :--- | :--- | :--- |
222+
| Id | string | Yes | The unique identifier for the feed |
223+
| Name | string | Yes | Display name of the feed |
224+
| Slug | string | Yes | The URL-safe slug for the feed |
225+
| Type | string | Yes | The feed type (e.g. `BuiltIn`, `Docker`) |
226+
| Uri | string | No | The configured endpoint for the feed |
227+
228+
**Example usage:**
229+
218230
```ruby
219231
package block_cross_environment_feeds
220232

@@ -259,16 +271,6 @@ result := {
259271
}
260272
```
261273

262-
#### Feed object
263-
264-
| Property | Type | Always Present | Description |
265-
| :--- | :--- | :--- | :--- |
266-
| Id | string | Yes | The unique identifier for the feed |
267-
| Name | string | Yes | Display name of the feed |
268-
| Slug | string | Yes | The URL-safe slug for the feed |
269-
| Type | string | Yes | The feed type (e.g. `BuiltIn`, `Docker`) |
270-
| Uri | string | No | The configured endpoint for the feed |
271-
272274
:::div{.hint}
273275

274276
See the [steps and skipping examples](/docs/platform-hub/policies/examples#check-that-a-step-isnt-skipped-in-a-deployment) for more patterns.

0 commit comments

Comments
 (0)