Skip to content

Commit

Permalink
Automated commit 'Merge pull request #1421 from sailpoint/devrel-1183
Browse files Browse the repository at this point in the history
Devrel 1183' by github action: 6422197389
  • Loading branch information
tyler-mairose-sp committed Oct 5, 2023
1 parent 3562a8d commit bd170d6
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 19 deletions.
12 changes: 10 additions & 2 deletions idn/beta/schemas/JsonPatchOperation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,23 @@ properties:
description: A string JSON Pointer representing the target path to an element to be affected by the operation
example: "/description"
value:
anyOf:
oneOf:
- type: string
example: "New description"
title: string
- type: integer
example: 300
title: integer
- type: object
title: object
example: {"attributes": {"name": "philip"}}
- type: array
title: array
items:
anyOf:
- type: string
- type: integer
- type: object
example: ["001","002","003"]
description: The value to be used for the operation, required for "add" and "replace" operations
example: "New description"
example: "New description"
15 changes: 9 additions & 6 deletions idn/beta/schemas/Segment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,32 @@ type: object
properties:
id:
type: string
description: The segment's ID.
example: "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde"
name:
type: string
description: Segment Business Name
description: The segment's business name.
example: "segment-xyz"
created:
type: string
format: date-time
description: The time when this Segment is created
description: The time when the segment is created.
example: "2020-01-01T00:00:00.000000Z"
modified:
type: string
format: date-time
description: The time when this Segment is modified
description: The time when the segment is modified.
example: "2020-01-01T00:00:00.000000Z"
description:
type: string
description: Optional description of the Segment
description: The segment's optional description.
example: "This segment represents xyz"
owner:
$ref: '../../v3/schemas/access/OwnerReference.yaml'
$ref: '../../v3/schemas/access/OwnerReferenceSegments.yaml'
visibilityCriteria:
$ref: './VisibilityCriteria.yaml'
active:
type: boolean
description: Whether the Segment is currently active. Inactive segments have no effect.
description: This boolean indicates whether the segment is currently active. Inactive segments have no effect.
default: false
example: true
12 changes: 10 additions & 2 deletions idn/v3/schemas/JsonPatchOperation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,23 @@ properties:
description: A string JSON Pointer representing the target path to an element to be affected by the operation
example: "/description"
value:
anyOf:
oneOf:
- type: string
example: "New description"
title: string
- type: integer
example: 300
title: integer
- type: object
title: object
example: {"attributes": {"name": "philip"}}
- type: array
title: array
items:
anyOf:
- type: string
- type: integer
- type: object
example: ["001","002","003"]
description: The value to be used for the operation, required for "add" and "replace" operations
example: "New description"
example: "New description"
14 changes: 7 additions & 7 deletions idn/v3/schemas/Segment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@ type: object
properties:
id:
type: string
description: The id of the Segment.
description: The segment's ID.
example: "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde"
name:
type: string
description: Segment Business Name
description: The segment's business name.
example: "segment-xyz"
created:
type: string
format: date-time
description: The time when this Segment is created
description: The time when the segment is created.
example: "2020-01-01T00:00:00.000000Z"
modified:
type: string
format: date-time
description: The time when this Segment is modified
description: The time when the segment is modified.
example: "2020-01-01T00:00:00.000000Z"
description:
type: string
description: Optional description of the Segment
description: The segment's optional description.
example: "This segment represents xyz"
owner:
$ref: '../../v3/schemas/access/OwnerReference.yaml'
$ref: '../../v3/schemas/access/OwnerReferenceSegments.yaml'
visibilityCriteria:
$ref: './VisibilityCriteria.yaml'
active:
type: boolean
description: Whether the Segment is currently active. Inactive segments have no effect.
description: This boolean indicates whether the segment is currently active. Inactive segments have no effect.
default: false
example: true
6 changes: 4 additions & 2 deletions idn/v3/schemas/access/OwnerReference.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
type: object
nullable: true
nullable: false
description: The owner of this object.
properties:
type:
$ref: '../DtoType.yaml'
type: string
enum:
- IDENTITY
description: Owner type. This field must be either left null or set to 'IDENTITY' on input, otherwise a 400 Bad Request error will result.
example: 'IDENTITY'
id:
Expand Down
18 changes: 18 additions & 0 deletions idn/v3/schemas/access/OwnerReferenceSegments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
type: object
nullable: true
description: The owner of this object.
properties:
type:
type: string
enum:
- IDENTITY
description: Owner type. This field must be either left null or set to 'IDENTITY' on input, otherwise a 400 Bad Request error will result.
example: 'IDENTITY'
id:
type: string
description: Identity id
example: '2c9180a46faadee4016fb4e018c20639'
name:
type: string
description: Human-readable display name of the owner. It may be left null or omitted in a POST or PATCH. If set, it must match the current value of the owner's display name, otherwise a 400 Bad Request error will result.
example: 'support'

0 comments on commit bd170d6

Please sign in to comment.