From 63aecbbbaed5dec0a8c077d61cd7423ff4c68afd Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 17 Mar 2026 13:43:19 +0000 Subject: [PATCH] Fix recursive reference --- specs/api/components/common/RdfValue.yaml | 11 +++++++---- specs/api/components/schemas/common/RdfValue.yaml | 11 +++++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/specs/api/components/common/RdfValue.yaml b/specs/api/components/common/RdfValue.yaml index 17097efe..033e6789 100644 --- a/specs/api/components/common/RdfValue.yaml +++ b/specs/api/components/common/RdfValue.yaml @@ -31,14 +31,17 @@ properties: example: en r: type: object - description: Quoted triple (when t=r) - contains s, p, o Term fields + description: Quoted triple (when t=r) - contains s, p, o as nested Term objects with the same structure properties: s: - $ref: '#' + type: object + description: Subject term p: - $ref: '#' + type: object + description: Predicate term o: - $ref: '#' + type: object + description: Object term required: - t examples: diff --git a/specs/api/components/schemas/common/RdfValue.yaml b/specs/api/components/schemas/common/RdfValue.yaml index 17097efe..033e6789 100644 --- a/specs/api/components/schemas/common/RdfValue.yaml +++ b/specs/api/components/schemas/common/RdfValue.yaml @@ -31,14 +31,17 @@ properties: example: en r: type: object - description: Quoted triple (when t=r) - contains s, p, o Term fields + description: Quoted triple (when t=r) - contains s, p, o as nested Term objects with the same structure properties: s: - $ref: '#' + type: object + description: Subject term p: - $ref: '#' + type: object + description: Predicate term o: - $ref: '#' + type: object + description: Object term required: - t examples: