Skip to content

Commit

Permalink
Allow metadata to be referenced or encoded inline.
Browse files Browse the repository at this point in the history
  • Loading branch information
pvretano committed Mar 4, 2024
1 parent c04b2e2 commit 47ce88d
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions openapi/schemas/processes-core/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
type: object
properties:
title:
type: string
role:
type: string
href:
type: string
oneOf:
- allOf:
- $ref: ../common-core/link.yaml
- type: object
properties:
role:
type: string
- type: object
properties:
role:
type: string
title:
type: string
lang:
type: string
value:
oneOf:
- type: string
- type: object

0 comments on commit 47ce88d

Please sign in to comment.