diff --git a/openapi/schemas/processes-core/metadata.yaml b/openapi/schemas/processes-core/metadata.yaml index e4d31c2a..e99695cf 100644 --- a/openapi/schemas/processes-core/metadata.yaml +++ b/openapi/schemas/processes-core/metadata.yaml @@ -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 +