From e996774881a89b7506c1285392a38cea237d5100 Mon Sep 17 00:00:00 2001 From: Sebastian Krupinski Date: Tue, 24 Feb 2026 17:40:14 -0500 Subject: [PATCH] refactor: standardize json types Signed-off-by: Sebastian Krupinski --- .../lib/Chrono/Collection/CollectionPropertiesBaseInterface.php | 2 +- shared/lib/Chrono/Entity/EntityPropertiesBaseInterface.php | 2 +- shared/lib/Chrono/Provider/ProviderBaseInterface.php | 2 +- shared/lib/Chrono/Service/ServiceBaseInterface.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shared/lib/Chrono/Collection/CollectionPropertiesBaseInterface.php b/shared/lib/Chrono/Collection/CollectionPropertiesBaseInterface.php index 249999a..eeb4ca6 100644 --- a/shared/lib/Chrono/Collection/CollectionPropertiesBaseInterface.php +++ b/shared/lib/Chrono/Collection/CollectionPropertiesBaseInterface.php @@ -13,7 +13,7 @@ use KTXF\Resource\Provider\Node\NodePropertiesBaseInterface; interface CollectionPropertiesBaseInterface extends NodePropertiesBaseInterface { - public const JSON_TYPE = 'chrono.collection'; + public const JSON_TYPE = 'chrono:collection'; public const JSON_PROPERTY_CONTENTS = 'content'; public const JSON_PROPERTY_LABEL = 'label'; diff --git a/shared/lib/Chrono/Entity/EntityPropertiesBaseInterface.php b/shared/lib/Chrono/Entity/EntityPropertiesBaseInterface.php index 2ea578d..8f91c6e 100644 --- a/shared/lib/Chrono/Entity/EntityPropertiesBaseInterface.php +++ b/shared/lib/Chrono/Entity/EntityPropertiesBaseInterface.php @@ -13,7 +13,7 @@ use KTXF\Resource\Provider\Node\NodePropertiesBaseInterface; interface EntityPropertiesBaseInterface extends NodePropertiesBaseInterface { - public const JSON_TYPE = 'chrono.entity'; + public const JSON_TYPE = 'chrono:entity'; public const JSON_PROPERTY_DATA = 'data'; public function getDataRaw(): array|string|null; diff --git a/shared/lib/Chrono/Provider/ProviderBaseInterface.php b/shared/lib/Chrono/Provider/ProviderBaseInterface.php index c10a531..87efb1b 100644 --- a/shared/lib/Chrono/Provider/ProviderBaseInterface.php +++ b/shared/lib/Chrono/Provider/ProviderBaseInterface.php @@ -18,6 +18,6 @@ use KTXF\Resource\Provider\ResourceProviderBaseInterface; */ interface ProviderBaseInterface extends ResourceProviderBaseInterface{ - public const JSON_TYPE = 'chrono.provider'; + public const JSON_TYPE = 'chrono:provider'; } diff --git a/shared/lib/Chrono/Service/ServiceBaseInterface.php b/shared/lib/Chrono/Service/ServiceBaseInterface.php index 9d1da51..3cd63b3 100644 --- a/shared/lib/Chrono/Service/ServiceBaseInterface.php +++ b/shared/lib/Chrono/Service/ServiceBaseInterface.php @@ -60,7 +60,7 @@ interface ServiceBaseInterface extends ResourceServiceBaseInterface { public const CAPABILITY_ENTITY_RANGE_TALLY_RELATIVE = 'relative'; public const CAPABILITY_ENTITY_RANGE_DATE = 'date'; - public const JSON_TYPE = 'chrono.service'; + public const JSON_TYPE = 'chrono:service'; /** * Lists all collections in this service -- 2.39.5