expanding subject in model

This commit is contained in:
Roland Osborne 2022-01-10 14:18:18 -08:00
parent c94a6aafa9
commit 6297dd13b6

View File

@ -3769,29 +3769,6 @@ components:
type: integer type: integer
format: int64 format: int64
Subject:
type: object
required:
- subjectId
- revision
- type
- data
- created
- modified
properties:
subjectId:
type: string
revision:
type: integer
format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
Asset: Asset:
type: object type: object
required: required:
@ -3808,25 +3785,39 @@ components:
Tag: Tag:
type: object type: object
required: required:
- cardId - tagId
- subject - revision
- type
- data
- created
- modified
properties: properties:
tagId:
type: string
cardId: cardId:
type: string type: string
subject: revision:
$ref: '#/components/schemas/Subject' type: integer
format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
Insight: Insight:
type: object type: object
required: required:
- insightId - insightId
- revision - insightRevision
- cardId - cardId
- status - status
properties: properties:
insightId: insightId:
type: string type: string
revision: insightRevision:
type: integer type: integer
format: int64 format: int64
cardId: cardId:
@ -3839,20 +3830,31 @@ components:
type: object type: object
required: required:
- dialogueId - dialogueId
- revision - dialogueRevision
- type
- data
- modified
- created
- active - active
- subject
- insights - insights
properties: properties:
dialogueId: dialogueId:
type: string type: string
revision: dialogueRevison:
type: integer type: integer
format: int64 format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
active: active:
type: boolean type: boolean
subject: insightRevision:
$ref: '#/components/schemas/Subject' type: integer
format: int64
insights: insights:
type: array type: array
items: items:
@ -3881,23 +3883,34 @@ components:
type: object type: object
required: required:
- topicId - topicId
- revision - topicRevision
- type
- data
- created
- modified
- status - status
- subject
- tagCount - tagCount
- tagUpdated - tagUpdated
- tagRevision - tagRevision
properties: properties:
articleId: topicId:
type: string type: string
revision: topicRevision:
type: integer type: integer
format: int64 format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
modified:
type: integer
format: int32
status: status:
type: string type: string
enum: [ unconfirmed, confirmed, complete, error ] enum: [ unconfirmed, confirmed, complete, error ]
subject:
$ref: '#/components/schemas/Subject'
tagCount: tagCount:
type: integer type: integer
format: int32 format: int32
@ -3911,18 +3924,36 @@ components:
Article: Article:
type: object type: object
required: required:
- articleId
- articleRevision
- type
- data
- created
- modified
- status - status
- subject
- labels - labels
- tagCount - tagCount
- tagUpdated - tagUpdated
- tagRevision - tagRevision
properties: properties:
articleId:
type: string
articleRevision:
type: integer
format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
modified:
type: integer
format: int32
status: status:
type: string type: string
enum: [ unconfirmed, confirmed, complete, error ] enum: [ unconfirmed, confirmed, complete, error ]
subject:
$ref: '#/components/schemas/Subject'
labels: labels:
type: array type: array
items: items:
@ -3944,18 +3975,51 @@ components:
Group: Group:
type: object type: object
required: required:
- subject - groupId
- groupRevision
- type
- data
- created
- modified
properties: properties:
subject: groupId:
$ref: '#/components/schemas/Subject' type: string
groupRevision:
type: integer
format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
modified:
type: integer
format: int32
Label: Label:
type: object type: object
required: required:
- subject - labelId
- labelRevision
- type
- data
- created
- modified
properties: properties:
subject: labelId:
$ref: '#/components/schemas/Subject' type: string
labelRevision:
type: integer
format: int64
type:
type: string
data:
type: string
created:
type: integer
format: int32
groups: # present only in account holder responses groups: # present only in account holder responses
type: array type: array
items: items: