Product booking (p:product-booking)

http://profiles.goabout.com/product-booking

Example

{
  "available" : true,
  "description" : "Descripion for OV-Fiets abonnement",
  "isSubscription" : false,
  "logoHref" : "http://logo/OV-Fiets abonnement",
  "name" : "OV-Fiets abonnement",
  "properties" : {
    "cardnumber" : "123456789"
  },
  "propertySchema" : {
    "properties" : {
      "cardnumber" : {
        "description" : "Vul hier uw pasnummer voor de OV-Fiets in.",
        "minLength" : 1,
        "placeholder" : "123456789",
        "title" : "pasnummer",
        "type" : "string"
      }
    },
    "required" : [ "cardnumber" ],
    "title" : "OV-Fiets pasnummer",
    "type" : "object"
  },
  "recurringPayment" : false,
  "_links" : {
    "http://rels.goabout.com/booking-events" : {
      "href" : "http://localhost:9998/api/product-booking/654/events"
    },
    "http://rels.goabout.com/product" : {
      "href" : "http://localhost:9998/api/product/123"
    },
    "http://rels.goabout.com/user" : {
      "href" : "http://localhost:9998/api/user/1"
    },
    "self" : {
      "href" : "http://localhost:9998/api/product-booking/654"
    }
  }
}

Properties

available:Boolean ???
description:String A short description about this booking.
isSubscription:Boolean ???
logoHref:URI A href to the logo for the product
name:String The name of the product that was booked
properties:json A json blob containing the data needed to fullfill the propertySchema.
propertySchema:json-schema A json-form, (in the form of a json-schema) denoting the additional properties needed to subscribe to this product.