diff --git a/src/general/uuid.ts b/src/general/uuid.ts index 22ad2ea4..37d9a6b7 100644 --- a/src/general/uuid.ts +++ b/src/general/uuid.ts @@ -15,6 +15,7 @@ /** * Universally unique identifier of the thing * + * @filterable * @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ * @see http://stackoverflow.com/questions/7905929/how-to-test-valid-uuid-guid */ diff --git a/src/things/abstract/thing.ts b/src/things/abstract/thing.ts index 408d527d..dd429389 100644 --- a/src/things/abstract/thing.ts +++ b/src/things/abstract/thing.ts @@ -102,6 +102,8 @@ export interface SCThingWithoutReferences { uid: SCUuid; /** * URL of the thing + * + * @filterable */ url?: string; }