From a0689069f80f23db16bbed39c016603bfa98b2f7 Mon Sep 17 00:00:00 2001 From: Rob Atkinson Date: Fri, 3 May 2024 15:35:19 +1000 Subject: [PATCH] schema dependency for properties-owa --- _sources/properties/observation/schema.yaml | 38 ++++----------------- 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/_sources/properties/observation/schema.yaml b/_sources/properties/observation/schema.yaml index a9649207..96761ff3 100644 --- a/_sources/properties/observation/schema.yaml +++ b/_sources/properties/observation/schema.yaml @@ -2,34 +2,10 @@ description: 'SOSA Observation' x-jsonld-context: ../../../sosa-ssn.jsonld type: object -properties: - resultTime: - type: string - format: date-time - phenomenonTime: - type: - - object - - string - hasFeatureOfInterest: - type: - - object - - string - observedProperty: - type: - - object - - string - usedProcedure: - type: - - object - - string - madeBySensor: - type: - - object - - string - hasResult: true - hasSimpleResult: true -anyOf: - - required: - - hasResult - - required: - - hasSimpleResult +allOf: + - $ref: bblocks://ogc.sosa.properties.observation-owa + - anyOf: + - required: + - hasResult + - required: + - hasSimpleResult