       resources:
         type: "dictionary"
         additionalProperties:
-          type: "resource"
+          type: "object"
 
   channel:
-    type: "resource"
+    type: "spire_resource"
     media_type: "application/vnd.spire-io.channel+json;version=1.0"
     properties:
       name: {type: "string"}

    required: ["url"]

  account:
    type: "resource"
    media_type: "application/vnd.spire-io.account+json;version=1.0"
    properties:
      id: {type: "string", readonly: true}

module.exports =
  spire_resource:
    type: "object"
    properties:
      url: {type: "string"}
