Skip to content

Commit

Permalink
Merge pull request #400 from pvretano/issue-389
Browse files Browse the repository at this point in the history
Allow metadata to be referenced or encoded inline.
  • Loading branch information
bpross-52n authored Mar 4, 2024
2 parents 43fe5f6 + 47ce88d commit 1a54686
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 1a54686

Please sign in to comment.