diff --git a/src/api/hackspace/content-types/hackspace/schema.json b/src/api/hackspace/content-types/hackspace/schema.json index c406967..5ac80b5 100644 --- a/src/api/hackspace/content-types/hackspace/schema.json +++ b/src/api/hackspace/content-types/hackspace/schema.json @@ -42,6 +42,11 @@ "type": "component", "repeatable": false, "component": "hackspace.spacefed" + }, + "cam": { + "type": "component", + "repeatable": true, + "component": "hackspace.camera" } } } diff --git a/src/components/hackspace/camera.json b/src/components/hackspace/camera.json new file mode 100644 index 0000000..d8ed53d --- /dev/null +++ b/src/components/hackspace/camera.json @@ -0,0 +1,16 @@ +{ + "collectionName": "components_hackspace_cameras", + "info": { + "displayName": "Camera", + "icon": "eye", + "description": "" + }, + "options": {}, + "attributes": { + "url": { + "type": "string", + "required": true, + "unique": true + } + } +}