PureYAML/Tests/Fixtures/acme/birch-catalog/external-demand-event/schemas/externalDemandEvent.yml
Mihaela Mihaljevic 7c069dce66 test(corpus): add acme catalog service fixtures
Add sanitized ACME service modules that exercise cross-file OpenAPI-style YAML structures.
2026-06-06 08:03:57 +02:00

63 lines
1.3 KiB
YAML

type: object
title: ExternalDemandEvent
required:
- id
- subAccountId
- leadUuid
- eventType
- timestamp
- createdAt
- createdByUuid
properties:
id:
title: Id
type: integer
format: int64
subAccountId:
title: Sub Account Id
type: integer
format: int64
leadUuid:
title: Lead Uuid
type: string
format: uuid
eventType:
title: Event Type
$ref: ./externalDemandEventType.yml
timestamp:
title: Timestamp
type: string
format: date-time
details:
oneOf:
- $ref: ./details/creditCardDetails.yml
- $ref: ./details/loanDetails.yml
- $ref: ./details/savingsDetails.yml
- $ref: ./details/specialOfferDetails.yml
discriminator:
propertyName: edeDetailsKey
mapping:
credit_card: ./details/creditCardDetails.yml
loan: ./details/loanDetails.yml
savings: ./details/savingsDetails.yml
other: ./details/specialOfferDetails.yml
partnerTrackingId:
title: Partner Tracking Id
type: string
createdAt:
title: Created At
type: string
format: date-time
createdByUuid:
title: Created By Uuid
type: string
format: uuid
deletedAt:
title: Deleted At
type: string
format: date-time
deletedByUuid:
title: Deleted By Uuid
type: string
format: uuid