- From: Alex M <tech.guy415@gmail.com>
- Date: Wed, 12 Aug 2015 14:47:38 -0600
- Cc: "schema.org Mailing List" <public-schemaorg@w3.org>, W3C Web Schemas Task Force <public-vocabs@w3.org>
- Message-ID: <CABzdpQnxGKVzzayJKeq9kAuM3vjYxR95+6jqA+Pp27y0D50OZw@mail.gmail.com>
Thad - This is my first effort to face the issue. The markup is not really easy on the content. We would have to rewrite a lot of things or just mark parts of the text that denote the property. I had to use Ticket and amount. Am I in the right track? This is the select drop down list of countries to choose to travel to Costa Rica <div class="form-group" itemscope itemtype="http://schema.org/TravelAction "> <p itemscope itemtype="http://schema.org/SearchAction">Select the Country that Issued Your Passport</p> <select class="form-control" id="citizenshipCountry"> <option value="United States" itemprop="fromLocation"><span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">United States</span></option> <option value="Canada" itemprop="fromLocation">Canada</option> </select> </div> Here is the result: <div itemscope itemtype="http://schema.org/TravelAction"> <h1 itemprop="toLocation">Costa Rica</h1> <h2 itemprop="name" itemscope itemtype="http://schema.org/Thing">Required Documents</h2> <ol> <li itemprop="itemListElement" itemscope itemtype=" http://schema.org/ListItem"> A valid passport <meta itemprop="position" content="1" /> </li> <li itemprop="itemListElement" itemscope itemtype=" http://schema.org/ListItem"> <span itemprop="name" itemscope itemtype="http://schema.org/Ticket"> Pre-paid airline or bus ticket to exit Costa Rica</span> <meta itemprop="position" content="2" /> </li> <li itemprop="itemListElement" itemscope itemtype=" http://schema.org/ListItem"> <span itemprop="amount" itemscope itemtype=" https://schema.org/DatedMoneySpecification"> $100.00US dollars per every 30 calendar days you plan to stay in Costa Rica </span> <meta itemprop="position" content="3" /> </li> </div> On Wed, Aug 12, 2015 at 9:29 AM, Thad Guidry <thadguidry@gmail.com> wrote: > Use Actions for your http://www.schema.org/TouristAttraction > > We currently have a general Action Type available at > http://schema.org/Action > > Issues surrounding Actions are here: > https://github.com/schemaorg/schemaorg/issues?q=is%3Aissue+is%3Aopen+Action > > To get started... use the property potentialAction to hold the requirement > of the action called "Need to get a Travel Document" or whatever you think > works best for your future customers. Do not be alarmed with > Actions...they do get complicated and more complicated sometimes to explain > without a full understanding of what you are trying to deliver to customers > and what information and actions that you think they will want to do or > work with. Just ask if you get confused ! > > Elf Pavlik on our mailing list has done extensive work with Actions...and > Sam Goto is our resident guru that could help with any corner cases or > stumbling blocks that you might run across, should the general Actions > schema not have everything that you need to deliver a pleasant experience. > You can address them directly in this schema.org mailing list. > > I would not raise a Github issue directly for any question, but ask them > here. If we unilaterally decide that something is missing, then we can > raise an issue. > > > Thad > +ThadGuidry <https://www.google.com/+ThadGuidry> > > On Wed, Aug 12, 2015 at 9:22 AM, Alex M <tech.guy415@gmail.com> wrote: > >> Hi, >> >> We have a location where people can check what travel documents they need >> to travel to Costa Rica. >> >> http://costarica.com/visa/ >> >> Can someone tell me what is the best schema approach for this? >> >> Thank you, >> >> Alex >> > >
Received on Wednesday, 12 August 2015 20:48:06 UTC